Skip to content

Commit 1d9b06e

Browse files
authored
Merge pull request #92 from dexhorthy/rollback-v0.5.1
rollback latest to v0.5.1
2 parents 12a2da5 + 82c91ec commit 1d9b06e

File tree

2 files changed

+8
-237
lines changed

2 files changed

+8
-237
lines changed

acp/config/release/latest-crd.yaml

Lines changed: 3 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@ spec:
4949
spec:
5050
description: AgentSpec defines the desired state of Agent
5151
properties:
52-
description:
53-
description: |-
54-
Description is an optional description for an agent.
55-
If present, it's included in any "delegateToAgent" tool descriptions
56-
type: string
5752
humanContactChannels:
5853
description: HumanContactChannels is a list of ContactChannel resources
5954
that can be used for human interactions
@@ -93,22 +88,6 @@ spec:
9388
- name
9489
type: object
9590
type: array
96-
subAgents:
97-
description: |-
98-
SubAgents is a list of local object references to other Agents
99-
that can be delegated to as sub-agents.
100-
items:
101-
description: LocalObjectReference contains enough information to
102-
locate the referenced resource in the same namespace
103-
properties:
104-
name:
105-
description: Name of the referent
106-
minLength: 1
107-
type: string
108-
required:
109-
- name
110-
type: object
111-
type: array
11291
system:
11392
description: System is the system prompt for the agent
11493
minLength: 1
@@ -168,18 +147,6 @@ spec:
168147
- name
169148
type: object
170149
type: array
171-
validSubAgents:
172-
description: ValidSubAgents is the list of sub-agents that were successfully
173-
validated
174-
items:
175-
properties:
176-
name:
177-
description: Name of the sub-agent
178-
type: string
179-
required:
180-
- name
181-
type: object
182-
type: array
183150
type: object
184151
type: object
185152
served: true
@@ -759,9 +726,6 @@ spec:
759726
scope: Namespaced
760727
versions:
761728
- additionalPrinterColumns:
762-
- jsonPath: .spec.agentRef.name
763-
name: Agent
764-
type: string
765729
- jsonPath: .status.ready
766730
name: Ready
767731
type: boolean
@@ -829,81 +793,13 @@ spec:
829793
required:
830794
- name
831795
type: object
832-
contextWindow:
833-
description: |-
834-
ContextWindow provides the initial conversation context when creating a Task.
835-
If provided, contextWindow will be used and userMessage must be empty.
836-
This will be copied to status.ContextWindow, which is the source of truth
837-
for the ongoing conversation.
838-
items:
839-
description: Message represents a single message in the conversation
840-
properties:
841-
content:
842-
description: Content is the message content
843-
type: string
844-
name:
845-
description: Name is the name of the tool that was called
846-
type: string
847-
role:
848-
description: Role is the role of the message sender (system,
849-
user, assistant, tool)
850-
enum:
851-
- system
852-
- user
853-
- assistant
854-
- tool
855-
type: string
856-
toolCallId:
857-
description: ToolCallID is the unique identifier for this tool
858-
call
859-
type: string
860-
toolCalls:
861-
description: ToolCalls contains any tool calls requested by
862-
this message
863-
items:
864-
description: ToolCall represents a request to call a tool
865-
properties:
866-
function:
867-
description: Function contains the details of the function
868-
to call
869-
properties:
870-
arguments:
871-
description: Arguments contains the arguments to pass
872-
to the function in JSON format
873-
type: string
874-
name:
875-
description: Name is the name of the function to call
876-
type: string
877-
required:
878-
- arguments
879-
- name
880-
type: object
881-
id:
882-
description: ID is the unique identifier for this tool
883-
call
884-
type: string
885-
type:
886-
description: Type indicates the type of tool call. Currently
887-
only "function" is supported.
888-
type: string
889-
required:
890-
- function
891-
- id
892-
- type
893-
type: object
894-
type: array
895-
required:
896-
- content
897-
- role
898-
type: object
899-
type: array
900796
userMessage:
901-
description: |-
902-
UserMessage is the message to send to the agent.
903-
If provided, userMessage will be used and contextWindow must be empty.
797+
description: UserMessage is the message to send to the agent.
798+
minLength: 1
904799
type: string
905800
required:
906801
- agentRef
802+
- userMessage
907803
type: object
908804
status:
909805
description: TaskStatus defines the observed state of Task

acp/config/release/latest.yaml

