internal/task/host_task_event_names.go
Rama main · réplica de lectura del repositorio original.
package task
import (
"github.com/yeomyeonggeori/blueprotocol/agentcontract"
)
const (
TaskEventBlueclawTaskExecutionDuration = "blueclaw.task.execution_duration"
TaskEventAmbientDutyLaunch = "agent.ambient_duty_launch"
TaskEventLaunchFailureReply = "blueclaw.launch.failure_reply"
TaskEventLaunchFailureReport = "blueclaw.launch.failure_report"
TaskEventLaunchLimitReply = "blueclaw.launch.limit_reply"
TaskEventLaunchLimitStop = "blueclaw.launch.limit_stop"
TaskEventLaunchGoalBlocked = "blueclaw.launch.goal_blocked"
TaskEventLaunchOrigin = "blueclaw.launch.origin"
TaskEventConnectorFilesUndelivered = "blueclaw.connector.files_undelivered"
TaskEventConnectorStopOutboxSuppressed = "blueclaw.connector.stop_outbox_suppressed"
)
func IsAskRequestedEvent(eventName string) bool {
return eventName == agentcontract.TaskEventAskRequested || eventName == agentcontract.TaskEventAgentInputRequested
}