From 82c91ece8f78a7e969c2600a637313fc4e2e5aeb Mon Sep 17 00:00:00 2001 From: dexhorthy Date: Mon, 12 May 2025 14:26:14 -0700 Subject: [PATCH] rollback latest to v0.5.1 --- acp/config/release/latest-crd.yaml | 110 +---------------------- acp/config/release/latest.yaml | 135 ++--------------------------- 2 files changed, 8 insertions(+), 237 deletions(-) diff --git a/acp/config/release/latest-crd.yaml b/acp/config/release/latest-crd.yaml index 27660f7..b1c4718 100644 --- a/acp/config/release/latest-crd.yaml +++ b/acp/config/release/latest-crd.yaml @@ -49,11 +49,6 @@ spec: spec: description: AgentSpec defines the desired state of Agent properties: - description: - description: |- - Description is an optional description for an agent. - If present, it's included in any "delegateToAgent" tool descriptions - type: string humanContactChannels: description: HumanContactChannels is a list of ContactChannel resources that can be used for human interactions @@ -93,22 +88,6 @@ spec: - name type: object type: array - subAgents: - description: |- - SubAgents is a list of local object references to other Agents - that can be delegated to as sub-agents. - items: - description: LocalObjectReference contains enough information to - locate the referenced resource in the same namespace - properties: - name: - description: Name of the referent - minLength: 1 - type: string - required: - - name - type: object - type: array system: description: System is the system prompt for the agent minLength: 1 @@ -168,18 +147,6 @@ spec: - name type: object type: array - validSubAgents: - description: ValidSubAgents is the list of sub-agents that were successfully - validated - items: - properties: - name: - description: Name of the sub-agent - type: string - required: - - name - type: object - type: array type: object type: object served: true @@ -759,9 +726,6 @@ spec: scope: Namespaced versions: - additionalPrinterColumns: - - jsonPath: .spec.agentRef.name - name: Agent - type: string - jsonPath: .status.ready name: Ready type: boolean @@ -829,81 +793,13 @@ spec: required: - name type: object - contextWindow: - description: |- - ContextWindow provides the initial conversation context when creating a Task. - If provided, contextWindow will be used and userMessage must be empty. - This will be copied to status.ContextWindow, which is the source of truth - for the ongoing conversation. - items: - description: Message represents a single message in the conversation - properties: - content: - description: Content is the message content - type: string - name: - description: Name is the name of the tool that was called - type: string - role: - description: Role is the role of the message sender (system, - user, assistant, tool) - enum: - - system - - user - - assistant - - tool - type: string - toolCallId: - description: ToolCallID is the unique identifier for this tool - call - type: string - toolCalls: - description: ToolCalls contains any tool calls requested by - this message - items: - description: ToolCall represents a request to call a tool - properties: - function: - description: Function contains the details of the function - to call - properties: - arguments: - description: Arguments contains the arguments to pass - to the function in JSON format - type: string - name: - description: Name is the name of the function to call - type: string - required: - - arguments - - name - type: object - id: - description: ID is the unique identifier for this tool - call - type: string - type: - description: Type indicates the type of tool call. Currently - only "function" is supported. - type: string - required: - - function - - id - - type - type: object - type: array - required: - - content - - role - type: object - type: array userMessage: - description: |- - UserMessage is the message to send to the agent. - If provided, userMessage will be used and contextWindow must be empty. + description: UserMessage is the message to send to the agent. + minLength: 1 type: string required: - agentRef + - userMessage type: object status: description: TaskStatus defines the observed state of Task diff --git a/acp/config/release/latest.yaml b/acp/config/release/latest.yaml index 40b1cc0..ffcadac 100644 --- a/acp/config/release/latest.yaml +++ b/acp/config/release/latest.yaml @@ -58,11 +58,6 @@ spec: spec: description: AgentSpec defines the desired state of Agent properties: - description: - description: |- - Description is an optional description for an agent. - If present, it's included in any "delegateToAgent" tool descriptions - type: string humanContactChannels: description: HumanContactChannels is a list of ContactChannel resources that can be used for human interactions @@ -102,22 +97,6 @@ spec: - name type: object type: array - subAgents: - description: |- - SubAgents is a list of local object references to other Agents - that can be delegated to as sub-agents. - items: - description: LocalObjectReference contains enough information to - locate the referenced resource in the same namespace - properties: - name: - description: Name of the referent - minLength: 1 - type: string - required: - - name - type: object - type: array system: description: System is the system prompt for the agent minLength: 1 @@ -177,18 +156,6 @@ spec: - name type: object type: array - validSubAgents: - description: ValidSubAgents is the list of sub-agents that were successfully - validated - items: - properties: - name: - description: Name of the sub-agent - type: string - required: - - name - type: object - type: array type: object type: object served: true @@ -768,9 +735,6 @@ spec: scope: Namespaced versions: - additionalPrinterColumns: - - jsonPath: .spec.agentRef.name - name: Agent - type: string - jsonPath: .status.ready name: Ready type: boolean @@ -838,81 +802,13 @@ spec: required: - name type: object - contextWindow: - description: |- - ContextWindow provides the initial conversation context when creating a Task. - If provided, contextWindow will be used and userMessage must be empty. - This will be copied to status.ContextWindow, which is the source of truth - for the ongoing conversation. - items: - description: Message represents a single message in the conversation - properties: - content: - description: Content is the message content - type: string - name: - description: Name is the name of the tool that was called - type: string - role: - description: Role is the role of the message sender (system, - user, assistant, tool) - enum: - - system - - user - - assistant - - tool - type: string - toolCallId: - description: ToolCallID is the unique identifier for this tool - call - type: string - toolCalls: - description: ToolCalls contains any tool calls requested by - this message - items: - description: ToolCall represents a request to call a tool - properties: - function: - description: Function contains the details of the function - to call - properties: - arguments: - description: Arguments contains the arguments to pass - to the function in JSON format - type: string - name: - description: Name is the name of the function to call - type: string - required: - - arguments - - name - type: object - id: - description: ID is the unique identifier for this tool - call - type: string - type: - description: Type indicates the type of tool call. Currently - only "function" is supported. - type: string - required: - - function - - id - - type - type: object - type: array - required: - - content - - role - type: object - type: array userMessage: - description: |- - UserMessage is the message to send to the agent. - If provided, userMessage will be used and contextWindow must be empty. + description: UserMessage is the message to send to the agent. + minLength: 1 type: string required: - agentRef + - userMessage type: object status: description: TaskStatus defines the observed state of Task @@ -1669,25 +1565,6 @@ subjects: --- apiVersion: v1 kind: Service -metadata: - labels: - app.kubernetes.io/managed-by: kustomize - app.kubernetes.io/name: acp - name: acp-controller-manager-api-service - namespace: default -spec: - ports: - - name: api - port: 8082 - protocol: TCP - targetPort: api - selector: - app.kubernetes.io/name: acp - control-plane: controller-manager - type: ClusterIP ---- -apiVersion: v1 -kind: Service metadata: labels: app.kubernetes.io/managed-by: kustomize @@ -1735,7 +1612,7 @@ spec: - --health-probe-bind-address=:8081 command: - /manager - image: ghcr.io/humanlayer/agentcontrolplane:v0.6.1 + image: ghcr.io/humanlayer/agentcontrolplane:v0.5.1 livenessProbe: httpGet: path: /healthz @@ -1743,9 +1620,7 @@ spec: initialDelaySeconds: 15 periodSeconds: 20 name: manager - ports: - - containerPort: 8082 - name: api + ports: [] readinessProbe: httpGet: path: /readyz