Lines changed: 5 additions & 130 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ spec:
5858
spec:
5959
description: AgentSpec defines the desired state of Agent
6060
properties:
61-
description:
62-
description: |-
63-
Description is an optional description for an agent.
64-
If present, it's included in any "delegateToAgent" tool descriptions
65-
type: string
6661
humanContactChannels:
6762
description: HumanContactChannels is a list of ContactChannel resources
6863
that can be used for human interactions
@@ -102,22 +97,6 @@ spec:
10297
- name
10398
type: object
10499
type: array
105-
subAgents:
106-
description: |-
107-
SubAgents is a list of local object references to other Agents
108-
that can be delegated to as sub-agents.
109-
items:
110-
description: LocalObjectReference contains enough information to
111-
locate the referenced resource in the same namespace
112-
properties:
113-
name:
114-
description: Name of the referent
115-
minLength: 1
116-
type: string
117-
required:
118-
- name
119-
type: object
120-
type: array
121100
system:
122101
description: System is the system prompt for the agent
123102
minLength: 1
@@ -177,18 +156,6 @@ spec:
177156
- name
178157
type: object
179158
type: array
180-
validSubAgents:
181-
description: ValidSubAgents is the list of sub-agents that were successfully
182-
validated
183-
items:
184-
properties:
185-
name:
186-
description: Name of the sub-agent
187-
type: string
188-
required:
189-
- name
190-
type: object
191-
type: array
192159
type: object
193160
type: object
194161
served: true
@@ -768,9 +735,6 @@ spec:
768735
scope: Namespaced
769736
versions:
770737
- additionalPrinterColumns:
771-
- jsonPath: .spec.agentRef.name
772-
name: Agent
773-
type: string
774738
- jsonPath: .status.ready
775739
name: Ready
776740
type: boolean
@@ -838,81 +802,13 @@ spec:
838802
required:
839803
- name
840804
type: object
841-
contextWindow:
842-
description: |-
843-
ContextWindow provides the initial conversation context when creating a Task.
844-
If provided, contextWindow will be used and userMessage must be empty.
845-
This will be copied to status.ContextWindow, which is the source of truth
846-
for the ongoing conversation.
847-
items:
848-
description: Message represents a single message in the conversation
849-
properties:
850-
content:
851-
description: Content is the message content
852-
type: string
853-
name:
854-
description: Name is the name of the tool that was called
855-
type: string
856-
role:
857-
description: Role is the role of the message sender (system,
858-
user, assistant, tool)
859-
enum:
860-
- system
861-
- user
862-
- assistant
863-
- tool
864-
type: string
865-
toolCallId:
866-
description: ToolCallID is the unique identifier for this tool
867-
call
868-
type: string
869-
toolCalls:
870-
description: ToolCalls contains any tool calls requested by
871-
this message
872-
items:
873-
description: ToolCall represents a request to call a tool
874-
properties:
875-
function:
876-
description: Function contains the details of the function
877-
to call
878-
properties:
879-
arguments:
880-
description: Arguments contains the arguments to pass
881-
to the function in JSON format
882-
type: string
883-
name:
884-
description: Name is the name of the function to call
885-
type: string
886-
required:
887-
- arguments
888-
- name
889-
type: object
890-
id:
891-
description: ID is the unique identifier for this tool
892-
call
893-
type: string
894-
type:
895-
description: Type indicates the type of tool call. Currently
896-
only "function" is supported.
897-
type: string
898-
required:
899-
- function
900-
- id
901-
- type
902-
type: object
903-
type: array
904-
required:
905-
- content
906-
- role
907-
type: object
908-
type: array
909805
userMessage:
910-
description: |-
911-
UserMessage is the message to send to the agent.
912-
If provided, userMessage will be used and contextWindow must be empty.
806+
description: UserMessage is the message to send to the agent.
807+
minLength: 1
913808
type: string
914809
required:
915810
- agentRef
811+
- userMessage
916812
type: object
917813
status:
918814
description: TaskStatus defines the observed state of Task
@@ -1669,25 +1565,6 @@ subjects:
16691565
---
16701566
apiVersion: v1
16711567
kind: Service
1672-
metadata:
1673-
labels:
1674-
app.kubernetes.io/managed-by: kustomize
1675-
app.kubernetes.io/name: acp
1676-
name: acp-controller-manager-api-service
1677-
namespace: default
1678-
spec:
1679-
ports:
1680-
- name: api
1681-
port: 8082
1682-
protocol: TCP
1683-
targetPort: api
1684-
selector:
1685-
app.kubernetes.io/name: acp
1686-
control-plane: controller-manager
1687-
type: ClusterIP
1688-
---
1689-
apiVersion: v1
1690-
kind: Service
16911568
metadata:
16921569
labels:
16931570
app.kubernetes.io/managed-by: kustomize
@@ -1735,17 +1612,15 @@ spec:
17351612
- --health-probe-bind-address=:8081
17361613
command:
17371614
- /manager
1738-
image: ghcr.io/humanlayer/agentcontrolplane:v0.6.1
1615+
image: ghcr.io/humanlayer/agentcontrolplane:v0.5.1
17391616
livenessProbe:
17401617
httpGet:
17411618
path: /healthz
17421619
port: 8081
17431620
initialDelaySeconds: 15
17441621
periodSeconds: 20
17451622
name: manager
1746-
ports:
1747-
- containerPort: 8082
1748-
name: api
1623+
ports: []
17491624
readinessProbe:
17501625
httpGet:
17511626
path: /readyz

0 commit comments

Comments
 (0)