Skip to content

Commit 8d864ec

Browse files
committed
release v0.6.1
1 parent fd6769d commit 8d864ec

File tree

5 files changed

+3325
-8
lines changed

5 files changed

+3325
-8
lines changed

acp/config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ kind: Kustomization
66
images:
77
- name: controller
88
newName: ghcr.io/humanlayer/agentcontrolplane
9-
newTag: v0.6.0
9+
newTag: v0.6.1

acp/config/release/latest-crd.yaml

Lines changed: 107 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ 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
5257
humanContactChannels:
5358
description: HumanContactChannels is a list of ContactChannel resources
5459
that can be used for human interactions
@@ -88,6 +93,22 @@ spec:
8893
- name
8994
type: object
9095
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
91112
system:
92113
description: System is the system prompt for the agent
93114
minLength: 1
@@ -147,6 +168,18 @@ spec:
147168
- name
148169
type: object
149170
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
150183
type: object
151184
type: object
152185
served: true
@@ -726,6 +759,9 @@ spec:
726759
scope: Namespaced
727760
versions:
728761
- additionalPrinterColumns:
762+
- jsonPath: .spec.agentRef.name
763+
name: Agent
764+
type: string
729765
- jsonPath: .status.ready
730766
name: Ready
731767
type: boolean
@@ -793,13 +829,81 @@ spec:
793829
required:
794830
- name
795831
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
796900
userMessage:
797-
description: UserMessage is the message to send to the agent.
798-
minLength: 1
901+
description: |-
902+
UserMessage is the message to send to the agent.
903+
If provided, userMessage will be used and contextWindow must be empty.
799904
type: string
800905
required:
801906
- agentRef
802-
- userMessage
803907
type: object
804908
status:
805909
description: TaskStatus defines the observed state of Task

acp/config/release/latest.yaml

Lines changed: 108 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ 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
6166
humanContactChannels:
6267
description: HumanContactChannels is a list of ContactChannel resources
6368
that can be used for human interactions
@@ -97,6 +102,22 @@ spec:
97102
- name
98103
type: object
99104
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
100121
system:
101122
description: System is the system prompt for the agent
102123
minLength: 1
@@ -156,6 +177,18 @@ spec:
156177
- name
157178
type: object
158179
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
159192
type: object
160193
type: object
161194
served: true
@@ -735,6 +768,9 @@ spec:
735768
scope: Namespaced
736769
versions:
737770
- additionalPrinterColumns:
771+
- jsonPath: .spec.agentRef.name
772+
name: Agent
773+
type: string
738774
- jsonPath: .status.ready
739775
name: Ready
740776
type: boolean
@@ -802,13 +838,81 @@ spec:
802838
required:
803839
- name
804840
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
805909
userMessage:
806-
description: UserMessage is the message to send to the agent.
807-
minLength: 1
910+
description: |-
911+
UserMessage is the message to send to the agent.
912+
If provided, userMessage will be used and contextWindow must be empty.
808913
type: string
809914
required:
810915
- agentRef
811-
- userMessage
812916
type: object
813917
status:
814918
description: TaskStatus defines the observed state of Task
@@ -1631,7 +1735,7 @@ spec:
16311735
- --health-probe-bind-address=:8081
16321736
command:
16331737
- /manager
1634-
image: ghcr.io/humanlayer/agentcontrolplane:v0.6.0
1738+
image: ghcr.io/humanlayer/agentcontrolplane:v0.6.1
16351739
livenessProbe:
16361740
httpGet:
16371741
path: /healthz

0 commit comments

Comments
 (0)