这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions kubechain/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
### v0.1.13 (March 25, 2025)

Features:
- Added support for tool approval via [HumanLayer](https://humanlayer.dev) contact channels

Changes:
- Renamed ContactChannel CRD fields for better clarity
- Changed `channelType` to `type`
- Changed `slackConfig` to `slack`
- Changed `emailConfig` to `email`
- Enhanced TaskRunToolCall status tracking
- Added `externalCallID` field for tracking external service calls
- Added new phases: `ErrorRequestingHumanApproval`, `ReadyToExecuteApprovedTool`, `ToolCallRejected`


### v0.1.12 (March 24, 2025)

Features:
Expand Down
4 changes: 2 additions & 2 deletions kubechain/config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: controller
newTag: "202504011047"
newName: ghcr.io/humanlayer/smallchain
newTag: v0.1.13
35 changes: 22 additions & 13 deletions kubechain/config/release/latest-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ spec:
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .spec.channelType
name: ChannelType
- jsonPath: .spec.type
name: Type
type: string
- jsonPath: .status.ready
name: Ready
Expand Down Expand Up @@ -229,14 +229,8 @@ spec:
required:
- secretKeyRef
type: object
channelType:
description: ChannelType is the type of channel (e.g. "slack", "email")
enum:
- slack
- email
type: string
emailConfig:
description: EmailConfig holds configuration specific to Email channels
email:
description: Email holds configuration specific to Email channels
properties:
address:
description: Address is the recipient email address
Expand All @@ -252,8 +246,8 @@ spec:
required:
- address
type: object
slackConfig:
description: SlackConfig holds configuration specific to Slack channels
slack:
description: Slack holds configuration specific to Slack channels
properties:
allowedResponderIDs:
description: AllowedResponderIDs restricts who can respond (Slack
Expand All @@ -273,9 +267,15 @@ spec:
required:
- channelOrUserID
type: object
type:
description: Type is the type of channel (e.g. "slack", "email")
enum:
- slack
- email
type: string
required:
- apiKeyFrom
- channelType
- type
type: object
status:
description: ContactChannelStatus defines the observed state of ContactChannel.
Expand Down Expand Up @@ -956,6 +956,10 @@ spec:
error:
description: Error message if the tool call failed
type: string
externalCallID:
description: ExternalCallID is the unique identifier for this function
call in external services
type: string
phase:
description: Phase indicates the current phase of the tool call
enum:
Expand Down Expand Up @@ -993,11 +997,16 @@ spec:
- AwaitingHumanApproval
- AwaitingHumanInput
- AwaitingSubAgent
- ErrorRequestingHumanApproval
- ReadyToExecuteApprovedTool
- ToolCallRejected
type: string
statusDetail:
description: StatusDetail provides additional details about the current
status
type: string
required:
- externalCallID
type: object
type: object
served: true
Expand Down
37 changes: 23 additions & 14 deletions kubechain/config/release/latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ spec:
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .spec.channelType
name: ChannelType
- jsonPath: .spec.type
name: Type
type: string
- jsonPath: .status.ready
name: Ready
Expand Down Expand Up @@ -238,14 +238,8 @@ spec:
required:
- secretKeyRef
type: object
channelType:
description: ChannelType is the type of channel (e.g. "slack", "email")
enum:
- slack
- email
type: string
emailConfig:
description: EmailConfig holds configuration specific to Email channels
email:
description: Email holds configuration specific to Email channels
properties:
address:
description: Address is the recipient email address
Expand All @@ -261,8 +255,8 @@ spec:
required:
- address
type: object
slackConfig:
description: SlackConfig holds configuration specific to Slack channels
slack:
description: Slack holds configuration specific to Slack channels
properties:
allowedResponderIDs:
description: AllowedResponderIDs restricts who can respond (Slack
Expand All @@ -282,9 +276,15 @@ spec:
required:
- channelOrUserID
type: object
type:
description: Type is the type of channel (e.g. "slack", "email")
enum:
- slack
- email
type: string
required:
- apiKeyFrom
- channelType
- type
type: object
status:
description: ContactChannelStatus defines the observed state of ContactChannel.
Expand Down Expand Up @@ -965,6 +965,10 @@ spec:
error:
description: Error message if the tool call failed
type: string
externalCallID:
description: ExternalCallID is the unique identifier for this function
call in external services
type: string
phase:
description: Phase indicates the current phase of the tool call
enum:
Expand Down Expand Up @@ -1002,11 +1006,16 @@ spec:
- AwaitingHumanApproval
- AwaitingHumanInput
- AwaitingSubAgent
- ErrorRequestingHumanApproval
- ReadyToExecuteApprovedTool
- ToolCallRejected
type: string
statusDetail:
description: StatusDetail provides additional details about the current
status
type: string
required:
- externalCallID
type: object
type: object
served: true
Expand Down Expand Up @@ -1651,7 +1660,7 @@ spec:
- --health-probe-bind-address=:8081
command:
- /manager
image: ghcr.io/humanlayer/smallchain:v0.1.12
image: ghcr.io/humanlayer/smallchain:v0.1.13
livenessProbe:
httpGet:
path: /healthz
Expand Down
Loading