Agent Executor (AX) is Google's open agentic orchestration runtime
Go
Remove Gateway concept to avoid bifurcation with Substrate (#395)
Jaana Dogan0b5427c4bb3d
diff --git a/DESIGN.md b/DESIGN.mdindex 055c357..6e880f8 100644--- a/DESIGN.md+++ b/DESIGN.md@@ -31,7 +31,6 @@ Storing millions of short-lived tasks as Kubernetes CRDs pushes etcd past its co│ • Atespace Provisioning ││ • Actor Creation & Activation ││ • Worker Assignment │- │ • Egress Policy Filtering │└───────────────────────────────┘```@@ -41,7 +40,7 @@ Storing millions of short-lived tasks as Kubernetes CRDs pushes etcd past its co|---|---|| `ax` | Developer CLI. Applies manifests, inspects and watches resources, tunnels to the cluster. || `ax-server` | Stateless gRPC API on port 8080. Validates manifests, persists to Redis, publishes events. |-| `ax-controller` | Reconciliation workers. Consume the Redis stream, provision atespaces and actors on Agent Substrate, apply egress policy, and drive tasks toward desired state. Scale by adding replicas. |+| `ax-controller` | Reconciliation workers. Consume the Redis stream, provision atespaces and actors on Agent Substrate, and drive tasks toward desired state. Scale by adding replicas. || `ax-task-runner` | Entrypoint inside every task container. Bootstraps the workspace, serves metadata, and runs the agent command. A thin wrapper over the `runner` package, which custom images can embed directly. |## API reference@@ -60,15 +59,6 @@ The control plane exposes the `ax.v1alpha1.AX` gRPC service. Health checks are p| `ResumeTask` | Resume a suspended task. || `WatchTask` | Server-streaming RPC that emits status and condition transitions as they happen. |-**Gateways**--| RPC | Description |-|---|---|-| `GetGateway` | Get a gateway by atespace and name. |-| `ListGateways` | List gateways in an atespace. |-| `UpdateGateway` | Create or update a gateway. |-| `DeleteGateway` | Delete a gateway. |-**Workspaces**| RPC | Description |diff --git a/README.md b/README.mdindex e96c953..db113c5 100644--- a/README.md+++ b/README.md@@ -8,7 +8,7 @@> and specifications. We will likely to introduce major breaking> changes prior to a stable release.-**Declare an agentic task with workspaces and gateway specifications. AX sandboxes it, wires up its workspace, fences its network, and helps running it at scale.**+**Declare an agentic task with workspaces and model specifications. AX sandboxes it, wires up its workspace, and helps running it at scale.**AX is a high-throughput, declarative orchestrator to run billions of autonomous agent workloads in a cluster. It runs on top of [Agent Substrate](https://github.com/agent-substrate/substrate) for sandboxed execution and is built to run billions of tasks per cluster. If you have used Kubernetes, `ax` will feel similar.@@ -44,13 +44,12 @@ ax ssh test -- ls -al /workspace## Why?-Agents are a new kind of workload. They are neither stateless microservices nor run-to-completion batch jobs. They accumulate state, need strict isolation, call out to model APIs and tool servers, and can burn money in a loop if nobody is watching. AX gives you four small primitives that handle all of that declaratively:+Agents are a new kind of workload. They are neither stateless microservices nor run-to-completion batch jobs. They accumulate state, need strict isolation, call out to model APIs and tool servers, and can burn money in a loop if nobody is watching. AX gives you three small primitives that handle all of that declaratively:| You want to... | AX gives you ||---|---|| Run untrusted agent code in an isolated sandbox with CPU/memory limits | **`Task`** || Pre-wire Git repos, MCP servers, and skill packages so every agent starts warm | **`Workspace`** |-| Lock outbound traffic down to an explicit host allowlist | **`Gateway`** || Configure which LLM the platform itself uses, with credentials from a Kubernetes secret | **`Model`** || Pause an idle agent and pick up exactly where it left off | `ax suspend` / `ax resume` || Shell into a running agent to see what it is doing | `ax ssh` |@@ -80,7 +79,7 @@ This deploys Redis, then builds and deploys the control plane images with `ko`.### 3. Run your first task```bash-ax apply -f examples/task.yaml # Task + Workspace + Gateway + Model in one file+ax apply -f examples/task.yaml # Task + Workspace + Model in one fileax get tasks# NAME ATESPACE PHASE ACTOR WORKER-IP AGE# task123 default Running task123 10.20.3.67 1m@@ -97,7 +96,7 @@ Want to see the whole lifecycle end to end? Run [`./demo.sh`](demo.sh). It appli| Guide | Read it to... ||---|---|-| [Concepts](docs/concepts.md) | Learn what a `Task`, `Workspace`, `Gateway`, and `Model` each do, and how a task moves through phases and conditions. |+| [Concepts](docs/concepts.md) | Learn what a `Task`, `Workspace`, and `Model` each do, and how a task moves through phases and conditions. || [Manifests](docs/manifests.md) | Write your own YAML, with an annotated example of every kind. || [Sandbox](docs/sandbox.md) | See what the runner does on boot and what your command can rely on: metadata server, guest services, environment. || [Runners](docs/runner.md) | Understand the contract between the control plane and the task container, and build your own runner image to replace the default. |@@ -131,12 +130,7 @@ ax ssh task123 # interactive shell (task needs spec.debugax ssh task123 -- ls -la /workspace # one-off commandax ssh task123 -- python3 main.py-# Gateways, workspaces, models follow the same pattern-ax get gateways-# NAME ATESPACE LISTENERS EGRESS-HOSTS-# default-gateway default 8494/gRPC,8080/HTTP *-ax describe gateway default-gateway-ax delete gateway default-gateway+# Workspaces and models follow the same patternax get workspaces# NAME ATESPACE GIT-REPOS MCP-SERVERSdiff --git a/cmd/ax/main.go b/cmd/ax/main.goindex 7b2922e..ed794d3 100644--- a/cmd/ax/main.go+++ b/cmd/ax/main.go@@ -166,17 +166,14 @@ Usage:ax [command] [flags]Available Commands:- apply -f <file> Apply resources (tasks, gateways, workspaces, models) from a file or stdin+ apply -f <file> Apply resources (tasks, workspaces, models) from a file or stdinget tasks List tasksget task <name> Get a specific task- get gateways List gateways- get gateway <name> Get a specific gatewayget workspaces List workspacesget workspace <name> Get a specific workspaceget models List modelsget model <name> Get a specific modeldescribe task <name> Show detailed information about a task- describe gateway <name> Show detailed information about a gatewaydescribe workspace <name> Show detailed information about a workspacedescribe model <name> Show detailed information about a modelwatch task <name> Stream live status and condition updates for a task@@ -184,7 +181,6 @@ Available Commands:suspend task <name> Suspend execution of a task and checkpoint stateresume task <name> Resume execution of a suspended taskdelete task <name> Delete a task- delete gateway <name> Delete a gatewaydelete workspace <name> Delete a workspacedelete model <name> Delete a modelctx, context Show active Kubernetes context and AX connection@@ -274,19 +270,6 @@ func applyDocument(ctx context.Context, client v1alpha1.AXClient, doc *yaml.Noderes, err := client.UpdateTask(ctx, &v1alpha1.UpdateTaskRequest{Task: &task})return head.Kind, res.GetMetadata().GetName(), outcome, err- case v1alpha1.KindGateway:- var gw v1alpha1.Gateway- if err := doc.Decode(&gw); err != nil {- return "", "", "", err- }- existing, err := client.GetGateway(ctx, &v1alpha1.GetGatewayRequest{Atespace: gw.GetMetadata().GetAtespace(), Name: gw.GetMetadata().GetName()})- outcome, err := applyOutcome(err, existing.GetSpec(), gw.GetSpec())- if err != nil {- return "", "", "", err- }- res, err := client.UpdateGateway(ctx, &v1alpha1.UpdateGatewayRequest{Gateway: &gw})- return head.Kind, res.GetMetadata().GetName(), outcome, err-case v1alpha1.KindWorkspace:var ws v1alpha1.Workspaceif err := doc.Decode(&ws); err != nil {@@ -316,7 +299,7 @@ func applyDocument(ctx context.Context, client v1alpha1.AXClient, doc *yaml.Nodecase "":return "", "", "", errors.New("missing kind")default:- return "", "", "", fmt.Errorf("unsupported kind %q (expected Task, Gateway, Workspace, or Model)", head.Kind)+ return "", "", "", fmt.Errorf("unsupported kind %q (expected Task, Workspace, or Model)", head.Kind)}}@@ -412,64 +395,6 @@ func runGet(serverURL, atespace string, args []string) error {return yaml.NewEncoder(os.Stdout).Encode(task)}- if resource == "gateways" || resource == "gateway" && len(args) == 1 {- resp, err := client.ListGateways(ctx, &v1alpha1.ListGatewaysRequest{Atespace: atespace})- if err != nil {- return fmt.Errorf("listing gateways: %w", err)- }-- gateways := resp.Gateways-- w := tabwriter.NewWriter(os.Stdout, 0, 8, 3, ' ', 0)- fmt.Fprintln(w, "NAME\tATESPACE\tLISTENERS\tEGRESS-HOSTS")- for _, g := range gateways {- var listenerList []string- if g.Spec != nil {- for _, l := range g.Spec.Listeners {- listenerList = append(listenerList, fmt.Sprintf("%d/%s", l.Port, l.Protocol))- }- }- listenersStr := strings.Join(listenerList, ",")- if listenersStr == "" {- listenersStr = "<none>"- }-- var hostList []string- if g.Spec != nil && g.Spec.Egress != nil && g.Spec.Egress.Allowlist != nil {- for _, h := range g.Spec.Egress.Allowlist.Hosts {- hostList = append(hostList, h.Host)- }- }- egressStr := strings.Join(hostList, ",")- if egressStr == "" {- egressStr = "<none>"- }-- name := ""- gwAtespace := ""- if g.Metadata != nil {- name = g.Metadata.Name- gwAtespace = g.Metadata.Atespace- }- fmt.Fprintf(w, "%s\t%s\t%s\t%s\n",- name,- gwAtespace,- listenersStr,- egressStr,- )- }- return w.Flush()- }-- if (resource == "gateway" || resource == "gateways") && len(args) >= 2 {- name := args[1]- gw, err := client.GetGateway(ctx, &v1alpha1.GetGatewayRequest{Atespace: atespace, Name: name})- if err != nil {- return fmt.Errorf("getting gateway %q: %w", name, err)- }-- return yaml.NewEncoder(os.Stdout).Encode(gw)- }if resource == "workspaces" || resource == "workspace" && len(args) == 1 {resp, err := client.ListWorkspaces(ctx, &v1alpha1.ListWorkspacesRequest{Atespace: atespace})@@ -564,7 +489,7 @@ func runGet(serverURL, atespace string, args []string) error {func runDescribe(serverURL, atespace string, args []string) error {if len(args) < 2 {- return fmt.Errorf("usage: ax describe <task|gateway|workspace|model> <name>")+ return fmt.Errorf("usage: ax describe <task|workspace|model> <name>")}kind := strings.ToLower(args[0])name := args[1]@@ -677,36 +602,6 @@ func runDescribe(serverURL, atespace string, args []string) error {return nil}- if kind == "gateway" || kind == "gateways" {- gw, err := client.GetGateway(ctx, &v1alpha1.GetGatewayRequest{Atespace: atespace, Name: name})- if err != nil {- return fmt.Errorf("getting gateway %q: %w", name, err)- }-- gwName := ""- gwAtespace := ""- if gw.Metadata != nil {- gwName = gw.Metadata.Name- gwAtespace = gw.Metadata.Atespace- }- fmt.Printf("Name: %s\n", gwName)- fmt.Printf("Atespace: %s\n", gwAtespace)- if gw.Spec != nil {- if len(gw.Spec.Listeners) > 0 {- fmt.Println("Listeners:")- for _, l := range gw.Spec.Listeners {- fmt.Printf(" - %s: %d (%s)\n", l.Name, l.Port, l.Protocol)- }- }- if gw.Spec.Egress != nil && gw.Spec.Egress.Allowlist != nil && len(gw.Spec.Egress.Allowlist.Hosts) > 0 {- fmt.Println("Egress Allowlist:")- for _, h := range gw.Spec.Egress.Allowlist.Hosts {- fmt.Printf(" - %s:%d\n", h.Host, h.Port)- }- }- }- return nil- }task, err := client.GetTask(ctx, &v1alpha1.GetTaskRequest{Atespace: atespace, Name: name})if err != nil {@@ -736,9 +631,6 @@ func runDescribe(serverURL, atespace string, args []string) error {fmt.Printf("Actor: %s\n", actor)fmt.Printf("Worker IP: %s\n", workerIP)if task.Spec != nil {- if task.Spec.Gateway != nil {- fmt.Printf("Gateway: %s\n", task.Spec.Gateway.Name)- }if refs := task.Spec.WorkspaceRefs(); len(refs) > 0 {paths := task.Spec.WorkspacePaths()fmt.Println("Workspaces:")@@ -827,7 +719,7 @@ func runWatch(serverURL, atespace string, args []string) error {// runDelete removes one resource by kind and name.func runDelete(serverURL, atespace string, args []string) error {if len(args) < 2 {- return fmt.Errorf("usage: ax delete <task|gateway|workspace|model> <name>")+ return fmt.Errorf("usage: ax delete <task|workspace|model> <name>")}kind, err := normalizeKind(args[0])if err != nil {@@ -866,8 +758,6 @@ func deleteResource(ctx context.Context, client v1alpha1.AXClient, kind, atespacswitch kind {case v1alpha1.KindTask:_, err = client.DeleteTask(ctx, &v1alpha1.DeleteTaskRequest{Atespace: atespace, Name: name})- case v1alpha1.KindGateway:- _, err = client.DeleteGateway(ctx, &v1alpha1.DeleteGatewayRequest{Atespace: atespace, Name: name})case v1alpha1.KindWorkspace:_, err = client.DeleteWorkspace(ctx, &v1alpha1.DeleteWorkspaceRequest{Atespace: atespace, Name: name})case v1alpha1.KindModel:@@ -893,8 +783,6 @@ func waitForDeletion(ctx context.Context, client v1alpha1.AXClient, kind, atespaswitch kind {case v1alpha1.KindTask:_, err = client.GetTask(ctx, &v1alpha1.GetTaskRequest{Atespace: atespace, Name: name})- case v1alpha1.KindGateway:- _, err = client.GetGateway(ctx, &v1alpha1.GetGatewayRequest{Atespace: atespace, Name: name})case v1alpha1.KindWorkspace:_, err = client.GetWorkspace(ctx, &v1alpha1.GetWorkspaceRequest{Atespace: atespace, Name: name})case v1alpha1.KindModel:@@ -930,8 +818,6 @@ func normalizeKind(kind string) (string, error) {switch strings.ToLower(strings.TrimSuffix(kind, "s")) {case "task":return v1alpha1.KindTask, nil- case "gateway":- return v1alpha1.KindGateway, nilcase "workspace":return v1alpha1.KindWorkspace, nilcase "model":@@ -939,7 +825,7 @@ func normalizeKind(kind string) (string, error) {case "":return "", errors.New("missing kind")default:- return "", fmt.Errorf("unsupported kind %q (expected task, gateway, workspace, or model)", kind)+ return "", fmt.Errorf("unsupported kind %q (expected task, workspace, or model)", kind)}}diff --git a/demo.sh b/demo.shindex c1b9c93..0c51966 100755--- a/demo.sh+++ b/demo.sh@@ -32,7 +32,7 @@ AX_BIN="${AX_BIN:-./bin/ax}"# ax runs the CLI at AX_BIN so the commands below read the way you would type them.ax() { "${AX_BIN}" "$@"; }ATESPACE="${ATESPACE:-default}"-TASK_NAME="test-task"+TASK_NAME="demo-task"WORKSPACE_NAME="demo-workspace"TASK_IMAGE="${AX_TASK_IMAGE:-${AX_IMAGE_REPO:-gcr.io/dberkov-gke-dev3}/ax-task-runner@sha256:127dbe6650f2b93e5af793a9d7995ce0cf70c0f37ffb4c696154d3cc1a32f8bd}"@@ -41,9 +41,9 @@ TASK_IMAGE="${AX_TASK_IMAGE:-${AX_IMAGE_REPO:-gcr.io/dberkov-gke-dev3}/ax-task-r# ---------------------------------------------------------------------------if [[ -t 1 && -z "${NO_COLOR:-}" ]]; then- BOLD=$'\e[1m'; DIM=$'\e[2m'; CYAN=$'\e[36m'; GREEN=$'\e[32m'; YELLOW=$'\e[33m'; RESET=$'\e[0m'+ BOLD=$'\e[1m'; DIM=$'\e[2m'; CYAN=$'\e[36m'; GREEN=$'\e[32m'; YELLOW=$'\e[33m'; RED=$'\e[31m'; RESET=$'\e[0m'else- BOLD=""; DIM=""; CYAN=""; GREEN=""; YELLOW=""; RESET=""+ BOLD=""; DIM=""; CYAN=""; GREEN=""; YELLOW=""; RED=""; RESET=""fiSTEP=0@@ -66,6 +66,7 @@ in_sandbox() {ok() { printf '%s✔ %s%s\n' "${GREEN}" "$*" "${RESET}"; }note() { printf '%s%s%s\n' "${YELLOW}" "$*" "${RESET}"; }+err() { printf '%s✘ %s%s\n' "${RED}" "$*" "${RESET}"; }task_field() {ax describe task "${TASK_NAME}" -a "${ATESPACE}" 2>/dev/null | awk -v key="$1" '$1 == key {print $2}'}@@ -87,6 +88,12 @@ wait_for() {printf ' %s%ds%s\n' "${GREEN}" "${elapsed}" "${RESET}"return 0fi+ if [[ "${phase}" == "Failed" && "${want_phase}" != "Failed" ]]; then+ printf '\n'+ err "Task entered Failed phase! Last seen Ready=${ready:-?}"+ ax describe task "${TASK_NAME}" -a "${ATESPACE}" || true+ return 1+ fiif (( $(date +%s) - start > timeout )); thenprintf '\n'note "Gave up after ${timeout}s. Last seen Phase=${phase:-?} Ready=${ready:-?}"diff --git a/deploy/ax-controller.yaml b/deploy/ax-controller.yamlindex 20492cc..1e6054b 100644--- a/deploy/ax-controller.yaml+++ b/deploy/ax-controller.yaml@@ -79,6 +79,8 @@ spec:env:- name: ATENET_ROUTER_ADDRvalue: "atenet-router.ate-system.svc.cluster.local:80"+ - name: AX_SNAPSHOTS_BUCKET+ value: "gs://dberkov-gke-dev3/ate-env/"resources:requests:cpu: "100m"diff --git a/docs/concepts.md b/docs/concepts.mdindex 1522309..81380c2 100644--- a/docs/concepts.md+++ b/docs/concepts.md@@ -4,7 +4,7 @@ Every AX resource lives in an **atespace**. The default atespace is `default`.## Task-The smallest unit of isolated execution. A `Task` declares the container image and command, compute requests and limits, environment variables, a reference to a `Gateway`, and references to one or more `Workspace`s under `spec.workspaces`. Each workspace is mounted at its own path, and the first serves as the command's working directory.+The smallest unit of isolated execution. A `Task` declares the container image and command, compute requests and limits, environment variables, and references to one or more `Workspace`s under `spec.workspaces`. Each workspace is mounted at its own path, and the first serves as the command's working directory.The unit is deliberately small. An agent is not one process that runs to completion; over its lifetime it plans, delegates, retries, and fans work out. AX does not try to model that shape. It gives you one primitive that is cheap to create, isolate, suspend, and throw away, and lets the agent compose as many of them as its work demands. A single task may be the whole job, or it may be the root of a large tree of tasks spawned as the agent breaks the problem down. Either way each node gets the same sandbox, the same lifecycle, and the same tooling.@@ -15,7 +15,6 @@ The unit is deliberately small. An agent is not one process that runs to complet| Condition | True when ||---|---|| `WorkspaceReady` | Every workspace has finished setting up. Stays True afterwards. |-| `GatewayReady` | The gateway's network policies were applied to the sandbox. || `Ready` | The task is running and `WorkspaceReady` is True. This is the one to wait on. |Two transitions are worth knowing. Suspending a task sets `Ready` to False with reason `TaskSuspended`; resuming sets it back. Deleting a task moves it to `Terminating` while the controller tears down the sandbox, then removes the record entirely. `ax delete` blocks until that has happened.@@ -32,10 +31,6 @@ A `Workspace` populates the filesystem and tool landscape. Declare it once, bindA binding can also carry a `goal`, a plain-language description of the environment the task needs. On first boot the runner hands that goal to an agent that finishes the setup, for example installing a toolchain or dependencies, so the task's own command starts in a ready environment.-## Gateway--Network boundary for a task. Declares listeners the task exposes and an **egress allowlist** of hosts and ports the sandbox may reach. Use it to restrict an agent to, say, your LLM provider and your Git host.-## ModelA `Model` is not a model. It is a named model configuration: which provider to call, which model identifier to use, provider-specific generation parameters such as temperature, and a reference to the Kubernetes secret holding the API key.diff --git a/docs/manifests.md b/docs/manifests.mdindex a0fa502..b9c44d8 100644--- a/docs/manifests.md+++ b/docs/manifests.md@@ -30,9 +30,6 @@ spec:path: "/workspace"goal: "Install dependencies and run the test suite" # Antigravity prepares the workspace to this goal on first run- gateway:- name: default-gateway-debug: true # serve guest services inside the sandbox so `ax ssh` works; off by default```@@ -78,28 +75,6 @@ spec:path: "/.agents/skills"```-## Gateway--```yaml-apiVersion: ax.io/v1alpha1-kind: Gateway-metadata:- name: default-gateway- atespace: default-spec:- listeners:- - name: grpc- port: 8494- protocol: gRPC- - name: http- port: 8080- protocol: HTTP- egress:- allowlist:- hosts:- - host: "*" # allow everything on 443; tighten this in production- port: 443-```## Modeldiff --git a/docs/roadmap.md b/docs/roadmap.mdindex 69ae531..062237e 100644--- a/docs/roadmap.md+++ b/docs/roadmap.md@@ -8,7 +8,6 @@ Stabilize the `ax.io/v1alpha1` declarative schemas and lifecycle contracts acros|---|---|| **`Task`** | Lifecycle phases, status conditions, resource limits, token/timeout budgets, and approval policies. || **`Workspace`** | Git checkouts, static/registry MCP servers, skill registries, mount paths, and goal overrides. |-| **`Gateway`** | Inbound listeners (`gRPC`, `HTTP`) and outbound egress host/port allowlists. || **`Model`** | Provider bindings, model identifiers, sampling parameters, and credential secret references. || **`Sandbox` / `SandboxConfig`** | Runtime isolation backends, kernel/syscall constraints, filesystem mounts, and security profiles. |@@ -36,11 +35,9 @@ Make workspace synthesis and in-sandbox agent harnesses dynamic and extensible:Harden perimeter security, enterprise governance, and platform observability for production deployments:-- **Reconciliation of `Gateway` Specs**: Implement full continuous reconciliation for `Gateway` resources in `ax-controller` so updates to listeners and egress allowlists dynamically propagate to all referencing tasks and underlying Substrate network policies.-- **Swappable Google-Managed Gateway**: Abstract the gateway data/control plane interface so clusters can seamlessly swap between the built-in Substrate gateway and a Google-managed gateway implementation.-- **SPIFFE Identity for Tasks and Gateways**: Issue cryptographic workload identities (SPIFFE IDs / X.509-SVIDs) to every `Task` actor and `Gateway`, enabling zero-trust mutual TLS (mTLS) authentication across tasks, gateways, MCP servers, and internal services.+- **SPIFFE Identity for Tasks**: Issue cryptographic workload identities (SPIFFE IDs / X.509-SVIDs) to every `Task` actor, enabling zero-trust mutual TLS (mTLS) authentication across tasks, MCP servers, and internal services.- **Google Platform Requirements for Governance**: Meet baseline Google platform requirements for MCP and skill registry integration, access control, policy enforcement, budget guardrails, and audit compliance.-- **Telemetry and Trajectory Collection**: Automatically collect and export OpenTelemetry metrics, distributed traces, and structured agent trajectories (prompts, model responses, tool calls, process executions, and lifecycle transitions) at the runner and gateway layers without requiring custom instrumentation in user containers.+- **Telemetry and Trajectory Collection**: Automatically collect and export OpenTelemetry metrics, distributed traces, and structured agent trajectories (prompts, model responses, tool calls, process executions, and lifecycle transitions) at the runner layer without requiring custom instrumentation in user containers.## 5. Documentationdiff --git a/examples/simple.yaml b/examples/simple.yamlindex 2ce2a5d..bb0efbf 100644--- a/examples/simple.yaml+++ b/examples/simple.yaml@@ -12,10 +12,10 @@# See the License for the specific language governing permissions and# limitations under the License.-# The smallest useful Task: no Workspace, Gateway, or Model.+# The smallest useful Task: no Workspace or Model.## The controller runs it on the default task-runner image with an empty-# /workspace directory and allows all egress on port 443.+# /workspace directory.## ax apply -f examples/simple.yaml# ax describe task simple-taskdiff --git a/examples/task.yaml b/examples/task.yamlindex 7e41c72..3997828 100644--- a/examples/task.yaml+++ b/examples/task.yaml@@ -35,9 +35,6 @@ spec:- name: default-workspacepath: "/workspace"- gateway:- name: default-gateway-debug: true # serve guest services so `ax ssh` works; off by default---apiVersion: ax.io/v1alpha1@@ -64,26 +61,6 @@ spec:path: "/.agents/skills"---apiVersion: ax.io/v1alpha1-kind: Gateway-metadata:- name: default-gateway- atespace: default-spec:- listeners:- - name: grpc- port: 8494- protocol: gRPC-- - name: http- port: 8080- protocol: HTTP- egress:- allowlist:- hosts:- - host: "*"- port: 443-----apiVersion: ax.io/v1alpha1kind: Modelmetadata:name: default-modeldiff --git a/internal/controller/reconciler.go b/internal/controller/reconciler.goindex b9b0c17..8a3cde1 100644--- a/internal/controller/reconciler.go+++ b/internal/controller/reconciler.go@@ -92,7 +92,7 @@ func NewTaskReconciler(client *substrate.Client, defaultTemplate, defaultTemplat}// Reconcile handles the reconciliation loop for a single Task.-func (r *TaskReconciler) Reconcile(ctx context.Context, task *v1alpha1.Task, gateway *v1alpha1.Gateway, workspaces ...*v1alpha1.Workspace) (*v1alpha1.Task, error) {+func (r *TaskReconciler) Reconcile(ctx context.Context, task *v1alpha1.Task, workspaces ...*v1alpha1.Workspace) (*v1alpha1.Task, error) {if task.Metadata == nil {task.Metadata = &v1alpha1.ObjectMeta{}}@@ -190,26 +190,7 @@ func (r *TaskReconciler) Reconcile(ctx context.Context, task *v1alpha1.Task, gatreturn task, fmt.Errorf("ensuring actor: %w", err)}- // 4. Apply Egress Policy to Actor- var egressAllowlist *v1alpha1.EgressAllowlist- if gateway != nil && gateway.Spec != nil && gateway.Spec.Egress != nil && gateway.Spec.Egress.Allowlist != nil {- egressAllowlist = gateway.Spec.Egress.Allowlist- } else {- // Default to allow all egress if no explicit gateway restriction is set- egressAllowlist = &v1alpha1.EgressAllowlist{- Hosts: []*v1alpha1.HostRule{- {Host: "*", Port: 443},- },- }- }- if err := r.client.ApplyEgressPolicy(ctx, atespace, actorName, egressAllowlist); err != nil {- slog.Warn("could not apply egress policy (continuing)", "actor", actorName, "error", err)- r.setCondition(task, condGatewayReady, "False", "PolicyApplyFailed", err.Error(), now)- } else {- r.setCondition(task, condGatewayReady, "True", "PoliciesApplied", "Network policies active", now)- }-- // 5. Suspend or Resume the Actor+ // 4. Suspend or Resume the Actorif task.Spec != nil && task.Spec.Suspend {slog.Info("suspending actor on Substrate", "actor", actorName)if err := r.client.SuspendActor(ctx, atespace, actorName); err != nil {@@ -327,8 +308,6 @@ const (condReady = "Ready"// condWorkspaceReady reports whether the workspace inside the actor has finished setting up.condWorkspaceReady = "WorkspaceReady"- // condGatewayReady reports whether the gateway's network policies were applied to the actor.- condGatewayReady = "GatewayReady")// setNotReady marks the task's Ready condition False. WorkspaceReady is left untouched:diff --git a/internal/controller/reconciler_test.go b/internal/controller/reconciler_test.goindex 67febcd..9439602 100644--- a/internal/controller/reconciler_test.go+++ b/internal/controller/reconciler_test.go@@ -38,7 +38,6 @@ type mockControlServer struct {createdActors []stringresumedActors []stringsuspendedActors []string- createdPolicies []stringdeletedActors []stringactorTemplates map[string]booldeletedTemplates []string@@ -123,14 +122,6 @@ func (m *mockControlServer) SuspendActor(ctx context.Context, req *ateapipb.Suspreturn &ateapipb.SuspendActorResponse{}, nil}-func (m *mockControlServer) CreateActorEgressPolicy(ctx context.Context, req *ateapipb.CreateActorEgressPolicyRequest) (*ateapipb.EgressPolicy, error) {- actorName := ""- if req.Actor != nil {- actorName = req.Actor.Name- }- m.createdPolicies = append(m.createdPolicies, actorName)- return &ateapipb.EgressPolicy{}, nil-}func (m *mockControlServer) DeleteActor(ctx context.Context, req *ateapipb.DeleteActorRequest) (*ateapipb.Actor, error) {name := req.GetActor().GetName()@@ -193,29 +184,13 @@ func TestTaskReconciler(t *testing.T) {Spec: &v1alpha1.TaskSpec{Image: "ghrc.io/my-org/my-image",Command: []string{"/bin/task-runner"},- Gateway: &v1alpha1.GatewayRef{- Name: "default-gateway",- },},// A client-supplied actor name must not survive: the actor is always// named after the task.Status: &v1alpha1.TaskStatus{Actor: "not-the-task"},}- gateway := &v1alpha1.Gateway{- Spec: &v1alpha1.GatewaySpec{- Egress: &v1alpha1.EgressConfig{- Allowlist: &v1alpha1.EgressAllowlist{- Hosts: []*v1alpha1.HostRule{- {Host: "api.anthropic.com", Port: 443},- {Host: "github.com", Port: 443},- },- },- },- },- }-- reconciled, err := reconciler.Reconcile(ctx, task, gateway)+ reconciled, err := reconciler.Reconcile(ctx, task)if err != nil {t.Fatalf("Reconcile failed: %v", err)}@@ -241,9 +216,6 @@ func TestTaskReconciler(t *testing.T) {if len(mockSrv.resumedActors) != 1 || mockSrv.resumedActors[0] != "test-task" {t.Errorf("expected actor 'test-task' resumed, got %v", mockSrv.resumedActors)}- if len(mockSrv.createdPolicies) != 1 || mockSrv.createdPolicies[0] != "test-task" {- t.Errorf("expected egress policy created for 'test-task', got %v", mockSrv.createdPolicies)- }}func TestTaskReconciler_Suspend(t *testing.T) {diff --git a/internal/controller/worker.go b/internal/controller/worker.goindex 398b090..8af08e5 100644--- a/internal/controller/worker.go+++ b/internal/controller/worker.go@@ -127,16 +127,6 @@ func (w *Worker) processEvent(ctx context.Context, ev store.TaskEvent) error {return fmt.Errorf("fetching task %s/%s: %w", ev.Atespace, ev.Name, err)}- var gw *v1alpha1.Gateway- if task.Spec.Gateway != nil && task.Spec.Gateway.Name != "" {- g, err := w.store.GetGateway(ctx, task.Metadata.Atespace, task.Spec.Gateway.Name)- if err == nil {- gw = g- } else if !errors.Is(err, store.ErrNotFound) {- slog.Warn("error fetching gateway", "name", task.Spec.Gateway.Name, "error", err)- }- }-// Resolve every bound workspace. A missing one is skipped so the task still// runs; the runner creates an empty directory at its path.var workspaces []*v1alpha1.Workspace@@ -152,7 +142,7 @@ func (w *Worker) processEvent(ctx context.Context, ev store.TaskEvent) error {}}- reconciled, err := w.reconciler.Reconcile(ctx, task, gw, workspaces...)+ reconciled, err := w.reconciler.Reconcile(ctx, task, workspaces...)if err != nil {task.Status.Phase = "Failed"_ = w.store.UpdateTaskStatus(ctx, task.Metadata.Atespace, task.Metadata.Name, task.Status)diff --git a/internal/controller/worker_test.go b/internal/controller/worker_test.goindex 91acd61..49b066c 100644--- a/internal/controller/worker_test.go+++ b/internal/controller/worker_test.go@@ -60,24 +60,11 @@ func TestWorkerReconciliation(t *testing.T) {// 3. In-memory storememStore := memory.NewStore()- // Pre-create gateway- _ = memStore.SaveGateway(ctx, &v1alpha1.Gateway{- Metadata: &v1alpha1.ObjectMeta{Name: "default-gw", Atespace: "default"},- Spec: &v1alpha1.GatewaySpec{- Egress: &v1alpha1.EgressConfig{- Allowlist: &v1alpha1.EgressAllowlist{- Hosts: []*v1alpha1.HostRule{{Host: "api.openai.com"}},- },- },- },- })-// Save tasktask := &v1alpha1.Task{Metadata: &v1alpha1.ObjectMeta{Name: "worker-task", Atespace: "default"},Spec: &v1alpha1.TaskSpec{- Gateway: &v1alpha1.GatewayRef{Name: "default-gw"},- Image: "ghrc.io/test/img",+ Image: "ghrc.io/test/img",},}if err := memStore.SaveTask(ctx, task); err != nil {diff --git a/internal/server/server.go b/internal/server/server.goindex 27e89ab..ed69f09 100644--- a/internal/server/server.go+++ b/internal/server/server.go@@ -237,68 +237,6 @@ func (s *Server) WatchTask(req *v1alpha1.WatchTaskRequest, stream grpc.ServerStr}}-// --- Gateways -----func (s *Server) GetGateway(ctx context.Context, req *v1alpha1.GetGatewayRequest) (*v1alpha1.Gateway, error) {- if req == nil {- return nil, status.Error(codes.InvalidArgument, "missing request")- }- atespace := req.Atespace- if atespace == "" {- atespace = "default"- }- gw, err := s.store.GetGateway(ctx, atespace, req.Name)- if err != nil {- if errors.Is(err, store.ErrNotFound) {- return nil, status.Errorf(codes.NotFound, "gateway %q not found in atespace %q", req.Name, atespace)- }- return nil, status.Errorf(codes.Internal, "getting gateway: %v", err)- }- return gw, nil-}--func (s *Server) ListGateways(ctx context.Context, req *v1alpha1.ListGatewaysRequest) (*v1alpha1.ListGatewaysResponse, error) {- atespace := ""- if req != nil {- atespace = req.Atespace- }- gateways, err := s.store.ListGateways(ctx, atespace)- if err != nil {- return nil, status.Errorf(codes.Internal, "listing gateways: %v", err)- }- return &v1alpha1.ListGatewaysResponse{Gateways: gateways}, nil-}--func (s *Server) UpdateGateway(ctx context.Context, req *v1alpha1.UpdateGatewayRequest) (*v1alpha1.Gateway, error) {- if req == nil || req.Gateway == nil {- return nil, status.Error(codes.InvalidArgument, "gateway required")- }- req.Gateway.Metadata = defaultMetadata(req.Gateway.Metadata, func(atespace, name string) *v1alpha1.ObjectMeta {- existing, err := s.store.GetGateway(ctx, atespace, name)- if err != nil {- return nil- }- return existing.GetMetadata()- })- if err := s.store.SaveGateway(ctx, req.Gateway); err != nil {- return nil, status.Errorf(codes.Internal, "saving gateway: %v", err)- }- return req.Gateway, nil-}--func (s *Server) DeleteGateway(ctx context.Context, req *v1alpha1.DeleteGatewayRequest) (*v1alpha1.DeleteGatewayResponse, error) {- if req == nil {- return nil, status.Error(codes.InvalidArgument, "missing request")- }- atespace := req.Atespace- if atespace == "" {- atespace = "default"- }- if err := s.store.DeleteGateway(ctx, atespace, req.Name); err != nil {- return nil, status.Errorf(codes.Internal, "deleting gateway: %v", err)- }- return &v1alpha1.DeleteGatewayResponse{}, nil-}// --- Workspaces ---diff --git a/internal/server/server_test.go b/internal/server/server_test.goindex 9cb1726..6a2e35d 100644--- a/internal/server/server_test.go+++ b/internal/server/server_test.go@@ -89,14 +89,6 @@ func TestServerGRPC(t *testing.T) {// 1. Create one resource of each kind through the typed RPCs. Metadata is left// partially empty to exercise server-side defaulting.- if _, err := client.UpdateGateway(ctx, &v1alpha1.UpdateGatewayRequest{Gateway: &v1alpha1.Gateway{- Metadata: &v1alpha1.ObjectMeta{Name: "grpc-gw"},- Spec: &v1alpha1.GatewaySpec{- Listeners: []*v1alpha1.Listener{{Name: "http", Port: 80, Protocol: "HTTP"}},- },- }}); err != nil {- t.Fatalf("UpdateGateway failed: %v", err)- }if _, err := client.UpdateWorkspace(ctx, &v1alpha1.UpdateWorkspaceRequest{Workspace: &v1alpha1.Workspace{Metadata: &v1alpha1.ObjectMeta{Name: "grpc-ws"},Spec: &v1alpha1.WorkspaceSpec{},@@ -117,12 +109,12 @@ func TestServerGRPC(t *testing.T) {}// 2. Defaulting applies to every kind: atespace and creation timestamp are filled in.- gw, err := client.GetGateway(ctx, &v1alpha1.GetGatewayRequest{Atespace: "default", Name: "grpc-gw"})+ ws, err := client.GetWorkspace(ctx, &v1alpha1.GetWorkspaceRequest{Atespace: "default", Name: "grpc-ws"})if err != nil {- t.Fatalf("GetGateway failed: %v", err)+ t.Fatalf("GetWorkspace failed: %v", err)}- if gw.GetMetadata().GetAtespace() != "default" || gw.GetMetadata().GetCreationTimestamp() == nil {- t.Errorf("expected gateway metadata to be defaulted, got %v", gw.GetMetadata())+ if ws.GetMetadata().GetAtespace() != "default" || ws.GetMetadata().GetCreationTimestamp() == nil {+ t.Errorf("expected workspace metadata to be defaulted, got %v", ws.GetMetadata())}// 3. GetTask & ListTasks@@ -175,25 +167,9 @@ func TestServerGRPC(t *testing.T) {t.Errorf("expected task to be resumed")}- // 5. Gateways- gw, err = client.GetGateway(ctx, &v1alpha1.GetGatewayRequest{Atespace: "default", Name: "grpc-gw"})- if err != nil {- t.Fatalf("GetGateway failed: %v", err)- }- if gw.Metadata.Name != "grpc-gw" {- t.Errorf("expected gateway 'grpc-gw', got %s", gw.Metadata.Name)- }-- listGatewaysResp, err := client.ListGateways(ctx, &v1alpha1.ListGatewaysRequest{Atespace: "default"})- if err != nil {- t.Fatalf("ListGateways failed: %v", err)- }- if len(listGatewaysResp.Gateways) != 1 {- t.Fatalf("expected 1 gateway in list, got %d", len(listGatewaysResp.Gateways))- }- // 6. Workspaces- ws, err := client.GetWorkspace(ctx, &v1alpha1.GetWorkspaceRequest{Atespace: "default", Name: "grpc-ws"})+ // 5. Workspaces+ ws, err = client.GetWorkspace(ctx, &v1alpha1.GetWorkspaceRequest{Atespace: "default", Name: "grpc-ws"})if err != nil {t.Fatalf("GetWorkspace failed: %v", err)}@@ -262,9 +238,6 @@ func TestServerGRPC(t *testing.T) {if err := memStore.DeleteTask(ctx, "default", "grpc-task"); err != nil {t.Fatalf("removing task record failed: %v", err)}- if _, err := client.DeleteGateway(ctx, &v1alpha1.DeleteGatewayRequest{Atespace: "default", Name: "grpc-gw"}); err != nil {- t.Fatalf("DeleteGateway failed: %v", err)- }if _, err := client.DeleteWorkspace(ctx, &v1alpha1.DeleteWorkspaceRequest{Atespace: "default", Name: "grpc-ws"}); err != nil {t.Fatalf("DeleteWorkspace failed: %v", err)}diff --git a/internal/store/memory/store.go b/internal/store/memory/store.goindex 8a0b13d..c178890 100644--- a/internal/store/memory/store.go+++ b/internal/store/memory/store.go@@ -42,7 +42,6 @@ func clone[T proto.Message](m T) T {type MemoryStore struct {mu sync.RWMutextasks map[string]*v1alpha1.Task- gateways map[string]*v1alpha1.Gatewaymodels map[string]*v1alpha1.Modelworkspaces map[string]*v1alpha1.Workspaceevents chan store.TaskEvent@@ -53,7 +52,6 @@ type MemoryStore struct {func NewStore() *MemoryStore {return &MemoryStore{tasks: make(map[string]*v1alpha1.Task),- gateways: make(map[string]*v1alpha1.Gateway),models: make(map[string]*v1alpha1.Model),workspaces: make(map[string]*v1alpha1.Workspace),events: make(chan store.TaskEvent, 1000),@@ -219,53 +217,6 @@ func (s *MemoryStore) DeleteTask(ctx context.Context, atespace, name string) errreturn nil}-func (s *MemoryStore) SaveGateway(ctx context.Context, gw *v1alpha1.Gateway) error {- if gw.Metadata.Name == "" {- return errors.New("gateway name is required")- }- if gw.Metadata.Atespace == "" {- gw.Metadata.Atespace = "default"- }- s.mu.Lock()- defer s.mu.Unlock()- cp := clone(gw)- s.gateways[taskKey(gw.Metadata.Atespace, gw.Metadata.Name)] = cp- return nil-}--func (s *MemoryStore) GetGateway(ctx context.Context, atespace, name string) (*v1alpha1.Gateway, error) {- s.mu.RLock()- defer s.mu.RUnlock()-- gw, ok := s.gateways[taskKey(atespace, name)]- if !ok {- return nil, store.ErrNotFound- }- cp := clone(gw)- return cp, nil-}--func (s *MemoryStore) ListGateways(ctx context.Context, atespace string) ([]*v1alpha1.Gateway, error) {- s.mu.RLock()- defer s.mu.RUnlock()-- var result []*v1alpha1.Gateway- for _, g := range s.gateways {- if atespace == "" || atespace == "*" || g.Metadata.Atespace == atespace {- cp := clone(g)- result = append(result, cp)- }- }- return result, nil-}--func (s *MemoryStore) DeleteGateway(ctx context.Context, atespace, name string) error {- s.mu.Lock()- defer s.mu.Unlock()-- delete(s.gateways, taskKey(atespace, name))- return nil-}func (s *MemoryStore) SaveModel(ctx context.Context, model *v1alpha1.Model) error {if model.Metadata.Name == "" {diff --git a/internal/store/redis/store.go b/internal/store/redis/store.goindex 0bbf7aa..e96651d 100644--- a/internal/store/redis/store.go+++ b/internal/store/redis/store.go@@ -82,17 +82,6 @@ func (s *Store) taskKey(atespace, name string) string {return fmt.Sprintf("%s:task:%s:%s", s.opts.KeyPrefix, atespace, name)}-func (s *Store) gwKey(atespace, name string) string {- return fmt.Sprintf("%s:gw:%s:%s", s.opts.KeyPrefix, atespace, name)-}--func (s *Store) gwIndexKey() string {- return fmt.Sprintf("%s:gateways:index", s.opts.KeyPrefix)-}--func (s *Store) gwAtespaceIndexKey(atespace string) string {- return fmt.Sprintf("%s:gateways:atespace:%s", s.opts.KeyPrefix, atespace)-}func (s *Store) modelKey(atespace, name string) string {return fmt.Sprintf("%s:model:%s:%s", s.opts.KeyPrefix, atespace, name)@@ -343,132 +332,6 @@ func (s *Store) DeleteTask(ctx context.Context, atespace, name string) error {return nil}-// SaveGateway stores a gateway.-func (s *Store) SaveGateway(ctx context.Context, gw *v1alpha1.Gateway) error {- if gw.Metadata == nil {- gw.Metadata = &v1alpha1.ObjectMeta{}- }- if gw.Metadata.Name == "" {- return errors.New("gateway name is required")- }- if gw.Metadata.Atespace == "" {- gw.Metadata.Atespace = "default"- }- if gw.ApiVersion == "" {- gw.ApiVersion = v1alpha1.APIVersion- }- if gw.Kind == "" {- gw.Kind = v1alpha1.KindGateway- }-- data, err := protojson.Marshal(gw)- if err != nil {- return fmt.Errorf("marshaling gateway: %w", err)- }-- atespace := gw.Metadata.Atespace- name := gw.Metadata.Name- score := float64(time.Now().UnixNano())- member := fmt.Sprintf("%s:%s", atespace, name)-- pipe := s.client.TxPipeline()- pipe.Set(ctx, s.gwKey(atespace, name), data, 0)- pipe.ZAdd(ctx, s.gwIndexKey(), redis.Z{Score: score, Member: member})- pipe.ZAdd(ctx, s.gwAtespaceIndexKey(atespace), redis.Z{Score: score, Member: name})- _, err = pipe.Exec(ctx)- return err-}--// DeleteGateway removes a gateway.-func (s *Store) DeleteGateway(ctx context.Context, atespace, name string) error {- if atespace == "" {- atespace = "default"- }- member := fmt.Sprintf("%s:%s", atespace, name)-- pipe := s.client.TxPipeline()- pipe.Del(ctx, s.gwKey(atespace, name))- pipe.ZRem(ctx, s.gwIndexKey(), member)- pipe.ZRem(ctx, s.gwAtespaceIndexKey(atespace), name)- _, err := pipe.Exec(ctx)- return err-}--// ListGateways lists gateways for an atespace or across all atespaces.-func (s *Store) ListGateways(ctx context.Context, atespace string) ([]*v1alpha1.Gateway, error) {- var members []string- var err error-- if atespace == "" || atespace == "*" {- members, err = s.client.ZRevRange(ctx, s.gwIndexKey(), 0, -1).Result()- } else {- names, nErr := s.client.ZRevRange(ctx, s.gwAtespaceIndexKey(atespace), 0, -1).Result()- if nErr == nil {- for _, n := range names {- members = append(members, fmt.Sprintf("%s:%s", atespace, n))- }- }- err = nErr- }-- if err != nil {- return nil, fmt.Errorf("listing gateway index: %w", err)- }- if len(members) == 0 {- return []*v1alpha1.Gateway{}, nil- }-- keys := make([]string, len(members))- for i, m := range members {- parts := strings.SplitN(m, ":", 2)- if len(parts) == 2 {- keys[i] = s.gwKey(parts[0], parts[1])- } else {- keys[i] = s.gwKey("default", m)- }- }-- vals, err := s.client.MGet(ctx, keys...).Result()- if err != nil {- return nil, fmt.Errorf("batch fetching gateways: %w", err)- }-- gateways := make([]*v1alpha1.Gateway, 0, len(vals))- for _, v := range vals {- if v == nil {- continue- }- str, ok := v.(string)- if !ok {- continue- }- var gw v1alpha1.Gateway- if err := jsonUnmarshalOpts.Unmarshal([]byte(str), &gw); err == nil {- gateways = append(gateways, &gw)- }- }- return gateways, nil-}--// GetGateway retrieves a gateway by atespace and name.-func (s *Store) GetGateway(ctx context.Context, atespace, name string) (*v1alpha1.Gateway, error) {- if atespace == "" {- atespace = "default"- }- val, err := s.client.Get(ctx, s.gwKey(atespace, name)).Result()- if err != nil {- if errors.Is(err, redis.Nil) {- return nil, store.ErrNotFound- }- return nil, fmt.Errorf("getting gateway from redis: %w", err)- }-- var gw v1alpha1.Gateway- if err := jsonUnmarshalOpts.Unmarshal([]byte(val), &gw); err != nil {- return nil, fmt.Errorf("unmarshaling gateway: %w", err)- }- return &gw, nil-}// SaveModel stores a model.func (s *Store) SaveModel(ctx context.Context, model *v1alpha1.Model) error {diff --git a/internal/store/store.go b/internal/store/store.goindex 1e84a0f..41f3a89 100644--- a/internal/store/store.go+++ b/internal/store/store.go@@ -70,11 +70,6 @@ type Store interface {// expected to have cleaned up the task's actor first.DeleteTask(ctx context.Context, atespace, name string) error- SaveGateway(ctx context.Context, gw *v1alpha1.Gateway) error- GetGateway(ctx context.Context, atespace, name string) (*v1alpha1.Gateway, error)- ListGateways(ctx context.Context, atespace string) ([]*v1alpha1.Gateway, error)- DeleteGateway(ctx context.Context, atespace, name string) error-SaveWorkspace(ctx context.Context, ws *v1alpha1.Workspace) errorGetWorkspace(ctx context.Context, atespace, name string) (*v1alpha1.Workspace, error)ListWorkspaces(ctx context.Context, atespace string) ([]*v1alpha1.Workspace, error)diff --git a/internal/substrate/client.go b/internal/substrate/client.goindex bacb078..e3a32d2 100644--- a/internal/substrate/client.go+++ b/internal/substrate/client.go@@ -31,7 +31,6 @@ import ("google.golang.org/grpc/credentials""google.golang.org/grpc/credentials/insecure""google.golang.org/grpc/status"- "google.golang.org/protobuf/types/known/emptypb")// ClientOptions configures connection to the Substrate Control API server.@@ -206,7 +205,7 @@ func (c *Client) GetActorTemplate(ctx context.Context, atespace, templateName stconst (DefaultGuestCommand = "/usr/local/bin/ax-task-runner"- DefaultSnapshotsBucket = "gs://snapshot-substrate-test-ax-substrate/ate-env/"+ DefaultSnapshotsBucket = "gs://dberkov-gke-dev3/ate-env/")// BuildActorTemplate constructs a Substrate ActorTemplate based on the standard ate-env specification.@@ -446,90 +445,4 @@ func (c *Client) DeleteActorTemplate(ctx context.Context, atespace, templateNamereturn nil}-// ApplyEgressPolicy applies egress rules to the Actor from a Gateway's allowlist.-func (c *Client) ApplyEgressPolicy(ctx context.Context, atespace, actorName string, allowlist *v1alpha1.EgressAllowlist) error {- if allowlist == nil || len(allowlist.Hosts) == 0 {- return nil- }-- var patterns []string- var allowAll bool- var cidrs []string-- for _, h := range allowlist.Hosts {- if h.Host == "*" || h.Host == "0.0.0.0/0" {- allowAll = true- break- }- if strings.Contains(h.Host, "/") {- cidrs = append(cidrs, h.Host)- } else if h.Host != "" {- patterns = append(patterns, h.Host)- }- }-- var rules []*ateapipb.EgressRule- if allowAll {- rules = append(rules, &ateapipb.EgressRule{- All: &emptypb.Empty{},- })- } else {- if len(patterns) > 0 {- rules = append(rules, &ateapipb.EgressRule{- Hostnames: &ateapipb.HostnameRule{- Patterns: patterns,- },- })- }- if len(cidrs) > 0 {- rules = append(rules, &ateapipb.EgressRule{- Cidrs: &ateapipb.CIDRRule{- Cidrs: cidrs,- },- })- }- }-- egressPolicy := &ateapipb.EgressPolicy{- Metadata: &ateapipb.ResourceMetadata{- Atespace: atespace,- Name: "default",- },- Rules: rules,- }- actorRef := &ateapipb.ObjectRef{- Atespace: atespace,- Name: actorName,- }-- // Try creating the policy; if it already exists, update it.- createReq := &ateapipb.CreateActorEgressPolicyRequest{- Actor: actorRef,- EgressPolicy: egressPolicy,- }- _, err := c.control.CreateActorEgressPolicy(ctx, createReq)- if err != nil {- if status.Code(err) == codes.AlreadyExists {- existing, getErr := c.control.GetActorEgressPolicy(ctx, &ateapipb.GetActorEgressPolicyRequest{- Actor: actorRef,- })- if getErr == nil && existing != nil && existing.Metadata != nil {- egressPolicy.Metadata.Uid = existing.Metadata.Uid- egressPolicy.Metadata.Version = existing.Metadata.Version- }- updateReq := &ateapipb.UpdateActorEgressPolicyRequest{- Actor: actorRef,- EgressPolicy: egressPolicy,- }- _, updateErr := c.control.UpdateActorEgressPolicy(ctx, updateReq)- if updateErr != nil {- return fmt.Errorf("updating egress policy on %s/%s: %w", atespace, actorName, updateErr)- }- return nil- }- slog.Warn("failed to apply egress policy", "actor", actorName, "error", err)- return fmt.Errorf("creating egress policy on %s/%s: %w", atespace, actorName, err)- }- return nil-}diff --git a/pkg/apis/v1alpha1/ax.pb.go b/pkg/apis/v1alpha1/ax.pb.goindex b1adb26..56f6010 100644--- a/pkg/apis/v1alpha1/ax.pb.go+++ b/pkg/apis/v1alpha1/ax.pb.go@@ -15,7 +15,7 @@// Code generated by protoc-gen-go. DO NOT EDIT.// versions:// protoc-gen-go v1.36.11-// protoc v7.34.1+// protoc v5.28.2// source: pkg/apis/v1alpha1/ax.protopackage v1alpha1@@ -184,7 +184,6 @@ type TaskSpec struct {// workspaces binds one or more Workspaces, each mounted at its own path// under /workspace. The first entry is the task command's working directory.Workspaces []*WorkspaceRef `protobuf:"bytes,7,rep,name=workspaces,proto3" json:"workspaces,omitempty"`- Gateway *GatewayRef `protobuf:"bytes,8,opt,name=gateway,proto3" json:"gateway,omitempty"`// debug enables the in-container guest services (process execution and file// access) that back `ax ssh`. Off by default.Debug bool `protobuf:"varint,10,opt,name=debug,proto3" json:"debug,omitempty"`@@ -264,13 +263,6 @@ func (x *TaskSpec) GetWorkspaces() []*WorkspaceRef {return nil}-func (x *TaskSpec) GetGateway() *GatewayRef {- if x != nil {- return x.Gateway- }- return nil-}-func (x *TaskSpec) GetDebug() bool {if x != nil {return x.Debug@@ -494,50 +486,6 @@ func (x *WorkspaceRef) GetGoal() string {return ""}-type GatewayRef struct {- state protoimpl.MessageState `protogen:"open.v1"`- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *GatewayRef) Reset() {- *x = GatewayRef{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[7]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *GatewayRef) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*GatewayRef) ProtoMessage() {}--func (x *GatewayRef) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[7]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use GatewayRef.ProtoReflect.Descriptor instead.-func (*GatewayRef) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{7}-}--func (x *GatewayRef) GetName() string {- if x != nil {- return x.Name- }- return ""-}-type TaskStatus struct {state protoimpl.MessageState `protogen:"open.v1"`Phase string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"`@@ -554,7 +502,7 @@ type TaskStatus struct {func (x *TaskStatus) Reset() {*x = TaskStatus{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[8]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[7]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -566,7 +514,7 @@ func (x *TaskStatus) String() string {func (*TaskStatus) ProtoMessage() {}func (x *TaskStatus) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[8]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[7]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -579,7 +527,7 @@ func (x *TaskStatus) ProtoReflect() protoreflect.Message {// Deprecated: Use TaskStatus.ProtoReflect.Descriptor instead.func (*TaskStatus) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{8}+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{7}}func (x *TaskStatus) GetPhase() string {@@ -642,7 +590,7 @@ type PendingApproval struct {func (x *PendingApproval) Reset() {*x = PendingApproval{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[9]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[8]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -654,7 +602,7 @@ func (x *PendingApproval) String() string {func (*PendingApproval) ProtoMessage() {}func (x *PendingApproval) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[9]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[8]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -667,7 +615,7 @@ func (x *PendingApproval) ProtoReflect() protoreflect.Message {// Deprecated: Use PendingApproval.ProtoReflect.Descriptor instead.func (*PendingApproval) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{9}+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{8}}func (x *PendingApproval) GetId() string {@@ -701,7 +649,7 @@ type UsageStats struct {func (x *UsageStats) Reset() {*x = UsageStats{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[10]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[9]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -713,7 +661,7 @@ func (x *UsageStats) String() string {func (*UsageStats) ProtoMessage() {}func (x *UsageStats) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[10]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[9]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -726,7 +674,7 @@ func (x *UsageStats) ProtoReflect() protoreflect.Message {// Deprecated: Use UsageStats.ProtoReflect.Descriptor instead.func (*UsageStats) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{10}+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{9}}func (x *UsageStats) GetPromptTokens() int32 {@@ -756,7 +704,7 @@ type Condition struct {func (x *Condition) Reset() {*x = Condition{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[11]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[10]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -768,7 +716,7 @@ func (x *Condition) String() string {func (*Condition) ProtoMessage() {}func (x *Condition) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[11]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[10]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -781,7 +729,7 @@ func (x *Condition) ProtoReflect() protoreflect.Message {// Deprecated: Use Condition.ProtoReflect.Descriptor instead.func (*Condition) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{11}+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{10}}func (x *Condition) GetType() string {@@ -819,31 +767,31 @@ func (x *Condition) GetMessage() string {return ""}-type Gateway struct {+type Workspace struct {state protoimpl.MessageState `protogen:"open.v1"`ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`Metadata *ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`- Spec *GatewaySpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`+ Spec *WorkspaceSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *Gateway) Reset() {- *x = Gateway{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[12]+func (x *Workspace) Reset() {+ *x = Workspace{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[11]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *Gateway) String() string {+func (x *Workspace) String() string {return protoimpl.X.MessageStringOf(x)}-func (*Gateway) ProtoMessage() {}+func (*Workspace) ProtoMessage() {}-func (x *Gateway) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[12]+func (x *Workspace) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[11]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -854,62 +802,63 @@ func (x *Gateway) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use Gateway.ProtoReflect.Descriptor instead.-func (*Gateway) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{12}+// Deprecated: Use Workspace.ProtoReflect.Descriptor instead.+func (*Workspace) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{11}}-func (x *Gateway) GetApiVersion() string {+func (x *Workspace) GetApiVersion() string {if x != nil {return x.ApiVersion}return ""}-func (x *Gateway) GetKind() string {+func (x *Workspace) GetKind() string {if x != nil {return x.Kind}return ""}-func (x *Gateway) GetMetadata() *ObjectMeta {+func (x *Workspace) GetMetadata() *ObjectMeta {if x != nil {return x.Metadata}return nil}-func (x *Gateway) GetSpec() *GatewaySpec {+func (x *Workspace) GetSpec() *WorkspaceSpec {if x != nil {return x.Spec}return nil}-type GatewaySpec struct {+type WorkspaceSpec struct {state protoimpl.MessageState `protogen:"open.v1"`- Listeners []*Listener `protobuf:"bytes,1,rep,name=listeners,proto3" json:"listeners,omitempty"`- Egress *EgressConfig `protobuf:"bytes,2,opt,name=egress,proto3" json:"egress,omitempty"`+ Git []*GitRepo `protobuf:"bytes,1,rep,name=git,proto3" json:"git,omitempty"`+ Mcp *MCPConfig `protobuf:"bytes,2,opt,name=mcp,proto3" json:"mcp,omitempty"`+ Skills *SkillsConfig `protobuf:"bytes,3,opt,name=skills,proto3" json:"skills,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *GatewaySpec) Reset() {- *x = GatewaySpec{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[13]+func (x *WorkspaceSpec) Reset() {+ *x = WorkspaceSpec{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[12]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *GatewaySpec) String() string {+func (x *WorkspaceSpec) String() string {return protoimpl.X.MessageStringOf(x)}-func (*GatewaySpec) ProtoMessage() {}+func (*WorkspaceSpec) ProtoMessage() {}-func (x *GatewaySpec) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[13]+func (x *WorkspaceSpec) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[12]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -920,49 +869,58 @@ func (x *GatewaySpec) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use GatewaySpec.ProtoReflect.Descriptor instead.-func (*GatewaySpec) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{13}+// Deprecated: Use WorkspaceSpec.ProtoReflect.Descriptor instead.+func (*WorkspaceSpec) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{12}+}++func (x *WorkspaceSpec) GetGit() []*GitRepo {+ if x != nil {+ return x.Git+ }+ return nil}-func (x *GatewaySpec) GetListeners() []*Listener {+func (x *WorkspaceSpec) GetMcp() *MCPConfig {if x != nil {- return x.Listeners+ return x.Mcp}return nil}-func (x *GatewaySpec) GetEgress() *EgressConfig {+func (x *WorkspaceSpec) GetSkills() *SkillsConfig {if x != nil {- return x.Egress+ return x.Skills}return nil}-type Listener struct {+type GitRepo struct {state protoimpl.MessageState `protogen:"open.v1"`Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`- Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`+ Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`+ Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`+ Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"`+ Depth int32 `protobuf:"varint,5,opt,name=depth,proto3" json:"depth,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *Listener) Reset() {- *x = Listener{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[14]+func (x *GitRepo) Reset() {+ *x = GitRepo{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[13]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *Listener) String() string {+func (x *GitRepo) String() string {return protoimpl.X.MessageStringOf(x)}-func (*Listener) ProtoMessage() {}+func (*GitRepo) ProtoMessage() {}-func (x *Listener) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[14]+func (x *GitRepo) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[13]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -973,54 +931,69 @@ func (x *Listener) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use Listener.ProtoReflect.Descriptor instead.-func (*Listener) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{14}+// Deprecated: Use GitRepo.ProtoReflect.Descriptor instead.+func (*GitRepo) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{13}}-func (x *Listener) GetName() string {+func (x *GitRepo) GetName() string {if x != nil {return x.Name}return ""}-func (x *Listener) GetPort() int32 {+func (x *GitRepo) GetRepo() string {if x != nil {- return x.Port+ return x.Repo}- return 0+ return ""+}++func (x *GitRepo) GetBranch() string {+ if x != nil {+ return x.Branch+ }+ return ""}-func (x *Listener) GetProtocol() string {+func (x *GitRepo) GetDir() string {if x != nil {- return x.Protocol+ return x.Dir}return ""}-type EgressConfig struct {+func (x *GitRepo) GetDepth() int32 {+ if x != nil {+ return x.Depth+ }+ return 0+}++type MCPConfig struct {state protoimpl.MessageState `protogen:"open.v1"`- Allowlist *EgressAllowlist `protobuf:"bytes,1,opt,name=allowlist,proto3" json:"allowlist,omitempty"`+ Registries []*MCPRegistry `protobuf:"bytes,1,rep,name=registries,proto3" json:"registries,omitempty"`+ Servers []*MCPServer `protobuf:"bytes,2,rep,name=servers,proto3" json:"servers,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *EgressConfig) Reset() {- *x = EgressConfig{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[15]+func (x *MCPConfig) Reset() {+ *x = MCPConfig{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[14]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *EgressConfig) String() string {+func (x *MCPConfig) String() string {return protoimpl.X.MessageStringOf(x)}-func (*EgressConfig) ProtoMessage() {}+func (*MCPConfig) ProtoMessage() {}-func (x *EgressConfig) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[15]+func (x *MCPConfig) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[14]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1031,40 +1004,50 @@ func (x *EgressConfig) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use EgressConfig.ProtoReflect.Descriptor instead.-func (*EgressConfig) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{15}+// Deprecated: Use MCPConfig.ProtoReflect.Descriptor instead.+func (*MCPConfig) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{14}+}++func (x *MCPConfig) GetRegistries() []*MCPRegistry {+ if x != nil {+ return x.Registries+ }+ return nil}-func (x *EgressConfig) GetAllowlist() *EgressAllowlist {+func (x *MCPConfig) GetServers() []*MCPServer {if x != nil {- return x.Allowlist+ return x.Servers}return nil}-type EgressAllowlist struct {+type MCPRegistry struct {state protoimpl.MessageState `protogen:"open.v1"`- Hosts []*HostRule `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`+ Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`+ Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`+ Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`+ Servers []*MCPServer `protobuf:"bytes,4,rep,name=servers,proto3" json:"servers,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *EgressAllowlist) Reset() {- *x = EgressAllowlist{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[16]+func (x *MCPRegistry) Reset() {+ *x = MCPRegistry{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[15]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *EgressAllowlist) String() string {+func (x *MCPRegistry) String() string {return protoimpl.X.MessageStringOf(x)}-func (*EgressAllowlist) ProtoMessage() {}+func (*MCPRegistry) ProtoMessage() {}-func (x *EgressAllowlist) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[16]+func (x *MCPRegistry) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[15]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1075,41 +1058,64 @@ func (x *EgressAllowlist) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use EgressAllowlist.ProtoReflect.Descriptor instead.-func (*EgressAllowlist) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{16}+// Deprecated: Use MCPRegistry.ProtoReflect.Descriptor instead.+func (*MCPRegistry) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{15}+}++func (x *MCPRegistry) GetProvider() string {+ if x != nil {+ return x.Provider+ }+ return ""+}++func (x *MCPRegistry) GetProject() string {+ if x != nil {+ return x.Project+ }+ return ""+}++func (x *MCPRegistry) GetQuery() string {+ if x != nil {+ return x.Query+ }+ return ""}-func (x *EgressAllowlist) GetHosts() []*HostRule {+func (x *MCPRegistry) GetServers() []*MCPServer {if x != nil {- return x.Hosts+ return x.Servers}return nil}-type HostRule struct {+type MCPServer struct {state protoimpl.MessageState `protogen:"open.v1"`- Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`- Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`+ Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`+ Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`+ Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *HostRule) Reset() {- *x = HostRule{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[17]+func (x *MCPServer) Reset() {+ *x = MCPServer{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[16]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *HostRule) String() string {+func (x *MCPServer) String() string {return protoimpl.X.MessageStringOf(x)}-func (*HostRule) ProtoMessage() {}+func (*MCPServer) ProtoMessage() {}-func (x *HostRule) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[17]+func (x *MCPServer) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[16]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1120,252 +1126,62 @@ func (x *HostRule) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use HostRule.ProtoReflect.Descriptor instead.-func (*HostRule) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{17}+// Deprecated: Use MCPServer.ProtoReflect.Descriptor instead.+func (*MCPServer) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{16}}-func (x *HostRule) GetHost() string {+func (x *MCPServer) GetName() string {if x != nil {- return x.Host+ return x.Name}return ""}-func (x *HostRule) GetPort() int32 {+func (x *MCPServer) GetEndpoint() string {if x != nil {- return x.Port+ return x.Endpoint}- return 0+ return ""}-type Workspace struct {- state protoimpl.MessageState `protogen:"open.v1"`- ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`- Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`- Metadata *ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`- Spec *WorkspaceSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+func (x *MCPServer) GetCommand() string {+ if x != nil {+ return x.Command+ }+ return ""}-func (x *Workspace) Reset() {- *x = Workspace{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[18]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *Workspace) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*Workspace) ProtoMessage() {}--func (x *Workspace) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[18]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use Workspace.ProtoReflect.Descriptor instead.-func (*Workspace) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{18}-}--func (x *Workspace) GetApiVersion() string {- if x != nil {- return x.ApiVersion- }- return ""-}--func (x *Workspace) GetKind() string {- if x != nil {- return x.Kind- }- return ""-}--func (x *Workspace) GetMetadata() *ObjectMeta {- if x != nil {- return x.Metadata- }- return nil-}--func (x *Workspace) GetSpec() *WorkspaceSpec {- if x != nil {- return x.Spec- }- return nil-}--type WorkspaceSpec struct {- state protoimpl.MessageState `protogen:"open.v1"`- Git []*GitRepo `protobuf:"bytes,1,rep,name=git,proto3" json:"git,omitempty"`- Mcp *MCPConfig `protobuf:"bytes,2,opt,name=mcp,proto3" json:"mcp,omitempty"`- Skills *SkillsConfig `protobuf:"bytes,3,opt,name=skills,proto3" json:"skills,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *WorkspaceSpec) Reset() {- *x = WorkspaceSpec{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[19]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *WorkspaceSpec) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*WorkspaceSpec) ProtoMessage() {}--func (x *WorkspaceSpec) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[19]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use WorkspaceSpec.ProtoReflect.Descriptor instead.-func (*WorkspaceSpec) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{19}-}--func (x *WorkspaceSpec) GetGit() []*GitRepo {- if x != nil {- return x.Git- }- return nil-}--func (x *WorkspaceSpec) GetMcp() *MCPConfig {- if x != nil {- return x.Mcp- }- return nil-}--func (x *WorkspaceSpec) GetSkills() *SkillsConfig {+func (x *MCPServer) GetArgs() []string {if x != nil {- return x.Skills+ return x.Args}return nil}-type GitRepo struct {- state protoimpl.MessageState `protogen:"open.v1"`- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`- Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`- Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"`- Depth int32 `protobuf:"varint,5,opt,name=depth,proto3" json:"depth,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *GitRepo) Reset() {- *x = GitRepo{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[20]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *GitRepo) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*GitRepo) ProtoMessage() {}--func (x *GitRepo) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[20]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use GitRepo.ProtoReflect.Descriptor instead.-func (*GitRepo) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{20}-}--func (x *GitRepo) GetName() string {- if x != nil {- return x.Name- }- return ""-}--func (x *GitRepo) GetRepo() string {- if x != nil {- return x.Repo- }- return ""-}--func (x *GitRepo) GetBranch() string {- if x != nil {- return x.Branch- }- return ""-}--func (x *GitRepo) GetDir() string {- if x != nil {- return x.Dir- }- return ""-}--func (x *GitRepo) GetDepth() int32 {- if x != nil {- return x.Depth- }- return 0-}--type MCPConfig struct {+type SkillsConfig struct {state protoimpl.MessageState `protogen:"open.v1"`- Registries []*MCPRegistry `protobuf:"bytes,1,rep,name=registries,proto3" json:"registries,omitempty"`- Servers []*MCPServer `protobuf:"bytes,2,rep,name=servers,proto3" json:"servers,omitempty"`+ Registries []*SkillRegistry `protobuf:"bytes,1,rep,name=registries,proto3" json:"registries,omitempty"`+ Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *MCPConfig) Reset() {- *x = MCPConfig{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[21]+func (x *SkillsConfig) Reset() {+ *x = SkillsConfig{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[17]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *MCPConfig) String() string {+func (x *SkillsConfig) String() string {return protoimpl.X.MessageStringOf(x)}-func (*MCPConfig) ProtoMessage() {}+func (*SkillsConfig) ProtoMessage() {}-func (x *MCPConfig) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[21]+func (x *SkillsConfig) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[17]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1376,540 +1192,49 @@ func (x *MCPConfig) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use MCPConfig.ProtoReflect.Descriptor instead.-func (*MCPConfig) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{21}+// Deprecated: Use SkillsConfig.ProtoReflect.Descriptor instead.+func (*SkillsConfig) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{17}}-func (x *MCPConfig) GetRegistries() []*MCPRegistry {+func (x *SkillsConfig) GetRegistries() []*SkillRegistry {if x != nil {return x.Registries}return nil}-func (x *MCPConfig) GetServers() []*MCPServer {+func (x *SkillsConfig) GetPath() string {if x != nil {- return x.Servers+ return x.Path}- return nil+ return ""}-type MCPRegistry struct {+type SkillRegistry struct {state protoimpl.MessageState `protogen:"open.v1"`Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`- Servers []*MCPServer `protobuf:"bytes,4,rep,name=servers,proto3" json:"servers,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *MCPRegistry) Reset() {- *x = MCPRegistry{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[22]+func (x *SkillRegistry) Reset() {+ *x = SkillRegistry{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[18]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *MCPRegistry) String() string {+func (x *SkillRegistry) String() string {return protoimpl.X.MessageStringOf(x)}-func (*MCPRegistry) ProtoMessage() {}--func (x *MCPRegistry) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[22]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use MCPRegistry.ProtoReflect.Descriptor instead.-func (*MCPRegistry) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{22}-}--func (x *MCPRegistry) GetProvider() string {- if x != nil {- return x.Provider- }- return ""-}--func (x *MCPRegistry) GetProject() string {- if x != nil {- return x.Project- }- return ""-}--func (x *MCPRegistry) GetQuery() string {- if x != nil {- return x.Query- }- return ""-}--func (x *MCPRegistry) GetServers() []*MCPServer {- if x != nil {- return x.Servers- }- return nil-}--type MCPServer struct {- state protoimpl.MessageState `protogen:"open.v1"`- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`- Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`- Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *MCPServer) Reset() {- *x = MCPServer{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[23]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *MCPServer) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*MCPServer) ProtoMessage() {}--func (x *MCPServer) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[23]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use MCPServer.ProtoReflect.Descriptor instead.-func (*MCPServer) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{23}-}--func (x *MCPServer) GetName() string {- if x != nil {- return x.Name- }- return ""-}--func (x *MCPServer) GetEndpoint() string {- if x != nil {- return x.Endpoint- }- return ""-}--func (x *MCPServer) GetCommand() string {- if x != nil {- return x.Command- }- return ""-}--func (x *MCPServer) GetArgs() []string {- if x != nil {- return x.Args- }- return nil-}--type SkillsConfig struct {- state protoimpl.MessageState `protogen:"open.v1"`- Registries []*SkillRegistry `protobuf:"bytes,1,rep,name=registries,proto3" json:"registries,omitempty"`- Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *SkillsConfig) Reset() {- *x = SkillsConfig{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[24]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *SkillsConfig) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*SkillsConfig) ProtoMessage() {}--func (x *SkillsConfig) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[24]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use SkillsConfig.ProtoReflect.Descriptor instead.-func (*SkillsConfig) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{24}-}--func (x *SkillsConfig) GetRegistries() []*SkillRegistry {- if x != nil {- return x.Registries- }- return nil-}--func (x *SkillsConfig) GetPath() string {- if x != nil {- return x.Path- }- return ""-}--type SkillRegistry struct {- state protoimpl.MessageState `protogen:"open.v1"`- Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`- Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`- Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *SkillRegistry) Reset() {- *x = SkillRegistry{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[25]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *SkillRegistry) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*SkillRegistry) ProtoMessage() {}--func (x *SkillRegistry) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[25]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use SkillRegistry.ProtoReflect.Descriptor instead.-func (*SkillRegistry) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{25}-}--func (x *SkillRegistry) GetProvider() string {- if x != nil {- return x.Provider- }- return ""-}--func (x *SkillRegistry) GetProject() string {- if x != nil {- return x.Project- }- return ""-}--func (x *SkillRegistry) GetQuery() string {- if x != nil {- return x.Query- }- return ""-}--type Model struct {- state protoimpl.MessageState `protogen:"open.v1"`- ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`- Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`- Metadata *ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`- Spec *ModelSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *Model) Reset() {- *x = Model{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[26]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *Model) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*Model) ProtoMessage() {}--func (x *Model) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[26]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use Model.ProtoReflect.Descriptor instead.-func (*Model) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{26}-}--func (x *Model) GetApiVersion() string {- if x != nil {- return x.ApiVersion- }- return ""-}--func (x *Model) GetKind() string {- if x != nil {- return x.Kind- }- return ""-}--func (x *Model) GetMetadata() *ObjectMeta {- if x != nil {- return x.Metadata- }- return nil-}--func (x *Model) GetSpec() *ModelSpec {- if x != nil {- return x.Spec- }- return nil-}--type ModelSpec struct {- state protoimpl.MessageState `protogen:"open.v1"`- Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`- Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`- SecretKey *SecretKeyRef `protobuf:"bytes,6,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`- // parameters are provider-specific generation settings passed through to the- // model API as-is, for example temperature or maxOutputTokens for Gemini.- Parameters *structpb.Struct `protobuf:"bytes,7,opt,name=parameters,proto3" json:"parameters,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *ModelSpec) Reset() {- *x = ModelSpec{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[27]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *ModelSpec) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*ModelSpec) ProtoMessage() {}--func (x *ModelSpec) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[27]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use ModelSpec.ProtoReflect.Descriptor instead.-func (*ModelSpec) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{27}-}--func (x *ModelSpec) GetProvider() string {- if x != nil {- return x.Provider- }- return ""-}--func (x *ModelSpec) GetModel() string {- if x != nil {- return x.Model- }- return ""-}--func (x *ModelSpec) GetSecretKey() *SecretKeyRef {- if x != nil {- return x.SecretKey- }- return nil-}--func (x *ModelSpec) GetParameters() *structpb.Struct {- if x != nil {- return x.Parameters- }- return nil-}--type SecretKeyRef struct {- state protoimpl.MessageState `protogen:"open.v1"`- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *SecretKeyRef) Reset() {- *x = SecretKeyRef{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[28]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *SecretKeyRef) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*SecretKeyRef) ProtoMessage() {}--func (x *SecretKeyRef) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[28]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use SecretKeyRef.ProtoReflect.Descriptor instead.-func (*SecretKeyRef) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{28}-}--func (x *SecretKeyRef) GetName() string {- if x != nil {- return x.Name- }- return ""-}--func (x *SecretKeyRef) GetKey() string {- if x != nil {- return x.Key- }- return ""-}--// Tasks-type GetTaskRequest struct {- state protoimpl.MessageState `protogen:"open.v1"`- Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *GetTaskRequest) Reset() {- *x = GetTaskRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[29]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *GetTaskRequest) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*GetTaskRequest) ProtoMessage() {}--func (x *GetTaskRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[29]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use GetTaskRequest.ProtoReflect.Descriptor instead.-func (*GetTaskRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{29}-}--func (x *GetTaskRequest) GetAtespace() string {- if x != nil {- return x.Atespace- }- return ""-}--func (x *GetTaskRequest) GetName() string {- if x != nil {- return x.Name- }- return ""-}--type ListTasksRequest struct {- state protoimpl.MessageState `protogen:"open.v1"`- Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`- Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`- Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *ListTasksRequest) Reset() {- *x = ListTasksRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[30]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *ListTasksRequest) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*ListTasksRequest) ProtoMessage() {}+func (*SkillRegistry) ProtoMessage() {}-func (x *ListTasksRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[30]+func (x *SkillRegistry) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[18]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1920,54 +1245,57 @@ func (x *ListTasksRequest) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use ListTasksRequest.ProtoReflect.Descriptor instead.-func (*ListTasksRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{30}+// Deprecated: Use SkillRegistry.ProtoReflect.Descriptor instead.+func (*SkillRegistry) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{18}}-func (x *ListTasksRequest) GetAtespace() string {+func (x *SkillRegistry) GetProvider() string {if x != nil {- return x.Atespace+ return x.Provider}return ""}-func (x *ListTasksRequest) GetLimit() int64 {+func (x *SkillRegistry) GetProject() string {if x != nil {- return x.Limit+ return x.Project}- return 0+ return ""}-func (x *ListTasksRequest) GetOffset() int64 {+func (x *SkillRegistry) GetQuery() string {if x != nil {- return x.Offset+ return x.Query}- return 0+ return ""}-type ListTasksResponse struct {+type Model struct {state protoimpl.MessageState `protogen:"open.v1"`- Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`+ ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`+ Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`+ Metadata *ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`+ Spec *ModelSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *ListTasksResponse) Reset() {- *x = ListTasksResponse{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[31]+func (x *Model) Reset() {+ *x = Model{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[19]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *ListTasksResponse) String() string {+func (x *Model) String() string {return protoimpl.X.MessageStringOf(x)}-func (*ListTasksResponse) ProtoMessage() {}+func (*Model) ProtoMessage() {}-func (x *ListTasksResponse) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[31]+func (x *Model) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[19]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1978,85 +1306,66 @@ func (x *ListTasksResponse) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use ListTasksResponse.ProtoReflect.Descriptor instead.-func (*ListTasksResponse) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{31}+// Deprecated: Use Model.ProtoReflect.Descriptor instead.+func (*Model) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{19}}-func (x *ListTasksResponse) GetTasks() []*Task {+func (x *Model) GetApiVersion() string {if x != nil {- return x.Tasks+ return x.ApiVersion}- return nil-}--type UpdateTaskRequest struct {- state protoimpl.MessageState `protogen:"open.v1"`- Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *UpdateTaskRequest) Reset() {- *x = UpdateTaskRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[32]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *UpdateTaskRequest) String() string {- return protoimpl.X.MessageStringOf(x)+ return ""}-func (*UpdateTaskRequest) ProtoMessage() {}--func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[32]+func (x *Model) GetKind() string {if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms+ return x.Kind}- return mi.MessageOf(x)+ return ""}-// Deprecated: Use UpdateTaskRequest.ProtoReflect.Descriptor instead.-func (*UpdateTaskRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{32}+func (x *Model) GetMetadata() *ObjectMeta {+ if x != nil {+ return x.Metadata+ }+ return nil}-func (x *UpdateTaskRequest) GetTask() *Task {+func (x *Model) GetSpec() *ModelSpec {if x != nil {- return x.Task+ return x.Spec}return nil}-type DeleteTaskRequest struct {- state protoimpl.MessageState `protogen:"open.v1"`- Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`+type ModelSpec struct {+ state protoimpl.MessageState `protogen:"open.v1"`+ Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`+ Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`+ SecretKey *SecretKeyRef `protobuf:"bytes,6,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`+ // parameters are provider-specific generation settings passed through to the+ // model API as-is, for example temperature or maxOutputTokens for Gemini.+ Parameters *structpb.Struct `protobuf:"bytes,7,opt,name=parameters,proto3" json:"parameters,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *DeleteTaskRequest) Reset() {- *x = DeleteTaskRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[33]+func (x *ModelSpec) Reset() {+ *x = ModelSpec{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[20]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *DeleteTaskRequest) String() string {+func (x *ModelSpec) String() string {return protoimpl.X.MessageStringOf(x)}-func (*DeleteTaskRequest) ProtoMessage() {}+func (*ModelSpec) ProtoMessage() {}-func (x *DeleteTaskRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[33]+func (x *ModelSpec) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[20]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2067,46 +1376,62 @@ func (x *DeleteTaskRequest) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use DeleteTaskRequest.ProtoReflect.Descriptor instead.-func (*DeleteTaskRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{33}+// Deprecated: Use ModelSpec.ProtoReflect.Descriptor instead.+func (*ModelSpec) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{20}}-func (x *DeleteTaskRequest) GetAtespace() string {+func (x *ModelSpec) GetProvider() string {if x != nil {- return x.Atespace+ return x.Provider}return ""}-func (x *DeleteTaskRequest) GetName() string {+func (x *ModelSpec) GetModel() string {if x != nil {- return x.Name+ return x.Model}return ""}-type DeleteTaskResponse struct {+func (x *ModelSpec) GetSecretKey() *SecretKeyRef {+ if x != nil {+ return x.SecretKey+ }+ return nil+}++func (x *ModelSpec) GetParameters() *structpb.Struct {+ if x != nil {+ return x.Parameters+ }+ return nil+}++type SecretKeyRef struct {state protoimpl.MessageState `protogen:"open.v1"`+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`+ Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *DeleteTaskResponse) Reset() {- *x = DeleteTaskResponse{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[34]+func (x *SecretKeyRef) Reset() {+ *x = SecretKeyRef{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[21]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *DeleteTaskResponse) String() string {+func (x *SecretKeyRef) String() string {return protoimpl.X.MessageStringOf(x)}-func (*DeleteTaskResponse) ProtoMessage() {}+func (*SecretKeyRef) ProtoMessage() {}-func (x *DeleteTaskResponse) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[34]+func (x *SecretKeyRef) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[21]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2117,12 +1442,27 @@ func (x *DeleteTaskResponse) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use DeleteTaskResponse.ProtoReflect.Descriptor instead.-func (*DeleteTaskResponse) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{34}+// Deprecated: Use SecretKeyRef.ProtoReflect.Descriptor instead.+func (*SecretKeyRef) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{21}}-type SuspendTaskRequest struct {+func (x *SecretKeyRef) GetName() string {+ if x != nil {+ return x.Name+ }+ return ""+}++func (x *SecretKeyRef) GetKey() string {+ if x != nil {+ return x.Key+ }+ return ""+}++// Tasks+type GetTaskRequest struct {state protoimpl.MessageState `protogen:"open.v1"`Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`@@ -2130,21 +1470,21 @@ type SuspendTaskRequest struct {sizeCache protoimpl.SizeCache}-func (x *SuspendTaskRequest) Reset() {- *x = SuspendTaskRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[35]+func (x *GetTaskRequest) Reset() {+ *x = GetTaskRequest{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[22]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *SuspendTaskRequest) String() string {+func (x *GetTaskRequest) String() string {return protoimpl.X.MessageStringOf(x)}-func (*SuspendTaskRequest) ProtoMessage() {}+func (*GetTaskRequest) ProtoMessage() {}-func (x *SuspendTaskRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[35]+func (x *GetTaskRequest) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[22]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2155,48 +1495,49 @@ func (x *SuspendTaskRequest) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use SuspendTaskRequest.ProtoReflect.Descriptor instead.-func (*SuspendTaskRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{35}+// Deprecated: Use GetTaskRequest.ProtoReflect.Descriptor instead.+func (*GetTaskRequest) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{22}}-func (x *SuspendTaskRequest) GetAtespace() string {+func (x *GetTaskRequest) GetAtespace() string {if x != nil {return x.Atespace}return ""}-func (x *SuspendTaskRequest) GetName() string {+func (x *GetTaskRequest) GetName() string {if x != nil {return x.Name}return ""}-type ResumeTaskRequest struct {+type ListTasksRequest struct {state protoimpl.MessageState `protogen:"open.v1"`Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`+ Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`+ Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *ResumeTaskRequest) Reset() {- *x = ResumeTaskRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[36]+func (x *ListTasksRequest) Reset() {+ *x = ListTasksRequest{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[23]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *ResumeTaskRequest) String() string {+func (x *ListTasksRequest) String() string {return protoimpl.X.MessageStringOf(x)}-func (*ResumeTaskRequest) ProtoMessage() {}+func (*ListTasksRequest) ProtoMessage() {}-func (x *ResumeTaskRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[36]+func (x *ListTasksRequest) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[23]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2207,48 +1548,54 @@ func (x *ResumeTaskRequest) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use ResumeTaskRequest.ProtoReflect.Descriptor instead.-func (*ResumeTaskRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{36}+// Deprecated: Use ListTasksRequest.ProtoReflect.Descriptor instead.+func (*ListTasksRequest) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{23}}-func (x *ResumeTaskRequest) GetAtespace() string {+func (x *ListTasksRequest) GetAtespace() string {if x != nil {return x.Atespace}- return ""+ return ""+}++func (x *ListTasksRequest) GetLimit() int64 {+ if x != nil {+ return x.Limit+ }+ return 0}-func (x *ResumeTaskRequest) GetName() string {+func (x *ListTasksRequest) GetOffset() int64 {if x != nil {- return x.Name+ return x.Offset}- return ""+ return 0}-type WatchTaskRequest struct {+type ListTasksResponse struct {state protoimpl.MessageState `protogen:"open.v1"`- Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`+ Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *WatchTaskRequest) Reset() {- *x = WatchTaskRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[37]+func (x *ListTasksResponse) Reset() {+ *x = ListTasksResponse{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[24]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *WatchTaskRequest) String() string {+func (x *ListTasksResponse) String() string {return protoimpl.X.MessageStringOf(x)}-func (*WatchTaskRequest) ProtoMessage() {}+func (*ListTasksResponse) ProtoMessage() {}-func (x *WatchTaskRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[37]+func (x *ListTasksResponse) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[24]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2259,48 +1606,40 @@ func (x *WatchTaskRequest) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use WatchTaskRequest.ProtoReflect.Descriptor instead.-func (*WatchTaskRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{37}-}--func (x *WatchTaskRequest) GetAtespace() string {- if x != nil {- return x.Atespace- }- return ""+// Deprecated: Use ListTasksResponse.ProtoReflect.Descriptor instead.+func (*ListTasksResponse) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{24}}-func (x *WatchTaskRequest) GetName() string {+func (x *ListTasksResponse) GetTasks() []*Task {if x != nil {- return x.Name+ return x.Tasks}- return ""+ return nil}-type WatchTaskResponse struct {+type UpdateTaskRequest struct {state protoimpl.MessageState `protogen:"open.v1"`Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`- Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *WatchTaskResponse) Reset() {- *x = WatchTaskResponse{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[38]+func (x *UpdateTaskRequest) Reset() {+ *x = UpdateTaskRequest{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[25]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *WatchTaskResponse) String() string {+func (x *UpdateTaskRequest) String() string {return protoimpl.X.MessageStringOf(x)}-func (*WatchTaskResponse) ProtoMessage() {}+func (*UpdateTaskRequest) ProtoMessage() {}-func (x *WatchTaskResponse) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[38]+func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[25]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2311,27 +1650,19 @@ func (x *WatchTaskResponse) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use WatchTaskResponse.ProtoReflect.Descriptor instead.-func (*WatchTaskResponse) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{38}+// Deprecated: Use UpdateTaskRequest.ProtoReflect.Descriptor instead.+func (*UpdateTaskRequest) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{25}}-func (x *WatchTaskResponse) GetTask() *Task {+func (x *UpdateTaskRequest) GetTask() *Task {if x != nil {return x.Task}return nil}-func (x *WatchTaskResponse) GetAction() string {- if x != nil {- return x.Action- }- return ""-}--// Gateways-type GetGatewayRequest struct {+type DeleteTaskRequest struct {state protoimpl.MessageState `protogen:"open.v1"`Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`@@ -2339,21 +1670,21 @@ type GetGatewayRequest struct {sizeCache protoimpl.SizeCache}-func (x *GetGatewayRequest) Reset() {- *x = GetGatewayRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[39]+func (x *DeleteTaskRequest) Reset() {+ *x = DeleteTaskRequest{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[26]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *GetGatewayRequest) String() string {+func (x *DeleteTaskRequest) String() string {return protoimpl.X.MessageStringOf(x)}-func (*GetGatewayRequest) ProtoMessage() {}+func (*DeleteTaskRequest) ProtoMessage() {}-func (x *GetGatewayRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[39]+func (x *DeleteTaskRequest) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[26]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2364,47 +1695,46 @@ func (x *GetGatewayRequest) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use GetGatewayRequest.ProtoReflect.Descriptor instead.-func (*GetGatewayRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{39}+// Deprecated: Use DeleteTaskRequest.ProtoReflect.Descriptor instead.+func (*DeleteTaskRequest) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{26}}-func (x *GetGatewayRequest) GetAtespace() string {+func (x *DeleteTaskRequest) GetAtespace() string {if x != nil {return x.Atespace}return ""}-func (x *GetGatewayRequest) GetName() string {+func (x *DeleteTaskRequest) GetName() string {if x != nil {return x.Name}return ""}-type ListGatewaysRequest struct {+type DeleteTaskResponse struct {state protoimpl.MessageState `protogen:"open.v1"`- Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *ListGatewaysRequest) Reset() {- *x = ListGatewaysRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[40]+func (x *DeleteTaskResponse) Reset() {+ *x = DeleteTaskResponse{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[27]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *ListGatewaysRequest) String() string {+func (x *DeleteTaskResponse) String() string {return protoimpl.X.MessageStringOf(x)}-func (*ListGatewaysRequest) ProtoMessage() {}+func (*DeleteTaskResponse) ProtoMessage() {}-func (x *ListGatewaysRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[40]+func (x *DeleteTaskResponse) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[27]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2415,40 +1745,34 @@ func (x *ListGatewaysRequest) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use ListGatewaysRequest.ProtoReflect.Descriptor instead.-func (*ListGatewaysRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{40}-}--func (x *ListGatewaysRequest) GetAtespace() string {- if x != nil {- return x.Atespace- }- return ""+// Deprecated: Use DeleteTaskResponse.ProtoReflect.Descriptor instead.+func (*DeleteTaskResponse) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{27}}-type ListGatewaysResponse struct {+type SuspendTaskRequest struct {state protoimpl.MessageState `protogen:"open.v1"`- Gateways []*Gateway `protobuf:"bytes,1,rep,name=gateways,proto3" json:"gateways,omitempty"`+ Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *ListGatewaysResponse) Reset() {- *x = ListGatewaysResponse{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[41]+func (x *SuspendTaskRequest) Reset() {+ *x = SuspendTaskRequest{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[28]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *ListGatewaysResponse) String() string {+func (x *SuspendTaskRequest) String() string {return protoimpl.X.MessageStringOf(x)}-func (*ListGatewaysResponse) ProtoMessage() {}+func (*SuspendTaskRequest) ProtoMessage() {}-func (x *ListGatewaysResponse) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[41]+func (x *SuspendTaskRequest) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[28]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2459,40 +1783,48 @@ func (x *ListGatewaysResponse) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use ListGatewaysResponse.ProtoReflect.Descriptor instead.-func (*ListGatewaysResponse) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{41}+// Deprecated: Use SuspendTaskRequest.ProtoReflect.Descriptor instead.+func (*SuspendTaskRequest) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{28}}-func (x *ListGatewaysResponse) GetGateways() []*Gateway {+func (x *SuspendTaskRequest) GetAtespace() string {if x != nil {- return x.Gateways+ return x.Atespace}- return nil+ return ""+}++func (x *SuspendTaskRequest) GetName() string {+ if x != nil {+ return x.Name+ }+ return ""}-type UpdateGatewayRequest struct {+type ResumeTaskRequest struct {state protoimpl.MessageState `protogen:"open.v1"`- Gateway *Gateway `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`+ Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *UpdateGatewayRequest) Reset() {- *x = UpdateGatewayRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[42]+func (x *ResumeTaskRequest) Reset() {+ *x = ResumeTaskRequest{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[29]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *UpdateGatewayRequest) String() string {+func (x *ResumeTaskRequest) String() string {return protoimpl.X.MessageStringOf(x)}-func (*UpdateGatewayRequest) ProtoMessage() {}+func (*ResumeTaskRequest) ProtoMessage() {}-func (x *UpdateGatewayRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[42]+func (x *ResumeTaskRequest) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[29]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2503,19 +1835,26 @@ func (x *UpdateGatewayRequest) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use UpdateGatewayRequest.ProtoReflect.Descriptor instead.-func (*UpdateGatewayRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{42}+// Deprecated: Use ResumeTaskRequest.ProtoReflect.Descriptor instead.+func (*ResumeTaskRequest) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{29}+}++func (x *ResumeTaskRequest) GetAtespace() string {+ if x != nil {+ return x.Atespace+ }+ return ""}-func (x *UpdateGatewayRequest) GetGateway() *Gateway {+func (x *ResumeTaskRequest) GetName() string {if x != nil {- return x.Gateway+ return x.Name}- return nil+ return ""}-type DeleteGatewayRequest struct {+type WatchTaskRequest struct {state protoimpl.MessageState `protogen:"open.v1"`Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`@@ -2523,21 +1862,21 @@ type DeleteGatewayRequest struct {sizeCache protoimpl.SizeCache}-func (x *DeleteGatewayRequest) Reset() {- *x = DeleteGatewayRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[43]+func (x *WatchTaskRequest) Reset() {+ *x = WatchTaskRequest{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[30]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *DeleteGatewayRequest) String() string {+func (x *WatchTaskRequest) String() string {return protoimpl.X.MessageStringOf(x)}-func (*DeleteGatewayRequest) ProtoMessage() {}+func (*WatchTaskRequest) ProtoMessage() {}-func (x *DeleteGatewayRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[43]+func (x *WatchTaskRequest) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[30]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2548,46 +1887,48 @@ func (x *DeleteGatewayRequest) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use DeleteGatewayRequest.ProtoReflect.Descriptor instead.-func (*DeleteGatewayRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{43}+// Deprecated: Use WatchTaskRequest.ProtoReflect.Descriptor instead.+func (*WatchTaskRequest) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{30}}-func (x *DeleteGatewayRequest) GetAtespace() string {+func (x *WatchTaskRequest) GetAtespace() string {if x != nil {return x.Atespace}return ""}-func (x *DeleteGatewayRequest) GetName() string {+func (x *WatchTaskRequest) GetName() string {if x != nil {return x.Name}return ""}-type DeleteGatewayResponse struct {+type WatchTaskResponse struct {state protoimpl.MessageState `protogen:"open.v1"`+ Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`+ Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}-func (x *DeleteGatewayResponse) Reset() {- *x = DeleteGatewayResponse{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[44]+func (x *WatchTaskResponse) Reset() {+ *x = WatchTaskResponse{}+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[31]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *DeleteGatewayResponse) String() string {+func (x *WatchTaskResponse) String() string {return protoimpl.X.MessageStringOf(x)}-func (*DeleteGatewayResponse) ProtoMessage() {}+func (*WatchTaskResponse) ProtoMessage() {}-func (x *DeleteGatewayResponse) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[44]+func (x *WatchTaskResponse) ProtoReflect() protoreflect.Message {+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[31]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2598,9 +1939,23 @@ func (x *DeleteGatewayResponse) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use DeleteGatewayResponse.ProtoReflect.Descriptor instead.-func (*DeleteGatewayResponse) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{44}+// Deprecated: Use WatchTaskResponse.ProtoReflect.Descriptor instead.+func (*WatchTaskResponse) Descriptor() ([]byte, []int) {+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{31}+}++func (x *WatchTaskResponse) GetTask() *Task {+ if x != nil {+ return x.Task+ }+ return nil+}++func (x *WatchTaskResponse) GetAction() string {+ if x != nil {+ return x.Action+ }+ return ""}// Workspaces@@ -2614,7 +1969,7 @@ type GetWorkspaceRequest struct {func (x *GetWorkspaceRequest) Reset() {*x = GetWorkspaceRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[45]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[32]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2626,7 +1981,7 @@ func (x *GetWorkspaceRequest) String() string {func (*GetWorkspaceRequest) ProtoMessage() {}func (x *GetWorkspaceRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[45]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[32]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2639,7 +1994,7 @@ func (x *GetWorkspaceRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use GetWorkspaceRequest.ProtoReflect.Descriptor instead.func (*GetWorkspaceRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{45}+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{32}}func (x *GetWorkspaceRequest) GetAtespace() string {@@ -2665,7 +2020,7 @@ type ListWorkspacesRequest struct {func (x *ListWorkspacesRequest) Reset() {*x = ListWorkspacesRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[46]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[33]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2677,7 +2032,7 @@ func (x *ListWorkspacesRequest) String() string {func (*ListWorkspacesRequest) ProtoMessage() {}func (x *ListWorkspacesRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[46]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[33]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2690,7 +2045,7 @@ func (x *ListWorkspacesRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use ListWorkspacesRequest.ProtoReflect.Descriptor instead.func (*ListWorkspacesRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{46}+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{33}}func (x *ListWorkspacesRequest) GetAtespace() string {@@ -2709,7 +2064,7 @@ type ListWorkspacesResponse struct {func (x *ListWorkspacesResponse) Reset() {*x = ListWorkspacesResponse{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[47]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[34]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2721,7 +2076,7 @@ func (x *ListWorkspacesResponse) String() string {func (*ListWorkspacesResponse) ProtoMessage() {}func (x *ListWorkspacesResponse) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[47]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[34]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2734,7 +2089,7 @@ func (x *ListWorkspacesResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use ListWorkspacesResponse.ProtoReflect.Descriptor instead.func (*ListWorkspacesResponse) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{47}+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{34}}func (x *ListWorkspacesResponse) GetWorkspaces() []*Workspace {@@ -2753,7 +2108,7 @@ type UpdateWorkspaceRequest struct {func (x *UpdateWorkspaceRequest) Reset() {*x = UpdateWorkspaceRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[48]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[35]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2765,7 +2120,7 @@ func (x *UpdateWorkspaceRequest) String() string {func (*UpdateWorkspaceRequest) ProtoMessage() {}func (x *UpdateWorkspaceRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[48]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[35]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2778,7 +2133,7 @@ func (x *UpdateWorkspaceRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use UpdateWorkspaceRequest.ProtoReflect.Descriptor instead.func (*UpdateWorkspaceRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{48}+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{35}}func (x *UpdateWorkspaceRequest) GetWorkspace() *Workspace {@@ -2798,7 +2153,7 @@ type DeleteWorkspaceRequest struct {func (x *DeleteWorkspaceRequest) Reset() {*x = DeleteWorkspaceRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[49]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[36]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2810,7 +2165,7 @@ func (x *DeleteWorkspaceRequest) String() string {func (*DeleteWorkspaceRequest) ProtoMessage() {}func (x *DeleteWorkspaceRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[49]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[36]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2823,7 +2178,7 @@ func (x *DeleteWorkspaceRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use DeleteWorkspaceRequest.ProtoReflect.Descriptor instead.func (*DeleteWorkspaceRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{49}+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{36}}func (x *DeleteWorkspaceRequest) GetAtespace() string {@@ -2848,7 +2203,7 @@ type DeleteWorkspaceResponse struct {func (x *DeleteWorkspaceResponse) Reset() {*x = DeleteWorkspaceResponse{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[50]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[37]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2860,7 +2215,7 @@ func (x *DeleteWorkspaceResponse) String() string {func (*DeleteWorkspaceResponse) ProtoMessage() {}func (x *DeleteWorkspaceResponse) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[50]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[37]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2873,7 +2228,7 @@ func (x *DeleteWorkspaceResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use DeleteWorkspaceResponse.ProtoReflect.Descriptor instead.func (*DeleteWorkspaceResponse) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{50}+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{37}}// Models@@ -2887,7 +2242,7 @@ type GetModelRequest struct {func (x *GetModelRequest) Reset() {*x = GetModelRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[51]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[38]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2899,7 +2254,7 @@ func (x *GetModelRequest) String() string {func (*GetModelRequest) ProtoMessage() {}func (x *GetModelRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[51]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[38]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2912,7 +2267,7 @@ func (x *GetModelRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use GetModelRequest.ProtoReflect.Descriptor instead.func (*GetModelRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{51}+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{38}}func (x *GetModelRequest) GetAtespace() string {@@ -2938,7 +2293,7 @@ type ListModelsRequest struct {func (x *ListModelsRequest) Reset() {*x = ListModelsRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[52]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[39]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2950,7 +2305,7 @@ func (x *ListModelsRequest) String() string {func (*ListModelsRequest) ProtoMessage() {}func (x *ListModelsRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[52]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[39]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2963,7 +2318,7 @@ func (x *ListModelsRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use ListModelsRequest.ProtoReflect.Descriptor instead.func (*ListModelsRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{52}+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{39}}func (x *ListModelsRequest) GetAtespace() string {@@ -2982,7 +2337,7 @@ type ListModelsResponse struct {func (x *ListModelsResponse) Reset() {*x = ListModelsResponse{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[53]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[40]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2994,7 +2349,7 @@ func (x *ListModelsResponse) String() string {func (*ListModelsResponse) ProtoMessage() {}func (x *ListModelsResponse) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[53]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[40]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3007,7 +2362,7 @@ func (x *ListModelsResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use ListModelsResponse.ProtoReflect.Descriptor instead.func (*ListModelsResponse) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{53}+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{40}}func (x *ListModelsResponse) GetModels() []*Model {@@ -3026,7 +2381,7 @@ type UpdateModelRequest struct {func (x *UpdateModelRequest) Reset() {*x = UpdateModelRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[54]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[41]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3038,7 +2393,7 @@ func (x *UpdateModelRequest) String() string {func (*UpdateModelRequest) ProtoMessage() {}func (x *UpdateModelRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[54]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[41]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3051,7 +2406,7 @@ func (x *UpdateModelRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use UpdateModelRequest.ProtoReflect.Descriptor instead.func (*UpdateModelRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{54}+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{41}}func (x *UpdateModelRequest) GetModel() *Model {@@ -3071,7 +2426,7 @@ type DeleteModelRequest struct {func (x *DeleteModelRequest) Reset() {*x = DeleteModelRequest{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[55]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[42]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3083,7 +2438,7 @@ func (x *DeleteModelRequest) String() string {func (*DeleteModelRequest) ProtoMessage() {}func (x *DeleteModelRequest) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[55]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[42]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3096,7 +2451,7 @@ func (x *DeleteModelRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use DeleteModelRequest.ProtoReflect.Descriptor instead.func (*DeleteModelRequest) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{55}+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{42}}func (x *DeleteModelRequest) GetAtespace() string {@@ -3121,7 +2476,7 @@ type DeleteModelResponse struct {func (x *DeleteModelResponse) Reset() {*x = DeleteModelResponse{}- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[56]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[43]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3133,7 +2488,7 @@ func (x *DeleteModelResponse) String() string {func (*DeleteModelResponse) ProtoMessage() {}func (x *DeleteModelResponse) ProtoReflect() protoreflect.Message {- mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[56]+ mi := &file_pkg_apis_v1alpha1_ax_proto_msgTypes[43]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3146,7 +2501,7 @@ func (x *DeleteModelResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use DeleteModelResponse.ProtoReflect.Descriptor instead.func (*DeleteModelResponse) Descriptor() ([]byte, []int) {- return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{56}+ return file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP(), []int{43}}var File_pkg_apis_v1alpha1_ax_proto protoreflect.FileDescriptor@@ -3165,7 +2520,7 @@ const file_pkg_apis_v1alpha1_ax_proto_rawDesc = "" +"\x04kind\x18\x02 \x01(\tR\x04kind\x123\n" +"\bmetadata\x18\x03 \x01(\v2\x17.ax.v1alpha1.ObjectMetaR\bmetadata\x12)\n" +"\x04spec\x18\x04 \x01(\v2\x15.ax.v1alpha1.TaskSpecR\x04spec\x12/\n" +- "\x06status\x18\x05 \x01(\v2\x17.ax.v1alpha1.TaskStatusR\x06status\"\xd4\x02\n" ++ "\x06status\x18\x05 \x01(\v2\x17.ax.v1alpha1.TaskStatusR\x06status\"\xb0\x02\n" +"\bTaskSpec\x12\x18\n" +"\asuspend\x18\x02 \x01(\bR\asuspend\x12\x14\n" +"\x05image\x18\x03 \x01(\tR\x05image\x12\x18\n" +@@ -3174,11 +2529,10 @@ const file_pkg_apis_v1alpha1_ax_proto_rawDesc = "" +"\tresources\x18\x06 \x01(\v2\x19.ax.v1alpha1.ResourceReqsR\tresources\x129\n" +"\n" +"workspaces\x18\a \x03(\v2\x19.ax.v1alpha1.WorkspaceRefR\n" +- "workspaces\x121\n" +- "\agateway\x18\b \x01(\v2\x17.ax.v1alpha1.GatewayRefR\agateway\x12\x14\n" ++ "workspaces\x12\x14\n" +"\x05debug\x18\n" +- " \x01(\bR\x05debugJ\x04\b\x01\x10\x02J\x04\b\t\x10\n" +- "R\x04goalR\bpolicies\"2\n" ++ " \x01(\bR\x05debugJ\x04\b\x01\x10\x02J\x04\b\b\x10\tJ\x04\b\t\x10\n" ++ "R\x04goalR\agatewayR\bpolicies\"2\n" +"\x06EnvVar\x12\x12\n" +"\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +"\x05value\x18\x02 \x01(\tR\x05value\"x\n" +@@ -3191,10 +2545,7 @@ const file_pkg_apis_v1alpha1_ax_proto_rawDesc = "" +"\fWorkspaceRef\x12\x12\n" +"\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +"\x04path\x18\x02 \x01(\tR\x04path\x12\x12\n" +- "\x04goal\x18\x03 \x01(\tR\x04goal\" \n" +- "\n" +- "GatewayRef\x12\x12\n" +- "\x04name\x18\x01 \x01(\tR\x04name\"\x95\x02\n" ++ "\x04goal\x18\x03 \x01(\tR\x04goal\"\x95\x02\n" +"\n" +"TaskStatus\x12\x14\n" +"\x05phase\x18\x01 \x01(\tR\x05phase\x12\x0e\n" +@@ -3219,27 +2570,7 @@ const file_pkg_apis_v1alpha1_ax_proto_rawDesc = "" +"\x06status\x18\x02 \x01(\tR\x06status\x12L\n" +"\x14last_transition_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x12lastTransitionTime\x12\x16\n" +"\x06reason\x18\x04 \x01(\tR\x06reason\x12\x18\n" +- "\amessage\x18\x05 \x01(\tR\amessage\"\xa1\x01\n" +- "\aGateway\x12\x1f\n" +- "\vapi_version\x18\x01 \x01(\tR\n" +- "apiVersion\x12\x12\n" +- "\x04kind\x18\x02 \x01(\tR\x04kind\x123\n" +- "\bmetadata\x18\x03 \x01(\v2\x17.ax.v1alpha1.ObjectMetaR\bmetadata\x12,\n" +- "\x04spec\x18\x04 \x01(\v2\x18.ax.v1alpha1.GatewaySpecR\x04spec\"u\n" +- "\vGatewaySpec\x123\n" +- "\tlisteners\x18\x01 \x03(\v2\x15.ax.v1alpha1.ListenerR\tlisteners\x121\n" +- "\x06egress\x18\x02 \x01(\v2\x19.ax.v1alpha1.EgressConfigR\x06egress\"N\n" +- "\bListener\x12\x12\n" +- "\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +- "\x04port\x18\x02 \x01(\x05R\x04port\x12\x1a\n" +- "\bprotocol\x18\x03 \x01(\tR\bprotocol\"J\n" +- "\fEgressConfig\x12:\n" +- "\tallowlist\x18\x01 \x01(\v2\x1c.ax.v1alpha1.EgressAllowlistR\tallowlist\">\n" +- "\x0fEgressAllowlist\x12+\n" +- "\x05hosts\x18\x01 \x03(\v2\x15.ax.v1alpha1.HostRuleR\x05hosts\"2\n" +- "\bHostRule\x12\x12\n" +- "\x04host\x18\x01 \x01(\tR\x04host\x12\x12\n" +- "\x04port\x18\x02 \x01(\x05R\x04port\"\xa5\x01\n" ++ "\amessage\x18\x05 \x01(\tR\amessage\"\xa5\x01\n" +"\tWorkspace\x12\x1f\n" +"\vapi_version\x18\x01 \x01(\tR\n" +"apiVersion\x12\x12\n" +@@ -3324,20 +2655,7 @@ const file_pkg_apis_v1alpha1_ax_proto_rawDesc = "" +"\x04name\x18\x02 \x01(\tR\x04name\"R\n" +"\x11WatchTaskResponse\x12%\n" +"\x04task\x18\x01 \x01(\v2\x11.ax.v1alpha1.TaskR\x04task\x12\x16\n" +- "\x06action\x18\x02 \x01(\tR\x06action\"C\n" +- "\x11GetGatewayRequest\x12\x1a\n" +- "\batespace\x18\x01 \x01(\tR\batespace\x12\x12\n" +- "\x04name\x18\x02 \x01(\tR\x04name\"1\n" +- "\x13ListGatewaysRequest\x12\x1a\n" +- "\batespace\x18\x01 \x01(\tR\batespace\"H\n" +- "\x14ListGatewaysResponse\x120\n" +- "\bgateways\x18\x01 \x03(\v2\x14.ax.v1alpha1.GatewayR\bgateways\"F\n" +- "\x14UpdateGatewayRequest\x12.\n" +- "\agateway\x18\x01 \x01(\v2\x14.ax.v1alpha1.GatewayR\agateway\"F\n" +- "\x14DeleteGatewayRequest\x12\x1a\n" +- "\batespace\x18\x01 \x01(\tR\batespace\x12\x12\n" +- "\x04name\x18\x02 \x01(\tR\x04name\"\x17\n" +- "\x15DeleteGatewayResponse\"E\n" ++ "\x06action\x18\x02 \x01(\tR\x06action\"E\n" +"\x13GetWorkspaceRequest\x12\x1a\n" +"\batespace\x18\x01 \x01(\tR\batespace\x12\x12\n" +"\x04name\x18\x02 \x01(\tR\x04name\"3\n" +@@ -3365,7 +2683,7 @@ const file_pkg_apis_v1alpha1_ax_proto_rawDesc = "" +"\x12DeleteModelRequest\x12\x1a\n" +"\batespace\x18\x01 \x01(\tR\batespace\x12\x12\n" +"\x04name\x18\x02 \x01(\tR\x04name\"\x15\n" +- "\x13DeleteModelResponse2\x9e\v\n" ++ "\x13DeleteModelResponse2\xe3\b\n" +"\x02AX\x129\n" +"\aGetTask\x12\x1b.ax.v1alpha1.GetTaskRequest\x1a\x11.ax.v1alpha1.Task\x12J\n" +"\tListTasks\x12\x1d.ax.v1alpha1.ListTasksRequest\x1a\x1e.ax.v1alpha1.ListTasksResponse\x12?\n" +@@ -3376,12 +2694,7 @@ const file_pkg_apis_v1alpha1_ax_proto_rawDesc = "" +"\vSuspendTask\x12\x1f.ax.v1alpha1.SuspendTaskRequest\x1a\x11.ax.v1alpha1.Task\x12?\n" +"\n" +"ResumeTask\x12\x1e.ax.v1alpha1.ResumeTaskRequest\x1a\x11.ax.v1alpha1.Task\x12L\n" +- "\tWatchTask\x12\x1d.ax.v1alpha1.WatchTaskRequest\x1a\x1e.ax.v1alpha1.WatchTaskResponse0\x01\x12B\n" +- "\n" +- "GetGateway\x12\x1e.ax.v1alpha1.GetGatewayRequest\x1a\x14.ax.v1alpha1.Gateway\x12S\n" +- "\fListGateways\x12 .ax.v1alpha1.ListGatewaysRequest\x1a!.ax.v1alpha1.ListGatewaysResponse\x12H\n" +- "\rUpdateGateway\x12!.ax.v1alpha1.UpdateGatewayRequest\x1a\x14.ax.v1alpha1.Gateway\x12V\n" +- "\rDeleteGateway\x12!.ax.v1alpha1.DeleteGatewayRequest\x1a\".ax.v1alpha1.DeleteGatewayResponse\x12H\n" ++ "\tWatchTask\x12\x1d.ax.v1alpha1.WatchTaskRequest\x1a\x1e.ax.v1alpha1.WatchTaskResponse0\x01\x12H\n" +"\fGetWorkspace\x12 .ax.v1alpha1.GetWorkspaceRequest\x1a\x16.ax.v1alpha1.Workspace\x12Y\n" +"\x0eListWorkspaces\x12\".ax.v1alpha1.ListWorkspacesRequest\x1a#.ax.v1alpha1.ListWorkspacesResponse\x12N\n" +"\x0fUpdateWorkspace\x12#.ax.v1alpha1.UpdateWorkspaceRequest\x1a\x16.ax.v1alpha1.Workspace\x12\\\n" +@@ -3404,7 +2717,7 @@ func file_pkg_apis_v1alpha1_ax_proto_rawDescGZIP() []byte {return file_pkg_apis_v1alpha1_ax_proto_rawDescData}-var file_pkg_apis_v1alpha1_ax_proto_msgTypes = make([]protoimpl.MessageInfo, 57)+var file_pkg_apis_v1alpha1_ax_proto_msgTypes = make([]protoimpl.MessageInfo, 44)var file_pkg_apis_v1alpha1_ax_proto_goTypes = []any{(*ObjectMeta)(nil), // 0: ax.v1alpha1.ObjectMeta(*Task)(nil), // 1: ax.v1alpha1.Task@@ -3413,146 +2726,116 @@ var file_pkg_apis_v1alpha1_ax_proto_goTypes = []any{(*ResourceReqs)(nil), // 4: ax.v1alpha1.ResourceReqs(*ResourceList)(nil), // 5: ax.v1alpha1.ResourceList(*WorkspaceRef)(nil), // 6: ax.v1alpha1.WorkspaceRef- (*GatewayRef)(nil), // 7: ax.v1alpha1.GatewayRef- (*TaskStatus)(nil), // 8: ax.v1alpha1.TaskStatus- (*PendingApproval)(nil), // 9: ax.v1alpha1.PendingApproval- (*UsageStats)(nil), // 10: ax.v1alpha1.UsageStats- (*Condition)(nil), // 11: ax.v1alpha1.Condition- (*Gateway)(nil), // 12: ax.v1alpha1.Gateway- (*GatewaySpec)(nil), // 13: ax.v1alpha1.GatewaySpec- (*Listener)(nil), // 14: ax.v1alpha1.Listener- (*EgressConfig)(nil), // 15: ax.v1alpha1.EgressConfig- (*EgressAllowlist)(nil), // 16: ax.v1alpha1.EgressAllowlist- (*HostRule)(nil), // 17: ax.v1alpha1.HostRule- (*Workspace)(nil), // 18: ax.v1alpha1.Workspace- (*WorkspaceSpec)(nil), // 19: ax.v1alpha1.WorkspaceSpec- (*GitRepo)(nil), // 20: ax.v1alpha1.GitRepo- (*MCPConfig)(nil), // 21: ax.v1alpha1.MCPConfig- (*MCPRegistry)(nil), // 22: ax.v1alpha1.MCPRegistry- (*MCPServer)(nil), // 23: ax.v1alpha1.MCPServer- (*SkillsConfig)(nil), // 24: ax.v1alpha1.SkillsConfig- (*SkillRegistry)(nil), // 25: ax.v1alpha1.SkillRegistry- (*Model)(nil), // 26: ax.v1alpha1.Model- (*ModelSpec)(nil), // 27: ax.v1alpha1.ModelSpec- (*SecretKeyRef)(nil), // 28: ax.v1alpha1.SecretKeyRef- (*GetTaskRequest)(nil), // 29: ax.v1alpha1.GetTaskRequest- (*ListTasksRequest)(nil), // 30: ax.v1alpha1.ListTasksRequest- (*ListTasksResponse)(nil), // 31: ax.v1alpha1.ListTasksResponse- (*UpdateTaskRequest)(nil), // 32: ax.v1alpha1.UpdateTaskRequest- (*DeleteTaskRequest)(nil), // 33: ax.v1alpha1.DeleteTaskRequest- (*DeleteTaskResponse)(nil), // 34: ax.v1alpha1.DeleteTaskResponse- (*SuspendTaskRequest)(nil), // 35: ax.v1alpha1.SuspendTaskRequest- (*ResumeTaskRequest)(nil), // 36: ax.v1alpha1.ResumeTaskRequest- (*WatchTaskRequest)(nil), // 37: ax.v1alpha1.WatchTaskRequest- (*WatchTaskResponse)(nil), // 38: ax.v1alpha1.WatchTaskResponse- (*GetGatewayRequest)(nil), // 39: ax.v1alpha1.GetGatewayRequest- (*ListGatewaysRequest)(nil), // 40: ax.v1alpha1.ListGatewaysRequest- (*ListGatewaysResponse)(nil), // 41: ax.v1alpha1.ListGatewaysResponse- (*UpdateGatewayRequest)(nil), // 42: ax.v1alpha1.UpdateGatewayRequest- (*DeleteGatewayRequest)(nil), // 43: ax.v1alpha1.DeleteGatewayRequest- (*DeleteGatewayResponse)(nil), // 44: ax.v1alpha1.DeleteGatewayResponse- (*GetWorkspaceRequest)(nil), // 45: ax.v1alpha1.GetWorkspaceRequest- (*ListWorkspacesRequest)(nil), // 46: ax.v1alpha1.ListWorkspacesRequest- (*ListWorkspacesResponse)(nil), // 47: ax.v1alpha1.ListWorkspacesResponse- (*UpdateWorkspaceRequest)(nil), // 48: ax.v1alpha1.UpdateWorkspaceRequest- (*DeleteWorkspaceRequest)(nil), // 49: ax.v1alpha1.DeleteWorkspaceRequest- (*DeleteWorkspaceResponse)(nil), // 50: ax.v1alpha1.DeleteWorkspaceResponse- (*GetModelRequest)(nil), // 51: ax.v1alpha1.GetModelRequest- (*ListModelsRequest)(nil), // 52: ax.v1alpha1.ListModelsRequest- (*ListModelsResponse)(nil), // 53: ax.v1alpha1.ListModelsResponse- (*UpdateModelRequest)(nil), // 54: ax.v1alpha1.UpdateModelRequest- (*DeleteModelRequest)(nil), // 55: ax.v1alpha1.DeleteModelRequest- (*DeleteModelResponse)(nil), // 56: ax.v1alpha1.DeleteModelResponse- (*timestamppb.Timestamp)(nil), // 57: google.protobuf.Timestamp- (*structpb.Struct)(nil), // 58: google.protobuf.Struct+ (*TaskStatus)(nil), // 7: ax.v1alpha1.TaskStatus+ (*PendingApproval)(nil), // 8: ax.v1alpha1.PendingApproval+ (*UsageStats)(nil), // 9: ax.v1alpha1.UsageStats+ (*Condition)(nil), // 10: ax.v1alpha1.Condition+ (*Workspace)(nil), // 11: ax.v1alpha1.Workspace+ (*WorkspaceSpec)(nil), // 12: ax.v1alpha1.WorkspaceSpec+ (*GitRepo)(nil), // 13: ax.v1alpha1.GitRepo+ (*MCPConfig)(nil), // 14: ax.v1alpha1.MCPConfig+ (*MCPRegistry)(nil), // 15: ax.v1alpha1.MCPRegistry+ (*MCPServer)(nil), // 16: ax.v1alpha1.MCPServer+ (*SkillsConfig)(nil), // 17: ax.v1alpha1.SkillsConfig+ (*SkillRegistry)(nil), // 18: ax.v1alpha1.SkillRegistry+ (*Model)(nil), // 19: ax.v1alpha1.Model+ (*ModelSpec)(nil), // 20: ax.v1alpha1.ModelSpec+ (*SecretKeyRef)(nil), // 21: ax.v1alpha1.SecretKeyRef+ (*GetTaskRequest)(nil), // 22: ax.v1alpha1.GetTaskRequest+ (*ListTasksRequest)(nil), // 23: ax.v1alpha1.ListTasksRequest+ (*ListTasksResponse)(nil), // 24: ax.v1alpha1.ListTasksResponse+ (*UpdateTaskRequest)(nil), // 25: ax.v1alpha1.UpdateTaskRequest+ (*DeleteTaskRequest)(nil), // 26: ax.v1alpha1.DeleteTaskRequest+ (*DeleteTaskResponse)(nil), // 27: ax.v1alpha1.DeleteTaskResponse+ (*SuspendTaskRequest)(nil), // 28: ax.v1alpha1.SuspendTaskRequest+ (*ResumeTaskRequest)(nil), // 29: ax.v1alpha1.ResumeTaskRequest+ (*WatchTaskRequest)(nil), // 30: ax.v1alpha1.WatchTaskRequest+ (*WatchTaskResponse)(nil), // 31: ax.v1alpha1.WatchTaskResponse+ (*GetWorkspaceRequest)(nil), // 32: ax.v1alpha1.GetWorkspaceRequest+ (*ListWorkspacesRequest)(nil), // 33: ax.v1alpha1.ListWorkspacesRequest+ (*ListWorkspacesResponse)(nil), // 34: ax.v1alpha1.ListWorkspacesResponse+ (*UpdateWorkspaceRequest)(nil), // 35: ax.v1alpha1.UpdateWorkspaceRequest+ (*DeleteWorkspaceRequest)(nil), // 36: ax.v1alpha1.DeleteWorkspaceRequest+ (*DeleteWorkspaceResponse)(nil), // 37: ax.v1alpha1.DeleteWorkspaceResponse+ (*GetModelRequest)(nil), // 38: ax.v1alpha1.GetModelRequest+ (*ListModelsRequest)(nil), // 39: ax.v1alpha1.ListModelsRequest+ (*ListModelsResponse)(nil), // 40: ax.v1alpha1.ListModelsResponse+ (*UpdateModelRequest)(nil), // 41: ax.v1alpha1.UpdateModelRequest+ (*DeleteModelRequest)(nil), // 42: ax.v1alpha1.DeleteModelRequest+ (*DeleteModelResponse)(nil), // 43: ax.v1alpha1.DeleteModelResponse+ (*timestamppb.Timestamp)(nil), // 44: google.protobuf.Timestamp+ (*structpb.Struct)(nil), // 45: google.protobuf.Struct}var file_pkg_apis_v1alpha1_ax_proto_depIdxs = []int32{- 57, // 0: ax.v1alpha1.ObjectMeta.creation_timestamp:type_name -> google.protobuf.Timestamp+ 44, // 0: ax.v1alpha1.ObjectMeta.creation_timestamp:type_name -> google.protobuf.Timestamp0, // 1: ax.v1alpha1.Task.metadata:type_name -> ax.v1alpha1.ObjectMeta2, // 2: ax.v1alpha1.Task.spec:type_name -> ax.v1alpha1.TaskSpec- 8, // 3: ax.v1alpha1.Task.status:type_name -> ax.v1alpha1.TaskStatus+ 7, // 3: ax.v1alpha1.Task.status:type_name -> ax.v1alpha1.TaskStatus3, // 4: ax.v1alpha1.TaskSpec.env:type_name -> ax.v1alpha1.EnvVar4, // 5: ax.v1alpha1.TaskSpec.resources:type_name -> ax.v1alpha1.ResourceReqs6, // 6: ax.v1alpha1.TaskSpec.workspaces:type_name -> ax.v1alpha1.WorkspaceRef- 7, // 7: ax.v1alpha1.TaskSpec.gateway:type_name -> ax.v1alpha1.GatewayRef- 5, // 8: ax.v1alpha1.ResourceReqs.requests:type_name -> ax.v1alpha1.ResourceList- 5, // 9: ax.v1alpha1.ResourceReqs.limits:type_name -> ax.v1alpha1.ResourceList- 9, // 10: ax.v1alpha1.TaskStatus.pending_approval:type_name -> ax.v1alpha1.PendingApproval- 10, // 11: ax.v1alpha1.TaskStatus.usage:type_name -> ax.v1alpha1.UsageStats- 11, // 12: ax.v1alpha1.TaskStatus.conditions:type_name -> ax.v1alpha1.Condition- 57, // 13: ax.v1alpha1.PendingApproval.requested_at:type_name -> google.protobuf.Timestamp- 57, // 14: ax.v1alpha1.Condition.last_transition_time:type_name -> google.protobuf.Timestamp- 0, // 15: ax.v1alpha1.Gateway.metadata:type_name -> ax.v1alpha1.ObjectMeta- 13, // 16: ax.v1alpha1.Gateway.spec:type_name -> ax.v1alpha1.GatewaySpec- 14, // 17: ax.v1alpha1.GatewaySpec.listeners:type_name -> ax.v1alpha1.Listener- 15, // 18: ax.v1alpha1.GatewaySpec.egress:type_name -> ax.v1alpha1.EgressConfig- 16, // 19: ax.v1alpha1.EgressConfig.allowlist:type_name -> ax.v1alpha1.EgressAllowlist- 17, // 20: ax.v1alpha1.EgressAllowlist.hosts:type_name -> ax.v1alpha1.HostRule- 0, // 21: ax.v1alpha1.Workspace.metadata:type_name -> ax.v1alpha1.ObjectMeta- 19, // 22: ax.v1alpha1.Workspace.spec:type_name -> ax.v1alpha1.WorkspaceSpec- 20, // 23: ax.v1alpha1.WorkspaceSpec.git:type_name -> ax.v1alpha1.GitRepo- 21, // 24: ax.v1alpha1.WorkspaceSpec.mcp:type_name -> ax.v1alpha1.MCPConfig- 24, // 25: ax.v1alpha1.WorkspaceSpec.skills:type_name -> ax.v1alpha1.SkillsConfig- 22, // 26: ax.v1alpha1.MCPConfig.registries:type_name -> ax.v1alpha1.MCPRegistry- 23, // 27: ax.v1alpha1.MCPConfig.servers:type_name -> ax.v1alpha1.MCPServer- 23, // 28: ax.v1alpha1.MCPRegistry.servers:type_name -> ax.v1alpha1.MCPServer- 25, // 29: ax.v1alpha1.SkillsConfig.registries:type_name -> ax.v1alpha1.SkillRegistry- 0, // 30: ax.v1alpha1.Model.metadata:type_name -> ax.v1alpha1.ObjectMeta- 27, // 31: ax.v1alpha1.Model.spec:type_name -> ax.v1alpha1.ModelSpec- 28, // 32: ax.v1alpha1.ModelSpec.secret_key:type_name -> ax.v1alpha1.SecretKeyRef- 58, // 33: ax.v1alpha1.ModelSpec.parameters:type_name -> google.protobuf.Struct- 1, // 34: ax.v1alpha1.ListTasksResponse.tasks:type_name -> ax.v1alpha1.Task- 1, // 35: ax.v1alpha1.UpdateTaskRequest.task:type_name -> ax.v1alpha1.Task- 1, // 36: ax.v1alpha1.WatchTaskResponse.task:type_name -> ax.v1alpha1.Task- 12, // 37: ax.v1alpha1.ListGatewaysResponse.gateways:type_name -> ax.v1alpha1.Gateway- 12, // 38: ax.v1alpha1.UpdateGatewayRequest.gateway:type_name -> ax.v1alpha1.Gateway- 18, // 39: ax.v1alpha1.ListWorkspacesResponse.workspaces:type_name -> ax.v1alpha1.Workspace- 18, // 40: ax.v1alpha1.UpdateWorkspaceRequest.workspace:type_name -> ax.v1alpha1.Workspace- 26, // 41: ax.v1alpha1.ListModelsResponse.models:type_name -> ax.v1alpha1.Model- 26, // 42: ax.v1alpha1.UpdateModelRequest.model:type_name -> ax.v1alpha1.Model- 29, // 43: ax.v1alpha1.AX.GetTask:input_type -> ax.v1alpha1.GetTaskRequest- 30, // 44: ax.v1alpha1.AX.ListTasks:input_type -> ax.v1alpha1.ListTasksRequest- 32, // 45: ax.v1alpha1.AX.UpdateTask:input_type -> ax.v1alpha1.UpdateTaskRequest- 33, // 46: ax.v1alpha1.AX.DeleteTask:input_type -> ax.v1alpha1.DeleteTaskRequest- 35, // 47: ax.v1alpha1.AX.SuspendTask:input_type -> ax.v1alpha1.SuspendTaskRequest- 36, // 48: ax.v1alpha1.AX.ResumeTask:input_type -> ax.v1alpha1.ResumeTaskRequest- 37, // 49: ax.v1alpha1.AX.WatchTask:input_type -> ax.v1alpha1.WatchTaskRequest- 39, // 50: ax.v1alpha1.AX.GetGateway:input_type -> ax.v1alpha1.GetGatewayRequest- 40, // 51: ax.v1alpha1.AX.ListGateways:input_type -> ax.v1alpha1.ListGatewaysRequest- 42, // 52: ax.v1alpha1.AX.UpdateGateway:input_type -> ax.v1alpha1.UpdateGatewayRequest- 43, // 53: ax.v1alpha1.AX.DeleteGateway:input_type -> ax.v1alpha1.DeleteGatewayRequest- 45, // 54: ax.v1alpha1.AX.GetWorkspace:input_type -> ax.v1alpha1.GetWorkspaceRequest- 46, // 55: ax.v1alpha1.AX.ListWorkspaces:input_type -> ax.v1alpha1.ListWorkspacesRequest- 48, // 56: ax.v1alpha1.AX.UpdateWorkspace:input_type -> ax.v1alpha1.UpdateWorkspaceRequest- 49, // 57: ax.v1alpha1.AX.DeleteWorkspace:input_type -> ax.v1alpha1.DeleteWorkspaceRequest- 51, // 58: ax.v1alpha1.AX.GetModel:input_type -> ax.v1alpha1.GetModelRequest- 52, // 59: ax.v1alpha1.AX.ListModels:input_type -> ax.v1alpha1.ListModelsRequest- 54, // 60: ax.v1alpha1.AX.UpdateModel:input_type -> ax.v1alpha1.UpdateModelRequest- 55, // 61: ax.v1alpha1.AX.DeleteModel:input_type -> ax.v1alpha1.DeleteModelRequest- 1, // 62: ax.v1alpha1.AX.GetTask:output_type -> ax.v1alpha1.Task- 31, // 63: ax.v1alpha1.AX.ListTasks:output_type -> ax.v1alpha1.ListTasksResponse- 1, // 64: ax.v1alpha1.AX.UpdateTask:output_type -> ax.v1alpha1.Task- 34, // 65: ax.v1alpha1.AX.DeleteTask:output_type -> ax.v1alpha1.DeleteTaskResponse- 1, // 66: ax.v1alpha1.AX.SuspendTask:output_type -> ax.v1alpha1.Task- 1, // 67: ax.v1alpha1.AX.ResumeTask:output_type -> ax.v1alpha1.Task- 38, // 68: ax.v1alpha1.AX.WatchTask:output_type -> ax.v1alpha1.WatchTaskResponse- 12, // 69: ax.v1alpha1.AX.GetGateway:output_type -> ax.v1alpha1.Gateway- 41, // 70: ax.v1alpha1.AX.ListGateways:output_type -> ax.v1alpha1.ListGatewaysResponse- 12, // 71: ax.v1alpha1.AX.UpdateGateway:output_type -> ax.v1alpha1.Gateway- 44, // 72: ax.v1alpha1.AX.DeleteGateway:output_type -> ax.v1alpha1.DeleteGatewayResponse- 18, // 73: ax.v1alpha1.AX.GetWorkspace:output_type -> ax.v1alpha1.Workspace- 47, // 74: ax.v1alpha1.AX.ListWorkspaces:output_type -> ax.v1alpha1.ListWorkspacesResponse- 18, // 75: ax.v1alpha1.AX.UpdateWorkspace:output_type -> ax.v1alpha1.Workspace- 50, // 76: ax.v1alpha1.AX.DeleteWorkspace:output_type -> ax.v1alpha1.DeleteWorkspaceResponse- 26, // 77: ax.v1alpha1.AX.GetModel:output_type -> ax.v1alpha1.Model- 53, // 78: ax.v1alpha1.AX.ListModels:output_type -> ax.v1alpha1.ListModelsResponse- 26, // 79: ax.v1alpha1.AX.UpdateModel:output_type -> ax.v1alpha1.Model- 56, // 80: ax.v1alpha1.AX.DeleteModel:output_type -> ax.v1alpha1.DeleteModelResponse- 62, // [62:81] is the sub-list for method output_type- 43, // [43:62] is the sub-list for method input_type- 43, // [43:43] is the sub-list for extension type_name- 43, // [43:43] is the sub-list for extension extendee- 0, // [0:43] is the sub-list for field type_name+ 5, // 7: ax.v1alpha1.ResourceReqs.requests:type_name -> ax.v1alpha1.ResourceList+ 5, // 8: ax.v1alpha1.ResourceReqs.limits:type_name -> ax.v1alpha1.ResourceList+ 8, // 9: ax.v1alpha1.TaskStatus.pending_approval:type_name -> ax.v1alpha1.PendingApproval+ 9, // 10: ax.v1alpha1.TaskStatus.usage:type_name -> ax.v1alpha1.UsageStats+ 10, // 11: ax.v1alpha1.TaskStatus.conditions:type_name -> ax.v1alpha1.Condition+ 44, // 12: ax.v1alpha1.PendingApproval.requested_at:type_name -> google.protobuf.Timestamp+ 44, // 13: ax.v1alpha1.Condition.last_transition_time:type_name -> google.protobuf.Timestamp+ 0, // 14: ax.v1alpha1.Workspace.metadata:type_name -> ax.v1alpha1.ObjectMeta+ 12, // 15: ax.v1alpha1.Workspace.spec:type_name -> ax.v1alpha1.WorkspaceSpec+ 13, // 16: ax.v1alpha1.WorkspaceSpec.git:type_name -> ax.v1alpha1.GitRepo+ 14, // 17: ax.v1alpha1.WorkspaceSpec.mcp:type_name -> ax.v1alpha1.MCPConfig+ 17, // 18: ax.v1alpha1.WorkspaceSpec.skills:type_name -> ax.v1alpha1.SkillsConfig+ 15, // 19: ax.v1alpha1.MCPConfig.registries:type_name -> ax.v1alpha1.MCPRegistry+ 16, // 20: ax.v1alpha1.MCPConfig.servers:type_name -> ax.v1alpha1.MCPServer+ 16, // 21: ax.v1alpha1.MCPRegistry.servers:type_name -> ax.v1alpha1.MCPServer+ 18, // 22: ax.v1alpha1.SkillsConfig.registries:type_name -> ax.v1alpha1.SkillRegistry+ 0, // 23: ax.v1alpha1.Model.metadata:type_name -> ax.v1alpha1.ObjectMeta+ 20, // 24: ax.v1alpha1.Model.spec:type_name -> ax.v1alpha1.ModelSpec+ 21, // 25: ax.v1alpha1.ModelSpec.secret_key:type_name -> ax.v1alpha1.SecretKeyRef+ 45, // 26: ax.v1alpha1.ModelSpec.parameters:type_name -> google.protobuf.Struct+ 1, // 27: ax.v1alpha1.ListTasksResponse.tasks:type_name -> ax.v1alpha1.Task+ 1, // 28: ax.v1alpha1.UpdateTaskRequest.task:type_name -> ax.v1alpha1.Task+ 1, // 29: ax.v1alpha1.WatchTaskResponse.task:type_name -> ax.v1alpha1.Task+ 11, // 30: ax.v1alpha1.ListWorkspacesResponse.workspaces:type_name -> ax.v1alpha1.Workspace+ 11, // 31: ax.v1alpha1.UpdateWorkspaceRequest.workspace:type_name -> ax.v1alpha1.Workspace+ 19, // 32: ax.v1alpha1.ListModelsResponse.models:type_name -> ax.v1alpha1.Model+ 19, // 33: ax.v1alpha1.UpdateModelRequest.model:type_name -> ax.v1alpha1.Model+ 22, // 34: ax.v1alpha1.AX.GetTask:input_type -> ax.v1alpha1.GetTaskRequest+ 23, // 35: ax.v1alpha1.AX.ListTasks:input_type -> ax.v1alpha1.ListTasksRequest+ 25, // 36: ax.v1alpha1.AX.UpdateTask:input_type -> ax.v1alpha1.UpdateTaskRequest+ 26, // 37: ax.v1alpha1.AX.DeleteTask:input_type -> ax.v1alpha1.DeleteTaskRequest+ 28, // 38: ax.v1alpha1.AX.SuspendTask:input_type -> ax.v1alpha1.SuspendTaskRequest+ 29, // 39: ax.v1alpha1.AX.ResumeTask:input_type -> ax.v1alpha1.ResumeTaskRequest+ 30, // 40: ax.v1alpha1.AX.WatchTask:input_type -> ax.v1alpha1.WatchTaskRequest+ 32, // 41: ax.v1alpha1.AX.GetWorkspace:input_type -> ax.v1alpha1.GetWorkspaceRequest+ 33, // 42: ax.v1alpha1.AX.ListWorkspaces:input_type -> ax.v1alpha1.ListWorkspacesRequest+ 35, // 43: ax.v1alpha1.AX.UpdateWorkspace:input_type -> ax.v1alpha1.UpdateWorkspaceRequest+ 36, // 44: ax.v1alpha1.AX.DeleteWorkspace:input_type -> ax.v1alpha1.DeleteWorkspaceRequest+ 38, // 45: ax.v1alpha1.AX.GetModel:input_type -> ax.v1alpha1.GetModelRequest+ 39, // 46: ax.v1alpha1.AX.ListModels:input_type -> ax.v1alpha1.ListModelsRequest+ 41, // 47: ax.v1alpha1.AX.UpdateModel:input_type -> ax.v1alpha1.UpdateModelRequest+ 42, // 48: ax.v1alpha1.AX.DeleteModel:input_type -> ax.v1alpha1.DeleteModelRequest+ 1, // 49: ax.v1alpha1.AX.GetTask:output_type -> ax.v1alpha1.Task+ 24, // 50: ax.v1alpha1.AX.ListTasks:output_type -> ax.v1alpha1.ListTasksResponse+ 1, // 51: ax.v1alpha1.AX.UpdateTask:output_type -> ax.v1alpha1.Task+ 27, // 52: ax.v1alpha1.AX.DeleteTask:output_type -> ax.v1alpha1.DeleteTaskResponse+ 1, // 53: ax.v1alpha1.AX.SuspendTask:output_type -> ax.v1alpha1.Task+ 1, // 54: ax.v1alpha1.AX.ResumeTask:output_type -> ax.v1alpha1.Task+ 31, // 55: ax.v1alpha1.AX.WatchTask:output_type -> ax.v1alpha1.WatchTaskResponse+ 11, // 56: ax.v1alpha1.AX.GetWorkspace:output_type -> ax.v1alpha1.Workspace+ 34, // 57: ax.v1alpha1.AX.ListWorkspaces:output_type -> ax.v1alpha1.ListWorkspacesResponse+ 11, // 58: ax.v1alpha1.AX.UpdateWorkspace:output_type -> ax.v1alpha1.Workspace+ 37, // 59: ax.v1alpha1.AX.DeleteWorkspace:output_type -> ax.v1alpha1.DeleteWorkspaceResponse+ 19, // 60: ax.v1alpha1.AX.GetModel:output_type -> ax.v1alpha1.Model+ 40, // 61: ax.v1alpha1.AX.ListModels:output_type -> ax.v1alpha1.ListModelsResponse+ 19, // 62: ax.v1alpha1.AX.UpdateModel:output_type -> ax.v1alpha1.Model+ 43, // 63: ax.v1alpha1.AX.DeleteModel:output_type -> ax.v1alpha1.DeleteModelResponse+ 49, // [49:64] is the sub-list for method output_type+ 34, // [34:49] is the sub-list for method input_type+ 34, // [34:34] is the sub-list for extension type_name+ 34, // [34:34] is the sub-list for extension extendee+ 0, // [0:34] is the sub-list for field type_name}func init() { file_pkg_apis_v1alpha1_ax_proto_init() }@@ -3566,7 +2849,7 @@ func file_pkg_apis_v1alpha1_ax_proto_init() {GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: unsafe.Slice(unsafe.StringData(file_pkg_apis_v1alpha1_ax_proto_rawDesc), len(file_pkg_apis_v1alpha1_ax_proto_rawDesc)),NumEnums: 0,- NumMessages: 57,+ NumMessages: 44,NumExtensions: 0,NumServices: 1,},diff --git a/pkg/apis/v1alpha1/ax.proto b/pkg/apis/v1alpha1/ax.protoindex 62bd57a..b67293a 100644--- a/pkg/apis/v1alpha1/ax.proto+++ b/pkg/apis/v1alpha1/ax.proto@@ -35,11 +35,6 @@ service AX {rpc ResumeTask(ResumeTaskRequest) returns (Task);rpc WatchTask(WatchTaskRequest) returns (stream WatchTaskResponse);- // Gateways- rpc GetGateway(GetGatewayRequest) returns (Gateway);- rpc ListGateways(ListGatewaysRequest) returns (ListGatewaysResponse);- rpc UpdateGateway(UpdateGatewayRequest) returns (Gateway);- rpc DeleteGateway(DeleteGatewayRequest) returns (DeleteGatewayResponse);// Workspacesrpc GetWorkspace(GetWorkspaceRequest) returns (Workspace);@@ -84,7 +79,9 @@ message TaskSpec {// workspaces binds one or more Workspaces, each mounted at its own path// under /workspace. The first entry is the task command's working directory.repeated WorkspaceRef workspaces = 7;- GatewayRef gateway = 8;+ // Field 8 was `gateway`, removed.+ reserved 8;+ reserved "gateway";// Field 9 was `policies` (budget and approval config), removed for now.reserved 9;reserved "policies";@@ -114,10 +111,6 @@ message WorkspaceRef {string goal = 3;}-message GatewayRef {- string name = 1;-}-message TaskStatus {string phase = 1;string id = 2;@@ -148,39 +141,6 @@ message Condition {string message = 5;}-// --- Gateway -----message Gateway {- string api_version = 1;- string kind = 2;- ObjectMeta metadata = 3;- GatewaySpec spec = 4;-}--message GatewaySpec {- repeated Listener listeners = 1;- EgressConfig egress = 2;-}--message Listener {- string name = 1;- int32 port = 2;- string protocol = 3;-}--message EgressConfig {- EgressAllowlist allowlist = 1;-}--message EgressAllowlist {- repeated HostRule hosts = 1;-}--message HostRule {- string host = 1;- int32 port = 2;-}-// --- Workspace ---message Workspace {@@ -310,31 +270,6 @@ message WatchTaskResponse {string action = 2;}-// Gateways-message GetGatewayRequest {- string atespace = 1;- string name = 2;-}--message ListGatewaysRequest {- string atespace = 1;-}--message ListGatewaysResponse {- repeated Gateway gateways = 1;-}--message UpdateGatewayRequest {- Gateway gateway = 1;-}--message DeleteGatewayRequest {- string atespace = 1;- string name = 2;-}--message DeleteGatewayResponse {}-// Workspacesmessage GetWorkspaceRequest {string atespace = 1;diff --git a/pkg/apis/v1alpha1/ax_grpc.pb.go b/pkg/apis/v1alpha1/ax_grpc.pb.goindex d106157..1bf28d7 100644--- a/pkg/apis/v1alpha1/ax_grpc.pb.go+++ b/pkg/apis/v1alpha1/ax_grpc.pb.go@@ -14,8 +14,8 @@// Code generated by protoc-gen-go-grpc. DO NOT EDIT.// versions:-// - protoc-gen-go-grpc v1.6.0-// - protoc v7.34.1+// - protoc-gen-go-grpc v1.5.1+// - protoc v5.28.2// source: pkg/apis/v1alpha1/ax.protopackage v1alpha1@@ -40,10 +40,6 @@ const (AX_SuspendTask_FullMethodName = "/ax.v1alpha1.AX/SuspendTask"AX_ResumeTask_FullMethodName = "/ax.v1alpha1.AX/ResumeTask"AX_WatchTask_FullMethodName = "/ax.v1alpha1.AX/WatchTask"- AX_GetGateway_FullMethodName = "/ax.v1alpha1.AX/GetGateway"- AX_ListGateways_FullMethodName = "/ax.v1alpha1.AX/ListGateways"- AX_UpdateGateway_FullMethodName = "/ax.v1alpha1.AX/UpdateGateway"- AX_DeleteGateway_FullMethodName = "/ax.v1alpha1.AX/DeleteGateway"AX_GetWorkspace_FullMethodName = "/ax.v1alpha1.AX/GetWorkspace"AX_ListWorkspaces_FullMethodName = "/ax.v1alpha1.AX/ListWorkspaces"AX_UpdateWorkspace_FullMethodName = "/ax.v1alpha1.AX/UpdateWorkspace"@@ -68,11 +64,6 @@ type AXClient interface {SuspendTask(ctx context.Context, in *SuspendTaskRequest, opts ...grpc.CallOption) (*Task, error)ResumeTask(ctx context.Context, in *ResumeTaskRequest, opts ...grpc.CallOption) (*Task, error)WatchTask(ctx context.Context, in *WatchTaskRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WatchTaskResponse], error)- // Gateways- GetGateway(ctx context.Context, in *GetGatewayRequest, opts ...grpc.CallOption) (*Gateway, error)- ListGateways(ctx context.Context, in *ListGatewaysRequest, opts ...grpc.CallOption) (*ListGatewaysResponse, error)- UpdateGateway(ctx context.Context, in *UpdateGatewayRequest, opts ...grpc.CallOption) (*Gateway, error)- DeleteGateway(ctx context.Context, in *DeleteGatewayRequest, opts ...grpc.CallOption) (*DeleteGatewayResponse, error)// WorkspacesGetWorkspace(ctx context.Context, in *GetWorkspaceRequest, opts ...grpc.CallOption) (*Workspace, error)ListWorkspaces(ctx context.Context, in *ListWorkspacesRequest, opts ...grpc.CallOption) (*ListWorkspacesResponse, error)@@ -172,46 +163,6 @@ func (c *aXClient) WatchTask(ctx context.Context, in *WatchTaskRequest, opts ...// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.type AX_WatchTaskClient = grpc.ServerStreamingClient[WatchTaskResponse]-func (c *aXClient) GetGateway(ctx context.Context, in *GetGatewayRequest, opts ...grpc.CallOption) (*Gateway, error) {- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)- out := new(Gateway)- err := c.cc.Invoke(ctx, AX_GetGateway_FullMethodName, in, out, cOpts...)- if err != nil {- return nil, err- }- return out, nil-}--func (c *aXClient) ListGateways(ctx context.Context, in *ListGatewaysRequest, opts ...grpc.CallOption) (*ListGatewaysResponse, error) {- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)- out := new(ListGatewaysResponse)- err := c.cc.Invoke(ctx, AX_ListGateways_FullMethodName, in, out, cOpts...)- if err != nil {- return nil, err- }- return out, nil-}--func (c *aXClient) UpdateGateway(ctx context.Context, in *UpdateGatewayRequest, opts ...grpc.CallOption) (*Gateway, error) {- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)- out := new(Gateway)- err := c.cc.Invoke(ctx, AX_UpdateGateway_FullMethodName, in, out, cOpts...)- if err != nil {- return nil, err- }- return out, nil-}--func (c *aXClient) DeleteGateway(ctx context.Context, in *DeleteGatewayRequest, opts ...grpc.CallOption) (*DeleteGatewayResponse, error) {- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)- out := new(DeleteGatewayResponse)- err := c.cc.Invoke(ctx, AX_DeleteGateway_FullMethodName, in, out, cOpts...)- if err != nil {- return nil, err- }- return out, nil-}-func (c *aXClient) GetWorkspace(ctx context.Context, in *GetWorkspaceRequest, opts ...grpc.CallOption) (*Workspace, error) {cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)out := new(Workspace)@@ -306,11 +257,6 @@ type AXServer interface {SuspendTask(context.Context, *SuspendTaskRequest) (*Task, error)ResumeTask(context.Context, *ResumeTaskRequest) (*Task, error)WatchTask(*WatchTaskRequest, grpc.ServerStreamingServer[WatchTaskResponse]) error- // Gateways- GetGateway(context.Context, *GetGatewayRequest) (*Gateway, error)- ListGateways(context.Context, *ListGatewaysRequest) (*ListGatewaysResponse, error)- UpdateGateway(context.Context, *UpdateGatewayRequest) (*Gateway, error)- DeleteGateway(context.Context, *DeleteGatewayRequest) (*DeleteGatewayResponse, error)// WorkspacesGetWorkspace(context.Context, *GetWorkspaceRequest) (*Workspace, error)ListWorkspaces(context.Context, *ListWorkspacesRequest) (*ListWorkspacesResponse, error)@@ -332,61 +278,49 @@ type AXServer interface {type UnimplementedAXServer struct{}func (UnimplementedAXServer) GetTask(context.Context, *GetTaskRequest) (*Task, error) {- return nil, status.Error(codes.Unimplemented, "method GetTask not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method GetTask not implemented")}func (UnimplementedAXServer) ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error) {- return nil, status.Error(codes.Unimplemented, "method ListTasks not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method ListTasks not implemented")}func (UnimplementedAXServer) UpdateTask(context.Context, *UpdateTaskRequest) (*Task, error) {- return nil, status.Error(codes.Unimplemented, "method UpdateTask not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method UpdateTask not implemented")}func (UnimplementedAXServer) DeleteTask(context.Context, *DeleteTaskRequest) (*DeleteTaskResponse, error) {- return nil, status.Error(codes.Unimplemented, "method DeleteTask not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method DeleteTask not implemented")}func (UnimplementedAXServer) SuspendTask(context.Context, *SuspendTaskRequest) (*Task, error) {- return nil, status.Error(codes.Unimplemented, "method SuspendTask not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method SuspendTask not implemented")}func (UnimplementedAXServer) ResumeTask(context.Context, *ResumeTaskRequest) (*Task, error) {- return nil, status.Error(codes.Unimplemented, "method ResumeTask not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method ResumeTask not implemented")}func (UnimplementedAXServer) WatchTask(*WatchTaskRequest, grpc.ServerStreamingServer[WatchTaskResponse]) error {- return status.Error(codes.Unimplemented, "method WatchTask not implemented")-}-func (UnimplementedAXServer) GetGateway(context.Context, *GetGatewayRequest) (*Gateway, error) {- return nil, status.Error(codes.Unimplemented, "method GetGateway not implemented")-}-func (UnimplementedAXServer) ListGateways(context.Context, *ListGatewaysRequest) (*ListGatewaysResponse, error) {- return nil, status.Error(codes.Unimplemented, "method ListGateways not implemented")-}-func (UnimplementedAXServer) UpdateGateway(context.Context, *UpdateGatewayRequest) (*Gateway, error) {- return nil, status.Error(codes.Unimplemented, "method UpdateGateway not implemented")-}-func (UnimplementedAXServer) DeleteGateway(context.Context, *DeleteGatewayRequest) (*DeleteGatewayResponse, error) {- return nil, status.Error(codes.Unimplemented, "method DeleteGateway not implemented")+ return status.Errorf(codes.Unimplemented, "method WatchTask not implemented")}func (UnimplementedAXServer) GetWorkspace(context.Context, *GetWorkspaceRequest) (*Workspace, error) {- return nil, status.Error(codes.Unimplemented, "method GetWorkspace not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method GetWorkspace not implemented")}func (UnimplementedAXServer) ListWorkspaces(context.Context, *ListWorkspacesRequest) (*ListWorkspacesResponse, error) {- return nil, status.Error(codes.Unimplemented, "method ListWorkspaces not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method ListWorkspaces not implemented")}func (UnimplementedAXServer) UpdateWorkspace(context.Context, *UpdateWorkspaceRequest) (*Workspace, error) {- return nil, status.Error(codes.Unimplemented, "method UpdateWorkspace not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkspace not implemented")}func (UnimplementedAXServer) DeleteWorkspace(context.Context, *DeleteWorkspaceRequest) (*DeleteWorkspaceResponse, error) {- return nil, status.Error(codes.Unimplemented, "method DeleteWorkspace not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkspace not implemented")}func (UnimplementedAXServer) GetModel(context.Context, *GetModelRequest) (*Model, error) {- return nil, status.Error(codes.Unimplemented, "method GetModel not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method GetModel not implemented")}func (UnimplementedAXServer) ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) {- return nil, status.Error(codes.Unimplemented, "method ListModels not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method ListModels not implemented")}func (UnimplementedAXServer) UpdateModel(context.Context, *UpdateModelRequest) (*Model, error) {- return nil, status.Error(codes.Unimplemented, "method UpdateModel not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method UpdateModel not implemented")}func (UnimplementedAXServer) DeleteModel(context.Context, *DeleteModelRequest) (*DeleteModelResponse, error) {- return nil, status.Error(codes.Unimplemented, "method DeleteModel not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method DeleteModel not implemented")}func (UnimplementedAXServer) mustEmbedUnimplementedAXServer() {}func (UnimplementedAXServer) testEmbeddedByValue() {}@@ -399,7 +333,7 @@ type UnsafeAXServer interface {}func RegisterAXServer(s grpc.ServiceRegistrar, srv AXServer) {- // If the following call panics, it indicates UnimplementedAXServer was+ // If the following call pancis, it indicates UnimplementedAXServer was// embedded by pointer and is nil. This will cause panics if an// unimplemented method is ever invoked, so we test this at initialization// time to prevent it from happening at runtime later due to I/O.@@ -528,78 +462,6 @@ func _AX_WatchTask_Handler(srv interface{}, stream grpc.ServerStream) error {// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.type AX_WatchTaskServer = grpc.ServerStreamingServer[WatchTaskResponse]-func _AX_GetGateway_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {- in := new(GetGatewayRequest)- if err := dec(in); err != nil {- return nil, err- }- if interceptor == nil {- return srv.(AXServer).GetGateway(ctx, in)- }- info := &grpc.UnaryServerInfo{- Server: srv,- FullMethod: AX_GetGateway_FullMethodName,- }- handler := func(ctx context.Context, req interface{}) (interface{}, error) {- return srv.(AXServer).GetGateway(ctx, req.(*GetGatewayRequest))- }- return interceptor(ctx, in, info, handler)-}--func _AX_ListGateways_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {- in := new(ListGatewaysRequest)- if err := dec(in); err != nil {- return nil, err- }- if interceptor == nil {- return srv.(AXServer).ListGateways(ctx, in)- }- info := &grpc.UnaryServerInfo{- Server: srv,- FullMethod: AX_ListGateways_FullMethodName,- }- handler := func(ctx context.Context, req interface{}) (interface{}, error) {- return srv.(AXServer).ListGateways(ctx, req.(*ListGatewaysRequest))- }- return interceptor(ctx, in, info, handler)-}--func _AX_UpdateGateway_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {- in := new(UpdateGatewayRequest)- if err := dec(in); err != nil {- return nil, err- }- if interceptor == nil {- return srv.(AXServer).UpdateGateway(ctx, in)- }- info := &grpc.UnaryServerInfo{- Server: srv,- FullMethod: AX_UpdateGateway_FullMethodName,- }- handler := func(ctx context.Context, req interface{}) (interface{}, error) {- return srv.(AXServer).UpdateGateway(ctx, req.(*UpdateGatewayRequest))- }- return interceptor(ctx, in, info, handler)-}--func _AX_DeleteGateway_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {- in := new(DeleteGatewayRequest)- if err := dec(in); err != nil {- return nil, err- }- if interceptor == nil {- return srv.(AXServer).DeleteGateway(ctx, in)- }- info := &grpc.UnaryServerInfo{- Server: srv,- FullMethod: AX_DeleteGateway_FullMethodName,- }- handler := func(ctx context.Context, req interface{}) (interface{}, error) {- return srv.(AXServer).DeleteGateway(ctx, req.(*DeleteGatewayRequest))- }- return interceptor(ctx, in, info, handler)-}-func _AX_GetWorkspace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {in := new(GetWorkspaceRequest)if err := dec(in); err != nil {@@ -775,22 +637,6 @@ var AX_ServiceDesc = grpc.ServiceDesc{MethodName: "ResumeTask",Handler: _AX_ResumeTask_Handler,},- {- MethodName: "GetGateway",- Handler: _AX_GetGateway_Handler,- },- {- MethodName: "ListGateways",- Handler: _AX_ListGateways_Handler,- },- {- MethodName: "UpdateGateway",- Handler: _AX_UpdateGateway_Handler,- },- {- MethodName: "DeleteGateway",- Handler: _AX_DeleteGateway_Handler,- },{MethodName: "GetWorkspace",Handler: _AX_GetWorkspace_Handler,diff --git a/pkg/apis/v1alpha1/types.go b/pkg/apis/v1alpha1/types.goindex a65e626..bb1b02c 100644--- a/pkg/apis/v1alpha1/types.go+++ b/pkg/apis/v1alpha1/types.go@@ -30,7 +30,6 @@ import (const (APIVersion = "ax.io/v1alpha1"KindTask = "Task"- KindGateway = "Gateway"KindWorkspace = "Workspace"KindModel = "Model"@@ -195,9 +194,6 @@ func normalizeModel(doc map[string]any) {func (t *Task) MarshalYAML() (any, error) { return marshalYAML(t) }func (t *Task) UnmarshalYAML(n *yaml.Node) error { return unmarshalYAML(n, t, nil) }-func (g *Gateway) MarshalYAML() (any, error) { return marshalYAML(g) }-func (g *Gateway) UnmarshalYAML(n *yaml.Node) error { return unmarshalYAML(n, g, nil) }-func (w *Workspace) MarshalYAML() (any, error) { return marshalYAML(w) }func (w *Workspace) UnmarshalYAML(n *yaml.Node) error { return unmarshalYAML(n, w, normalizeWorkspace) }diff --git a/pkg/apis/v1alpha1/types_test.go b/pkg/apis/v1alpha1/types_test.goindex 83deaa4..6520db2 100644--- a/pkg/apis/v1alpha1/types_test.go+++ b/pkg/apis/v1alpha1/types_test.go@@ -46,7 +46,6 @@ func fullTask() *v1alpha1.Task {Requests: &v1alpha1.ResourceList{Cpu: "500m", Memory: "1Gi"},},Workspaces: []*v1alpha1.WorkspaceRef{{Name: "ws", Path: "/workspace", Goal: "build"}},- Gateway: &v1alpha1.GatewayRef{Name: "gw"},Debug: true,},Status: &v1alpha1.TaskStatus{@@ -129,40 +128,6 @@ func TestStrictDecoding_RejectsUnknownFields(t *testing.T) {if err == nil || !strings.Contains(err.Error(), "imgae") {t.Errorf("expected error naming the unknown field, got %v", err)}-- var gw v1alpha1.Gateway- err = yaml.Unmarshal([]byte("kind: Gateway\nspec:\n egress:\n allowlst: {}\n"), &gw)- if err == nil || !strings.Contains(err.Error(), "allowlst") {- t.Errorf("expected error naming the nested unknown field, got %v", err)- }-}--func TestGateway_RoundTrip(t *testing.T) {- want := &v1alpha1.Gateway{- ApiVersion: v1alpha1.APIVersion,- Kind: v1alpha1.KindGateway,- Metadata: &v1alpha1.ObjectMeta{Name: "gw", Atespace: "default"},- Spec: &v1alpha1.GatewaySpec{- Listeners: []*v1alpha1.Listener{{Name: "http", Port: 8080, Protocol: "HTTP"}},- Egress: &v1alpha1.EgressConfig{Allowlist: &v1alpha1.EgressAllowlist{- Hosts: []*v1alpha1.HostRule{{Host: "*", Port: 443}},- }},- },- }- out, err := yaml.Marshal(want)- if err != nil {- t.Fatal(err)- }- var got v1alpha1.Gateway- if err := yaml.Unmarshal(out, &got); err != nil {- t.Fatal(err)- }- if !proto.Equal(want, &got) {- t.Errorf("gateway round trip changed:\n%s", out)- }- if !strings.Contains(string(out), "port: 8080") {- t.Errorf("expected integer port to render unquoted:\n%s", out)- }}func TestWorkspace_MCP_UnmarshalYAML(t *testing.T) {