@cat-factory/app 0.56.0 → 0.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -82,6 +82,12 @@ const K3S_KEYS = {
82
82
  label: 'settings.infrastructure.executionBackend.k3s',
83
83
  desc: 'settings.infrastructure.executionBackend.k3sDesc',
84
84
  }
85
+ // The Docker Compose env backend is test-env-only (it stands the app's own compose stack up as
86
+ // a Tester target). Its desc carries the actionable "when to use this" + the local-only caveat.
87
+ const COMPOSE_KEYS = {
88
+ label: 'settings.infrastructure.testEnvBackend.compose',
89
+ desc: 'settings.infrastructure.testEnvBackend.composeDesc',
90
+ }
85
91
 
86
92
  const cap = computed<{ available: BackendKind[]; active: BackendKind } | null>(() => {
87
93
  const c = auth.infrastructure?.[props.axis]
@@ -136,6 +142,8 @@ const effectiveActive = computed<BackendKind | null>(() => {
136
142
  function backendKindKeys(kind: string): { label: string; desc: string } | null {
137
143
  if (kind === 'kubernetes') return KUBERNETES_KEYS[props.axis]
138
144
  if (kind === 'manifest') return BUILTIN_KEYS[delegatedKind.value]
145
+ // Docker Compose only ever registers on the test-env axis (it's an EnvironmentProvider).
146
+ if (kind === 'compose' && props.axis === 'testEnv') return COMPOSE_KEYS
139
147
  return null
140
148
  }
141
149
 
@@ -1292,12 +1292,14 @@
1292
1292
  },
1293
1293
  "testEnvBackend": {
1294
1294
  "label": "Where test environments run",
1295
- "local-compose": "In-container docker-compose",
1296
- "local-composeDesc": "Stand the Tester's dependencies up with docker-compose inside the run's container.",
1295
+ "local-compose": "In-container docker-compose (Tester deps)",
1296
+ "local-composeDesc": "Stand the Tester's dependencies up with docker-compose inside the run's container. For a full app preview env, use the Docker Compose preview env option below.",
1297
1297
  "kubernetes": "Kubernetes cluster",
1298
- "kubernetesDesc": "Provision a per-PR namespace in a Kubernetes cluster you operate.",
1298
+ "kubernetesDesc": "Provision a per-PR namespace in a Kubernetes cluster you operate. Best for Kubernetes-native apps or when you already run a cluster.",
1299
1299
  "environment-provider": "Custom HTTP provider",
1300
- "environment-providerDesc": "Provision ephemeral environments through your own HTTP management API."
1300
+ "environment-providerDesc": "Provision ephemeral environments through your own HTTP management API. Best when you already have bespoke preview-env tooling.",
1301
+ "compose": "Docker Compose preview env",
1302
+ "composeDesc": "Stand the repo's own docker-compose.yml up on a local Docker daemon as the Tester's URL. Best for local Compose-based apps. Image-based stacks only; needs a Docker daemon, so local deployments only."
1301
1303
  }
1302
1304
  },
1303
1305
  "providerConnection": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/app",
3
- "version": "0.56.0",
3
+ "version": "0.57.0",
4
4
  "description": "Reusable Nuxt layer for the Agent Architecture Board SPA (components, stores, composables, pages). Consume it from a thin deployment app via `extends: ['@cat-factory/app']` and point it at your backend with NUXT_PUBLIC_API_BASE. See deploy/frontend for an example.",
5
5
  "repository": {
6
6
  "type": "git",