Documentation
¶
Overview ¶
Package ahp provides Agent Hooks Protocol models and structural codecs.
Code generated by ahp-codegen. DO NOT EDIT. Generated from AHP schema draft. The source schema is authoritative if this output conflicts with it.
Index ¶
- Constants
- func EncodeCapabilities(value Capabilities) ([]byte, error)
- func EncodeCapabilitiesRequest(value CapabilitiesRequest) ([]byte, error)
- func EncodeCapabilitiesResponse(value CapabilitiesResponse) ([]byte, error)
- func EncodeCatalogueEvent(value CatalogueEvent) ([]byte, error)
- func EncodeContentItem(value ContentItem) ([]byte, error)
- func EncodeContentReference(value ContentReference) ([]byte, error)
- func EncodeContentSelection(value ContentSelection) ([]byte, error)
- func EncodeContentUpload(value ContentUpload) ([]byte, error)
- func EncodeContentUploadReceipt(value ContentUploadReceipt) ([]byte, error)
- func EncodeDenyEffect(value DenyEffect) ([]byte, error)
- func EncodeEffect(value Effect) ([]byte, error)
- func EncodeEvent(value Event) ([]byte, error)
- func EncodeExecutionEvent(value ExecutionEvent) ([]byte, error)
- func EncodeExtensions(value Extensions) ([]byte, error)
- func EncodeInteractionEvent(value InteractionEvent) ([]byte, error)
- func EncodeInterceptDenyResponse(value InterceptDenyResponse) ([]byte, error)
- func EncodeInterceptNoEffectResponse(value InterceptNoEffectResponse) ([]byte, error)
- func EncodeInterceptRequest(value InterceptRequest) ([]byte, error)
- func EncodeInterceptResponse(value InterceptResponse) ([]byte, error)
- func EncodeJsonRpcMessage(value JsonRpcMessage) ([]byte, error)
- func EncodeObserveNotification(value ObserveNotification) ([]byte, error)
- func EncodeRegistration(value Registration) ([]byte, error)
- func EncodeSessionEndEvent(value SessionEndEvent) ([]byte, error)
- func EncodeSessionStartEvent(value SessionStartEvent) ([]byte, error)
- func EncodeTaskWorkspaceEvent(value TaskWorkspaceEvent) ([]byte, error)
- func EncodeToolAfterEvent(value ToolAfterEvent) ([]byte, error)
- func EncodeToolBeforeEvent(value ToolBeforeEvent) ([]byte, error)
- func EncodeWireMessage(value WireMessage) ([]byte, error)
- type AttachmentBodyPart
- type AttachmentBodyPartKind
- type AttachmentBodyPartSelection
- type AttachmentGapPart
- type AttachmentGapPartGap
- type AttachmentGapPartKind
- type AttachmentGapPartSelection
- type AttachmentMetadataPart
- type AttachmentMetadataPartKind
- type AttachmentMetadataPartSelection
- type AttachmentOmittedPart
- type AttachmentOmittedPartKind
- type AttachmentOmittedPartSelection
- type Authentication
- type AuthenticationBearer
- type AuthenticationBearerType
- type AuthenticationOauth
- type AuthenticationOauthFlow
- type AuthenticationOauthType
- type Backend
- type BackendSubscriptionsItem
- type BackendTransport
- type CanonicalMessage
- type CanonicalMessageRole
- type CanonicalMessages
- type Capabilities
- type CapabilitiesEffectsItem
- type CapabilitiesEffectsItemKnown
- type CapabilitiesElicitation
- type CapabilitiesElicitationForm
- type CapabilitiesElicitationURL
- type CapabilitiesFlow
- type CapabilitiesFlowOperationsItem
- type CapabilitiesInject
- type CapabilitiesInjectContext
- type CapabilitiesInjectContextAppend
- type CapabilitiesInjectContextDeliverAtItem
- type CapabilitiesModify
- type CapabilitiesModifyContent
- type CapabilitiesModifyInput
- type CapabilitiesModifyInstructions
- type CapabilitiesModifyOutput
- type CapabilitiesModifyPrompt
- type CapabilitiesModifyRequest
- type CapabilitiesModifyResponse
- type CapabilitiesModifySummary
- type CapabilitiesModifyWorkspace
- type CapabilitiesRequest
- type CapabilitiesRequestJSONRPC
- type CapabilitiesRequestMethod
- type CapabilitiesRequestMethodValue
- type CapabilitiesRequestParams
- type CapabilitiesResponse
- type CapabilitiesResponseJSONRPC
- type CapabilitiesResponseResult
- type CapabilitiesResponseResultManifest
- type CapabilitiesResponseResultManifestAuthenticationItem
- type CapabilitiesResponseResultManifestEventsItem
- type CapabilitiesResponseResultManifestEventsItemEvent
- type CapabilitiesResponseResultManifestEventsItemModesItem
- type CapabilitiesResponseResultManifestGapsItem
- type CapabilitiesResponseResultManifestLimits
- type CapabilitiesResponseResultManifestManagedPolicy
- type CapabilitiesResponseResultManifestManagedPolicyScopesItem
- type CapabilitiesResponseResultManifestTransportsItem
- type CatalogueEvent
- type ConfigChangeAfterEvent
- type ConfigChangeAfterEventChange
- type ConfigChangeAfterEventChangeMcpServersItem
- type ConfigChangeAfterEventGapsItem
- type ConfigChangeAfterEventTurn
- type ConfigChangeAfterEventType
- type ConfigChangeBeforeCapabilities
- type ConfigChangeBeforeCapabilitiesEffects
- type ConfigChangeBeforeCapabilitiesEffectsValueItem
- type ConfigChangeBeforeCapabilitiesElicitation
- type ConfigChangeBeforeCapabilitiesElicitationForm
- type ConfigChangeBeforeCapabilitiesElicitationURL
- type ConfigChangeBeforeCapabilitiesFlow
- type ConfigChangeBeforeCapabilitiesFlowOperationsItem
- type ConfigChangeBeforeCapabilitiesInject
- type ConfigChangeBeforeCapabilitiesInjectContext
- type ConfigChangeBeforeCapabilitiesInjectContextAppend
- type ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem
- type ConfigChangeBeforeCapabilitiesModify
- type ConfigChangeBeforeCapabilitiesModifyContent
- type ConfigChangeBeforeCapabilitiesModifyInput
- type ConfigChangeBeforeCapabilitiesModifyInstructions
- type ConfigChangeBeforeCapabilitiesModifyOutput
- type ConfigChangeBeforeCapabilitiesModifyPrompt
- type ConfigChangeBeforeCapabilitiesModifyRequest
- type ConfigChangeBeforeCapabilitiesModifyResponse
- type ConfigChangeBeforeCapabilitiesModifySummary
- type ConfigChangeBeforeCapabilitiesModifyWorkspace
- type ConfigChangeBeforeEvent
- type ConfigChangeBeforeEventChange
- type ConfigChangeBeforeEventGapsItem
- type ConfigChangeBeforeEventTurn
- type ConfigChangeBeforeEventType
- type ContentItem
- type ContentReference
- type ContentSelection
- type ContentSelectionAudio
- type ContentSelectionDefault
- type ContentSelectionFiles
- type ContentSelectionImages
- type ContentSelectionReasoning
- type ContentSelectionText
- type ContentSelectionVideo
- type ContentUpload
- type ContentUploadReceipt
- type ContextCompactAfterCapabilities
- type ContextCompactAfterCapabilitiesEffects
- type ContextCompactAfterCapabilitiesEffectsValueItem
- type ContextCompactAfterCapabilitiesElicitation
- type ContextCompactAfterCapabilitiesElicitationForm
- type ContextCompactAfterCapabilitiesElicitationURL
- type ContextCompactAfterCapabilitiesFlow
- type ContextCompactAfterCapabilitiesFlowOperationsItem
- type ContextCompactAfterCapabilitiesInject
- type ContextCompactAfterCapabilitiesInjectContext
- type ContextCompactAfterCapabilitiesInjectContextAppend
- type ContextCompactAfterCapabilitiesInjectContextDeliverAtItem
- type ContextCompactAfterCapabilitiesModify
- type ContextCompactAfterCapabilitiesModifyContent
- type ContextCompactAfterCapabilitiesModifyInput
- type ContextCompactAfterCapabilitiesModifyInstructions
- type ContextCompactAfterCapabilitiesModifyOutput
- type ContextCompactAfterCapabilitiesModifyPrompt
- type ContextCompactAfterCapabilitiesModifyRequest
- type ContextCompactAfterCapabilitiesModifyResponse
- type ContextCompactAfterCapabilitiesModifySummary
- type ContextCompactAfterCapabilitiesModifyWorkspace
- type ContextCompactAfterEvent
- type ContextCompactAfterEventGapsItem
- type ContextCompactAfterEventRemovedItem
- type ContextCompactAfterEventTurn
- type ContextCompactAfterEventType
- type ContextCompactBeforeCapabilities
- type ContextCompactBeforeCapabilitiesEffects
- type ContextCompactBeforeCapabilitiesEffectsValueItem
- type ContextCompactBeforeCapabilitiesElicitation
- type ContextCompactBeforeCapabilitiesElicitationForm
- type ContextCompactBeforeCapabilitiesElicitationURL
- type ContextCompactBeforeCapabilitiesFlow
- type ContextCompactBeforeCapabilitiesFlowOperationsItem
- type ContextCompactBeforeCapabilitiesInject
- type ContextCompactBeforeCapabilitiesInjectContext
- type ContextCompactBeforeCapabilitiesInjectContextAppend
- type ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem
- type ContextCompactBeforeCapabilitiesModify
- type ContextCompactBeforeCapabilitiesModifyContent
- type ContextCompactBeforeCapabilitiesModifyInput
- type ContextCompactBeforeCapabilitiesModifyInstructions
- type ContextCompactBeforeCapabilitiesModifyOutput
- type ContextCompactBeforeCapabilitiesModifyPrompt
- type ContextCompactBeforeCapabilitiesModifyRequest
- type ContextCompactBeforeCapabilitiesModifyResponse
- type ContextCompactBeforeCapabilitiesModifySummary
- type ContextCompactBeforeCapabilitiesModifyWorkspace
- type ContextCompactBeforeEvent
- type ContextCompactBeforeEventGapsItem
- type ContextCompactBeforeEventTrigger
- type ContextCompactBeforeEventTurn
- type ContextCompactBeforeEventType
- type DenyEffect
- type DenyEffectType
- type DiagnosticCode
- type DiagnosticSeverity
- type Effect
- type EffectAllow
- type EffectAllowType
- type EffectAsk
- type EffectAskType
- type EffectFlowContinue
- type EffectFlowContinueOperation
- type EffectFlowContinueType
- type EffectFlowStop
- type EffectFlowStopOperation
- type EffectFlowStopType
- type EffectInjectAppendContext
- type EffectInjectAppendContextDeliverAt
- type EffectInjectAppendContextOperation
- type EffectInjectAppendContextTarget
- type EffectInjectAppendContextType
- type EffectMessage
- type EffectMessageType
- type EffectModify
- type EffectModifyOperation
- type EffectModifyTarget
- type EffectModifyType
- type EffectName
- type EffectReturn
- type EffectReturnType
- type Event
- type ExecutionEvent
- type ExecutionEventAttempt
- type ExecutionEventAttemptusage
- type ExecutionEventAttemptusageCompleteness
- type ExecutionEventAttemptusageCost
- type ExecutionEventAttemptusageCostBasis
- type ExecutionEventAttemptusageKind
- type ExecutionEventAttemptusageKindValue
- type ExecutionEventAttemptusageProvenance
- type ExecutionEventAttemptusageProvenanceValue
- type ExecutionEventAttemptusageScope
- type ExecutionEventAttemptusageScopeValue
- type ExecutionEventBatch
- type ExecutionEventContextCompactAfter
- type ExecutionEventContextCompactAfterGapsItem
- type ExecutionEventContextCompactAfterRemovedItem
- type ExecutionEventContextCompactAfterTurn
- type ExecutionEventContextCompactAfterType
- type ExecutionEventContextCompactBefore
- type ExecutionEventContextCompactBeforeGapsItem
- type ExecutionEventContextCompactBeforeTrigger
- type ExecutionEventContextCompactBeforeTurn
- type ExecutionEventContextCompactBeforeType
- type ExecutionEventError
- type ExecutionEventErrorStatus
- type ExecutionEventExecution
- type ExecutionEventExecutionExecuted
- type ExecutionEventExecutionExecutedStatus
- type ExecutionEventExecutionSkippedCancelled
- type ExecutionEventExecutionSkippedCancelledReason
- type ExecutionEventExecutionSkippedCancelledStatus
- type ExecutionEventExecutionSkippedOther
- type ExecutionEventExecutionSkippedOtherReason
- type ExecutionEventExecutionSkippedOtherStatus
- type ExecutionEventExecutionSkippedPolicy
- type ExecutionEventExecutionSkippedPolicyReason
- type ExecutionEventExecutionSkippedPolicyStatus
- type ExecutionEventExecutionSkippedSuppliedResult
- type ExecutionEventExecutionSkippedSuppliedResultReason
- type ExecutionEventExecutionSkippedSuppliedResultStatus
- type ExecutionEventExecutionSkippedTimeout
- type ExecutionEventExecutionSkippedTimeoutReason
- type ExecutionEventExecutionSkippedTimeoutStatus
- type ExecutionEventFilechange
- type ExecutionEventFilechangeChange
- type ExecutionEventMcp
- type ExecutionEventMcpConnection
- type ExecutionEventMcpConnectionCustomTransport
- type ExecutionEventMcpConnectionCustomTransportGapsItem
- type ExecutionEventMcpConnectionHTTP
- type ExecutionEventMcpConnectionHTTPGapsItem
- type ExecutionEventMcpConnectionHTTPTransport
- type ExecutionEventMcpConnectionSse
- type ExecutionEventMcpConnectionSseGapsItem
- type ExecutionEventMcpConnectionSseTransport
- type ExecutionEventMcpConnectionStdio
- type ExecutionEventMcpConnectionStdioGapsItem
- type ExecutionEventMcpConnectionStdioTransport
- type ExecutionEventMcpProvenance
- type ExecutionEventMcpServer
- type ExecutionEventModel
- type ExecutionEventModelError
- type ExecutionEventModelErrorExecution
- type ExecutionEventModelErrorExecutionExecuted
- type ExecutionEventModelErrorExecutionExecutedStatus
- type ExecutionEventModelErrorExecutionSkippedCancelled
- type ExecutionEventModelErrorExecutionSkippedCancelledReason
- type ExecutionEventModelErrorExecutionSkippedCancelledStatus
- type ExecutionEventModelErrorExecutionSkippedCancelledStatusValue
- type ExecutionEventModelErrorExecutionSkippedOther
- type ExecutionEventModelErrorExecutionSkippedOtherReason
- type ExecutionEventModelErrorExecutionSkippedOtherStatus
- type ExecutionEventModelErrorExecutionSkippedOtherStatusValue
- type ExecutionEventModelErrorExecutionSkippedPolicy
- type ExecutionEventModelErrorExecutionSkippedPolicyReason
- type ExecutionEventModelErrorExecutionSkippedPolicyStatus
- type ExecutionEventModelErrorExecutionSkippedPolicyStatusValue
- type ExecutionEventModelErrorExecutionSkippedSuppliedResult
- type ExecutionEventModelErrorExecutionSkippedSuppliedResultReason
- type ExecutionEventModelErrorExecutionSkippedSuppliedResultStatus
- type ExecutionEventModelErrorExecutionSkippedSuppliedResultStatusValue
- type ExecutionEventModelErrorExecutionSkippedTimeout
- type ExecutionEventModelErrorExecutionSkippedTimeoutReason
- type ExecutionEventModelErrorExecutionSkippedTimeoutStatus
- type ExecutionEventModelErrorExecutionSkippedTimeoutStatusValue
- type ExecutionEventModelErrorGapsItem
- type ExecutionEventModelErrorTurn
- type ExecutionEventModelErrorType
- type ExecutionEventModelRequestBefore
- type ExecutionEventModelRequestBeforeGapsItem
- type ExecutionEventModelRequestBeforeParams
- type ExecutionEventModelRequestBeforeTurn
- type ExecutionEventModelRequestBeforeType
- type ExecutionEventModelResponseAfter
- type ExecutionEventModelResponseAfterGapsItem
- type ExecutionEventModelResponseAfterTurn
- type ExecutionEventModelResponseAfterType
- type ExecutionEventModelSwitchAfter
- type ExecutionEventModelSwitchAfterGapsItem
- type ExecutionEventModelSwitchAfterTurn
- type ExecutionEventModelSwitchAfterType
- type ExecutionEventModelSwitchBefore
- type ExecutionEventModelSwitchBeforeGapsItem
- type ExecutionEventModelSwitchBeforePricing
- type ExecutionEventModelSwitchBeforeTurn
- type ExecutionEventModelSwitchBeforeType
- type ExecutionEventTokencounts
- type ExecutionEventTool
- type ExecutionEventToolBatchAfter
- type ExecutionEventToolBatchAfterBatch
- type ExecutionEventToolBatchAfterCallsItem
- type ExecutionEventToolBatchAfterCallsItemCall
- type ExecutionEventToolBatchAfterCallsItemOutcome
- type ExecutionEventToolBatchAfterGapsItem
- type ExecutionEventToolBatchAfterTurn
- type ExecutionEventToolBatchAfterType
- type ExecutionEventToolInput
- type ExecutionEventToolOrigin
- type ExecutionEventToolPermissionRequest
- type ExecutionEventToolPermissionRequestCall
- type ExecutionEventToolPermissionRequestGapsItem
- type ExecutionEventToolPermissionRequestSuggestionsItem
- type ExecutionEventToolPermissionRequestTurn
- type ExecutionEventToolPermissionRequestType
- type ExecutionEventToolPermissionResolved
- type ExecutionEventToolPermissionResolvedCall
- type ExecutionEventToolPermissionResolvedDecidedBy
- type ExecutionEventToolPermissionResolvedDecision
- type ExecutionEventToolPermissionResolvedGapsItem
- type ExecutionEventToolPermissionResolvedTurn
- type ExecutionEventToolPermissionResolvedType
- type ExecutionEventToolProgress
- type ExecutionEventToolProgressCall
- type ExecutionEventToolProgressGapsItem
- type ExecutionEventToolProgressTurn
- type ExecutionEventToolProgressType
- type ExecutionEventTurnEnd
- type ExecutionEventTurnEndGapsItem
- type ExecutionEventTurnEndLastAssistantItem
- type ExecutionEventTurnEndOutcome
- type ExecutionEventTurnEndTurn
- type ExecutionEventTurnEndType
- type ExecutionEventTurnFinishBefore
- type ExecutionEventTurnFinishBeforeGapsItem
- type ExecutionEventTurnFinishBeforeLastAssistantItem
- type ExecutionEventTurnFinishBeforeOutcome
- type ExecutionEventTurnFinishBeforeTurn
- type ExecutionEventTurnFinishBeforeType
- type ExecutionEventTurnProgress
- type ExecutionEventTurnProgressGapsItem
- type ExecutionEventTurnProgressItem
- type ExecutionEventTurnProgressTurn
- type ExecutionEventTurnProgressType
- type ExecutionEventTurnStart
- type ExecutionEventTurnStartGapsItem
- type ExecutionEventTurnStartTrigger
- type ExecutionEventTurnStartTurn
- type ExecutionEventTurnStartType
- type ExecutionEventTurnusage
- type ExecutionEventTurnusageCompleteness
- type ExecutionEventTurnusageCost
- type ExecutionEventTurnusageCostBasis
- type ExecutionEventTurnusageKind
- type ExecutionEventTurnusageKindValue
- type ExecutionEventTurnusageProvenance
- type ExecutionEventTurnusageScope
- type ExecutionEventTurnusageScopeValue
- type ExecutionEventUsage
- type ExecutionEventUsageCompleteness
- type ExecutionEventUsageCost
- type ExecutionEventUsageCostBasis
- type ExecutionEventUsageKind
- type ExecutionEventUsageProvenance
- type ExecutionEventUsageScope
- type Extensions
- type FileChangedEvent
- type FileChangedEventChangesItem
- type FileChangedEventChangesItemOperation
- type FileChangedEventGapsItem
- type FileChangedEventTurn
- type FileChangedEventType
- type HookFailureEvent
- type HookFailureEventFailure
- type HookFailureEventFailurePolicy
- type HookFailureEventGapsItem
- type HookFailureEventTurn
- type HookFailureEventType
- type HttpTransport
- type HttpTransportType
- type InteractionEvent
- type InteractionEventConfigChangeAfter
- type InteractionEventConfigChangeAfterChange
- type InteractionEventConfigChangeAfterChangeMcpServersItem
- type InteractionEventConfigChangeAfterType
- type InteractionEventConfigChangeBefore
- type InteractionEventConfigChangeBeforeChange
- type InteractionEventConfigChangeBeforeType
- type InteractionEventHookFailure
- type InteractionEventHookFailureFailure
- type InteractionEventHookFailureFailurePolicy
- type InteractionEventHookFailureType
- type InteractionEventUserAttention
- type InteractionEventUserAttentionAttention
- type InteractionEventUserAttentionType
- type InteractionEventUserElicitationRequest
- type InteractionEventUserElicitationRequestElicitation
- type InteractionEventUserElicitationRequestElicitationMode
- type InteractionEventUserElicitationRequestType
- type InteractionEventUserElicitationResult
- type InteractionEventUserElicitationResultElicitation
- type InteractionEventUserElicitationResultElicitationAction
- type InteractionEventUserElicitationResultElicitationMode
- type InteractionEventUserElicitationResultType
- type InteractionEventUserMessageInbound
- type InteractionEventUserMessageInboundMessage
- type InteractionEventUserMessageInboundMessageMessagesItem
- type InteractionEventUserMessageInboundMessageMessagesItemRole
- type InteractionEventUserMessageInboundMessageMessagesItemRoleValue
- type InteractionEventUserMessageInboundType
- type InteractionEventUserMessageOutbound
- type InteractionEventUserMessageOutboundMessage
- type InteractionEventUserMessageOutboundMessageMessagesItem
- type InteractionEventUserMessageOutboundMessageMessagesItemRole
- type InteractionEventUserMessageOutboundMessageMessagesItemRoleValue
- type InteractionEventUserMessageOutboundType
- type InterceptDenyResponse
- type InterceptDenyResponseJSONRPC
- type InterceptDenyResponseResult
- type InterceptNoEffectResponse
- type InterceptNoEffectResponseJSONRPC
- type InterceptNoEffectResponseResult
- type InterceptRequest
- type InterceptRequestJSONRPC
- type InterceptRequestMethod
- type InterceptRequestMethodValue
- type InterceptRequestParams
- type InterceptRequestParamsCapabilities
- type InterceptRequestParamsCapabilitiesEffectsItem
- type InterceptRequestParamsCapabilitiesEffectsItemKnown
- type InterceptRequestParamsCapabilitiesElicitation
- type InterceptRequestParamsCapabilitiesElicitationForm
- type InterceptRequestParamsCapabilitiesElicitationURL
- type InterceptRequestParamsCapabilitiesFlow
- type InterceptRequestParamsCapabilitiesFlowOperationsItem
- type InterceptRequestParamsCapabilitiesInject
- type InterceptRequestParamsCapabilitiesInjectContext
- type InterceptRequestParamsCapabilitiesInjectContextAppend
- type InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem
- type InterceptRequestParamsCapabilitiesModify
- type InterceptRequestParamsCapabilitiesModifyContent
- type InterceptRequestParamsCapabilitiesModifyInput
- type InterceptRequestParamsCapabilitiesModifyInstructions
- type InterceptRequestParamsCapabilitiesModifyOutput
- type InterceptRequestParamsCapabilitiesModifyPrompt
- type InterceptRequestParamsCapabilitiesModifyRequest
- type InterceptRequestParamsCapabilitiesModifyResponse
- type InterceptRequestParamsCapabilitiesModifySummary
- type InterceptRequestParamsCapabilitiesModifyWorkspace
- type InterceptRequestParamsState
- type InterceptRequestParamsStateCandidateValue
- type InterceptRequestParamsStateCandidateValueProvenance
- type InterceptRequestParamsStateFlow
- type InterceptRequestParamsStatePermission
- type InterceptResponse
- type InterceptResponseJSONRPC
- type InterceptResponseResult
- type InterceptSubscription
- type InterceptSubscriptionEventsItem
- type InterceptSubscriptionEventsItemKnown
- type InterceptSubscriptionFailurePolicy
- type InterceptSubscriptionFilters
- type InterceptSubscriptionMode
- type InterceptSubscriptionScope
- type JsonRpcErrorResponse
- type JsonRpcErrorResponseError
- type JsonRpcErrorResponseJSONRPC
- type JsonRpcId
- type JsonRpcMessage
- type JsonRpcNotification
- type JsonRpcNotificationJSONRPC
- type JsonRpcNotificationParams
- type JsonRpcRequest
- type JsonRpcRequestJSONRPC
- type JsonRpcRequestParams
- type JsonRpcResponseId
- type JsonRpcSuccessResponse
- type JsonRpcSuccessResponseJSONRPC
- type JsonRpcSuccessResponseResult
- type McpElicitationBooleanSchema
- type McpElicitationBooleanSchemaType
- type McpElicitationElicitRequestFormParams
- type McpElicitationElicitRequestFormParamsMeta
- type McpElicitationElicitRequestFormParamsMode
- type McpElicitationElicitRequestFormParamsRequestedSchema
- type McpElicitationElicitRequestFormParamsRequestedSchemaProperties
- type McpElicitationElicitRequestFormParamsRequestedSchemaType
- type McpElicitationElicitRequestParams
- type McpElicitationElicitRequestURLParams
- type McpElicitationElicitRequestURLParamsMeta
- type McpElicitationElicitRequestURLParamsMode
- type McpElicitationElicitResult
- type McpElicitationElicitResultAction
- type McpElicitationElicitResultContent
- type McpElicitationElicitResultMeta
- type McpElicitationLegacyTitledEnumSchema
- type McpElicitationLegacyTitledEnumSchemaType
- type McpElicitationNumberSchema
- type McpElicitationNumberSchemaType
- type McpElicitationPrimitiveSchemaDefinition
- type McpElicitationProgressToken
- type McpElicitationRequest
- type McpElicitationResult
- type McpElicitationResultAction
- type McpElicitationResultContent
- type McpElicitationResultMeta
- type McpElicitationStringSchema
- type McpElicitationStringSchemaFormat
- type McpElicitationStringSchemaType
- type McpElicitationTaskMetadata
- type McpElicitationTitledMultiSelectEnumSchema
- type McpElicitationTitledMultiSelectEnumSchemaItems
- type McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem
- type McpElicitationTitledMultiSelectEnumSchemaType
- type McpElicitationTitledSingleSelectEnumSchema
- type McpElicitationTitledSingleSelectEnumSchemaOneOfItem
- type McpElicitationTitledSingleSelectEnumSchemaType
- type McpElicitationUntitledMultiSelectEnumSchema
- type McpElicitationUntitledMultiSelectEnumSchemaItems
- type McpElicitationUntitledMultiSelectEnumSchemaItemsType
- type McpElicitationUntitledMultiSelectEnumSchemaType
- type McpElicitationUntitledSingleSelectEnumSchema
- type McpElicitationUntitledSingleSelectEnumSchemaType
- type ModelErrorEvent
- type ModelErrorEventExecution
- type ModelErrorEventExecutionExecuted
- type ModelErrorEventExecutionExecutedStatus
- type ModelErrorEventExecutionSkippedCancelled
- type ModelErrorEventExecutionSkippedCancelledReason
- type ModelErrorEventExecutionSkippedCancelledStatus
- type ModelErrorEventExecutionSkippedCancelledStatusValue
- type ModelErrorEventExecutionSkippedOther
- type ModelErrorEventExecutionSkippedOtherReason
- type ModelErrorEventExecutionSkippedOtherStatus
- type ModelErrorEventExecutionSkippedOtherStatusValue
- type ModelErrorEventExecutionSkippedPolicy
- type ModelErrorEventExecutionSkippedPolicyReason
- type ModelErrorEventExecutionSkippedPolicyStatus
- type ModelErrorEventExecutionSkippedPolicyStatusValue
- type ModelErrorEventExecutionSkippedSuppliedResult
- type ModelErrorEventExecutionSkippedSuppliedResultReason
- type ModelErrorEventExecutionSkippedSuppliedResultStatus
- type ModelErrorEventExecutionSkippedSuppliedResultStatusValue
- type ModelErrorEventExecutionSkippedTimeout
- type ModelErrorEventExecutionSkippedTimeoutReason
- type ModelErrorEventExecutionSkippedTimeoutStatus
- type ModelErrorEventExecutionSkippedTimeoutStatusValue
- type ModelErrorEventGapsItem
- type ModelErrorEventTurn
- type ModelErrorEventType
- type ModelRequestBeforeCapabilities
- type ModelRequestBeforeCapabilitiesEffects
- type ModelRequestBeforeCapabilitiesEffectsValueItem
- type ModelRequestBeforeCapabilitiesElicitation
- type ModelRequestBeforeCapabilitiesElicitationForm
- type ModelRequestBeforeCapabilitiesElicitationURL
- type ModelRequestBeforeCapabilitiesFlow
- type ModelRequestBeforeCapabilitiesFlowOperations
- type ModelRequestBeforeCapabilitiesFlowOperationsValueItem
- type ModelRequestBeforeCapabilitiesInject
- type ModelRequestBeforeCapabilitiesInjectContext
- type ModelRequestBeforeCapabilitiesInjectContextAppend
- type ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem
- type ModelRequestBeforeCapabilitiesModify
- type ModelRequestBeforeCapabilitiesModifyContent
- type ModelRequestBeforeCapabilitiesModifyInput
- type ModelRequestBeforeCapabilitiesModifyInstructions
- type ModelRequestBeforeCapabilitiesModifyOutput
- type ModelRequestBeforeCapabilitiesModifyPrompt
- type ModelRequestBeforeCapabilitiesModifyRequest
- type ModelRequestBeforeCapabilitiesModifyResponse
- type ModelRequestBeforeCapabilitiesModifySummary
- type ModelRequestBeforeCapabilitiesModifyWorkspace
- type ModelRequestBeforeEvent
- type ModelRequestBeforeEventGapsItem
- type ModelRequestBeforeEventParams
- type ModelRequestBeforeEventTurn
- type ModelRequestBeforeEventType
- type ModelResponseAfterCapabilities
- type ModelResponseAfterCapabilitiesEffects
- type ModelResponseAfterCapabilitiesEffectsValueItem
- type ModelResponseAfterCapabilitiesElicitation
- type ModelResponseAfterCapabilitiesElicitationForm
- type ModelResponseAfterCapabilitiesElicitationURL
- type ModelResponseAfterCapabilitiesFlow
- type ModelResponseAfterCapabilitiesFlowOperations
- type ModelResponseAfterCapabilitiesFlowOperationsValueItem
- type ModelResponseAfterCapabilitiesInject
- type ModelResponseAfterCapabilitiesInjectContext
- type ModelResponseAfterCapabilitiesInjectContextAppend
- type ModelResponseAfterCapabilitiesInjectContextDeliverAtItem
- type ModelResponseAfterCapabilitiesModify
- type ModelResponseAfterCapabilitiesModifyContent
- type ModelResponseAfterCapabilitiesModifyInput
- type ModelResponseAfterCapabilitiesModifyInstructions
- type ModelResponseAfterCapabilitiesModifyOutput
- type ModelResponseAfterCapabilitiesModifyPrompt
- type ModelResponseAfterCapabilitiesModifyRequest
- type ModelResponseAfterCapabilitiesModifyResponse
- type ModelResponseAfterCapabilitiesModifySummary
- type ModelResponseAfterCapabilitiesModifyWorkspace
- type ModelResponseAfterEvent
- type ModelResponseAfterEventGapsItem
- type ModelResponseAfterEventTurn
- type ModelResponseAfterEventType
- type ModelSwitchAfterEvent
- type ModelSwitchAfterEventGapsItem
- type ModelSwitchAfterEventTurn
- type ModelSwitchAfterEventType
- type ModelSwitchBeforeCapabilities
- type ModelSwitchBeforeCapabilitiesEffects
- type ModelSwitchBeforeCapabilitiesEffectsValueItem
- type ModelSwitchBeforeCapabilitiesElicitation
- type ModelSwitchBeforeCapabilitiesElicitationForm
- type ModelSwitchBeforeCapabilitiesElicitationURL
- type ModelSwitchBeforeCapabilitiesFlow
- type ModelSwitchBeforeCapabilitiesFlowOperations
- type ModelSwitchBeforeCapabilitiesFlowOperationsValueItem
- type ModelSwitchBeforeCapabilitiesInject
- type ModelSwitchBeforeCapabilitiesInjectContext
- type ModelSwitchBeforeCapabilitiesInjectContextAppend
- type ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem
- type ModelSwitchBeforeCapabilitiesModify
- type ModelSwitchBeforeCapabilitiesModifyContent
- type ModelSwitchBeforeCapabilitiesModifyInput
- type ModelSwitchBeforeCapabilitiesModifyInstructions
- type ModelSwitchBeforeCapabilitiesModifyOutput
- type ModelSwitchBeforeCapabilitiesModifyPrompt
- type ModelSwitchBeforeCapabilitiesModifyRequest
- type ModelSwitchBeforeCapabilitiesModifyResponse
- type ModelSwitchBeforeCapabilitiesModifySummary
- type ModelSwitchBeforeCapabilitiesModifyWorkspace
- type ModelSwitchBeforeEvent
- type ModelSwitchBeforeEventGapsItem
- type ModelSwitchBeforeEventPricing
- type ModelSwitchBeforeEventTurn
- type ModelSwitchBeforeEventType
- type ModelVisibleItem
- type ModelVisibleItemRole
- type NativeEvent
- type Nullable
- type ObserveNotification
- type ObserveNotificationJSONRPC
- type ObserveNotificationMethod
- type ObserveNotificationMethodValue
- type ObserveNotificationParams
- type ObserveSubscription
- type ObserveSubscriptionEventsItem
- type ObserveSubscriptionEventsItemKnown
- type ObserveSubscriptionFilters
- type ObserveSubscriptionMode
- type ObserveSubscriptionScope
- type Optional
- type ParseDiagnostic
- type ParseResult
- func ParseCapabilities(input []byte) ParseResult[Capabilities]
- func ParseCapabilitiesRequest(input []byte) ParseResult[CapabilitiesRequest]
- func ParseCapabilitiesResponse(input []byte) ParseResult[CapabilitiesResponse]
- func ParseCatalogueEvent(input []byte) ParseResult[CatalogueEvent]
- func ParseContentItem(input []byte) ParseResult[ContentItem]
- func ParseContentReference(input []byte) ParseResult[ContentReference]
- func ParseContentSelection(input []byte) ParseResult[ContentSelection]
- func ParseContentUpload(input []byte) ParseResult[ContentUpload]
- func ParseContentUploadReceipt(input []byte) ParseResult[ContentUploadReceipt]
- func ParseDenyEffect(input []byte) ParseResult[DenyEffect]
- func ParseEffect(input []byte) ParseResult[Effect]
- func ParseEvent(input []byte) ParseResult[Event]
- func ParseExecutionEvent(input []byte) ParseResult[ExecutionEvent]
- func ParseExtensions(input []byte) ParseResult[Extensions]
- func ParseInteractionEvent(input []byte) ParseResult[InteractionEvent]
- func ParseInterceptDenyResponse(input []byte) ParseResult[InterceptDenyResponse]
- func ParseInterceptNoEffectResponse(input []byte) ParseResult[InterceptNoEffectResponse]
- func ParseInterceptRequest(input []byte) ParseResult[InterceptRequest]
- func ParseInterceptResponse(input []byte) ParseResult[InterceptResponse]
- func ParseJsonRpcMessage(input []byte) ParseResult[JsonRpcMessage]
- func ParseObserveNotification(input []byte) ParseResult[ObserveNotification]
- func ParseRegistration(input []byte) ParseResult[Registration]
- func ParseSessionEndEvent(input []byte) ParseResult[SessionEndEvent]
- func ParseSessionStartEvent(input []byte) ParseResult[SessionStartEvent]
- func ParseTaskWorkspaceEvent(input []byte) ParseResult[TaskWorkspaceEvent]
- func ParseToolAfterEvent(input []byte) ParseResult[ToolAfterEvent]
- func ParseToolBeforeEvent(input []byte) ParseResult[ToolBeforeEvent]
- func ParseWireMessage(input []byte) ParseResult[WireMessage]
- type ProtocolVersion
- type Registration
- type RegistrationContentreceiver
- type ReverseDnsName
- type Session
- type SessionAgent
- type SessionEndEvent
- type SessionEndEventCounters
- type SessionEndEventGapsItem
- type SessionEndEventOutcome
- type SessionEndEventTurn
- type SessionEndEventType
- type SessionStartCapabilities
- type SessionStartCapabilitiesEffects
- type SessionStartCapabilitiesEffectsValueItem
- type SessionStartCapabilitiesElicitation
- type SessionStartCapabilitiesElicitationForm
- type SessionStartCapabilitiesElicitationURL
- type SessionStartCapabilitiesFlow
- type SessionStartCapabilitiesFlowOperationsItem
- type SessionStartCapabilitiesInject
- type SessionStartCapabilitiesInjectContext
- type SessionStartCapabilitiesInjectContextAppend
- type SessionStartCapabilitiesInjectContextDeliverAtItem
- type SessionStartCapabilitiesModify
- type SessionStartCapabilitiesModifyContent
- type SessionStartCapabilitiesModifyInput
- type SessionStartCapabilitiesModifyInstructions
- type SessionStartCapabilitiesModifyOutput
- type SessionStartCapabilitiesModifyPrompt
- type SessionStartCapabilitiesModifyRequest
- type SessionStartCapabilitiesModifyResponse
- type SessionStartCapabilitiesModifySummary
- type SessionStartCapabilitiesModifyWorkspace
- type SessionStartEvent
- type SessionStartEventGapsItem
- type SessionStartEventHarness
- type SessionStartEventResumedFrom
- type SessionStartEventTrigger
- type SessionStartEventTurn
- type SessionStartEventType
- type StaticCapabilityManifest
- type StaticCapabilityManifestAuthenticationItem
- type StaticCapabilityManifestEventsItem
- type StaticCapabilityManifestEventsItemEvent
- type StaticCapabilityManifestEventsItemModesItem
- type StaticCapabilityManifestGapsItem
- type StaticCapabilityManifestLimits
- type StaticCapabilityManifestManagedPolicy
- type StaticCapabilityManifestManagedPolicyScopesItem
- type StaticCapabilityManifestTransportsItem
- type StdioTransport
- type StdioTransportLifecycle
- type StdioTransportType
- type TaskChangeAfterEvent
- type TaskChangeAfterEventGapsItem
- type TaskChangeAfterEventTask
- type TaskChangeAfterEventTaskChange
- type TaskChangeAfterEventTaskOperation
- type TaskChangeAfterEventTaskPrior
- type TaskChangeAfterEventTurn
- type TaskChangeAfterEventType
- type TaskChangeBeforeCapabilities
- type TaskChangeBeforeCapabilitiesEffects
- type TaskChangeBeforeCapabilitiesEffectsValueItem
- type TaskChangeBeforeCapabilitiesElicitation
- type TaskChangeBeforeCapabilitiesElicitationForm
- type TaskChangeBeforeCapabilitiesElicitationURL
- type TaskChangeBeforeCapabilitiesFlow
- type TaskChangeBeforeCapabilitiesFlowOperationsItem
- type TaskChangeBeforeCapabilitiesInject
- type TaskChangeBeforeCapabilitiesInjectContext
- type TaskChangeBeforeCapabilitiesInjectContextAppend
- type TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem
- type TaskChangeBeforeCapabilitiesModify
- type TaskChangeBeforeCapabilitiesModifyContent
- type TaskChangeBeforeCapabilitiesModifyInput
- type TaskChangeBeforeCapabilitiesModifyInstructions
- type TaskChangeBeforeCapabilitiesModifyOutput
- type TaskChangeBeforeCapabilitiesModifyPrompt
- type TaskChangeBeforeCapabilitiesModifyRequest
- type TaskChangeBeforeCapabilitiesModifyResponse
- type TaskChangeBeforeCapabilitiesModifySummary
- type TaskChangeBeforeCapabilitiesModifyWorkspace
- type TaskChangeBeforeEvent
- type TaskChangeBeforeEventGapsItem
- type TaskChangeBeforeEventTask
- type TaskChangeBeforeEventTaskChange
- type TaskChangeBeforeEventTaskOperation
- type TaskChangeBeforeEventTaskPrior
- type TaskChangeBeforeEventTurn
- type TaskChangeBeforeEventType
- type TaskWorkspaceEvent
- type TaskWorkspaceEventFileChanged
- type TaskWorkspaceEventFileChangedChangesItem
- type TaskWorkspaceEventFileChangedChangesItemOperation
- type TaskWorkspaceEventFileChangedGapsItem
- type TaskWorkspaceEventFileChangedTurn
- type TaskWorkspaceEventFileChangedType
- type TaskWorkspaceEventTaskChangeAfter
- type TaskWorkspaceEventTaskChangeAfterGapsItem
- type TaskWorkspaceEventTaskChangeAfterTask
- type TaskWorkspaceEventTaskChangeAfterTaskChange
- type TaskWorkspaceEventTaskChangeAfterTaskOperation
- type TaskWorkspaceEventTaskChangeAfterTaskPrior
- type TaskWorkspaceEventTaskChangeAfterTurn
- type TaskWorkspaceEventTaskChangeAfterType
- type TaskWorkspaceEventTaskChangeBefore
- type TaskWorkspaceEventTaskChangeBeforeGapsItem
- type TaskWorkspaceEventTaskChangeBeforeTask
- type TaskWorkspaceEventTaskChangeBeforeTaskChange
- type TaskWorkspaceEventTaskChangeBeforeTaskOperation
- type TaskWorkspaceEventTaskChangeBeforeTaskPrior
- type TaskWorkspaceEventTaskChangeBeforeTurn
- type TaskWorkspaceEventTaskChangeBeforeType
- type TaskWorkspaceEventWorkspaceChangeAfter
- type TaskWorkspaceEventWorkspaceChangeAfterGapsItem
- type TaskWorkspaceEventWorkspaceChangeAfterTurn
- type TaskWorkspaceEventWorkspaceChangeAfterType
- type TaskWorkspaceEventWorkspaceChangeAfterWorkspace
- type TaskWorkspaceEventWorkspaceChangeAfterWorkspaceChange
- type TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind
- type TaskWorkspaceEventWorkspaceChangeAfterWorkspacePrior
- type TaskWorkspaceEventWorkspaceChangeBefore
- type TaskWorkspaceEventWorkspaceChangeBeforeGapsItem
- type TaskWorkspaceEventWorkspaceChangeBeforeTurn
- type TaskWorkspaceEventWorkspaceChangeBeforeType
- type TaskWorkspaceEventWorkspaceChangeBeforeWorkspace
- type TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceChange
- type TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind
- type TaskWorkspaceEventWorkspaceChangeBeforeWorkspacePrior
- type TextBodyPart
- type TextBodyPartKind
- type TextBodyPartMediaType
- type TextBodyPartSelection
- type TextGapPart
- type TextGapPartGap
- type TextGapPartKind
- type TextGapPartMediaType
- type TextGapPartSelection
- type TextMetadataPart
- type TextMetadataPartKind
- type TextMetadataPartMediaType
- type TextMetadataPartSelection
- type TextOmittedPart
- type TextOmittedPartKind
- type TextOmittedPartMediaType
- type TextOmittedPartSelection
- type TextPart
- type TextParts
- type ToolAfterCapabilities
- type ToolAfterCapabilitiesEffects
- type ToolAfterCapabilitiesEffectsValueItem
- type ToolAfterCapabilitiesElicitation
- type ToolAfterCapabilitiesElicitationForm
- type ToolAfterCapabilitiesElicitationURL
- type ToolAfterCapabilitiesFlow
- type ToolAfterCapabilitiesFlowOperationsItem
- type ToolAfterCapabilitiesInject
- type ToolAfterCapabilitiesInjectContext
- type ToolAfterCapabilitiesInjectContextAppend
- type ToolAfterCapabilitiesInjectContextDeliverAtItem
- type ToolAfterCapabilitiesModify
- type ToolAfterCapabilitiesModifyContent
- type ToolAfterCapabilitiesModifyInput
- type ToolAfterCapabilitiesModifyInstructions
- type ToolAfterCapabilitiesModifyOutput
- type ToolAfterCapabilitiesModifyPrompt
- type ToolAfterCapabilitiesModifyRequest
- type ToolAfterCapabilitiesModifyResponse
- type ToolAfterCapabilitiesModifySummary
- type ToolAfterCapabilitiesModifyWorkspace
- type ToolAfterEvent
- type ToolAfterEventCall
- type ToolAfterEventGapsItem
- type ToolAfterEventOutcome
- type ToolAfterEventTurn
- type ToolAfterEventType
- type ToolBatchAfterCapabilities
- type ToolBatchAfterCapabilitiesEffects
- type ToolBatchAfterCapabilitiesEffectsValueItem
- type ToolBatchAfterCapabilitiesElicitation
- type ToolBatchAfterCapabilitiesElicitationForm
- type ToolBatchAfterCapabilitiesElicitationURL
- type ToolBatchAfterCapabilitiesFlow
- type ToolBatchAfterCapabilitiesFlowOperations
- type ToolBatchAfterCapabilitiesFlowOperationsValueItem
- type ToolBatchAfterCapabilitiesInject
- type ToolBatchAfterCapabilitiesInjectContext
- type ToolBatchAfterCapabilitiesInjectContextAppend
- type ToolBatchAfterCapabilitiesInjectContextDeliverAtItem
- type ToolBatchAfterCapabilitiesModify
- type ToolBatchAfterCapabilitiesModifyContent
- type ToolBatchAfterCapabilitiesModifyInput
- type ToolBatchAfterCapabilitiesModifyInstructions
- type ToolBatchAfterCapabilitiesModifyOutput
- type ToolBatchAfterCapabilitiesModifyPrompt
- type ToolBatchAfterCapabilitiesModifyRequest
- type ToolBatchAfterCapabilitiesModifyResponse
- type ToolBatchAfterCapabilitiesModifySummary
- type ToolBatchAfterCapabilitiesModifyWorkspace
- type ToolBatchAfterEvent
- type ToolBatchAfterEventBatch
- type ToolBatchAfterEventCallsItem
- type ToolBatchAfterEventCallsItemCall
- type ToolBatchAfterEventCallsItemOutcome
- type ToolBatchAfterEventGapsItem
- type ToolBatchAfterEventTurn
- type ToolBatchAfterEventType
- type ToolBeforeCapabilities
- type ToolBeforeCapabilitiesEffects
- type ToolBeforeCapabilitiesEffectsValueItem
- type ToolBeforeCapabilitiesElicitation
- type ToolBeforeCapabilitiesElicitationForm
- type ToolBeforeCapabilitiesElicitationURL
- type ToolBeforeCapabilitiesFlow
- type ToolBeforeCapabilitiesFlowOperations
- type ToolBeforeCapabilitiesFlowOperationsValueItem
- type ToolBeforeCapabilitiesInject
- type ToolBeforeCapabilitiesInjectContext
- type ToolBeforeCapabilitiesInjectContextAppend
- type ToolBeforeCapabilitiesInjectContextDeliverAtItem
- type ToolBeforeCapabilitiesModify
- type ToolBeforeCapabilitiesModifyContent
- type ToolBeforeCapabilitiesModifyInput
- type ToolBeforeCapabilitiesModifyInstructions
- type ToolBeforeCapabilitiesModifyOutput
- type ToolBeforeCapabilitiesModifyPrompt
- type ToolBeforeCapabilitiesModifyRequest
- type ToolBeforeCapabilitiesModifyResponse
- type ToolBeforeCapabilitiesModifySummary
- type ToolBeforeCapabilitiesModifyWorkspace
- type ToolBeforeEvent
- type ToolBeforeEventCall
- type ToolBeforeEventGapsItem
- type ToolBeforeEventTurn
- type ToolBeforeEventType
- type ToolPermissionRequestCapabilities
- type ToolPermissionRequestCapabilitiesEffects
- type ToolPermissionRequestCapabilitiesEffectsValueItem
- type ToolPermissionRequestCapabilitiesElicitation
- type ToolPermissionRequestCapabilitiesElicitationForm
- type ToolPermissionRequestCapabilitiesElicitationURL
- type ToolPermissionRequestCapabilitiesFlow
- type ToolPermissionRequestCapabilitiesFlowOperations
- type ToolPermissionRequestCapabilitiesFlowOperationsValueItem
- type ToolPermissionRequestCapabilitiesInject
- type ToolPermissionRequestCapabilitiesInjectContext
- type ToolPermissionRequestCapabilitiesInjectContextAppend
- type ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem
- type ToolPermissionRequestCapabilitiesModify
- type ToolPermissionRequestCapabilitiesModifyContent
- type ToolPermissionRequestCapabilitiesModifyInput
- type ToolPermissionRequestCapabilitiesModifyInstructions
- type ToolPermissionRequestCapabilitiesModifyOutput
- type ToolPermissionRequestCapabilitiesModifyPrompt
- type ToolPermissionRequestCapabilitiesModifyRequest
- type ToolPermissionRequestCapabilitiesModifyResponse
- type ToolPermissionRequestCapabilitiesModifySummary
- type ToolPermissionRequestCapabilitiesModifyWorkspace
- type ToolPermissionRequestEvent
- type ToolPermissionRequestEventCall
- type ToolPermissionRequestEventGapsItem
- type ToolPermissionRequestEventSuggestionsItem
- type ToolPermissionRequestEventTurn
- type ToolPermissionRequestEventType
- type ToolPermissionResolvedEvent
- type ToolPermissionResolvedEventCall
- type ToolPermissionResolvedEventDecidedBy
- type ToolPermissionResolvedEventDecision
- type ToolPermissionResolvedEventGapsItem
- type ToolPermissionResolvedEventTurn
- type ToolPermissionResolvedEventType
- type ToolProgressEvent
- type ToolProgressEventCall
- type ToolProgressEventGapsItem
- type ToolProgressEventTurn
- type ToolProgressEventType
- type TurnEndEvent
- type TurnEndEventGapsItem
- type TurnEndEventLastAssistantItem
- type TurnEndEventOutcome
- type TurnEndEventTurn
- type TurnEndEventType
- type TurnFinishBeforeCapabilities
- type TurnFinishBeforeCapabilitiesEffects
- type TurnFinishBeforeCapabilitiesEffectsValueItem
- type TurnFinishBeforeCapabilitiesElicitation
- type TurnFinishBeforeCapabilitiesElicitationForm
- type TurnFinishBeforeCapabilitiesElicitationURL
- type TurnFinishBeforeCapabilitiesFlow
- type TurnFinishBeforeCapabilitiesFlowOperationsItem
- type TurnFinishBeforeCapabilitiesInject
- type TurnFinishBeforeCapabilitiesInjectContext
- type TurnFinishBeforeCapabilitiesInjectContextAppend
- type TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem
- type TurnFinishBeforeCapabilitiesModify
- type TurnFinishBeforeCapabilitiesModifyContent
- type TurnFinishBeforeCapabilitiesModifyInput
- type TurnFinishBeforeCapabilitiesModifyInstructions
- type TurnFinishBeforeCapabilitiesModifyOutput
- type TurnFinishBeforeCapabilitiesModifyPrompt
- type TurnFinishBeforeCapabilitiesModifyRequest
- type TurnFinishBeforeCapabilitiesModifyResponse
- type TurnFinishBeforeCapabilitiesModifySummary
- type TurnFinishBeforeCapabilitiesModifyWorkspace
- type TurnFinishBeforeEvent
- type TurnFinishBeforeEventGapsItem
- type TurnFinishBeforeEventLastAssistantItem
- type TurnFinishBeforeEventOutcome
- type TurnFinishBeforeEventTurn
- type TurnFinishBeforeEventType
- type TurnProgressEvent
- type TurnProgressEventGapsItem
- type TurnProgressEventItem
- type TurnProgressEventTurn
- type TurnProgressEventType
- type TurnStartCapabilities
- type TurnStartCapabilitiesEffects
- type TurnStartCapabilitiesEffectsValueItem
- type TurnStartCapabilitiesElicitation
- type TurnStartCapabilitiesElicitationForm
- type TurnStartCapabilitiesElicitationURL
- type TurnStartCapabilitiesFlow
- type TurnStartCapabilitiesFlowOperations
- type TurnStartCapabilitiesFlowOperationsValueItem
- type TurnStartCapabilitiesInject
- type TurnStartCapabilitiesInjectContext
- type TurnStartCapabilitiesInjectContextAppend
- type TurnStartCapabilitiesInjectContextDeliverAtItem
- type TurnStartCapabilitiesModify
- type TurnStartCapabilitiesModifyContent
- type TurnStartCapabilitiesModifyInput
- type TurnStartCapabilitiesModifyInstructions
- type TurnStartCapabilitiesModifyOutput
- type TurnStartCapabilitiesModifyPrompt
- type TurnStartCapabilitiesModifyRequest
- type TurnStartCapabilitiesModifyResponse
- type TurnStartCapabilitiesModifySummary
- type TurnStartCapabilitiesModifyWorkspace
- type TurnStartEvent
- type TurnStartEventGapsItem
- type TurnStartEventTrigger
- type TurnStartEventTurn
- type TurnStartEventType
- type UserAttentionEvent
- type UserAttentionEventAttention
- type UserAttentionEventGapsItem
- type UserAttentionEventTurn
- type UserAttentionEventType
- type UserElicitationRequestCapabilities
- type UserElicitationRequestCapabilitiesEffects
- type UserElicitationRequestCapabilitiesEffectsValueItem
- type UserElicitationRequestCapabilitiesElicitation
- type UserElicitationRequestCapabilitiesElicitationForm
- type UserElicitationRequestCapabilitiesElicitationURL
- type UserElicitationRequestCapabilitiesFlow
- type UserElicitationRequestCapabilitiesFlowOperationsItem
- type UserElicitationRequestCapabilitiesInject
- type UserElicitationRequestCapabilitiesInjectContext
- type UserElicitationRequestCapabilitiesInjectContextAppend
- type UserElicitationRequestCapabilitiesInjectContextDeliverAtItem
- type UserElicitationRequestCapabilitiesModify
- type UserElicitationRequestCapabilitiesModifyContent
- type UserElicitationRequestCapabilitiesModifyInput
- type UserElicitationRequestCapabilitiesModifyInstructions
- type UserElicitationRequestCapabilitiesModifyOutput
- type UserElicitationRequestCapabilitiesModifyPrompt
- type UserElicitationRequestCapabilitiesModifyRequest
- type UserElicitationRequestCapabilitiesModifyResponse
- type UserElicitationRequestCapabilitiesModifySummary
- type UserElicitationRequestCapabilitiesModifyWorkspace
- type UserElicitationRequestEvent
- type UserElicitationRequestEventElicitation
- type UserElicitationRequestEventElicitationMode
- type UserElicitationRequestEventGapsItem
- type UserElicitationRequestEventTurn
- type UserElicitationRequestEventType
- type UserElicitationResultCapabilities
- type UserElicitationResultCapabilitiesEffects
- type UserElicitationResultCapabilitiesEffectsValueItem
- type UserElicitationResultCapabilitiesElicitation
- type UserElicitationResultCapabilitiesElicitationForm
- type UserElicitationResultCapabilitiesElicitationURL
- type UserElicitationResultCapabilitiesFlow
- type UserElicitationResultCapabilitiesFlowOperationsItem
- type UserElicitationResultCapabilitiesInject
- type UserElicitationResultCapabilitiesInjectContext
- type UserElicitationResultCapabilitiesInjectContextAppend
- type UserElicitationResultCapabilitiesInjectContextDeliverAtItem
- type UserElicitationResultCapabilitiesModify
- type UserElicitationResultCapabilitiesModifyContent
- type UserElicitationResultCapabilitiesModifyInput
- type UserElicitationResultCapabilitiesModifyInstructions
- type UserElicitationResultCapabilitiesModifyOutput
- type UserElicitationResultCapabilitiesModifyPrompt
- type UserElicitationResultCapabilitiesModifyRequest
- type UserElicitationResultCapabilitiesModifyResponse
- type UserElicitationResultCapabilitiesModifySummary
- type UserElicitationResultCapabilitiesModifyWorkspace
- type UserElicitationResultEvent
- type UserElicitationResultEventElicitation
- type UserElicitationResultEventElicitationAction
- type UserElicitationResultEventElicitationMode
- type UserElicitationResultEventGapsItem
- type UserElicitationResultEventTurn
- type UserElicitationResultEventType
- type UserMessageInboundCapabilities
- type UserMessageInboundCapabilitiesEffects
- type UserMessageInboundCapabilitiesEffectsValueItem
- type UserMessageInboundCapabilitiesElicitation
- type UserMessageInboundCapabilitiesElicitationForm
- type UserMessageInboundCapabilitiesElicitationURL
- type UserMessageInboundCapabilitiesFlow
- type UserMessageInboundCapabilitiesFlowOperationsItem
- type UserMessageInboundCapabilitiesInject
- type UserMessageInboundCapabilitiesInjectContext
- type UserMessageInboundCapabilitiesInjectContextAppend
- type UserMessageInboundCapabilitiesInjectContextDeliverAtItem
- type UserMessageInboundCapabilitiesModify
- type UserMessageInboundCapabilitiesModifyContent
- type UserMessageInboundCapabilitiesModifyInput
- type UserMessageInboundCapabilitiesModifyInstructions
- type UserMessageInboundCapabilitiesModifyOutput
- type UserMessageInboundCapabilitiesModifyPrompt
- type UserMessageInboundCapabilitiesModifyRequest
- type UserMessageInboundCapabilitiesModifyResponse
- type UserMessageInboundCapabilitiesModifySummary
- type UserMessageInboundCapabilitiesModifyWorkspace
- type UserMessageInboundEvent
- type UserMessageInboundEventGapsItem
- type UserMessageInboundEventMessage
- type UserMessageInboundEventMessageMessagesItem
- type UserMessageInboundEventMessageMessagesItemRole
- type UserMessageInboundEventMessageMessagesItemRoleValue
- type UserMessageInboundEventTurn
- type UserMessageInboundEventType
- type UserMessageOutboundCapabilities
- type UserMessageOutboundCapabilitiesEffects
- type UserMessageOutboundCapabilitiesEffectsValueItem
- type UserMessageOutboundCapabilitiesElicitation
- type UserMessageOutboundCapabilitiesElicitationForm
- type UserMessageOutboundCapabilitiesElicitationURL
- type UserMessageOutboundCapabilitiesFlow
- type UserMessageOutboundCapabilitiesFlowOperationsItem
- type UserMessageOutboundCapabilitiesInject
- type UserMessageOutboundCapabilitiesInjectContext
- type UserMessageOutboundCapabilitiesInjectContextAppend
- type UserMessageOutboundCapabilitiesInjectContextDeliverAtItem
- type UserMessageOutboundCapabilitiesModify
- type UserMessageOutboundCapabilitiesModifyContent
- type UserMessageOutboundCapabilitiesModifyInput
- type UserMessageOutboundCapabilitiesModifyInstructions
- type UserMessageOutboundCapabilitiesModifyOutput
- type UserMessageOutboundCapabilitiesModifyPrompt
- type UserMessageOutboundCapabilitiesModifyRequest
- type UserMessageOutboundCapabilitiesModifyResponse
- type UserMessageOutboundCapabilitiesModifySummary
- type UserMessageOutboundCapabilitiesModifyWorkspace
- type UserMessageOutboundEvent
- type UserMessageOutboundEventGapsItem
- type UserMessageOutboundEventMessage
- type UserMessageOutboundEventMessageMessagesItem
- type UserMessageOutboundEventMessageMessagesItemRole
- type UserMessageOutboundEventMessageMessagesItemRoleValue
- type UserMessageOutboundEventTurn
- type UserMessageOutboundEventType
- type WireMessage
- type WorkspaceChangeAfterEvent
- type WorkspaceChangeAfterEventGapsItem
- type WorkspaceChangeAfterEventTurn
- type WorkspaceChangeAfterEventType
- type WorkspaceChangeAfterEventWorkspace
- type WorkspaceChangeAfterEventWorkspaceChange
- type WorkspaceChangeAfterEventWorkspaceKind
- type WorkspaceChangeAfterEventWorkspacePrior
- type WorkspaceChangeBeforeCapabilities
- type WorkspaceChangeBeforeCapabilitiesEffects
- type WorkspaceChangeBeforeCapabilitiesEffectsValueItem
- type WorkspaceChangeBeforeCapabilitiesElicitation
- type WorkspaceChangeBeforeCapabilitiesElicitationForm
- type WorkspaceChangeBeforeCapabilitiesElicitationURL
- type WorkspaceChangeBeforeCapabilitiesFlow
- type WorkspaceChangeBeforeCapabilitiesFlowOperationsItem
- type WorkspaceChangeBeforeCapabilitiesInject
- type WorkspaceChangeBeforeCapabilitiesInjectContext
- type WorkspaceChangeBeforeCapabilitiesInjectContextAppend
- type WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem
- type WorkspaceChangeBeforeCapabilitiesModify
- type WorkspaceChangeBeforeCapabilitiesModifyContent
- type WorkspaceChangeBeforeCapabilitiesModifyInput
- type WorkspaceChangeBeforeCapabilitiesModifyInstructions
- type WorkspaceChangeBeforeCapabilitiesModifyOutput
- type WorkspaceChangeBeforeCapabilitiesModifyPrompt
- type WorkspaceChangeBeforeCapabilitiesModifyRequest
- type WorkspaceChangeBeforeCapabilitiesModifyResponse
- type WorkspaceChangeBeforeCapabilitiesModifySummary
- type WorkspaceChangeBeforeCapabilitiesModifyWorkspace
- type WorkspaceChangeBeforeEvent
- type WorkspaceChangeBeforeEventGapsItem
- type WorkspaceChangeBeforeEventTurn
- type WorkspaceChangeBeforeEventType
- type WorkspaceChangeBeforeEventWorkspace
- type WorkspaceChangeBeforeEventWorkspaceChange
- type WorkspaceChangeBeforeEventWorkspaceKind
- type WorkspaceChangeBeforeEventWorkspacePrior
Constants ¶
const CapabilitiesRequestSchemaRevision = SchemaRevision
const CapabilitiesResponseSchemaRevision = SchemaRevision
const CapabilitiesSchemaRevision = SchemaRevision
const CatalogueEventSchemaRevision = SchemaRevision
const ContentItemSchemaRevision = SchemaRevision
const ContentReferenceSchemaRevision = SchemaRevision
const ContentSelectionSchemaRevision = SchemaRevision
const ContentUploadReceiptSchemaRevision = SchemaRevision
const ContentUploadSchemaRevision = SchemaRevision
const DenyEffectSchemaRevision = SchemaRevision
const EffectDeny = EffectNameDeny
EffectDeny is the shorthand family identifier for deny.
const EffectSchemaRevision = SchemaRevision
const EventSchemaRevision = SchemaRevision
const ExecutionEventSchemaRevision = SchemaRevision
const ExtensionsSchemaRevision = SchemaRevision
const InteractionEventSchemaRevision = SchemaRevision
const InterceptDenyResponseSchemaRevision = SchemaRevision
const InterceptNoEffectResponseSchemaRevision = SchemaRevision
const InterceptRequestSchemaRevision = SchemaRevision
const InterceptResponseSchemaRevision = SchemaRevision
const JsonRpcMessageSchemaRevision = SchemaRevision
const ObserveNotificationSchemaRevision = SchemaRevision
const ProtocolVersionValue = "draft"
const RegistrationSchemaRevision = SchemaRevision
const SchemaRevision = "draft"
const SessionEndEventSchemaRevision = SchemaRevision
const SessionStartEventSchemaRevision = SchemaRevision
const TaskWorkspaceEventSchemaRevision = SchemaRevision
const ToolAfterEventSchemaRevision = SchemaRevision
const ToolBeforeEventSchemaRevision = SchemaRevision
const WireMessageSchemaRevision = SchemaRevision
Variables ¶
This section is empty.
Functions ¶
func EncodeCapabilities ¶
func EncodeCapabilities(value Capabilities) ([]byte, error)
EncodeCapabilities encodes value without applying schema defaults.
func EncodeCapabilitiesRequest ¶
func EncodeCapabilitiesRequest(value CapabilitiesRequest) ([]byte, error)
EncodeCapabilitiesRequest encodes value without applying schema defaults.
func EncodeCapabilitiesResponse ¶
func EncodeCapabilitiesResponse(value CapabilitiesResponse) ([]byte, error)
EncodeCapabilitiesResponse encodes value without applying schema defaults.
func EncodeCatalogueEvent ¶
func EncodeCatalogueEvent(value CatalogueEvent) ([]byte, error)
EncodeCatalogueEvent encodes value without applying schema defaults.
func EncodeContentItem ¶
func EncodeContentItem(value ContentItem) ([]byte, error)
EncodeContentItem encodes value without applying schema defaults.
func EncodeContentReference ¶
func EncodeContentReference(value ContentReference) ([]byte, error)
EncodeContentReference encodes value without applying schema defaults.
func EncodeContentSelection ¶
func EncodeContentSelection(value ContentSelection) ([]byte, error)
EncodeContentSelection encodes value without applying schema defaults.
func EncodeContentUpload ¶
func EncodeContentUpload(value ContentUpload) ([]byte, error)
EncodeContentUpload encodes value without applying schema defaults.
func EncodeContentUploadReceipt ¶ added in v0.1.1
func EncodeContentUploadReceipt(value ContentUploadReceipt) ([]byte, error)
EncodeContentUploadReceipt encodes value without applying schema defaults.
func EncodeDenyEffect ¶
func EncodeDenyEffect(value DenyEffect) ([]byte, error)
EncodeDenyEffect encodes value without applying schema defaults.
func EncodeEffect ¶
EncodeEffect encodes value without applying schema defaults.
func EncodeEvent ¶ added in v0.1.1
EncodeEvent encodes value without applying schema defaults.
func EncodeExecutionEvent ¶
func EncodeExecutionEvent(value ExecutionEvent) ([]byte, error)
EncodeExecutionEvent encodes value without applying schema defaults.
func EncodeExtensions ¶
func EncodeExtensions(value Extensions) ([]byte, error)
EncodeExtensions encodes value without applying schema defaults.
func EncodeInteractionEvent ¶
func EncodeInteractionEvent(value InteractionEvent) ([]byte, error)
EncodeInteractionEvent encodes value without applying schema defaults.
func EncodeInterceptDenyResponse ¶
func EncodeInterceptDenyResponse(value InterceptDenyResponse) ([]byte, error)
EncodeInterceptDenyResponse encodes value without applying schema defaults.
func EncodeInterceptNoEffectResponse ¶
func EncodeInterceptNoEffectResponse(value InterceptNoEffectResponse) ([]byte, error)
EncodeInterceptNoEffectResponse encodes value without applying schema defaults.
func EncodeInterceptRequest ¶
func EncodeInterceptRequest(value InterceptRequest) ([]byte, error)
EncodeInterceptRequest encodes value without applying schema defaults.
func EncodeInterceptResponse ¶
func EncodeInterceptResponse(value InterceptResponse) ([]byte, error)
EncodeInterceptResponse encodes value without applying schema defaults.
func EncodeJsonRpcMessage ¶
func EncodeJsonRpcMessage(value JsonRpcMessage) ([]byte, error)
EncodeJsonRpcMessage encodes value without applying schema defaults.
func EncodeObserveNotification ¶
func EncodeObserveNotification(value ObserveNotification) ([]byte, error)
EncodeObserveNotification encodes value without applying schema defaults.
func EncodeRegistration ¶
func EncodeRegistration(value Registration) ([]byte, error)
EncodeRegistration encodes value without applying schema defaults.
func EncodeSessionEndEvent ¶
func EncodeSessionEndEvent(value SessionEndEvent) ([]byte, error)
EncodeSessionEndEvent encodes value without applying schema defaults.
func EncodeSessionStartEvent ¶
func EncodeSessionStartEvent(value SessionStartEvent) ([]byte, error)
EncodeSessionStartEvent encodes value without applying schema defaults.
func EncodeTaskWorkspaceEvent ¶
func EncodeTaskWorkspaceEvent(value TaskWorkspaceEvent) ([]byte, error)
EncodeTaskWorkspaceEvent encodes value without applying schema defaults.
func EncodeToolAfterEvent ¶
func EncodeToolAfterEvent(value ToolAfterEvent) ([]byte, error)
EncodeToolAfterEvent encodes value without applying schema defaults.
func EncodeToolBeforeEvent ¶
func EncodeToolBeforeEvent(value ToolBeforeEvent) ([]byte, error)
EncodeToolBeforeEvent encodes value without applying schema defaults.
func EncodeWireMessage ¶
func EncodeWireMessage(value WireMessage) ([]byte, error)
EncodeWireMessage encodes value without applying schema defaults.
Types ¶
type AttachmentBodyPart ¶ added in v0.3.0
type AttachmentBodyPart struct {
Body *ContentReference
Category Optional[string]
ID string
Kind AttachmentBodyPartKind
MediaType string
Selection AttachmentBodyPartSelection
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
AttachmentBodyPart is generated from schema/draft/content-item.schema.json#/$defs/attachmentBodyPart.
func (AttachmentBodyPart) MarshalJSON ¶ added in v0.3.0
func (value AttachmentBodyPart) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*AttachmentBodyPart) UnmarshalJSON ¶ added in v0.3.0
func (value *AttachmentBodyPart) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AttachmentBodyPartKind ¶ added in v0.3.0
type AttachmentBodyPartKind string
AttachmentBodyPartKind is a generated schema value.
const AttachmentBodyPartKindAttachment AttachmentBodyPartKind = "attachment"
func (*AttachmentBodyPartKind) UnmarshalJSON ¶ added in v0.3.0
func (value *AttachmentBodyPartKind) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AttachmentBodyPartSelection ¶ added in v0.3.0
type AttachmentBodyPartSelection string
AttachmentBodyPartSelection is a generated schema value.
const AttachmentBodyPartSelectionBody AttachmentBodyPartSelection = "body"
func (*AttachmentBodyPartSelection) UnmarshalJSON ¶ added in v0.3.0
func (value *AttachmentBodyPartSelection) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AttachmentGapPart ¶ added in v0.3.0
type AttachmentGapPart struct {
Category Optional[string]
Gap AttachmentGapPartGap
ID string
Kind AttachmentGapPartKind
MediaType string
Selection AttachmentGapPartSelection
Sha256 Optional[string]
Size Optional[json.Number]
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
AttachmentGapPart is generated from schema/draft/content-item.schema.json#/$defs/attachmentGapPart.
func (AttachmentGapPart) MarshalJSON ¶ added in v0.3.0
func (value AttachmentGapPart) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*AttachmentGapPart) UnmarshalJSON ¶ added in v0.3.0
func (value *AttachmentGapPart) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AttachmentGapPartGap ¶ added in v0.3.0
type AttachmentGapPartGap struct {
Path Optional[string]
Reason string
AdditionalProperties map[string]json.RawMessage
}
AttachmentGapPartGap is a generated nested model.
func (AttachmentGapPartGap) MarshalJSON ¶ added in v0.3.0
func (value AttachmentGapPartGap) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*AttachmentGapPartGap) UnmarshalJSON ¶ added in v0.3.0
func (value *AttachmentGapPartGap) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AttachmentGapPartKind ¶ added in v0.3.0
type AttachmentGapPartKind string
AttachmentGapPartKind is a generated schema value.
const AttachmentGapPartKindAttachment AttachmentGapPartKind = "attachment"
func (*AttachmentGapPartKind) UnmarshalJSON ¶ added in v0.3.0
func (value *AttachmentGapPartKind) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AttachmentGapPartSelection ¶ added in v0.3.0
type AttachmentGapPartSelection string
AttachmentGapPartSelection is a generated schema value.
const AttachmentGapPartSelectionBody AttachmentGapPartSelection = "body"
func (*AttachmentGapPartSelection) UnmarshalJSON ¶ added in v0.3.0
func (value *AttachmentGapPartSelection) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AttachmentMetadataPart ¶ added in v0.3.0
type AttachmentMetadataPart struct {
Category Optional[string]
ID string
Kind AttachmentMetadataPartKind
MediaType string
Selection AttachmentMetadataPartSelection
Sha256 Optional[string]
Size Optional[json.Number]
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
AttachmentMetadataPart is generated from schema/draft/content-item.schema.json#/$defs/attachmentMetadataPart.
func (AttachmentMetadataPart) MarshalJSON ¶ added in v0.3.0
func (value AttachmentMetadataPart) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*AttachmentMetadataPart) UnmarshalJSON ¶ added in v0.3.0
func (value *AttachmentMetadataPart) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AttachmentMetadataPartKind ¶ added in v0.3.0
type AttachmentMetadataPartKind string
AttachmentMetadataPartKind is a generated schema value.
const AttachmentMetadataPartKindAttachment AttachmentMetadataPartKind = "attachment"
func (*AttachmentMetadataPartKind) UnmarshalJSON ¶ added in v0.3.0
func (value *AttachmentMetadataPartKind) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AttachmentMetadataPartSelection ¶ added in v0.3.0
type AttachmentMetadataPartSelection string
AttachmentMetadataPartSelection is a generated schema value.
const AttachmentMetadataPartSelectionMetadata AttachmentMetadataPartSelection = "metadata"
func (*AttachmentMetadataPartSelection) UnmarshalJSON ¶ added in v0.3.0
func (value *AttachmentMetadataPartSelection) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AttachmentOmittedPart ¶ added in v0.3.0
type AttachmentOmittedPart struct {
Category Optional[string]
ID string
Kind AttachmentOmittedPartKind
MediaType string
Selection AttachmentOmittedPartSelection
Sha256 Optional[string]
Size Optional[json.Number]
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
AttachmentOmittedPart is generated from schema/draft/content-item.schema.json#/$defs/attachmentOmittedPart.
func (AttachmentOmittedPart) MarshalJSON ¶ added in v0.3.0
func (value AttachmentOmittedPart) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*AttachmentOmittedPart) UnmarshalJSON ¶ added in v0.3.0
func (value *AttachmentOmittedPart) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AttachmentOmittedPartKind ¶ added in v0.3.0
type AttachmentOmittedPartKind string
AttachmentOmittedPartKind is a generated schema value.
const AttachmentOmittedPartKindAttachment AttachmentOmittedPartKind = "attachment"
func (*AttachmentOmittedPartKind) UnmarshalJSON ¶ added in v0.3.0
func (value *AttachmentOmittedPartKind) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AttachmentOmittedPartSelection ¶ added in v0.3.0
type AttachmentOmittedPartSelection string
AttachmentOmittedPartSelection is a generated schema value.
const AttachmentOmittedPartSelectionOmit AttachmentOmittedPartSelection = "omit"
func (*AttachmentOmittedPartSelection) UnmarshalJSON ¶ added in v0.3.0
func (value *AttachmentOmittedPartSelection) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type Authentication ¶
type Authentication struct {
Bearer Optional[AuthenticationBearer]
Oauth Optional[AuthenticationOauth]
Unknown json.RawMessage
}
Authentication is generated from schema/draft/registration.schema.json#/$defs/authentication.
func (Authentication) MarshalJSON ¶
func (value Authentication) MarshalJSON() ([]byte, error)
func (*Authentication) UnmarshalJSON ¶
func (value *Authentication) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AuthenticationBearer ¶ added in v0.1.1
type AuthenticationBearer struct {
TokenEnv Optional[string]
TokenRef Optional[string]
Type AuthenticationBearerType
AdditionalProperties map[string]json.RawMessage
}
AuthenticationBearer is a generated nested model.
func (AuthenticationBearer) MarshalJSON ¶ added in v0.1.1
func (value AuthenticationBearer) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*AuthenticationBearer) UnmarshalJSON ¶ added in v0.1.1
func (value *AuthenticationBearer) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AuthenticationBearerType ¶ added in v0.1.1
type AuthenticationBearerType string
AuthenticationBearerType is a generated schema value.
const AuthenticationBearerTypeBearer AuthenticationBearerType = "bearer"
func (*AuthenticationBearerType) UnmarshalJSON ¶ added in v0.1.1
func (value *AuthenticationBearerType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AuthenticationOauth ¶ added in v0.1.1
type AuthenticationOauth struct {
ClientId string
ClientSecretRef Optional[string]
Flow AuthenticationOauthFlow
Issuer string
Resource string
Scopes Optional[[]string]
Type AuthenticationOauthType
AdditionalProperties map[string]json.RawMessage
}
AuthenticationOauth is a generated nested model.
func (AuthenticationOauth) MarshalJSON ¶ added in v0.1.1
func (value AuthenticationOauth) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*AuthenticationOauth) UnmarshalJSON ¶ added in v0.1.1
func (value *AuthenticationOauth) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AuthenticationOauthFlow ¶ added in v0.1.1
type AuthenticationOauthFlow string
AuthenticationOauthFlow is a generated schema value.
const AuthenticationOauthFlowAuthorizationCodePkce AuthenticationOauthFlow = "authorization_code_pkce"
const AuthenticationOauthFlowClientCredentials AuthenticationOauthFlow = "client_credentials"
func (*AuthenticationOauthFlow) UnmarshalJSON ¶ added in v0.1.1
func (value *AuthenticationOauthFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type AuthenticationOauthType ¶ added in v0.1.1
type AuthenticationOauthType string
AuthenticationOauthType is a generated schema value.
const AuthenticationOauthTypeOauth AuthenticationOauthType = "oauth"
func (*AuthenticationOauthType) UnmarshalJSON ¶ added in v0.1.1
func (value *AuthenticationOauthType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type Backend ¶
type Backend struct {
Authentication Optional[*Authentication]
ID *ReverseDnsName
Subscriptions []BackendSubscriptionsItem
Transport BackendTransport
AdditionalProperties map[string]json.RawMessage
}
Backend is generated from schema/draft/registration.schema.json#/$defs/backend.
func (Backend) MarshalJSON ¶
MarshalJSON emits known fields together with all retained members.
func (*Backend) UnmarshalJSON ¶
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type BackendSubscriptionsItem ¶
type BackendSubscriptionsItem struct {
InterceptSubscription Optional[*InterceptSubscription]
ObserveSubscription Optional[*ObserveSubscription]
Unknown json.RawMessage
}
BackendSubscriptionsItem is a generated union model.
func (BackendSubscriptionsItem) MarshalJSON ¶
func (value BackendSubscriptionsItem) MarshalJSON() ([]byte, error)
func (*BackendSubscriptionsItem) UnmarshalJSON ¶
func (value *BackendSubscriptionsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type BackendTransport ¶
type BackendTransport struct {
StdioTransport Optional[*StdioTransport]
HttpTransport Optional[*HttpTransport]
Unknown json.RawMessage
}
BackendTransport is a generated union model.
func (BackendTransport) MarshalJSON ¶
func (value BackendTransport) MarshalJSON() ([]byte, error)
func (*BackendTransport) UnmarshalJSON ¶
func (value *BackendTransport) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CanonicalMessage ¶ added in v0.3.0
type CanonicalMessage struct {
ID string
Parts []*ContentItem
Role CanonicalMessageRole
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
CanonicalMessage is generated from schema/draft/content-item.schema.json#/$defs/message.
func (CanonicalMessage) MarshalJSON ¶ added in v0.3.0
func (value CanonicalMessage) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CanonicalMessage) UnmarshalJSON ¶ added in v0.3.0
func (value *CanonicalMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CanonicalMessageRole ¶ added in v0.3.0
type CanonicalMessageRole string
CanonicalMessageRole is a generated schema value.
const CanonicalMessageRoleAssistant CanonicalMessageRole = "assistant"
const CanonicalMessageRoleDeveloper CanonicalMessageRole = "developer"
const CanonicalMessageRoleSystem CanonicalMessageRole = "system"
const CanonicalMessageRoleTool CanonicalMessageRole = "tool"
const CanonicalMessageRoleUser CanonicalMessageRole = "user"
func (*CanonicalMessageRole) UnmarshalJSON ¶ added in v0.3.0
func (value *CanonicalMessageRole) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CanonicalMessages ¶ added in v0.3.0
type CanonicalMessages []*CanonicalMessage
CanonicalMessages is a structurally validated schema value.
func (CanonicalMessages) MarshalJSON ¶ added in v0.3.0
func (value CanonicalMessages) MarshalJSON() ([]byte, error)
func (*CanonicalMessages) UnmarshalJSON ¶ added in v0.3.0
func (value *CanonicalMessages) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type Capabilities ¶
type Capabilities struct {
Effects []CapabilitiesEffectsItem
Elicitation Optional[CapabilitiesElicitation]
Flow Optional[CapabilitiesFlow]
Inject Optional[CapabilitiesInject]
Modify Optional[CapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
Capabilities is generated from schema/draft/capabilities.schema.json#.
func (Capabilities) MarshalJSON ¶
func (value Capabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (Capabilities) Supports ¶ added in v0.1.1
func (value Capabilities) Supports(effect EffectName) bool
Supports reports advertised effect-family membership only. It does not grant execution permission or check target, operation, mode, or per-call restrictions. Nested grants alone never imply family support.
func (*Capabilities) UnmarshalJSON ¶
func (value *Capabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesEffectsItem ¶
type CapabilitiesEffectsItem struct {
Known Optional[CapabilitiesEffectsItemKnown]
Custom Optional[string]
Unknown json.RawMessage
}
CapabilitiesEffectsItem is a generated union model.
func (CapabilitiesEffectsItem) MarshalJSON ¶
func (value CapabilitiesEffectsItem) MarshalJSON() ([]byte, error)
func (*CapabilitiesEffectsItem) UnmarshalJSON ¶
func (value *CapabilitiesEffectsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesEffectsItemKnown ¶ added in v0.1.1
type CapabilitiesEffectsItemKnown string
CapabilitiesEffectsItemKnown is a generated schema value.
const CapabilitiesEffectsItemKnownAllow CapabilitiesEffectsItemKnown = "allow"
const CapabilitiesEffectsItemKnownAsk CapabilitiesEffectsItemKnown = "ask"
const CapabilitiesEffectsItemKnownDeny CapabilitiesEffectsItemKnown = "deny"
const CapabilitiesEffectsItemKnownFlow CapabilitiesEffectsItemKnown = "flow"
const CapabilitiesEffectsItemKnownInject CapabilitiesEffectsItemKnown = "inject"
const CapabilitiesEffectsItemKnownMessage CapabilitiesEffectsItemKnown = "message"
const CapabilitiesEffectsItemKnownModify CapabilitiesEffectsItemKnown = "modify"
const CapabilitiesEffectsItemKnownReturn CapabilitiesEffectsItemKnown = "return"
func (*CapabilitiesEffectsItemKnown) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesEffectsItemKnown) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesElicitation ¶
type CapabilitiesElicitation struct {
Form Optional[CapabilitiesElicitationForm]
URL Optional[CapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesElicitation is a generated nested model.
func (CapabilitiesElicitation) MarshalJSON ¶
func (value CapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesElicitation) UnmarshalJSON ¶
func (value *CapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesElicitationForm ¶
type CapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesElicitationForm is a generated nested model.
func (CapabilitiesElicitationForm) MarshalJSON ¶
func (value CapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *CapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesElicitationURL ¶
type CapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesElicitationURL is a generated nested model.
func (CapabilitiesElicitationURL) MarshalJSON ¶
func (value CapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *CapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesFlow ¶
type CapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations []CapabilitiesFlowOperationsItem
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesFlow is a generated nested model.
func (CapabilitiesFlow) MarshalJSON ¶
func (value CapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesFlow) UnmarshalJSON ¶
func (value *CapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesFlowOperationsItem ¶
type CapabilitiesFlowOperationsItem string
CapabilitiesFlowOperationsItem is a generated schema value.
const CapabilitiesFlowOperationsItemContinue CapabilitiesFlowOperationsItem = "continue"
const CapabilitiesFlowOperationsItemStop CapabilitiesFlowOperationsItem = "stop"
func (*CapabilitiesFlowOperationsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesInject ¶
type CapabilitiesInject struct {
Context CapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesInject is a generated nested model.
func (CapabilitiesInject) MarshalJSON ¶
func (value CapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesInject) UnmarshalJSON ¶
func (value *CapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesInjectContext ¶
type CapabilitiesInjectContext struct {
Append CapabilitiesInjectContextAppend
DeliverAt []CapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesInjectContext is a generated nested model.
func (CapabilitiesInjectContext) MarshalJSON ¶
func (value CapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesInjectContext) UnmarshalJSON ¶
func (value *CapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesInjectContextAppend ¶
type CapabilitiesInjectContextAppend bool
CapabilitiesInjectContextAppend is a generated schema value.
const CapabilitiesInjectContextAppendTrue CapabilitiesInjectContextAppend = true
func (*CapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesInjectContextDeliverAtItem ¶
type CapabilitiesInjectContextDeliverAtItem string
CapabilitiesInjectContextDeliverAtItem is a generated schema value.
const CapabilitiesInjectContextDeliverAtItemNextTurn CapabilitiesInjectContextDeliverAtItem = "next_turn"
const CapabilitiesInjectContextDeliverAtItemNow CapabilitiesInjectContextDeliverAtItem = "now"
func (*CapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesModify ¶
type CapabilitiesModify struct {
Content Optional[CapabilitiesModifyContent]
Input Optional[CapabilitiesModifyInput]
Instructions Optional[CapabilitiesModifyInstructions]
Output Optional[CapabilitiesModifyOutput]
Prompt Optional[CapabilitiesModifyPrompt]
Request Optional[CapabilitiesModifyRequest]
Response Optional[CapabilitiesModifyResponse]
Summary Optional[CapabilitiesModifySummary]
Workspace Optional[CapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesModify is a generated nested model.
func (CapabilitiesModify) MarshalJSON ¶
func (value CapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesModify) UnmarshalJSON ¶
func (value *CapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesModifyContent ¶ added in v0.1.1
type CapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesModifyContent is a generated nested model.
func (CapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value CapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesModifyInput ¶ added in v0.1.1
type CapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesModifyInput is a generated nested model.
func (CapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value CapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesModifyInstructions ¶ added in v0.1.1
type CapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesModifyInstructions is a generated nested model.
func (CapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value CapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesModifyOutput ¶ added in v0.1.1
type CapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesModifyOutput is a generated nested model.
func (CapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value CapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesModifyPrompt ¶ added in v0.1.1
type CapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesModifyPrompt is a generated nested model.
func (CapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value CapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesModifyRequest ¶ added in v0.1.1
type CapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesModifyRequest is a generated nested model.
func (CapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value CapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesModifyResponse ¶ added in v0.1.1
type CapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesModifyResponse is a generated nested model.
func (CapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value CapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesModifySummary ¶ added in v0.1.1
type CapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesModifySummary is a generated nested model.
func (CapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value CapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesModifyWorkspace ¶ added in v0.1.1
type CapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesModifyWorkspace is a generated nested model.
func (CapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value CapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesRequest ¶
type CapabilitiesRequest struct {
ID *JsonRpcId
JSONRPC CapabilitiesRequestJSONRPC
Method CapabilitiesRequestMethod
Params CapabilitiesRequestParams
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesRequest is generated from schema/draft/capabilities-request.schema.json#.
func (CapabilitiesRequest) MarshalJSON ¶
func (value CapabilitiesRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesRequest) UnmarshalJSON ¶
func (value *CapabilitiesRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesRequestJSONRPC ¶
type CapabilitiesRequestJSONRPC string
CapabilitiesRequestJSONRPC is a generated schema value.
const CapabilitiesRequestJSONRPCValue20 CapabilitiesRequestJSONRPC = "2.0"
func (*CapabilitiesRequestJSONRPC) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesRequestJSONRPC) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesRequestMethod ¶ added in v0.1.1
type CapabilitiesRequestMethod CapabilitiesRequestMethodValue
CapabilitiesRequestMethod is a structurally validated schema value.
func (CapabilitiesRequestMethod) MarshalJSON ¶ added in v0.1.1
func (value CapabilitiesRequestMethod) MarshalJSON() ([]byte, error)
func (*CapabilitiesRequestMethod) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesRequestMethod) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesRequestMethodValue ¶ added in v0.1.1
type CapabilitiesRequestMethodValue string
CapabilitiesRequestMethodValue is a generated schema value.
const CapabilitiesRequestMethodValueHooksCapabilities CapabilitiesRequestMethodValue = "hooks/capabilities"
func (*CapabilitiesRequestMethodValue) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesRequestMethodValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesRequestParams ¶
type CapabilitiesRequestParams struct {
ProtocolVersion *ProtocolVersion
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesRequestParams is a generated nested model.
func (CapabilitiesRequestParams) MarshalJSON ¶
func (value CapabilitiesRequestParams) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesRequestParams) UnmarshalJSON ¶
func (value *CapabilitiesRequestParams) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesResponse ¶
type CapabilitiesResponse struct {
ID JsonRpcResponseId
JSONRPC CapabilitiesResponseJSONRPC
Result CapabilitiesResponseResult
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesResponse is generated from schema/draft/capabilities-response.schema.json#.
func (CapabilitiesResponse) MarshalJSON ¶
func (value CapabilitiesResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesResponse) UnmarshalJSON ¶
func (value *CapabilitiesResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesResponseJSONRPC ¶
type CapabilitiesResponseJSONRPC string
CapabilitiesResponseJSONRPC is a generated schema value.
const CapabilitiesResponseJSONRPCValue20 CapabilitiesResponseJSONRPC = "2.0"
func (*CapabilitiesResponseJSONRPC) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesResponseJSONRPC) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesResponseResult ¶
type CapabilitiesResponseResult struct {
Manifest CapabilitiesResponseResultManifest
ProtocolVersion *ProtocolVersion
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesResponseResult is a generated nested model.
func (CapabilitiesResponseResult) MarshalJSON ¶
func (value CapabilitiesResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesResponseResult) UnmarshalJSON ¶
func (value *CapabilitiesResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesResponseResultManifest ¶
type CapabilitiesResponseResultManifest struct {
Authentication []CapabilitiesResponseResultManifestAuthenticationItem
ContentCategories []string
CorrelationIdentityFields []string
Events []CapabilitiesResponseResultManifestEventsItem
Gaps []CapabilitiesResponseResultManifestGapsItem
Limits CapabilitiesResponseResultManifestLimits
ManagedPolicy CapabilitiesResponseResultManifestManagedPolicy
ToolPaths []string
Transports []CapabilitiesResponseResultManifestTransportsItem
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesResponseResultManifest is a generated nested model.
func (CapabilitiesResponseResultManifest) MarshalJSON ¶
func (value CapabilitiesResponseResultManifest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesResponseResultManifest) UnmarshalJSON ¶
func (value *CapabilitiesResponseResultManifest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesResponseResultManifestAuthenticationItem ¶
type CapabilitiesResponseResultManifestAuthenticationItem string
CapabilitiesResponseResultManifestAuthenticationItem is a generated schema value.
const CapabilitiesResponseResultManifestAuthenticationItemBearer CapabilitiesResponseResultManifestAuthenticationItem = "bearer"
const CapabilitiesResponseResultManifestAuthenticationItemOauth CapabilitiesResponseResultManifestAuthenticationItem = "oauth"
func (*CapabilitiesResponseResultManifestAuthenticationItem) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesResponseResultManifestAuthenticationItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesResponseResultManifestEventsItem ¶
type CapabilitiesResponseResultManifestEventsItem struct {
Capabilities Optional[*Capabilities]
Event CapabilitiesResponseResultManifestEventsItemEvent
Modes []CapabilitiesResponseResultManifestEventsItemModesItem
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesResponseResultManifestEventsItem is a generated nested model.
func (CapabilitiesResponseResultManifestEventsItem) MarshalJSON ¶
func (value CapabilitiesResponseResultManifestEventsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesResponseResultManifestEventsItem) UnmarshalJSON ¶
func (value *CapabilitiesResponseResultManifestEventsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesResponseResultManifestEventsItemEvent ¶
type CapabilitiesResponseResultManifestEventsItemEvent string
CapabilitiesResponseResultManifestEventsItemEvent is a generated schema value.
const CapabilitiesResponseResultManifestEventsItemEventConfigChangeAfter CapabilitiesResponseResultManifestEventsItemEvent = "config.change.after"
const CapabilitiesResponseResultManifestEventsItemEventConfigChangeBefore CapabilitiesResponseResultManifestEventsItemEvent = "config.change.before"
const CapabilitiesResponseResultManifestEventsItemEventContextCompactAfter CapabilitiesResponseResultManifestEventsItemEvent = "context.compact.after"
const CapabilitiesResponseResultManifestEventsItemEventContextCompactBefore CapabilitiesResponseResultManifestEventsItemEvent = "context.compact.before"
const CapabilitiesResponseResultManifestEventsItemEventFileChanged CapabilitiesResponseResultManifestEventsItemEvent = "file.changed"
const CapabilitiesResponseResultManifestEventsItemEventHookFailure CapabilitiesResponseResultManifestEventsItemEvent = "hook.failure"
const CapabilitiesResponseResultManifestEventsItemEventModelError CapabilitiesResponseResultManifestEventsItemEvent = "model.error"
const CapabilitiesResponseResultManifestEventsItemEventModelRequestBefore CapabilitiesResponseResultManifestEventsItemEvent = "model.request.before"
const CapabilitiesResponseResultManifestEventsItemEventModelResponseAfter CapabilitiesResponseResultManifestEventsItemEvent = "model.response.after"
const CapabilitiesResponseResultManifestEventsItemEventModelSwitchAfter CapabilitiesResponseResultManifestEventsItemEvent = "model.switch.after"
const CapabilitiesResponseResultManifestEventsItemEventModelSwitchBefore CapabilitiesResponseResultManifestEventsItemEvent = "model.switch.before"
const CapabilitiesResponseResultManifestEventsItemEventSessionEnd CapabilitiesResponseResultManifestEventsItemEvent = "session.end"
const CapabilitiesResponseResultManifestEventsItemEventSessionStart CapabilitiesResponseResultManifestEventsItemEvent = "session.start"
const CapabilitiesResponseResultManifestEventsItemEventTaskChangeAfter CapabilitiesResponseResultManifestEventsItemEvent = "task.change.after"
const CapabilitiesResponseResultManifestEventsItemEventTaskChangeBefore CapabilitiesResponseResultManifestEventsItemEvent = "task.change.before"
const CapabilitiesResponseResultManifestEventsItemEventToolAfter CapabilitiesResponseResultManifestEventsItemEvent = "tool.after"
const CapabilitiesResponseResultManifestEventsItemEventToolBatchAfter CapabilitiesResponseResultManifestEventsItemEvent = "tool.batch.after"
const CapabilitiesResponseResultManifestEventsItemEventToolBefore CapabilitiesResponseResultManifestEventsItemEvent = "tool.before"
const CapabilitiesResponseResultManifestEventsItemEventToolPermissionRequest CapabilitiesResponseResultManifestEventsItemEvent = "tool.permission.request"
const CapabilitiesResponseResultManifestEventsItemEventToolPermissionResolved CapabilitiesResponseResultManifestEventsItemEvent = "tool.permission.resolved"
const CapabilitiesResponseResultManifestEventsItemEventToolProgress CapabilitiesResponseResultManifestEventsItemEvent = "tool.progress"
const CapabilitiesResponseResultManifestEventsItemEventTurnEnd CapabilitiesResponseResultManifestEventsItemEvent = "turn.end"
const CapabilitiesResponseResultManifestEventsItemEventTurnFinishBefore CapabilitiesResponseResultManifestEventsItemEvent = "turn.finish.before"
const CapabilitiesResponseResultManifestEventsItemEventTurnProgress CapabilitiesResponseResultManifestEventsItemEvent = "turn.progress"
const CapabilitiesResponseResultManifestEventsItemEventTurnStart CapabilitiesResponseResultManifestEventsItemEvent = "turn.start"
const CapabilitiesResponseResultManifestEventsItemEventUserAttention CapabilitiesResponseResultManifestEventsItemEvent = "user.attention"
const CapabilitiesResponseResultManifestEventsItemEventUserElicitationRequest CapabilitiesResponseResultManifestEventsItemEvent = "user.elicitation.request"
const CapabilitiesResponseResultManifestEventsItemEventUserElicitationResult CapabilitiesResponseResultManifestEventsItemEvent = "user.elicitation.result"
const CapabilitiesResponseResultManifestEventsItemEventUserMessageInbound CapabilitiesResponseResultManifestEventsItemEvent = "user.message.inbound"
const CapabilitiesResponseResultManifestEventsItemEventUserMessageOutbound CapabilitiesResponseResultManifestEventsItemEvent = "user.message.outbound"
const CapabilitiesResponseResultManifestEventsItemEventWorkspaceChangeAfter CapabilitiesResponseResultManifestEventsItemEvent = "workspace.change.after"
const CapabilitiesResponseResultManifestEventsItemEventWorkspaceChangeBefore CapabilitiesResponseResultManifestEventsItemEvent = "workspace.change.before"
func (*CapabilitiesResponseResultManifestEventsItemEvent) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesResponseResultManifestEventsItemEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesResponseResultManifestEventsItemModesItem ¶
type CapabilitiesResponseResultManifestEventsItemModesItem string
CapabilitiesResponseResultManifestEventsItemModesItem is a generated schema value.
const CapabilitiesResponseResultManifestEventsItemModesItemIntercept CapabilitiesResponseResultManifestEventsItemModesItem = "intercept"
const CapabilitiesResponseResultManifestEventsItemModesItemObserve CapabilitiesResponseResultManifestEventsItemModesItem = "observe"
func (*CapabilitiesResponseResultManifestEventsItemModesItem) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesResponseResultManifestEventsItemModesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesResponseResultManifestGapsItem ¶
type CapabilitiesResponseResultManifestGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesResponseResultManifestGapsItem is a generated nested model.
func (CapabilitiesResponseResultManifestGapsItem) MarshalJSON ¶
func (value CapabilitiesResponseResultManifestGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesResponseResultManifestGapsItem) UnmarshalJSON ¶
func (value *CapabilitiesResponseResultManifestGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesResponseResultManifestLimits ¶
type CapabilitiesResponseResultManifestLimits struct {
MaxContinuations Optional[json.Number]
MaxTimeoutMs Optional[json.Number]
MaxUploadBytes Optional[json.Number]
MinTimeoutMs Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesResponseResultManifestLimits is a generated nested model.
func (CapabilitiesResponseResultManifestLimits) MarshalJSON ¶
func (value CapabilitiesResponseResultManifestLimits) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesResponseResultManifestLimits) UnmarshalJSON ¶
func (value *CapabilitiesResponseResultManifestLimits) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesResponseResultManifestManagedPolicy ¶
type CapabilitiesResponseResultManifestManagedPolicy struct {
Disableable bool
Scopes []CapabilitiesResponseResultManifestManagedPolicyScopesItem
AdditionalProperties map[string]json.RawMessage
}
CapabilitiesResponseResultManifestManagedPolicy is a generated nested model.
func (CapabilitiesResponseResultManifestManagedPolicy) MarshalJSON ¶
func (value CapabilitiesResponseResultManifestManagedPolicy) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*CapabilitiesResponseResultManifestManagedPolicy) UnmarshalJSON ¶
func (value *CapabilitiesResponseResultManifestManagedPolicy) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesResponseResultManifestManagedPolicyScopesItem ¶
type CapabilitiesResponseResultManifestManagedPolicyScopesItem string
CapabilitiesResponseResultManifestManagedPolicyScopesItem is a generated schema value.
const CapabilitiesResponseResultManifestManagedPolicyScopesItemManaged CapabilitiesResponseResultManifestManagedPolicyScopesItem = "managed"
const CapabilitiesResponseResultManifestManagedPolicyScopesItemProject CapabilitiesResponseResultManifestManagedPolicyScopesItem = "project"
const CapabilitiesResponseResultManifestManagedPolicyScopesItemUser CapabilitiesResponseResultManifestManagedPolicyScopesItem = "user"
func (*CapabilitiesResponseResultManifestManagedPolicyScopesItem) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesResponseResultManifestManagedPolicyScopesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CapabilitiesResponseResultManifestTransportsItem ¶
type CapabilitiesResponseResultManifestTransportsItem string
CapabilitiesResponseResultManifestTransportsItem is a generated schema value.
const CapabilitiesResponseResultManifestTransportsItemHTTP CapabilitiesResponseResultManifestTransportsItem = "http"
const CapabilitiesResponseResultManifestTransportsItemInProcess CapabilitiesResponseResultManifestTransportsItem = "in_process"
const CapabilitiesResponseResultManifestTransportsItemStdio CapabilitiesResponseResultManifestTransportsItem = "stdio"
func (*CapabilitiesResponseResultManifestTransportsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *CapabilitiesResponseResultManifestTransportsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type CatalogueEvent ¶
type CatalogueEvent struct {
ConfigChangeBeforeEvent Optional[*ConfigChangeBeforeEvent]
ConfigChangeAfterEvent Optional[*ConfigChangeAfterEvent]
TurnStartEvent Optional[*TurnStartEvent]
TurnFinishBeforeEvent Optional[*TurnFinishBeforeEvent]
TurnEndEvent Optional[*TurnEndEvent]
TurnProgressEvent Optional[*TurnProgressEvent]
ModelRequestBeforeEvent Optional[*ModelRequestBeforeEvent]
ModelResponseAfterEvent Optional[*ModelResponseAfterEvent]
ModelErrorEvent Optional[*ModelErrorEvent]
ModelSwitchBeforeEvent Optional[*ModelSwitchBeforeEvent]
ModelSwitchAfterEvent Optional[*ModelSwitchAfterEvent]
ToolPermissionRequestEvent Optional[*ToolPermissionRequestEvent]
ToolPermissionResolvedEvent Optional[*ToolPermissionResolvedEvent]
ToolProgressEvent Optional[*ToolProgressEvent]
ToolBatchAfterEvent Optional[*ToolBatchAfterEvent]
ContextCompactBeforeEvent Optional[*ContextCompactBeforeEvent]
ContextCompactAfterEvent Optional[*ContextCompactAfterEvent]
TaskChangeBeforeEvent Optional[*TaskChangeBeforeEvent]
TaskChangeAfterEvent Optional[*TaskChangeAfterEvent]
UserAttentionEvent Optional[*UserAttentionEvent]
UserElicitationRequestEvent Optional[*UserElicitationRequestEvent]
UserElicitationResultEvent Optional[*UserElicitationResultEvent]
UserMessageInboundEvent Optional[*UserMessageInboundEvent]
UserMessageOutboundEvent Optional[*UserMessageOutboundEvent]
WorkspaceChangeBeforeEvent Optional[*WorkspaceChangeBeforeEvent]
WorkspaceChangeAfterEvent Optional[*WorkspaceChangeAfterEvent]
FileChangedEvent Optional[*FileChangedEvent]
HookFailureEvent Optional[*HookFailureEvent]
Unknown json.RawMessage
}
CatalogueEvent is generated from schema/draft/catalogue-event.schema.json#.
func (CatalogueEvent) MarshalJSON ¶
func (value CatalogueEvent) MarshalJSON() ([]byte, error)
func (*CatalogueEvent) UnmarshalJSON ¶
func (value *CatalogueEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeAfterEvent ¶
type ConfigChangeAfterEvent struct {
Change ConfigChangeAfterEventChange
Extensions Optional[*Extensions]
Gaps Optional[[]ConfigChangeAfterEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[ConfigChangeAfterEventTurn]
Type ConfigChangeAfterEventType
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeAfterEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/config.change.after.
func (ConfigChangeAfterEvent) MarshalJSON ¶
func (value ConfigChangeAfterEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeAfterEvent) UnmarshalJSON ¶
func (value *ConfigChangeAfterEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeAfterEventChange ¶
type ConfigChangeAfterEventChange struct {
McpServers Optional[[]ConfigChangeAfterEventChangeMcpServersItem]
Path Optional[string]
Scope string
Settings []string
Source string
Summary string
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeAfterEventChange is a generated nested model.
func (ConfigChangeAfterEventChange) MarshalJSON ¶
func (value ConfigChangeAfterEventChange) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeAfterEventChange) UnmarshalJSON ¶
func (value *ConfigChangeAfterEventChange) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeAfterEventChangeMcpServersItem ¶
type ConfigChangeAfterEventChangeMcpServersItem struct {
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeAfterEventChangeMcpServersItem is a generated nested model.
func (ConfigChangeAfterEventChangeMcpServersItem) MarshalJSON ¶
func (value ConfigChangeAfterEventChangeMcpServersItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeAfterEventChangeMcpServersItem) UnmarshalJSON ¶
func (value *ConfigChangeAfterEventChangeMcpServersItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeAfterEventGapsItem ¶
type ConfigChangeAfterEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeAfterEventGapsItem is a generated nested model.
func (ConfigChangeAfterEventGapsItem) MarshalJSON ¶
func (value ConfigChangeAfterEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeAfterEventGapsItem) UnmarshalJSON ¶
func (value *ConfigChangeAfterEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeAfterEventTurn ¶
type ConfigChangeAfterEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeAfterEventTurn is a generated nested model.
func (ConfigChangeAfterEventTurn) MarshalJSON ¶
func (value ConfigChangeAfterEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeAfterEventTurn) UnmarshalJSON ¶
func (value *ConfigChangeAfterEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeAfterEventType ¶
type ConfigChangeAfterEventType string
ConfigChangeAfterEventType is a generated schema value.
const ConfigChangeAfterEventTypeConfigChangeAfter ConfigChangeAfterEventType = "config.change.after"
func (*ConfigChangeAfterEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *ConfigChangeAfterEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilities ¶
type ConfigChangeBeforeCapabilities struct {
Effects ConfigChangeBeforeCapabilitiesEffects
Elicitation Optional[ConfigChangeBeforeCapabilitiesElicitation]
Flow Optional[ConfigChangeBeforeCapabilitiesFlow]
Inject Optional[ConfigChangeBeforeCapabilitiesInject]
Modify Optional[ConfigChangeBeforeCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/config.change.before.
func (ConfigChangeBeforeCapabilities) MarshalJSON ¶
func (value ConfigChangeBeforeCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilities) UnmarshalJSON ¶
func (value *ConfigChangeBeforeCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesEffects ¶ added in v0.1.1
type ConfigChangeBeforeCapabilitiesEffects []ConfigChangeBeforeCapabilitiesEffectsValueItem
ConfigChangeBeforeCapabilitiesEffects is a structurally validated schema value.
func (ConfigChangeBeforeCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value ConfigChangeBeforeCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*ConfigChangeBeforeCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *ConfigChangeBeforeCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesEffectsValueItem ¶ added in v0.1.1
type ConfigChangeBeforeCapabilitiesEffectsValueItem string
ConfigChangeBeforeCapabilitiesEffectsValueItem is a generated schema value.
const ConfigChangeBeforeCapabilitiesEffectsValueItemDeny ConfigChangeBeforeCapabilitiesEffectsValueItem = "deny"
const ConfigChangeBeforeCapabilitiesEffectsValueItemMessage ConfigChangeBeforeCapabilitiesEffectsValueItem = "message"
func (*ConfigChangeBeforeCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ConfigChangeBeforeCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesElicitation ¶
type ConfigChangeBeforeCapabilitiesElicitation struct {
Form Optional[ConfigChangeBeforeCapabilitiesElicitationForm]
URL Optional[ConfigChangeBeforeCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilitiesElicitation is a generated nested model.
func (ConfigChangeBeforeCapabilitiesElicitation) MarshalJSON ¶
func (value ConfigChangeBeforeCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilitiesElicitation) UnmarshalJSON ¶
func (value *ConfigChangeBeforeCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesElicitationForm ¶
type ConfigChangeBeforeCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilitiesElicitationForm is a generated nested model.
func (ConfigChangeBeforeCapabilitiesElicitationForm) MarshalJSON ¶
func (value ConfigChangeBeforeCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *ConfigChangeBeforeCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesElicitationURL ¶
type ConfigChangeBeforeCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilitiesElicitationURL is a generated nested model.
func (ConfigChangeBeforeCapabilitiesElicitationURL) MarshalJSON ¶
func (value ConfigChangeBeforeCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *ConfigChangeBeforeCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesFlow ¶
type ConfigChangeBeforeCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations []ConfigChangeBeforeCapabilitiesFlowOperationsItem
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilitiesFlow is a generated nested model.
func (ConfigChangeBeforeCapabilitiesFlow) MarshalJSON ¶
func (value ConfigChangeBeforeCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilitiesFlow) UnmarshalJSON ¶
func (value *ConfigChangeBeforeCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesFlowOperationsItem ¶
type ConfigChangeBeforeCapabilitiesFlowOperationsItem string
ConfigChangeBeforeCapabilitiesFlowOperationsItem is a generated schema value.
const ConfigChangeBeforeCapabilitiesFlowOperationsItemContinue ConfigChangeBeforeCapabilitiesFlowOperationsItem = "continue"
const ConfigChangeBeforeCapabilitiesFlowOperationsItemStop ConfigChangeBeforeCapabilitiesFlowOperationsItem = "stop"
func (*ConfigChangeBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ConfigChangeBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesInject ¶
type ConfigChangeBeforeCapabilitiesInject struct {
Context ConfigChangeBeforeCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilitiesInject is a generated nested model.
func (ConfigChangeBeforeCapabilitiesInject) MarshalJSON ¶
func (value ConfigChangeBeforeCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilitiesInject) UnmarshalJSON ¶
func (value *ConfigChangeBeforeCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesInjectContext ¶
type ConfigChangeBeforeCapabilitiesInjectContext struct {
Append ConfigChangeBeforeCapabilitiesInjectContextAppend
DeliverAt []ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilitiesInjectContext is a generated nested model.
func (ConfigChangeBeforeCapabilitiesInjectContext) MarshalJSON ¶
func (value ConfigChangeBeforeCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *ConfigChangeBeforeCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesInjectContextAppend ¶
type ConfigChangeBeforeCapabilitiesInjectContextAppend bool
ConfigChangeBeforeCapabilitiesInjectContextAppend is a generated schema value.
const ConfigChangeBeforeCapabilitiesInjectContextAppendTrue ConfigChangeBeforeCapabilitiesInjectContextAppend = true
func (*ConfigChangeBeforeCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *ConfigChangeBeforeCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem ¶
type ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem string
ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItemNextTurn ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItemNow ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem = "now"
func (*ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesModify ¶
type ConfigChangeBeforeCapabilitiesModify struct {
Content Optional[ConfigChangeBeforeCapabilitiesModifyContent]
Input Optional[ConfigChangeBeforeCapabilitiesModifyInput]
Instructions Optional[ConfigChangeBeforeCapabilitiesModifyInstructions]
Output Optional[ConfigChangeBeforeCapabilitiesModifyOutput]
Prompt Optional[ConfigChangeBeforeCapabilitiesModifyPrompt]
Request Optional[ConfigChangeBeforeCapabilitiesModifyRequest]
Response Optional[ConfigChangeBeforeCapabilitiesModifyResponse]
Summary Optional[ConfigChangeBeforeCapabilitiesModifySummary]
Workspace Optional[ConfigChangeBeforeCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilitiesModify is a generated nested model.
func (ConfigChangeBeforeCapabilitiesModify) MarshalJSON ¶
func (value ConfigChangeBeforeCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilitiesModify) UnmarshalJSON ¶
func (value *ConfigChangeBeforeCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesModifyContent ¶ added in v0.1.1
type ConfigChangeBeforeCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilitiesModifyContent is a generated nested model.
func (ConfigChangeBeforeCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value ConfigChangeBeforeCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *ConfigChangeBeforeCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesModifyInput ¶ added in v0.1.1
type ConfigChangeBeforeCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilitiesModifyInput is a generated nested model.
func (ConfigChangeBeforeCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value ConfigChangeBeforeCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *ConfigChangeBeforeCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesModifyInstructions ¶ added in v0.1.1
type ConfigChangeBeforeCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilitiesModifyInstructions is a generated nested model.
func (ConfigChangeBeforeCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value ConfigChangeBeforeCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *ConfigChangeBeforeCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesModifyOutput ¶ added in v0.1.1
type ConfigChangeBeforeCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilitiesModifyOutput is a generated nested model.
func (ConfigChangeBeforeCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value ConfigChangeBeforeCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *ConfigChangeBeforeCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesModifyPrompt ¶ added in v0.1.1
type ConfigChangeBeforeCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilitiesModifyPrompt is a generated nested model.
func (ConfigChangeBeforeCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value ConfigChangeBeforeCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *ConfigChangeBeforeCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesModifyRequest ¶ added in v0.1.1
type ConfigChangeBeforeCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilitiesModifyRequest is a generated nested model.
func (ConfigChangeBeforeCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value ConfigChangeBeforeCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *ConfigChangeBeforeCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesModifyResponse ¶ added in v0.1.1
type ConfigChangeBeforeCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilitiesModifyResponse is a generated nested model.
func (ConfigChangeBeforeCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value ConfigChangeBeforeCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *ConfigChangeBeforeCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesModifySummary ¶ added in v0.1.1
type ConfigChangeBeforeCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilitiesModifySummary is a generated nested model.
func (ConfigChangeBeforeCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value ConfigChangeBeforeCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *ConfigChangeBeforeCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeCapabilitiesModifyWorkspace ¶ added in v0.1.1
type ConfigChangeBeforeCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeCapabilitiesModifyWorkspace is a generated nested model.
func (ConfigChangeBeforeCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value ConfigChangeBeforeCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *ConfigChangeBeforeCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeEvent ¶
type ConfigChangeBeforeEvent struct {
Change ConfigChangeBeforeEventChange
Extensions Optional[*Extensions]
Gaps Optional[[]ConfigChangeBeforeEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[ConfigChangeBeforeEventTurn]
Type ConfigChangeBeforeEventType
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/config.change.before.
func (ConfigChangeBeforeEvent) MarshalJSON ¶
func (value ConfigChangeBeforeEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeEvent) UnmarshalJSON ¶
func (value *ConfigChangeBeforeEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeEventChange ¶
type ConfigChangeBeforeEventChange struct {
Path Optional[string]
Scope string
Settings []string
Source string
Summary string
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeEventChange is a generated nested model.
func (ConfigChangeBeforeEventChange) MarshalJSON ¶
func (value ConfigChangeBeforeEventChange) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeEventChange) UnmarshalJSON ¶
func (value *ConfigChangeBeforeEventChange) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeEventGapsItem ¶
type ConfigChangeBeforeEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeEventGapsItem is a generated nested model.
func (ConfigChangeBeforeEventGapsItem) MarshalJSON ¶
func (value ConfigChangeBeforeEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeEventGapsItem) UnmarshalJSON ¶
func (value *ConfigChangeBeforeEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeEventTurn ¶
type ConfigChangeBeforeEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ConfigChangeBeforeEventTurn is a generated nested model.
func (ConfigChangeBeforeEventTurn) MarshalJSON ¶
func (value ConfigChangeBeforeEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ConfigChangeBeforeEventTurn) UnmarshalJSON ¶
func (value *ConfigChangeBeforeEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ConfigChangeBeforeEventType ¶
type ConfigChangeBeforeEventType string
ConfigChangeBeforeEventType is a generated schema value.
const ConfigChangeBeforeEventTypeConfigChangeBefore ConfigChangeBeforeEventType = "config.change.before"
func (*ConfigChangeBeforeEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *ConfigChangeBeforeEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContentItem ¶
type ContentItem struct {
TextBodyPart Optional[*TextBodyPart]
TextGapPart Optional[*TextGapPart]
TextMetadataPart Optional[*TextMetadataPart]
TextOmittedPart Optional[*TextOmittedPart]
AttachmentBodyPart Optional[*AttachmentBodyPart]
AttachmentGapPart Optional[*AttachmentGapPart]
AttachmentMetadataPart Optional[*AttachmentMetadataPart]
AttachmentOmittedPart Optional[*AttachmentOmittedPart]
Unknown json.RawMessage
}
ContentItem is generated from schema/draft/content-item.schema.json#.
func (ContentItem) MarshalJSON ¶
func (value ContentItem) MarshalJSON() ([]byte, error)
func (*ContentItem) UnmarshalJSON ¶
func (value *ContentItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContentReference ¶
type ContentReference struct {
Ref string
AdditionalProperties map[string]json.RawMessage
}
ContentReference is generated from schema/draft/content-reference.schema.json#.
func (ContentReference) MarshalJSON ¶
func (value ContentReference) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContentReference) UnmarshalJSON ¶
func (value *ContentReference) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContentSelection ¶
type ContentSelection struct {
Audio Optional[ContentSelectionAudio]
Default ContentSelectionDefault
Files Optional[ContentSelectionFiles]
Images Optional[ContentSelectionImages]
Reasoning Optional[ContentSelectionReasoning]
Text Optional[ContentSelectionText]
Video Optional[ContentSelectionVideo]
AdditionalProperties map[string]json.RawMessage
}
ContentSelection is generated from schema/draft/content-selection.schema.json#.
func (ContentSelection) MarshalJSON ¶
func (value ContentSelection) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContentSelection) UnmarshalJSON ¶
func (value *ContentSelection) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContentSelectionAudio ¶
type ContentSelectionAudio string
ContentSelectionAudio is a generated schema value.
const ContentSelectionAudioBody ContentSelectionAudio = "body"
const ContentSelectionAudioMetadata ContentSelectionAudio = "metadata"
const ContentSelectionAudioOmit ContentSelectionAudio = "omit"
func (*ContentSelectionAudio) UnmarshalJSON ¶ added in v0.1.1
func (value *ContentSelectionAudio) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContentSelectionDefault ¶
type ContentSelectionDefault string
ContentSelectionDefault is a generated schema value.
const ContentSelectionDefaultBody ContentSelectionDefault = "body"
const ContentSelectionDefaultMetadata ContentSelectionDefault = "metadata"
const ContentSelectionDefaultOmit ContentSelectionDefault = "omit"
func (*ContentSelectionDefault) UnmarshalJSON ¶ added in v0.1.1
func (value *ContentSelectionDefault) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContentSelectionFiles ¶
type ContentSelectionFiles string
ContentSelectionFiles is a generated schema value.
const ContentSelectionFilesBody ContentSelectionFiles = "body"
const ContentSelectionFilesMetadata ContentSelectionFiles = "metadata"
const ContentSelectionFilesOmit ContentSelectionFiles = "omit"
func (*ContentSelectionFiles) UnmarshalJSON ¶ added in v0.1.1
func (value *ContentSelectionFiles) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContentSelectionImages ¶
type ContentSelectionImages string
ContentSelectionImages is a generated schema value.
const ContentSelectionImagesBody ContentSelectionImages = "body"
const ContentSelectionImagesMetadata ContentSelectionImages = "metadata"
const ContentSelectionImagesOmit ContentSelectionImages = "omit"
func (*ContentSelectionImages) UnmarshalJSON ¶ added in v0.1.1
func (value *ContentSelectionImages) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContentSelectionReasoning ¶
type ContentSelectionReasoning string
ContentSelectionReasoning is a generated schema value.
const ContentSelectionReasoningBody ContentSelectionReasoning = "body"
const ContentSelectionReasoningMetadata ContentSelectionReasoning = "metadata"
const ContentSelectionReasoningOmit ContentSelectionReasoning = "omit"
func (*ContentSelectionReasoning) UnmarshalJSON ¶ added in v0.1.1
func (value *ContentSelectionReasoning) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContentSelectionText ¶
type ContentSelectionText string
ContentSelectionText is a generated schema value.
const ContentSelectionTextBody ContentSelectionText = "body"
const ContentSelectionTextMetadata ContentSelectionText = "metadata"
const ContentSelectionTextOmit ContentSelectionText = "omit"
func (*ContentSelectionText) UnmarshalJSON ¶ added in v0.1.1
func (value *ContentSelectionText) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContentSelectionVideo ¶
type ContentSelectionVideo string
ContentSelectionVideo is a generated schema value.
const ContentSelectionVideoBody ContentSelectionVideo = "body"
const ContentSelectionVideoMetadata ContentSelectionVideo = "metadata"
const ContentSelectionVideoOmit ContentSelectionVideo = "omit"
func (*ContentSelectionVideo) UnmarshalJSON ¶ added in v0.1.1
func (value *ContentSelectionVideo) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContentUpload ¶
type ContentUpload struct {
Auth Optional[*Authentication]
Endpoint string
MaxBytes json.Number
TimeoutMs json.Number
AdditionalProperties map[string]json.RawMessage
}
ContentUpload is generated from schema/draft/content-upload.schema.json#.
func (ContentUpload) MarshalJSON ¶
func (value ContentUpload) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContentUpload) UnmarshalJSON ¶
func (value *ContentUpload) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContentUploadReceipt ¶ added in v0.1.1
type ContentUploadReceipt struct {
Ref string
Sha256 string
Size json.Number
AdditionalProperties map[string]json.RawMessage
}
ContentUploadReceipt is generated from schema/draft/content-upload-receipt.schema.json#.
func (ContentUploadReceipt) MarshalJSON ¶ added in v0.1.1
func (value ContentUploadReceipt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContentUploadReceipt) UnmarshalJSON ¶ added in v0.1.1
func (value *ContentUploadReceipt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilities ¶
type ContextCompactAfterCapabilities struct {
Effects ContextCompactAfterCapabilitiesEffects
Elicitation Optional[ContextCompactAfterCapabilitiesElicitation]
Flow Optional[ContextCompactAfterCapabilitiesFlow]
Inject Optional[ContextCompactAfterCapabilitiesInject]
Modify Optional[ContextCompactAfterCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/context.compact.after.
func (ContextCompactAfterCapabilities) MarshalJSON ¶
func (value ContextCompactAfterCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilities) UnmarshalJSON ¶
func (value *ContextCompactAfterCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesEffects ¶ added in v0.1.1
type ContextCompactAfterCapabilitiesEffects []ContextCompactAfterCapabilitiesEffectsValueItem
ContextCompactAfterCapabilitiesEffects is a structurally validated schema value.
func (ContextCompactAfterCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactAfterCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*ContextCompactAfterCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactAfterCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesEffectsValueItem ¶ added in v0.1.1
type ContextCompactAfterCapabilitiesEffectsValueItem string
ContextCompactAfterCapabilitiesEffectsValueItem is a generated schema value.
const ContextCompactAfterCapabilitiesEffectsValueItemInject ContextCompactAfterCapabilitiesEffectsValueItem = "inject"
const ContextCompactAfterCapabilitiesEffectsValueItemMessage ContextCompactAfterCapabilitiesEffectsValueItem = "message"
const ContextCompactAfterCapabilitiesEffectsValueItemModify ContextCompactAfterCapabilitiesEffectsValueItem = "modify"
func (*ContextCompactAfterCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactAfterCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesElicitation ¶
type ContextCompactAfterCapabilitiesElicitation struct {
Form Optional[ContextCompactAfterCapabilitiesElicitationForm]
URL Optional[ContextCompactAfterCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilitiesElicitation is a generated nested model.
func (ContextCompactAfterCapabilitiesElicitation) MarshalJSON ¶
func (value ContextCompactAfterCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilitiesElicitation) UnmarshalJSON ¶
func (value *ContextCompactAfterCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesElicitationForm ¶
type ContextCompactAfterCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilitiesElicitationForm is a generated nested model.
func (ContextCompactAfterCapabilitiesElicitationForm) MarshalJSON ¶
func (value ContextCompactAfterCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *ContextCompactAfterCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesElicitationURL ¶
type ContextCompactAfterCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilitiesElicitationURL is a generated nested model.
func (ContextCompactAfterCapabilitiesElicitationURL) MarshalJSON ¶
func (value ContextCompactAfterCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *ContextCompactAfterCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesFlow ¶
type ContextCompactAfterCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations []ContextCompactAfterCapabilitiesFlowOperationsItem
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilitiesFlow is a generated nested model.
func (ContextCompactAfterCapabilitiesFlow) MarshalJSON ¶
func (value ContextCompactAfterCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilitiesFlow) UnmarshalJSON ¶
func (value *ContextCompactAfterCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesFlowOperationsItem ¶
type ContextCompactAfterCapabilitiesFlowOperationsItem string
ContextCompactAfterCapabilitiesFlowOperationsItem is a generated schema value.
const ContextCompactAfterCapabilitiesFlowOperationsItemContinue ContextCompactAfterCapabilitiesFlowOperationsItem = "continue"
const ContextCompactAfterCapabilitiesFlowOperationsItemStop ContextCompactAfterCapabilitiesFlowOperationsItem = "stop"
func (*ContextCompactAfterCapabilitiesFlowOperationsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactAfterCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesInject ¶
type ContextCompactAfterCapabilitiesInject struct {
Context ContextCompactAfterCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilitiesInject is a generated nested model.
func (ContextCompactAfterCapabilitiesInject) MarshalJSON ¶
func (value ContextCompactAfterCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilitiesInject) UnmarshalJSON ¶
func (value *ContextCompactAfterCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesInjectContext ¶
type ContextCompactAfterCapabilitiesInjectContext struct {
Append ContextCompactAfterCapabilitiesInjectContextAppend
DeliverAt []ContextCompactAfterCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilitiesInjectContext is a generated nested model.
func (ContextCompactAfterCapabilitiesInjectContext) MarshalJSON ¶
func (value ContextCompactAfterCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *ContextCompactAfterCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesInjectContextAppend ¶
type ContextCompactAfterCapabilitiesInjectContextAppend bool
ContextCompactAfterCapabilitiesInjectContextAppend is a generated schema value.
const ContextCompactAfterCapabilitiesInjectContextAppendTrue ContextCompactAfterCapabilitiesInjectContextAppend = true
func (*ContextCompactAfterCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactAfterCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesInjectContextDeliverAtItem ¶
type ContextCompactAfterCapabilitiesInjectContextDeliverAtItem string
ContextCompactAfterCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const ContextCompactAfterCapabilitiesInjectContextDeliverAtItemNextTurn ContextCompactAfterCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ContextCompactAfterCapabilitiesInjectContextDeliverAtItemNow ContextCompactAfterCapabilitiesInjectContextDeliverAtItem = "now"
func (*ContextCompactAfterCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactAfterCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesModify ¶
type ContextCompactAfterCapabilitiesModify struct {
Content Optional[ContextCompactAfterCapabilitiesModifyContent]
Input Optional[ContextCompactAfterCapabilitiesModifyInput]
Instructions Optional[ContextCompactAfterCapabilitiesModifyInstructions]
Output Optional[ContextCompactAfterCapabilitiesModifyOutput]
Prompt Optional[ContextCompactAfterCapabilitiesModifyPrompt]
Request Optional[ContextCompactAfterCapabilitiesModifyRequest]
Response Optional[ContextCompactAfterCapabilitiesModifyResponse]
Summary Optional[ContextCompactAfterCapabilitiesModifySummary]
Workspace Optional[ContextCompactAfterCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilitiesModify is a generated nested model.
func (ContextCompactAfterCapabilitiesModify) MarshalJSON ¶
func (value ContextCompactAfterCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilitiesModify) UnmarshalJSON ¶
func (value *ContextCompactAfterCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesModifyContent ¶ added in v0.1.1
type ContextCompactAfterCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilitiesModifyContent is a generated nested model.
func (ContextCompactAfterCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactAfterCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactAfterCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesModifyInput ¶ added in v0.1.1
type ContextCompactAfterCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilitiesModifyInput is a generated nested model.
func (ContextCompactAfterCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactAfterCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactAfterCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesModifyInstructions ¶ added in v0.1.1
type ContextCompactAfterCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilitiesModifyInstructions is a generated nested model.
func (ContextCompactAfterCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactAfterCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactAfterCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesModifyOutput ¶ added in v0.1.1
type ContextCompactAfterCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilitiesModifyOutput is a generated nested model.
func (ContextCompactAfterCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactAfterCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactAfterCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesModifyPrompt ¶ added in v0.1.1
type ContextCompactAfterCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilitiesModifyPrompt is a generated nested model.
func (ContextCompactAfterCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactAfterCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactAfterCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesModifyRequest ¶ added in v0.1.1
type ContextCompactAfterCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilitiesModifyRequest is a generated nested model.
func (ContextCompactAfterCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactAfterCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactAfterCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesModifyResponse ¶ added in v0.1.1
type ContextCompactAfterCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilitiesModifyResponse is a generated nested model.
func (ContextCompactAfterCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactAfterCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactAfterCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesModifySummary ¶ added in v0.1.1
type ContextCompactAfterCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilitiesModifySummary is a generated nested model.
func (ContextCompactAfterCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactAfterCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactAfterCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterCapabilitiesModifyWorkspace ¶ added in v0.1.1
type ContextCompactAfterCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterCapabilitiesModifyWorkspace is a generated nested model.
func (ContextCompactAfterCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactAfterCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactAfterCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterEvent ¶
type ContextCompactAfterEvent struct {
Execution *ExecutionEventExecution
Extensions Optional[*Extensions]
Gaps Optional[[]ContextCompactAfterEventGapsItem]
ID string
Items Optional[[]*ModelVisibleItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Removed []ContextCompactAfterEventRemovedItem
Session Optional[*Session]
Source string
Summary *TextParts
Synthesized Optional[bool]
Time string
TokenCounts Optional[*ExecutionEventTokencounts]
Turn Optional[ContextCompactAfterEventTurn]
Type ContextCompactAfterEventType
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/context.compact.after.
func (ContextCompactAfterEvent) MarshalJSON ¶
func (value ContextCompactAfterEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterEvent) UnmarshalJSON ¶
func (value *ContextCompactAfterEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterEventGapsItem ¶
type ContextCompactAfterEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterEventGapsItem is a generated nested model.
func (ContextCompactAfterEventGapsItem) MarshalJSON ¶
func (value ContextCompactAfterEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterEventGapsItem) UnmarshalJSON ¶
func (value *ContextCompactAfterEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterEventRemovedItem ¶
type ContextCompactAfterEventRemovedItem struct {
ID string
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterEventRemovedItem is a generated nested model.
func (ContextCompactAfterEventRemovedItem) MarshalJSON ¶
func (value ContextCompactAfterEventRemovedItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterEventRemovedItem) UnmarshalJSON ¶
func (value *ContextCompactAfterEventRemovedItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterEventTurn ¶
type ContextCompactAfterEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ContextCompactAfterEventTurn is a generated nested model.
func (ContextCompactAfterEventTurn) MarshalJSON ¶
func (value ContextCompactAfterEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactAfterEventTurn) UnmarshalJSON ¶
func (value *ContextCompactAfterEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactAfterEventType ¶
type ContextCompactAfterEventType string
ContextCompactAfterEventType is a generated schema value.
const ContextCompactAfterEventTypeContextCompactAfter ContextCompactAfterEventType = "context.compact.after"
func (*ContextCompactAfterEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactAfterEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilities ¶
type ContextCompactBeforeCapabilities struct {
Effects ContextCompactBeforeCapabilitiesEffects
Elicitation Optional[ContextCompactBeforeCapabilitiesElicitation]
Flow Optional[ContextCompactBeforeCapabilitiesFlow]
Inject Optional[ContextCompactBeforeCapabilitiesInject]
Modify Optional[ContextCompactBeforeCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/context.compact.before.
func (ContextCompactBeforeCapabilities) MarshalJSON ¶
func (value ContextCompactBeforeCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilities) UnmarshalJSON ¶
func (value *ContextCompactBeforeCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesEffects ¶ added in v0.1.1
type ContextCompactBeforeCapabilitiesEffects []ContextCompactBeforeCapabilitiesEffectsValueItem
ContextCompactBeforeCapabilitiesEffects is a structurally validated schema value.
func (ContextCompactBeforeCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactBeforeCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*ContextCompactBeforeCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesEffectsValueItem ¶ added in v0.1.1
type ContextCompactBeforeCapabilitiesEffectsValueItem string
ContextCompactBeforeCapabilitiesEffectsValueItem is a generated schema value.
const ContextCompactBeforeCapabilitiesEffectsValueItemDeny ContextCompactBeforeCapabilitiesEffectsValueItem = "deny"
const ContextCompactBeforeCapabilitiesEffectsValueItemInject ContextCompactBeforeCapabilitiesEffectsValueItem = "inject"
const ContextCompactBeforeCapabilitiesEffectsValueItemMessage ContextCompactBeforeCapabilitiesEffectsValueItem = "message"
const ContextCompactBeforeCapabilitiesEffectsValueItemModify ContextCompactBeforeCapabilitiesEffectsValueItem = "modify"
const ContextCompactBeforeCapabilitiesEffectsValueItemReturn ContextCompactBeforeCapabilitiesEffectsValueItem = "return"
func (*ContextCompactBeforeCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesElicitation ¶
type ContextCompactBeforeCapabilitiesElicitation struct {
Form Optional[ContextCompactBeforeCapabilitiesElicitationForm]
URL Optional[ContextCompactBeforeCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilitiesElicitation is a generated nested model.
func (ContextCompactBeforeCapabilitiesElicitation) MarshalJSON ¶
func (value ContextCompactBeforeCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilitiesElicitation) UnmarshalJSON ¶
func (value *ContextCompactBeforeCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesElicitationForm ¶
type ContextCompactBeforeCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilitiesElicitationForm is a generated nested model.
func (ContextCompactBeforeCapabilitiesElicitationForm) MarshalJSON ¶
func (value ContextCompactBeforeCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *ContextCompactBeforeCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesElicitationURL ¶
type ContextCompactBeforeCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilitiesElicitationURL is a generated nested model.
func (ContextCompactBeforeCapabilitiesElicitationURL) MarshalJSON ¶
func (value ContextCompactBeforeCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *ContextCompactBeforeCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesFlow ¶
type ContextCompactBeforeCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations []ContextCompactBeforeCapabilitiesFlowOperationsItem
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilitiesFlow is a generated nested model.
func (ContextCompactBeforeCapabilitiesFlow) MarshalJSON ¶
func (value ContextCompactBeforeCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilitiesFlow) UnmarshalJSON ¶
func (value *ContextCompactBeforeCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesFlowOperationsItem ¶
type ContextCompactBeforeCapabilitiesFlowOperationsItem string
ContextCompactBeforeCapabilitiesFlowOperationsItem is a generated schema value.
const ContextCompactBeforeCapabilitiesFlowOperationsItemContinue ContextCompactBeforeCapabilitiesFlowOperationsItem = "continue"
const ContextCompactBeforeCapabilitiesFlowOperationsItemStop ContextCompactBeforeCapabilitiesFlowOperationsItem = "stop"
func (*ContextCompactBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesInject ¶
type ContextCompactBeforeCapabilitiesInject struct {
Context ContextCompactBeforeCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilitiesInject is a generated nested model.
func (ContextCompactBeforeCapabilitiesInject) MarshalJSON ¶
func (value ContextCompactBeforeCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilitiesInject) UnmarshalJSON ¶
func (value *ContextCompactBeforeCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesInjectContext ¶
type ContextCompactBeforeCapabilitiesInjectContext struct {
Append ContextCompactBeforeCapabilitiesInjectContextAppend
DeliverAt []ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilitiesInjectContext is a generated nested model.
func (ContextCompactBeforeCapabilitiesInjectContext) MarshalJSON ¶
func (value ContextCompactBeforeCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *ContextCompactBeforeCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesInjectContextAppend ¶
type ContextCompactBeforeCapabilitiesInjectContextAppend bool
ContextCompactBeforeCapabilitiesInjectContextAppend is a generated schema value.
const ContextCompactBeforeCapabilitiesInjectContextAppendTrue ContextCompactBeforeCapabilitiesInjectContextAppend = true
func (*ContextCompactBeforeCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem ¶
type ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem string
ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const ContextCompactBeforeCapabilitiesInjectContextDeliverAtItemNextTurn ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ContextCompactBeforeCapabilitiesInjectContextDeliverAtItemNow ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem = "now"
func (*ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesModify ¶
type ContextCompactBeforeCapabilitiesModify struct {
Content Optional[ContextCompactBeforeCapabilitiesModifyContent]
Input Optional[ContextCompactBeforeCapabilitiesModifyInput]
Instructions Optional[ContextCompactBeforeCapabilitiesModifyInstructions]
Output Optional[ContextCompactBeforeCapabilitiesModifyOutput]
Prompt Optional[ContextCompactBeforeCapabilitiesModifyPrompt]
Request Optional[ContextCompactBeforeCapabilitiesModifyRequest]
Response Optional[ContextCompactBeforeCapabilitiesModifyResponse]
Summary Optional[ContextCompactBeforeCapabilitiesModifySummary]
Workspace Optional[ContextCompactBeforeCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilitiesModify is a generated nested model.
func (ContextCompactBeforeCapabilitiesModify) MarshalJSON ¶
func (value ContextCompactBeforeCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilitiesModify) UnmarshalJSON ¶
func (value *ContextCompactBeforeCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesModifyContent ¶ added in v0.1.1
type ContextCompactBeforeCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilitiesModifyContent is a generated nested model.
func (ContextCompactBeforeCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactBeforeCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesModifyInput ¶ added in v0.1.1
type ContextCompactBeforeCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilitiesModifyInput is a generated nested model.
func (ContextCompactBeforeCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactBeforeCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesModifyInstructions ¶ added in v0.1.1
type ContextCompactBeforeCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilitiesModifyInstructions is a generated nested model.
func (ContextCompactBeforeCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactBeforeCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesModifyOutput ¶ added in v0.1.1
type ContextCompactBeforeCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilitiesModifyOutput is a generated nested model.
func (ContextCompactBeforeCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactBeforeCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesModifyPrompt ¶ added in v0.1.1
type ContextCompactBeforeCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilitiesModifyPrompt is a generated nested model.
func (ContextCompactBeforeCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactBeforeCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesModifyRequest ¶ added in v0.1.1
type ContextCompactBeforeCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilitiesModifyRequest is a generated nested model.
func (ContextCompactBeforeCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactBeforeCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesModifyResponse ¶ added in v0.1.1
type ContextCompactBeforeCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilitiesModifyResponse is a generated nested model.
func (ContextCompactBeforeCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactBeforeCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesModifySummary ¶ added in v0.1.1
type ContextCompactBeforeCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilitiesModifySummary is a generated nested model.
func (ContextCompactBeforeCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactBeforeCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeCapabilitiesModifyWorkspace ¶ added in v0.1.1
type ContextCompactBeforeCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeCapabilitiesModifyWorkspace is a generated nested model.
func (ContextCompactBeforeCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactBeforeCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeEvent ¶
type ContextCompactBeforeEvent struct {
Extensions Optional[*Extensions]
Gaps Optional[[]ContextCompactBeforeEventGapsItem]
ID string
Instructions Optional[*TextParts]
Items []*ModelVisibleItem
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
TokenCounts Optional[*ExecutionEventTokencounts]
Trigger ContextCompactBeforeEventTrigger
Turn Optional[ContextCompactBeforeEventTurn]
Type ContextCompactBeforeEventType
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/context.compact.before.
func (ContextCompactBeforeEvent) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactBeforeEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeEvent) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeEventGapsItem ¶ added in v0.1.1
type ContextCompactBeforeEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeEventGapsItem is a generated nested model.
func (ContextCompactBeforeEventGapsItem) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactBeforeEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeEventGapsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeEventTrigger ¶ added in v0.1.1
type ContextCompactBeforeEventTrigger string
ContextCompactBeforeEventTrigger is a generated schema value.
const ContextCompactBeforeEventTriggerAuto ContextCompactBeforeEventTrigger = "auto"
const ContextCompactBeforeEventTriggerHook ContextCompactBeforeEventTrigger = "hook"
const ContextCompactBeforeEventTriggerManual ContextCompactBeforeEventTrigger = "manual"
func (*ContextCompactBeforeEventTrigger) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeEventTrigger) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeEventTurn ¶ added in v0.1.1
type ContextCompactBeforeEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ContextCompactBeforeEventTurn is a generated nested model.
func (ContextCompactBeforeEventTurn) MarshalJSON ¶ added in v0.1.1
func (value ContextCompactBeforeEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ContextCompactBeforeEventTurn) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ContextCompactBeforeEventType ¶ added in v0.1.1
type ContextCompactBeforeEventType string
ContextCompactBeforeEventType is a generated schema value.
const ContextCompactBeforeEventTypeContextCompactBefore ContextCompactBeforeEventType = "context.compact.before"
func (*ContextCompactBeforeEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *ContextCompactBeforeEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type DenyEffect ¶
type DenyEffect struct {
Code Optional[string]
Extensions Optional[*Extensions]
Reason string
Type DenyEffectType
AdditionalProperties map[string]json.RawMessage
}
DenyEffect is generated from schema/draft/deny-effect.schema.json#.
func (DenyEffect) MarshalJSON ¶
func (value DenyEffect) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*DenyEffect) UnmarshalJSON ¶
func (value *DenyEffect) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type DenyEffectType ¶
type DenyEffectType string
DenyEffectType is a generated schema value.
const DenyEffectTypeDeny DenyEffectType = "deny"
func (*DenyEffectType) UnmarshalJSON ¶ added in v0.1.1
func (value *DenyEffectType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type DiagnosticCode ¶
type DiagnosticCode string
DiagnosticCode identifies a structural parse diagnostic.
const ( DiagnosticInvalidType DiagnosticCode = "invalid_type" DiagnosticMissingRequired DiagnosticCode = "missing_required" DiagnosticLiteralMismatch DiagnosticCode = "literal_mismatch" DiagnosticUnknownEnum DiagnosticCode = "unknown_enum" DiagnosticUnknownVariant DiagnosticCode = "unknown_variant" DiagnosticInvalidKnownVariant DiagnosticCode = "invalid_known_variant" DiagnosticNoUnionMatch DiagnosticCode = "no_union_match" DiagnosticAmbiguousUnion DiagnosticCode = "ambiguous_union" DiagnosticInvalidJSON DiagnosticCode = "invalid_json" )
type DiagnosticSeverity ¶
type DiagnosticSeverity string
DiagnosticSeverity indicates whether a diagnostic prevents a typed result.
const ( SeverityError DiagnosticSeverity = "error" SeverityWarning DiagnosticSeverity = "warning" )
type Effect ¶
type Effect struct {
DenyEffect Optional[*DenyEffect]
Allow Optional[EffectAllow]
Ask Optional[EffectAsk]
Modify Optional[EffectModify]
Message Optional[EffectMessage]
Return Optional[EffectReturn]
FlowStop Optional[EffectFlowStop]
FlowContinue Optional[EffectFlowContinue]
InjectAppendContext Optional[EffectInjectAppendContext]
Unknown json.RawMessage
}
Effect is generated from schema/draft/effect.schema.json#.
func (Effect) MarshalJSON ¶
func (*Effect) UnmarshalJSON ¶
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectAllow ¶ added in v0.1.1
type EffectAllow struct {
Type EffectAllowType
AdditionalProperties map[string]json.RawMessage
}
EffectAllow is a generated nested model.
func (EffectAllow) MarshalJSON ¶ added in v0.1.1
func (value EffectAllow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*EffectAllow) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectAllow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectAllowType ¶ added in v0.1.1
type EffectAllowType string
EffectAllowType is a generated schema value.
const EffectAllowTypeAllow EffectAllowType = "allow"
func (*EffectAllowType) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectAllowType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectAsk ¶ added in v0.1.1
type EffectAsk struct {
Type EffectAskType
AdditionalProperties map[string]json.RawMessage
}
EffectAsk is a generated nested model.
func (EffectAsk) MarshalJSON ¶ added in v0.1.1
MarshalJSON emits known fields together with all retained members.
func (*EffectAsk) UnmarshalJSON ¶ added in v0.1.1
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectAskType ¶ added in v0.1.1
type EffectAskType string
EffectAskType is a generated schema value.
const EffectAskTypeAsk EffectAskType = "ask"
func (*EffectAskType) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectAskType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectFlowContinue ¶ added in v0.1.1
type EffectFlowContinue struct {
Instruction Optional[string]
Operation EffectFlowContinueOperation
Type EffectFlowContinueType
AdditionalProperties map[string]json.RawMessage
}
EffectFlowContinue is a generated nested model.
func (EffectFlowContinue) MarshalJSON ¶ added in v0.1.1
func (value EffectFlowContinue) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*EffectFlowContinue) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectFlowContinue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectFlowContinueOperation ¶ added in v0.1.1
type EffectFlowContinueOperation string
EffectFlowContinueOperation is a generated schema value.
const EffectFlowContinueOperationContinue EffectFlowContinueOperation = "continue"
func (*EffectFlowContinueOperation) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectFlowContinueOperation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectFlowContinueType ¶ added in v0.1.1
type EffectFlowContinueType string
EffectFlowContinueType is a generated schema value.
const EffectFlowContinueTypeFlow EffectFlowContinueType = "flow"
func (*EffectFlowContinueType) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectFlowContinueType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectFlowStop ¶ added in v0.1.1
type EffectFlowStop struct {
Operation EffectFlowStopOperation
Reason string
Type EffectFlowStopType
AdditionalProperties map[string]json.RawMessage
}
EffectFlowStop is a generated nested model.
func (EffectFlowStop) MarshalJSON ¶ added in v0.1.1
func (value EffectFlowStop) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*EffectFlowStop) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectFlowStop) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectFlowStopOperation ¶ added in v0.1.1
type EffectFlowStopOperation string
EffectFlowStopOperation is a generated schema value.
const EffectFlowStopOperationStop EffectFlowStopOperation = "stop"
func (*EffectFlowStopOperation) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectFlowStopOperation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectFlowStopType ¶ added in v0.1.1
type EffectFlowStopType string
EffectFlowStopType is a generated schema value.
const EffectFlowStopTypeFlow EffectFlowStopType = "flow"
func (*EffectFlowStopType) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectFlowStopType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectInjectAppendContext ¶ added in v0.1.1
type EffectInjectAppendContext struct {
DeliverAt EffectInjectAppendContextDeliverAt
Operation EffectInjectAppendContextOperation
Target EffectInjectAppendContextTarget
Type EffectInjectAppendContextType
Value *CanonicalMessages
AdditionalProperties map[string]json.RawMessage
}
EffectInjectAppendContext is a generated nested model.
func (EffectInjectAppendContext) MarshalJSON ¶ added in v0.1.1
func (value EffectInjectAppendContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*EffectInjectAppendContext) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectInjectAppendContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectInjectAppendContextDeliverAt ¶ added in v0.1.1
type EffectInjectAppendContextDeliverAt string
EffectInjectAppendContextDeliverAt is a generated schema value.
const EffectInjectAppendContextDeliverAtNextTurn EffectInjectAppendContextDeliverAt = "next_turn"
const EffectInjectAppendContextDeliverAtNow EffectInjectAppendContextDeliverAt = "now"
func (*EffectInjectAppendContextDeliverAt) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectInjectAppendContextDeliverAt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectInjectAppendContextOperation ¶ added in v0.1.1
type EffectInjectAppendContextOperation string
EffectInjectAppendContextOperation is a generated schema value.
const EffectInjectAppendContextOperationAppend EffectInjectAppendContextOperation = "append"
func (*EffectInjectAppendContextOperation) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectInjectAppendContextOperation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectInjectAppendContextTarget ¶ added in v0.1.1
type EffectInjectAppendContextTarget string
EffectInjectAppendContextTarget is a generated schema value.
const EffectInjectAppendContextTargetContext EffectInjectAppendContextTarget = "context"
func (*EffectInjectAppendContextTarget) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectInjectAppendContextTarget) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectInjectAppendContextType ¶ added in v0.1.1
type EffectInjectAppendContextType string
EffectInjectAppendContextType is a generated schema value.
const EffectInjectAppendContextTypeInject EffectInjectAppendContextType = "inject"
func (*EffectInjectAppendContextType) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectInjectAppendContextType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectMessage ¶ added in v0.1.1
type EffectMessage struct {
Text string
Type EffectMessageType
AdditionalProperties map[string]json.RawMessage
}
EffectMessage is a generated nested model.
func (EffectMessage) MarshalJSON ¶ added in v0.1.1
func (value EffectMessage) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*EffectMessage) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectMessageType ¶ added in v0.1.1
type EffectMessageType string
EffectMessageType is a generated schema value.
const EffectMessageTypeMessage EffectMessageType = "message"
func (*EffectMessageType) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectMessageType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectModify ¶ added in v0.1.1
type EffectModify struct {
Operation EffectModifyOperation
Target EffectModifyTarget
Type EffectModifyType
Value json.RawMessage
AdditionalProperties map[string]json.RawMessage
}
EffectModify is a generated nested model.
func (EffectModify) MarshalJSON ¶ added in v0.1.1
func (value EffectModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*EffectModify) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectModifyOperation ¶ added in v0.1.1
type EffectModifyOperation string
EffectModifyOperation is a generated schema value.
const EffectModifyOperationMerge EffectModifyOperation = "merge"
const EffectModifyOperationReplace EffectModifyOperation = "replace"
func (*EffectModifyOperation) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectModifyOperation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectModifyTarget ¶ added in v0.1.1
type EffectModifyTarget string
EffectModifyTarget is a generated schema value.
const EffectModifyTargetContent EffectModifyTarget = "content"
const EffectModifyTargetInput EffectModifyTarget = "input"
const EffectModifyTargetInstructions EffectModifyTarget = "instructions"
const EffectModifyTargetOutput EffectModifyTarget = "output"
const EffectModifyTargetPrompt EffectModifyTarget = "prompt"
const EffectModifyTargetRequest EffectModifyTarget = "request"
const EffectModifyTargetResponse EffectModifyTarget = "response"
const EffectModifyTargetSummary EffectModifyTarget = "summary"
const EffectModifyTargetWorkspace EffectModifyTarget = "workspace"
func (*EffectModifyTarget) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectModifyTarget) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectModifyType ¶ added in v0.1.1
type EffectModifyType string
EffectModifyType is a generated schema value.
const EffectModifyTypeModify EffectModifyType = "modify"
func (*EffectModifyType) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectModifyType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectName ¶ added in v0.1.1
type EffectName string
EffectName identifies an advertised effect family, including extension names.
const EffectNameAllow EffectName = "allow"
const EffectNameAsk EffectName = "ask"
const EffectNameDeny EffectName = "deny"
const EffectNameFlow EffectName = "flow"
const EffectNameInject EffectName = "inject"
const EffectNameMessage EffectName = "message"
const EffectNameModify EffectName = "modify"
const EffectNameReturn EffectName = "return"
type EffectReturn ¶ added in v0.1.1
type EffectReturn struct {
Type EffectReturnType
Value json.RawMessage
AdditionalProperties map[string]json.RawMessage
}
EffectReturn is a generated nested model.
func (EffectReturn) MarshalJSON ¶ added in v0.1.1
func (value EffectReturn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*EffectReturn) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectReturn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type EffectReturnType ¶ added in v0.1.1
type EffectReturnType string
EffectReturnType is a generated schema value.
const EffectReturnTypeReturn EffectReturnType = "return"
func (*EffectReturnType) UnmarshalJSON ¶ added in v0.1.1
func (value *EffectReturnType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type Event ¶ added in v0.1.1
type Event struct {
ToolBeforeEvent Optional[*ToolBeforeEvent]
ToolAfterEvent Optional[*ToolAfterEvent]
SessionStartEvent Optional[*SessionStartEvent]
SessionEndEvent Optional[*SessionEndEvent]
ConfigChangeBeforeEvent Optional[*ConfigChangeBeforeEvent]
ConfigChangeAfterEvent Optional[*ConfigChangeAfterEvent]
TurnStartEvent Optional[*TurnStartEvent]
TurnFinishBeforeEvent Optional[*TurnFinishBeforeEvent]
TurnEndEvent Optional[*TurnEndEvent]
TurnProgressEvent Optional[*TurnProgressEvent]
ModelRequestBeforeEvent Optional[*ModelRequestBeforeEvent]
ModelResponseAfterEvent Optional[*ModelResponseAfterEvent]
ModelErrorEvent Optional[*ModelErrorEvent]
ModelSwitchBeforeEvent Optional[*ModelSwitchBeforeEvent]
ModelSwitchAfterEvent Optional[*ModelSwitchAfterEvent]
ToolPermissionRequestEvent Optional[*ToolPermissionRequestEvent]
ToolPermissionResolvedEvent Optional[*ToolPermissionResolvedEvent]
ToolProgressEvent Optional[*ToolProgressEvent]
ToolBatchAfterEvent Optional[*ToolBatchAfterEvent]
ContextCompactBeforeEvent Optional[*ContextCompactBeforeEvent]
ContextCompactAfterEvent Optional[*ContextCompactAfterEvent]
TaskChangeBeforeEvent Optional[*TaskChangeBeforeEvent]
TaskChangeAfterEvent Optional[*TaskChangeAfterEvent]
UserAttentionEvent Optional[*UserAttentionEvent]
UserElicitationRequestEvent Optional[*UserElicitationRequestEvent]
UserElicitationResultEvent Optional[*UserElicitationResultEvent]
UserMessageInboundEvent Optional[*UserMessageInboundEvent]
UserMessageOutboundEvent Optional[*UserMessageOutboundEvent]
WorkspaceChangeBeforeEvent Optional[*WorkspaceChangeBeforeEvent]
WorkspaceChangeAfterEvent Optional[*WorkspaceChangeAfterEvent]
FileChangedEvent Optional[*FileChangedEvent]
HookFailureEvent Optional[*HookFailureEvent]
Unknown json.RawMessage
}
Event is generated from schema/draft/event.schema.json#.
func (Event) MarshalJSON ¶ added in v0.1.1
func (*Event) UnmarshalJSON ¶ added in v0.1.1
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEvent ¶
type ExecutionEvent struct {
ExecutionEventTurnStart Optional[*ExecutionEventTurnStart]
ExecutionEventTurnFinishBefore Optional[*ExecutionEventTurnFinishBefore]
ExecutionEventTurnEnd Optional[*ExecutionEventTurnEnd]
ExecutionEventTurnProgress Optional[*ExecutionEventTurnProgress]
ExecutionEventModelRequestBefore Optional[*ExecutionEventModelRequestBefore]
ExecutionEventModelResponseAfter Optional[*ExecutionEventModelResponseAfter]
ExecutionEventModelError Optional[*ExecutionEventModelError]
ExecutionEventModelSwitchBefore Optional[*ExecutionEventModelSwitchBefore]
ExecutionEventModelSwitchAfter Optional[*ExecutionEventModelSwitchAfter]
ExecutionEventToolPermissionRequest Optional[*ExecutionEventToolPermissionRequest]
ExecutionEventToolPermissionResolved Optional[*ExecutionEventToolPermissionResolved]
ExecutionEventToolProgress Optional[*ExecutionEventToolProgress]
ExecutionEventToolBatchAfter Optional[*ExecutionEventToolBatchAfter]
ExecutionEventContextCompactBefore Optional[*ExecutionEventContextCompactBefore]
ExecutionEventContextCompactAfter Optional[*ExecutionEventContextCompactAfter]
Unknown json.RawMessage
}
ExecutionEvent is generated from schema/draft/execution-event.schema.json#.
func (ExecutionEvent) MarshalJSON ¶
func (value ExecutionEvent) MarshalJSON() ([]byte, error)
func (*ExecutionEvent) UnmarshalJSON ¶
func (value *ExecutionEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventAttempt ¶
type ExecutionEventAttempt struct {
ID string
Number json.Number
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventAttempt is generated from schema/draft/execution-event.schema.json#/$defs/attempt.
func (ExecutionEventAttempt) MarshalJSON ¶
func (value ExecutionEventAttempt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventAttempt) UnmarshalJSON ¶
func (value *ExecutionEventAttempt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventAttemptusage ¶
type ExecutionEventAttemptusage struct {
CacheReadTokens Optional[json.Number]
CacheWriteTokens Optional[json.Number]
Completeness ExecutionEventAttemptusageCompleteness
Cost Optional[ExecutionEventAttemptusageCost]
InputTokens Optional[json.Number]
Kind ExecutionEventAttemptusageKind
OutputTokens Optional[json.Number]
Provenance ExecutionEventAttemptusageProvenance
Scope ExecutionEventAttemptusageScope
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventAttemptusage is generated from schema/draft/execution-event.schema.json#/$defs/attemptUsage.
func (ExecutionEventAttemptusage) MarshalJSON ¶
func (value ExecutionEventAttemptusage) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventAttemptusage) UnmarshalJSON ¶
func (value *ExecutionEventAttemptusage) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventAttemptusageCompleteness ¶
type ExecutionEventAttemptusageCompleteness string
ExecutionEventAttemptusageCompleteness is a generated schema value.
const ExecutionEventAttemptusageCompletenessComplete ExecutionEventAttemptusageCompleteness = "complete"
const ExecutionEventAttemptusageCompletenessPartial ExecutionEventAttemptusageCompleteness = "partial"
const ExecutionEventAttemptusageCompletenessUnknownValue ExecutionEventAttemptusageCompleteness = "unknown"
func (*ExecutionEventAttemptusageCompleteness) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventAttemptusageCompleteness) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventAttemptusageCost ¶
type ExecutionEventAttemptusageCost struct {
Amount json.Number
Basis ExecutionEventAttemptusageCostBasis
Currency string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventAttemptusageCost is a generated nested model.
func (ExecutionEventAttemptusageCost) MarshalJSON ¶
func (value ExecutionEventAttemptusageCost) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventAttemptusageCost) UnmarshalJSON ¶
func (value *ExecutionEventAttemptusageCost) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventAttemptusageCostBasis ¶
type ExecutionEventAttemptusageCostBasis string
ExecutionEventAttemptusageCostBasis is a generated schema value.
const ExecutionEventAttemptusageCostBasisBilled ExecutionEventAttemptusageCostBasis = "billed"
const ExecutionEventAttemptusageCostBasisEstimated ExecutionEventAttemptusageCostBasis = "estimated"
const ExecutionEventAttemptusageCostBasisReported ExecutionEventAttemptusageCostBasis = "reported"
func (*ExecutionEventAttemptusageCostBasis) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventAttemptusageCostBasis) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventAttemptusageKind ¶ added in v0.1.1
type ExecutionEventAttemptusageKind ExecutionEventAttemptusageKindValue
ExecutionEventAttemptusageKind is a structurally validated schema value.
func (ExecutionEventAttemptusageKind) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventAttemptusageKind) MarshalJSON() ([]byte, error)
func (*ExecutionEventAttemptusageKind) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventAttemptusageKind) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventAttemptusageKindValue ¶ added in v0.1.1
type ExecutionEventAttemptusageKindValue string
ExecutionEventAttemptusageKindValue is a generated schema value.
const ExecutionEventAttemptusageKindValueAmount ExecutionEventAttemptusageKindValue = "amount"
const ExecutionEventAttemptusageKindValueTotal ExecutionEventAttemptusageKindValue = "total"
func (*ExecutionEventAttemptusageKindValue) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventAttemptusageKindValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventAttemptusageProvenance ¶ added in v0.1.1
type ExecutionEventAttemptusageProvenance ExecutionEventAttemptusageProvenanceValue
ExecutionEventAttemptusageProvenance is a structurally validated schema value.
func (ExecutionEventAttemptusageProvenance) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventAttemptusageProvenance) MarshalJSON() ([]byte, error)
func (*ExecutionEventAttemptusageProvenance) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventAttemptusageProvenance) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventAttemptusageProvenanceValue ¶ added in v0.1.1
type ExecutionEventAttemptusageProvenanceValue string
ExecutionEventAttemptusageProvenanceValue is a generated schema value.
const ExecutionEventAttemptusageProvenanceValueEstimate ExecutionEventAttemptusageProvenanceValue = "estimate"
const ExecutionEventAttemptusageProvenanceValueMixed ExecutionEventAttemptusageProvenanceValue = "mixed"
const ExecutionEventAttemptusageProvenanceValueProvider ExecutionEventAttemptusageProvenanceValue = "provider"
func (*ExecutionEventAttemptusageProvenanceValue) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventAttemptusageProvenanceValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventAttemptusageScope ¶ added in v0.1.1
type ExecutionEventAttemptusageScope ExecutionEventAttemptusageScopeValue
ExecutionEventAttemptusageScope is a structurally validated schema value.
func (ExecutionEventAttemptusageScope) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventAttemptusageScope) MarshalJSON() ([]byte, error)
func (*ExecutionEventAttemptusageScope) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventAttemptusageScope) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventAttemptusageScopeValue ¶ added in v0.1.1
type ExecutionEventAttemptusageScopeValue string
ExecutionEventAttemptusageScopeValue is a generated schema value.
const ExecutionEventAttemptusageScopeValueAttempt ExecutionEventAttemptusageScopeValue = "attempt"
const ExecutionEventAttemptusageScopeValueTurn ExecutionEventAttemptusageScopeValue = "turn"
func (*ExecutionEventAttemptusageScopeValue) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventAttemptusageScopeValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventBatch ¶
type ExecutionEventBatch struct {
CallIds []string
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventBatch is generated from schema/draft/execution-event.schema.json#/$defs/batch.
func (ExecutionEventBatch) MarshalJSON ¶
func (value ExecutionEventBatch) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventBatch) UnmarshalJSON ¶
func (value *ExecutionEventBatch) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventContextCompactAfter ¶
type ExecutionEventContextCompactAfter struct {
Execution *ExecutionEventExecution
Extensions Optional[*Extensions]
Gaps Optional[[]ExecutionEventContextCompactAfterGapsItem]
ID string
Items Optional[[]*ModelVisibleItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Removed []ExecutionEventContextCompactAfterRemovedItem
Session Optional[*Session]
Source string
Summary *TextParts
Synthesized Optional[bool]
Time string
TokenCounts Optional[*ExecutionEventTokencounts]
Turn Optional[ExecutionEventContextCompactAfterTurn]
Type ExecutionEventContextCompactAfterType
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventContextCompactAfter is generated from schema/draft/execution-event.schema.json#/$defs/context.compact.after.
func (ExecutionEventContextCompactAfter) MarshalJSON ¶
func (value ExecutionEventContextCompactAfter) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventContextCompactAfter) UnmarshalJSON ¶
func (value *ExecutionEventContextCompactAfter) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventContextCompactAfterGapsItem ¶
type ExecutionEventContextCompactAfterGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventContextCompactAfterGapsItem is a generated nested model.
func (ExecutionEventContextCompactAfterGapsItem) MarshalJSON ¶
func (value ExecutionEventContextCompactAfterGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventContextCompactAfterGapsItem) UnmarshalJSON ¶
func (value *ExecutionEventContextCompactAfterGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventContextCompactAfterRemovedItem ¶
type ExecutionEventContextCompactAfterRemovedItem struct {
ID string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventContextCompactAfterRemovedItem is a generated nested model.
func (ExecutionEventContextCompactAfterRemovedItem) MarshalJSON ¶
func (value ExecutionEventContextCompactAfterRemovedItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventContextCompactAfterRemovedItem) UnmarshalJSON ¶
func (value *ExecutionEventContextCompactAfterRemovedItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventContextCompactAfterTurn ¶
type ExecutionEventContextCompactAfterTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventContextCompactAfterTurn is a generated nested model.
func (ExecutionEventContextCompactAfterTurn) MarshalJSON ¶
func (value ExecutionEventContextCompactAfterTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventContextCompactAfterTurn) UnmarshalJSON ¶
func (value *ExecutionEventContextCompactAfterTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventContextCompactAfterType ¶
type ExecutionEventContextCompactAfterType string
ExecutionEventContextCompactAfterType is a generated schema value.
const ExecutionEventContextCompactAfterTypeContextCompactAfter ExecutionEventContextCompactAfterType = "context.compact.after"
func (*ExecutionEventContextCompactAfterType) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventContextCompactAfterType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventContextCompactBefore ¶
type ExecutionEventContextCompactBefore struct {
Extensions Optional[*Extensions]
Gaps Optional[[]ExecutionEventContextCompactBeforeGapsItem]
ID string
Instructions Optional[*TextParts]
Items []*ModelVisibleItem
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
TokenCounts Optional[*ExecutionEventTokencounts]
Trigger ExecutionEventContextCompactBeforeTrigger
Turn Optional[ExecutionEventContextCompactBeforeTurn]
Type ExecutionEventContextCompactBeforeType
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventContextCompactBefore is generated from schema/draft/execution-event.schema.json#/$defs/context.compact.before.
func (ExecutionEventContextCompactBefore) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventContextCompactBefore) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventContextCompactBefore) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventContextCompactBefore) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventContextCompactBeforeGapsItem ¶ added in v0.1.1
type ExecutionEventContextCompactBeforeGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventContextCompactBeforeGapsItem is a generated nested model.
func (ExecutionEventContextCompactBeforeGapsItem) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventContextCompactBeforeGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventContextCompactBeforeGapsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventContextCompactBeforeGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventContextCompactBeforeTrigger ¶ added in v0.1.1
type ExecutionEventContextCompactBeforeTrigger string
ExecutionEventContextCompactBeforeTrigger is a generated schema value.
const ExecutionEventContextCompactBeforeTriggerAuto ExecutionEventContextCompactBeforeTrigger = "auto"
const ExecutionEventContextCompactBeforeTriggerHook ExecutionEventContextCompactBeforeTrigger = "hook"
const ExecutionEventContextCompactBeforeTriggerManual ExecutionEventContextCompactBeforeTrigger = "manual"
func (*ExecutionEventContextCompactBeforeTrigger) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventContextCompactBeforeTrigger) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventContextCompactBeforeTurn ¶ added in v0.1.1
type ExecutionEventContextCompactBeforeTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventContextCompactBeforeTurn is a generated nested model.
func (ExecutionEventContextCompactBeforeTurn) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventContextCompactBeforeTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventContextCompactBeforeTurn) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventContextCompactBeforeTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventContextCompactBeforeType ¶ added in v0.1.1
type ExecutionEventContextCompactBeforeType string
ExecutionEventContextCompactBeforeType is a generated schema value.
const ExecutionEventContextCompactBeforeTypeContextCompactBefore ExecutionEventContextCompactBeforeType = "context.compact.before"
func (*ExecutionEventContextCompactBeforeType) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventContextCompactBeforeType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventError ¶
type ExecutionEventError struct {
Class string
Code Optional[string]
Message string
Native Optional[*NativeEvent]
Status Optional[ExecutionEventErrorStatus]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventError is generated from schema/draft/execution-event.schema.json#/$defs/error.
func (ExecutionEventError) MarshalJSON ¶
func (value ExecutionEventError) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventError) UnmarshalJSON ¶
func (value *ExecutionEventError) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventErrorStatus ¶
type ExecutionEventErrorStatus struct {
String Optional[string]
Integer Optional[json.Number]
Unknown json.RawMessage
}
ExecutionEventErrorStatus is a generated union model.
func (ExecutionEventErrorStatus) MarshalJSON ¶
func (value ExecutionEventErrorStatus) MarshalJSON() ([]byte, error)
func (*ExecutionEventErrorStatus) UnmarshalJSON ¶
func (value *ExecutionEventErrorStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecution ¶
type ExecutionEventExecution struct {
Executed Optional[ExecutionEventExecutionExecuted]
SkippedSuppliedResult Optional[ExecutionEventExecutionSkippedSuppliedResult]
SkippedPolicy Optional[ExecutionEventExecutionSkippedPolicy]
SkippedCancelled Optional[ExecutionEventExecutionSkippedCancelled]
SkippedTimeout Optional[ExecutionEventExecutionSkippedTimeout]
SkippedOther Optional[ExecutionEventExecutionSkippedOther]
Unknown json.RawMessage
}
ExecutionEventExecution is generated from schema/draft/execution-event.schema.json#/$defs/execution.
func (ExecutionEventExecution) MarshalJSON ¶
func (value ExecutionEventExecution) MarshalJSON() ([]byte, error)
func (*ExecutionEventExecution) UnmarshalJSON ¶
func (value *ExecutionEventExecution) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionExecuted ¶ added in v0.1.1
type ExecutionEventExecutionExecuted struct {
Status ExecutionEventExecutionExecutedStatus
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventExecutionExecuted is a generated nested model.
func (ExecutionEventExecutionExecuted) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventExecutionExecuted) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventExecutionExecuted) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionExecuted) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionExecutedStatus ¶ added in v0.1.1
type ExecutionEventExecutionExecutedStatus string
ExecutionEventExecutionExecutedStatus is a generated schema value.
const ExecutionEventExecutionExecutedStatusExecuted ExecutionEventExecutionExecutedStatus = "executed"
func (*ExecutionEventExecutionExecutedStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionExecutedStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionSkippedCancelled ¶ added in v0.1.1
type ExecutionEventExecutionSkippedCancelled struct {
Detail Optional[string]
Reason ExecutionEventExecutionSkippedCancelledReason
Status ExecutionEventExecutionSkippedCancelledStatus
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventExecutionSkippedCancelled is a generated nested model.
func (ExecutionEventExecutionSkippedCancelled) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventExecutionSkippedCancelled) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventExecutionSkippedCancelled) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionSkippedCancelled) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionSkippedCancelledReason ¶ added in v0.1.1
type ExecutionEventExecutionSkippedCancelledReason string
ExecutionEventExecutionSkippedCancelledReason is a generated schema value.
const ExecutionEventExecutionSkippedCancelledReasonCancelled ExecutionEventExecutionSkippedCancelledReason = "cancelled"
func (*ExecutionEventExecutionSkippedCancelledReason) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionSkippedCancelledReason) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionSkippedCancelledStatus ¶ added in v0.1.1
type ExecutionEventExecutionSkippedCancelledStatus string
ExecutionEventExecutionSkippedCancelledStatus is a generated schema value.
const ExecutionEventExecutionSkippedCancelledStatusSkipped ExecutionEventExecutionSkippedCancelledStatus = "skipped"
func (*ExecutionEventExecutionSkippedCancelledStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionSkippedCancelledStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionSkippedOther ¶ added in v0.1.1
type ExecutionEventExecutionSkippedOther struct {
Detail Optional[string]
Reason ExecutionEventExecutionSkippedOtherReason
Status ExecutionEventExecutionSkippedOtherStatus
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventExecutionSkippedOther is a generated nested model.
func (ExecutionEventExecutionSkippedOther) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventExecutionSkippedOther) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventExecutionSkippedOther) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionSkippedOther) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionSkippedOtherReason ¶ added in v0.1.1
type ExecutionEventExecutionSkippedOtherReason string
ExecutionEventExecutionSkippedOtherReason is a generated schema value.
const ExecutionEventExecutionSkippedOtherReasonOther ExecutionEventExecutionSkippedOtherReason = "other"
func (*ExecutionEventExecutionSkippedOtherReason) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionSkippedOtherReason) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionSkippedOtherStatus ¶ added in v0.1.1
type ExecutionEventExecutionSkippedOtherStatus string
ExecutionEventExecutionSkippedOtherStatus is a generated schema value.
const ExecutionEventExecutionSkippedOtherStatusSkipped ExecutionEventExecutionSkippedOtherStatus = "skipped"
func (*ExecutionEventExecutionSkippedOtherStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionSkippedOtherStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionSkippedPolicy ¶ added in v0.1.1
type ExecutionEventExecutionSkippedPolicy struct {
Detail Optional[string]
Reason ExecutionEventExecutionSkippedPolicyReason
Status ExecutionEventExecutionSkippedPolicyStatus
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventExecutionSkippedPolicy is a generated nested model.
func (ExecutionEventExecutionSkippedPolicy) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventExecutionSkippedPolicy) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventExecutionSkippedPolicy) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionSkippedPolicy) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionSkippedPolicyReason ¶ added in v0.1.1
type ExecutionEventExecutionSkippedPolicyReason string
ExecutionEventExecutionSkippedPolicyReason is a generated schema value.
const ExecutionEventExecutionSkippedPolicyReasonPolicy ExecutionEventExecutionSkippedPolicyReason = "policy"
func (*ExecutionEventExecutionSkippedPolicyReason) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionSkippedPolicyReason) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionSkippedPolicyStatus ¶ added in v0.1.1
type ExecutionEventExecutionSkippedPolicyStatus string
ExecutionEventExecutionSkippedPolicyStatus is a generated schema value.
const ExecutionEventExecutionSkippedPolicyStatusSkipped ExecutionEventExecutionSkippedPolicyStatus = "skipped"
func (*ExecutionEventExecutionSkippedPolicyStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionSkippedPolicyStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionSkippedSuppliedResult ¶ added in v0.1.1
type ExecutionEventExecutionSkippedSuppliedResult struct {
Reason ExecutionEventExecutionSkippedSuppliedResultReason
Status ExecutionEventExecutionSkippedSuppliedResultStatus
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventExecutionSkippedSuppliedResult is a generated nested model.
func (ExecutionEventExecutionSkippedSuppliedResult) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventExecutionSkippedSuppliedResult) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventExecutionSkippedSuppliedResult) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionSkippedSuppliedResult) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionSkippedSuppliedResultReason ¶ added in v0.1.1
type ExecutionEventExecutionSkippedSuppliedResultReason string
ExecutionEventExecutionSkippedSuppliedResultReason is a generated schema value.
const ExecutionEventExecutionSkippedSuppliedResultReasonSuppliedResult ExecutionEventExecutionSkippedSuppliedResultReason = "supplied_result"
func (*ExecutionEventExecutionSkippedSuppliedResultReason) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionSkippedSuppliedResultReason) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionSkippedSuppliedResultStatus ¶ added in v0.1.1
type ExecutionEventExecutionSkippedSuppliedResultStatus string
ExecutionEventExecutionSkippedSuppliedResultStatus is a generated schema value.
const ExecutionEventExecutionSkippedSuppliedResultStatusSkipped ExecutionEventExecutionSkippedSuppliedResultStatus = "skipped"
func (*ExecutionEventExecutionSkippedSuppliedResultStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionSkippedSuppliedResultStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionSkippedTimeout ¶ added in v0.1.1
type ExecutionEventExecutionSkippedTimeout struct {
Detail Optional[string]
Reason ExecutionEventExecutionSkippedTimeoutReason
Status ExecutionEventExecutionSkippedTimeoutStatus
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventExecutionSkippedTimeout is a generated nested model.
func (ExecutionEventExecutionSkippedTimeout) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventExecutionSkippedTimeout) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventExecutionSkippedTimeout) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionSkippedTimeout) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionSkippedTimeoutReason ¶ added in v0.1.1
type ExecutionEventExecutionSkippedTimeoutReason string
ExecutionEventExecutionSkippedTimeoutReason is a generated schema value.
const ExecutionEventExecutionSkippedTimeoutReasonTimeout ExecutionEventExecutionSkippedTimeoutReason = "timeout"
func (*ExecutionEventExecutionSkippedTimeoutReason) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionSkippedTimeoutReason) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventExecutionSkippedTimeoutStatus ¶ added in v0.1.1
type ExecutionEventExecutionSkippedTimeoutStatus string
ExecutionEventExecutionSkippedTimeoutStatus is a generated schema value.
const ExecutionEventExecutionSkippedTimeoutStatusSkipped ExecutionEventExecutionSkippedTimeoutStatus = "skipped"
func (*ExecutionEventExecutionSkippedTimeoutStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventExecutionSkippedTimeoutStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventFilechange ¶
type ExecutionEventFilechange struct {
After Optional[*ContentItem]
Before Optional[*ContentItem]
Change ExecutionEventFilechangeChange
Path string
PreviousPath Optional[string]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventFilechange is generated from schema/draft/execution-event.schema.json#/$defs/fileChange.
func (ExecutionEventFilechange) MarshalJSON ¶
func (value ExecutionEventFilechange) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventFilechange) UnmarshalJSON ¶
func (value *ExecutionEventFilechange) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventFilechangeChange ¶
type ExecutionEventFilechangeChange string
ExecutionEventFilechangeChange is a generated schema value.
const ExecutionEventFilechangeChangeCreated ExecutionEventFilechangeChange = "created"
const ExecutionEventFilechangeChangeDeleted ExecutionEventFilechangeChange = "deleted"
const ExecutionEventFilechangeChangeModified ExecutionEventFilechangeChange = "modified"
const ExecutionEventFilechangeChangeMoved ExecutionEventFilechangeChange = "moved"
func (*ExecutionEventFilechangeChange) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventFilechangeChange) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventMcp ¶
type ExecutionEventMcp struct {
Connection ExecutionEventMcpConnection
Provenance ExecutionEventMcpProvenance
Server ExecutionEventMcpServer
ToolName string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventMcp is generated from schema/draft/execution-event.schema.json#/$defs/mcp.
func (ExecutionEventMcp) MarshalJSON ¶
func (value ExecutionEventMcp) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventMcp) UnmarshalJSON ¶
func (value *ExecutionEventMcp) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventMcpConnection ¶
type ExecutionEventMcpConnection struct {
HTTP Optional[ExecutionEventMcpConnectionHTTP]
Sse Optional[ExecutionEventMcpConnectionSse]
Stdio Optional[ExecutionEventMcpConnectionStdio]
CustomTransport Optional[ExecutionEventMcpConnectionCustomTransport]
Unknown json.RawMessage
}
ExecutionEventMcpConnection is a generated union model.
func (ExecutionEventMcpConnection) MarshalJSON ¶
func (value ExecutionEventMcpConnection) MarshalJSON() ([]byte, error)
func (*ExecutionEventMcpConnection) UnmarshalJSON ¶
func (value *ExecutionEventMcpConnection) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventMcpConnectionCustomTransport ¶ added in v0.1.1
type ExecutionEventMcpConnectionCustomTransport struct {
Address Optional[string]
AddressForm Optional[string]
Gaps Optional[[]ExecutionEventMcpConnectionCustomTransportGapsItem]
Transport string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventMcpConnectionCustomTransport is a generated nested model.
func (ExecutionEventMcpConnectionCustomTransport) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventMcpConnectionCustomTransport) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventMcpConnectionCustomTransport) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventMcpConnectionCustomTransport) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventMcpConnectionCustomTransportGapsItem ¶ added in v0.1.1
type ExecutionEventMcpConnectionCustomTransportGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventMcpConnectionCustomTransportGapsItem is a generated nested model.
func (ExecutionEventMcpConnectionCustomTransportGapsItem) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventMcpConnectionCustomTransportGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventMcpConnectionCustomTransportGapsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventMcpConnectionCustomTransportGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventMcpConnectionHTTP ¶ added in v0.1.1
type ExecutionEventMcpConnectionHTTP struct {
Gaps Optional[[]ExecutionEventMcpConnectionHTTPGapsItem]
Transport ExecutionEventMcpConnectionHTTPTransport
URL Optional[string]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventMcpConnectionHTTP is a generated nested model.
func (ExecutionEventMcpConnectionHTTP) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventMcpConnectionHTTP) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventMcpConnectionHTTP) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventMcpConnectionHTTP) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventMcpConnectionHTTPGapsItem ¶ added in v0.1.1
type ExecutionEventMcpConnectionHTTPGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventMcpConnectionHTTPGapsItem is a generated nested model.
func (ExecutionEventMcpConnectionHTTPGapsItem) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventMcpConnectionHTTPGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventMcpConnectionHTTPGapsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventMcpConnectionHTTPGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventMcpConnectionHTTPTransport ¶ added in v0.1.1
type ExecutionEventMcpConnectionHTTPTransport string
ExecutionEventMcpConnectionHTTPTransport is a generated schema value.
const ExecutionEventMcpConnectionHTTPTransportHTTP ExecutionEventMcpConnectionHTTPTransport = "http"
func (*ExecutionEventMcpConnectionHTTPTransport) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventMcpConnectionHTTPTransport) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventMcpConnectionSse ¶ added in v0.1.1
type ExecutionEventMcpConnectionSse struct {
Gaps Optional[[]ExecutionEventMcpConnectionSseGapsItem]
Transport ExecutionEventMcpConnectionSseTransport
URL Optional[string]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventMcpConnectionSse is a generated nested model.
func (ExecutionEventMcpConnectionSse) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventMcpConnectionSse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventMcpConnectionSse) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventMcpConnectionSse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventMcpConnectionSseGapsItem ¶ added in v0.1.1
type ExecutionEventMcpConnectionSseGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventMcpConnectionSseGapsItem is a generated nested model.
func (ExecutionEventMcpConnectionSseGapsItem) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventMcpConnectionSseGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventMcpConnectionSseGapsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventMcpConnectionSseGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventMcpConnectionSseTransport ¶ added in v0.1.1
type ExecutionEventMcpConnectionSseTransport string
ExecutionEventMcpConnectionSseTransport is a generated schema value.
const ExecutionEventMcpConnectionSseTransportSse ExecutionEventMcpConnectionSseTransport = "sse"
func (*ExecutionEventMcpConnectionSseTransport) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventMcpConnectionSseTransport) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventMcpConnectionStdio ¶ added in v0.1.1
type ExecutionEventMcpConnectionStdio struct {
Args Optional[[]string]
Command Optional[string]
CWD Optional[string]
Gaps Optional[[]ExecutionEventMcpConnectionStdioGapsItem]
Transport ExecutionEventMcpConnectionStdioTransport
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventMcpConnectionStdio is a generated nested model.
func (ExecutionEventMcpConnectionStdio) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventMcpConnectionStdio) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventMcpConnectionStdio) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventMcpConnectionStdio) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventMcpConnectionStdioGapsItem ¶ added in v0.1.1
type ExecutionEventMcpConnectionStdioGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventMcpConnectionStdioGapsItem is a generated nested model.
func (ExecutionEventMcpConnectionStdioGapsItem) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventMcpConnectionStdioGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventMcpConnectionStdioGapsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventMcpConnectionStdioGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventMcpConnectionStdioTransport ¶ added in v0.1.1
type ExecutionEventMcpConnectionStdioTransport string
ExecutionEventMcpConnectionStdioTransport is a generated schema value.
const ExecutionEventMcpConnectionStdioTransportStdio ExecutionEventMcpConnectionStdioTransport = "stdio"
func (*ExecutionEventMcpConnectionStdioTransport) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventMcpConnectionStdioTransport) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventMcpProvenance ¶
type ExecutionEventMcpProvenance string
ExecutionEventMcpProvenance is a generated schema value.
const ExecutionEventMcpProvenanceInferred ExecutionEventMcpProvenance = "inferred"
const ExecutionEventMcpProvenanceRuntime ExecutionEventMcpProvenance = "runtime"
func (*ExecutionEventMcpProvenance) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventMcpProvenance) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventMcpServer ¶
type ExecutionEventMcpServer struct {
ID string
Name Optional[string]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventMcpServer is a generated nested model.
func (ExecutionEventMcpServer) MarshalJSON ¶
func (value ExecutionEventMcpServer) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventMcpServer) UnmarshalJSON ¶
func (value *ExecutionEventMcpServer) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModel ¶
type ExecutionEventModel struct {
ID string
Provider string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModel is generated from schema/draft/execution-event.schema.json#/$defs/model.
func (ExecutionEventModel) MarshalJSON ¶
func (value ExecutionEventModel) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModel) UnmarshalJSON ¶
func (value *ExecutionEventModel) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelError ¶
type ExecutionEventModelError struct {
Attempt *ExecutionEventAttempt
Error *ExecutionEventError
Execution ExecutionEventModelErrorExecution
Extensions Optional[*Extensions]
Gaps Optional[[]ExecutionEventModelErrorGapsItem]
ID string
Items Optional[[]*ContentItem]
LatencyMs Optional[json.Number]
Model *ExecutionEventModel
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Recovery Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[ExecutionEventModelErrorTurn]
Type ExecutionEventModelErrorType
Usage Optional[*ExecutionEventAttemptusage]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelError is generated from schema/draft/execution-event.schema.json#/$defs/model.error.
func (ExecutionEventModelError) MarshalJSON ¶
func (value ExecutionEventModelError) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelError) UnmarshalJSON ¶
func (value *ExecutionEventModelError) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecution ¶ added in v0.1.1
type ExecutionEventModelErrorExecution struct {
Executed Optional[ExecutionEventModelErrorExecutionExecuted]
SkippedSuppliedResult Optional[ExecutionEventModelErrorExecutionSkippedSuppliedResult]
SkippedPolicy Optional[ExecutionEventModelErrorExecutionSkippedPolicy]
SkippedCancelled Optional[ExecutionEventModelErrorExecutionSkippedCancelled]
SkippedTimeout Optional[ExecutionEventModelErrorExecutionSkippedTimeout]
SkippedOther Optional[ExecutionEventModelErrorExecutionSkippedOther]
Unknown json.RawMessage
}
ExecutionEventModelErrorExecution is a generated union model.
func (ExecutionEventModelErrorExecution) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventModelErrorExecution) MarshalJSON() ([]byte, error)
func (*ExecutionEventModelErrorExecution) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecution) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionExecuted ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionExecuted struct {
Status ExecutionEventModelErrorExecutionExecutedStatus
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelErrorExecutionExecuted is a generated nested model.
func (ExecutionEventModelErrorExecutionExecuted) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventModelErrorExecutionExecuted) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelErrorExecutionExecuted) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionExecuted) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionExecutedStatus ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionExecutedStatus string
ExecutionEventModelErrorExecutionExecutedStatus is a generated schema value.
const ExecutionEventModelErrorExecutionExecutedStatusExecuted ExecutionEventModelErrorExecutionExecutedStatus = "executed"
func (*ExecutionEventModelErrorExecutionExecutedStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionExecutedStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedCancelled ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedCancelled struct {
Detail Optional[string]
Reason ExecutionEventModelErrorExecutionSkippedCancelledReason
Status ExecutionEventModelErrorExecutionSkippedCancelledStatus
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelErrorExecutionSkippedCancelled is a generated nested model.
func (ExecutionEventModelErrorExecutionSkippedCancelled) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventModelErrorExecutionSkippedCancelled) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelErrorExecutionSkippedCancelled) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedCancelled) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedCancelledReason ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedCancelledReason string
ExecutionEventModelErrorExecutionSkippedCancelledReason is a generated schema value.
const ExecutionEventModelErrorExecutionSkippedCancelledReasonCancelled ExecutionEventModelErrorExecutionSkippedCancelledReason = "cancelled"
func (*ExecutionEventModelErrorExecutionSkippedCancelledReason) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedCancelledReason) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedCancelledStatus ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedCancelledStatus ExecutionEventModelErrorExecutionSkippedCancelledStatusValue
ExecutionEventModelErrorExecutionSkippedCancelledStatus is a structurally validated schema value.
func (ExecutionEventModelErrorExecutionSkippedCancelledStatus) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventModelErrorExecutionSkippedCancelledStatus) MarshalJSON() ([]byte, error)
func (*ExecutionEventModelErrorExecutionSkippedCancelledStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedCancelledStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedCancelledStatusValue ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedCancelledStatusValue string
ExecutionEventModelErrorExecutionSkippedCancelledStatusValue is a generated schema value.
const ExecutionEventModelErrorExecutionSkippedCancelledStatusValueExecuted ExecutionEventModelErrorExecutionSkippedCancelledStatusValue = "executed"
func (*ExecutionEventModelErrorExecutionSkippedCancelledStatusValue) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedCancelledStatusValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedOther ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedOther struct {
Detail Optional[string]
Reason ExecutionEventModelErrorExecutionSkippedOtherReason
Status ExecutionEventModelErrorExecutionSkippedOtherStatus
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelErrorExecutionSkippedOther is a generated nested model.
func (ExecutionEventModelErrorExecutionSkippedOther) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventModelErrorExecutionSkippedOther) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelErrorExecutionSkippedOther) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedOther) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedOtherReason ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedOtherReason string
ExecutionEventModelErrorExecutionSkippedOtherReason is a generated schema value.
const ExecutionEventModelErrorExecutionSkippedOtherReasonOther ExecutionEventModelErrorExecutionSkippedOtherReason = "other"
func (*ExecutionEventModelErrorExecutionSkippedOtherReason) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedOtherReason) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedOtherStatus ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedOtherStatus ExecutionEventModelErrorExecutionSkippedOtherStatusValue
ExecutionEventModelErrorExecutionSkippedOtherStatus is a structurally validated schema value.
func (ExecutionEventModelErrorExecutionSkippedOtherStatus) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventModelErrorExecutionSkippedOtherStatus) MarshalJSON() ([]byte, error)
func (*ExecutionEventModelErrorExecutionSkippedOtherStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedOtherStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedOtherStatusValue ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedOtherStatusValue string
ExecutionEventModelErrorExecutionSkippedOtherStatusValue is a generated schema value.
const ExecutionEventModelErrorExecutionSkippedOtherStatusValueExecuted ExecutionEventModelErrorExecutionSkippedOtherStatusValue = "executed"
func (*ExecutionEventModelErrorExecutionSkippedOtherStatusValue) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedOtherStatusValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedPolicy ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedPolicy struct {
Detail Optional[string]
Reason ExecutionEventModelErrorExecutionSkippedPolicyReason
Status ExecutionEventModelErrorExecutionSkippedPolicyStatus
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelErrorExecutionSkippedPolicy is a generated nested model.
func (ExecutionEventModelErrorExecutionSkippedPolicy) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventModelErrorExecutionSkippedPolicy) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelErrorExecutionSkippedPolicy) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedPolicy) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedPolicyReason ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedPolicyReason string
ExecutionEventModelErrorExecutionSkippedPolicyReason is a generated schema value.
const ExecutionEventModelErrorExecutionSkippedPolicyReasonPolicy ExecutionEventModelErrorExecutionSkippedPolicyReason = "policy"
func (*ExecutionEventModelErrorExecutionSkippedPolicyReason) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedPolicyReason) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedPolicyStatus ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedPolicyStatus ExecutionEventModelErrorExecutionSkippedPolicyStatusValue
ExecutionEventModelErrorExecutionSkippedPolicyStatus is a structurally validated schema value.
func (ExecutionEventModelErrorExecutionSkippedPolicyStatus) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventModelErrorExecutionSkippedPolicyStatus) MarshalJSON() ([]byte, error)
func (*ExecutionEventModelErrorExecutionSkippedPolicyStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedPolicyStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedPolicyStatusValue ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedPolicyStatusValue string
ExecutionEventModelErrorExecutionSkippedPolicyStatusValue is a generated schema value.
const ExecutionEventModelErrorExecutionSkippedPolicyStatusValueExecuted ExecutionEventModelErrorExecutionSkippedPolicyStatusValue = "executed"
func (*ExecutionEventModelErrorExecutionSkippedPolicyStatusValue) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedPolicyStatusValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedSuppliedResult ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedSuppliedResult struct {
Reason ExecutionEventModelErrorExecutionSkippedSuppliedResultReason
Status ExecutionEventModelErrorExecutionSkippedSuppliedResultStatus
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelErrorExecutionSkippedSuppliedResult is a generated nested model.
func (ExecutionEventModelErrorExecutionSkippedSuppliedResult) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventModelErrorExecutionSkippedSuppliedResult) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelErrorExecutionSkippedSuppliedResult) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedSuppliedResult) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedSuppliedResultReason ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedSuppliedResultReason string
ExecutionEventModelErrorExecutionSkippedSuppliedResultReason is a generated schema value.
const ExecutionEventModelErrorExecutionSkippedSuppliedResultReasonSuppliedResult ExecutionEventModelErrorExecutionSkippedSuppliedResultReason = "supplied_result"
func (*ExecutionEventModelErrorExecutionSkippedSuppliedResultReason) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedSuppliedResultReason) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedSuppliedResultStatus ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedSuppliedResultStatus ExecutionEventModelErrorExecutionSkippedSuppliedResultStatusValue
ExecutionEventModelErrorExecutionSkippedSuppliedResultStatus is a structurally validated schema value.
func (ExecutionEventModelErrorExecutionSkippedSuppliedResultStatus) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventModelErrorExecutionSkippedSuppliedResultStatus) MarshalJSON() ([]byte, error)
func (*ExecutionEventModelErrorExecutionSkippedSuppliedResultStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedSuppliedResultStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedSuppliedResultStatusValue ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedSuppliedResultStatusValue string
ExecutionEventModelErrorExecutionSkippedSuppliedResultStatusValue is a generated schema value.
const ExecutionEventModelErrorExecutionSkippedSuppliedResultStatusValueExecuted ExecutionEventModelErrorExecutionSkippedSuppliedResultStatusValue = "executed"
func (*ExecutionEventModelErrorExecutionSkippedSuppliedResultStatusValue) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedSuppliedResultStatusValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedTimeout ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedTimeout struct {
Detail Optional[string]
Reason ExecutionEventModelErrorExecutionSkippedTimeoutReason
Status ExecutionEventModelErrorExecutionSkippedTimeoutStatus
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelErrorExecutionSkippedTimeout is a generated nested model.
func (ExecutionEventModelErrorExecutionSkippedTimeout) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventModelErrorExecutionSkippedTimeout) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelErrorExecutionSkippedTimeout) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedTimeout) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedTimeoutReason ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedTimeoutReason string
ExecutionEventModelErrorExecutionSkippedTimeoutReason is a generated schema value.
const ExecutionEventModelErrorExecutionSkippedTimeoutReasonTimeout ExecutionEventModelErrorExecutionSkippedTimeoutReason = "timeout"
func (*ExecutionEventModelErrorExecutionSkippedTimeoutReason) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedTimeoutReason) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedTimeoutStatus ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedTimeoutStatus ExecutionEventModelErrorExecutionSkippedTimeoutStatusValue
ExecutionEventModelErrorExecutionSkippedTimeoutStatus is a structurally validated schema value.
func (ExecutionEventModelErrorExecutionSkippedTimeoutStatus) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventModelErrorExecutionSkippedTimeoutStatus) MarshalJSON() ([]byte, error)
func (*ExecutionEventModelErrorExecutionSkippedTimeoutStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedTimeoutStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorExecutionSkippedTimeoutStatusValue ¶ added in v0.1.1
type ExecutionEventModelErrorExecutionSkippedTimeoutStatusValue string
ExecutionEventModelErrorExecutionSkippedTimeoutStatusValue is a generated schema value.
const ExecutionEventModelErrorExecutionSkippedTimeoutStatusValueExecuted ExecutionEventModelErrorExecutionSkippedTimeoutStatusValue = "executed"
func (*ExecutionEventModelErrorExecutionSkippedTimeoutStatusValue) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorExecutionSkippedTimeoutStatusValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorGapsItem ¶
type ExecutionEventModelErrorGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelErrorGapsItem is a generated nested model.
func (ExecutionEventModelErrorGapsItem) MarshalJSON ¶
func (value ExecutionEventModelErrorGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelErrorGapsItem) UnmarshalJSON ¶
func (value *ExecutionEventModelErrorGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorTurn ¶
type ExecutionEventModelErrorTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelErrorTurn is a generated nested model.
func (ExecutionEventModelErrorTurn) MarshalJSON ¶
func (value ExecutionEventModelErrorTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelErrorTurn) UnmarshalJSON ¶
func (value *ExecutionEventModelErrorTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelErrorType ¶
type ExecutionEventModelErrorType string
ExecutionEventModelErrorType is a generated schema value.
const ExecutionEventModelErrorTypeModelError ExecutionEventModelErrorType = "model.error"
func (*ExecutionEventModelErrorType) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelErrorType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelRequestBefore ¶
type ExecutionEventModelRequestBefore struct {
Attempt *ExecutionEventAttempt
Extensions Optional[*Extensions]
Gaps Optional[[]ExecutionEventModelRequestBeforeGapsItem]
ID string
Items []*ModelVisibleItem
Model *ExecutionEventModel
Native Optional[*NativeEvent]
Params ExecutionEventModelRequestBeforeParams
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[ExecutionEventModelRequestBeforeTurn]
Type ExecutionEventModelRequestBeforeType
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelRequestBefore is generated from schema/draft/execution-event.schema.json#/$defs/model.request.before.
func (ExecutionEventModelRequestBefore) MarshalJSON ¶
func (value ExecutionEventModelRequestBefore) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelRequestBefore) UnmarshalJSON ¶
func (value *ExecutionEventModelRequestBefore) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelRequestBeforeGapsItem ¶
type ExecutionEventModelRequestBeforeGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelRequestBeforeGapsItem is a generated nested model.
func (ExecutionEventModelRequestBeforeGapsItem) MarshalJSON ¶
func (value ExecutionEventModelRequestBeforeGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelRequestBeforeGapsItem) UnmarshalJSON ¶
func (value *ExecutionEventModelRequestBeforeGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelRequestBeforeParams ¶
type ExecutionEventModelRequestBeforeParams struct {
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelRequestBeforeParams is a generated nested model.
func (ExecutionEventModelRequestBeforeParams) MarshalJSON ¶
func (value ExecutionEventModelRequestBeforeParams) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelRequestBeforeParams) UnmarshalJSON ¶
func (value *ExecutionEventModelRequestBeforeParams) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelRequestBeforeTurn ¶
type ExecutionEventModelRequestBeforeTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelRequestBeforeTurn is a generated nested model.
func (ExecutionEventModelRequestBeforeTurn) MarshalJSON ¶
func (value ExecutionEventModelRequestBeforeTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelRequestBeforeTurn) UnmarshalJSON ¶
func (value *ExecutionEventModelRequestBeforeTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelRequestBeforeType ¶
type ExecutionEventModelRequestBeforeType string
ExecutionEventModelRequestBeforeType is a generated schema value.
const ExecutionEventModelRequestBeforeTypeModelRequestBefore ExecutionEventModelRequestBeforeType = "model.request.before"
func (*ExecutionEventModelRequestBeforeType) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelRequestBeforeType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelResponseAfter ¶
type ExecutionEventModelResponseAfter struct {
Attempt *ExecutionEventAttempt
Execution *ExecutionEventExecution
Extensions Optional[*Extensions]
FinishReason string
Gaps Optional[[]ExecutionEventModelResponseAfterGapsItem]
ID string
Items []*ModelVisibleItem
LatencyMs Optional[json.Number]
Model *ExecutionEventModel
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[ExecutionEventModelResponseAfterTurn]
Type ExecutionEventModelResponseAfterType
Usage Optional[*ExecutionEventAttemptusage]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelResponseAfter is generated from schema/draft/execution-event.schema.json#/$defs/model.response.after.
func (ExecutionEventModelResponseAfter) MarshalJSON ¶
func (value ExecutionEventModelResponseAfter) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelResponseAfter) UnmarshalJSON ¶
func (value *ExecutionEventModelResponseAfter) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelResponseAfterGapsItem ¶
type ExecutionEventModelResponseAfterGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelResponseAfterGapsItem is a generated nested model.
func (ExecutionEventModelResponseAfterGapsItem) MarshalJSON ¶
func (value ExecutionEventModelResponseAfterGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelResponseAfterGapsItem) UnmarshalJSON ¶
func (value *ExecutionEventModelResponseAfterGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelResponseAfterTurn ¶
type ExecutionEventModelResponseAfterTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelResponseAfterTurn is a generated nested model.
func (ExecutionEventModelResponseAfterTurn) MarshalJSON ¶
func (value ExecutionEventModelResponseAfterTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelResponseAfterTurn) UnmarshalJSON ¶
func (value *ExecutionEventModelResponseAfterTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelResponseAfterType ¶
type ExecutionEventModelResponseAfterType string
ExecutionEventModelResponseAfterType is a generated schema value.
const ExecutionEventModelResponseAfterTypeModelResponseAfter ExecutionEventModelResponseAfterType = "model.response.after"
func (*ExecutionEventModelResponseAfterType) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelResponseAfterType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelSwitchAfter ¶
type ExecutionEventModelSwitchAfter struct {
Current *ExecutionEventModel
Extensions Optional[*Extensions]
Gaps Optional[[]ExecutionEventModelSwitchAfterGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Previous *ExecutionEventModel
Reason string
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[ExecutionEventModelSwitchAfterTurn]
Type ExecutionEventModelSwitchAfterType
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelSwitchAfter is generated from schema/draft/execution-event.schema.json#/$defs/model.switch.after.
func (ExecutionEventModelSwitchAfter) MarshalJSON ¶
func (value ExecutionEventModelSwitchAfter) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelSwitchAfter) UnmarshalJSON ¶
func (value *ExecutionEventModelSwitchAfter) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelSwitchAfterGapsItem ¶
type ExecutionEventModelSwitchAfterGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelSwitchAfterGapsItem is a generated nested model.
func (ExecutionEventModelSwitchAfterGapsItem) MarshalJSON ¶
func (value ExecutionEventModelSwitchAfterGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelSwitchAfterGapsItem) UnmarshalJSON ¶
func (value *ExecutionEventModelSwitchAfterGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelSwitchAfterTurn ¶
type ExecutionEventModelSwitchAfterTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelSwitchAfterTurn is a generated nested model.
func (ExecutionEventModelSwitchAfterTurn) MarshalJSON ¶
func (value ExecutionEventModelSwitchAfterTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelSwitchAfterTurn) UnmarshalJSON ¶
func (value *ExecutionEventModelSwitchAfterTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelSwitchAfterType ¶
type ExecutionEventModelSwitchAfterType string
ExecutionEventModelSwitchAfterType is a generated schema value.
const ExecutionEventModelSwitchAfterTypeModelSwitchAfter ExecutionEventModelSwitchAfterType = "model.switch.after"
func (*ExecutionEventModelSwitchAfterType) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelSwitchAfterType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelSwitchBefore ¶
type ExecutionEventModelSwitchBefore struct {
Current *ExecutionEventModel
Extensions Optional[*Extensions]
Gaps Optional[[]ExecutionEventModelSwitchBeforeGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Pricing Optional[ExecutionEventModelSwitchBeforePricing]
Proposed *ExecutionEventModel
Reason string
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[ExecutionEventModelSwitchBeforeTurn]
Type ExecutionEventModelSwitchBeforeType
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelSwitchBefore is generated from schema/draft/execution-event.schema.json#/$defs/model.switch.before.
func (ExecutionEventModelSwitchBefore) MarshalJSON ¶
func (value ExecutionEventModelSwitchBefore) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelSwitchBefore) UnmarshalJSON ¶
func (value *ExecutionEventModelSwitchBefore) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelSwitchBeforeGapsItem ¶
type ExecutionEventModelSwitchBeforeGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelSwitchBeforeGapsItem is a generated nested model.
func (ExecutionEventModelSwitchBeforeGapsItem) MarshalJSON ¶
func (value ExecutionEventModelSwitchBeforeGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelSwitchBeforeGapsItem) UnmarshalJSON ¶
func (value *ExecutionEventModelSwitchBeforeGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelSwitchBeforePricing ¶
type ExecutionEventModelSwitchBeforePricing struct {
Currency string
InputPerMillionTokens Optional[json.Number]
OutputPerMillionTokens Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelSwitchBeforePricing is a generated nested model.
func (ExecutionEventModelSwitchBeforePricing) MarshalJSON ¶
func (value ExecutionEventModelSwitchBeforePricing) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelSwitchBeforePricing) UnmarshalJSON ¶
func (value *ExecutionEventModelSwitchBeforePricing) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelSwitchBeforeTurn ¶
type ExecutionEventModelSwitchBeforeTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventModelSwitchBeforeTurn is a generated nested model.
func (ExecutionEventModelSwitchBeforeTurn) MarshalJSON ¶
func (value ExecutionEventModelSwitchBeforeTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventModelSwitchBeforeTurn) UnmarshalJSON ¶
func (value *ExecutionEventModelSwitchBeforeTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventModelSwitchBeforeType ¶
type ExecutionEventModelSwitchBeforeType string
ExecutionEventModelSwitchBeforeType is a generated schema value.
const ExecutionEventModelSwitchBeforeTypeModelSwitchBefore ExecutionEventModelSwitchBeforeType = "model.switch.before"
func (*ExecutionEventModelSwitchBeforeType) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventModelSwitchBeforeType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTokencounts ¶
type ExecutionEventTokencounts struct {
After Optional[json.Number]
Before Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTokencounts is generated from schema/draft/execution-event.schema.json#/$defs/tokenCounts.
func (ExecutionEventTokencounts) MarshalJSON ¶
func (value ExecutionEventTokencounts) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTokencounts) UnmarshalJSON ¶
func (value *ExecutionEventTokencounts) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTool ¶
type ExecutionEventTool struct {
Input ExecutionEventToolInput
Kind Optional[string]
Mcp Optional[*ExecutionEventMcp]
Name string
Origin ExecutionEventToolOrigin
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTool is generated from schema/draft/execution-event.schema.json#/$defs/tool.
func (ExecutionEventTool) MarshalJSON ¶
func (value ExecutionEventTool) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTool) UnmarshalJSON ¶
func (value *ExecutionEventTool) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolBatchAfter ¶
type ExecutionEventToolBatchAfter struct {
Batch ExecutionEventToolBatchAfterBatch
Calls []ExecutionEventToolBatchAfterCallsItem
Extensions Optional[*Extensions]
Gaps Optional[[]ExecutionEventToolBatchAfterGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[ExecutionEventToolBatchAfterTurn]
Type ExecutionEventToolBatchAfterType
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolBatchAfter is generated from schema/draft/execution-event.schema.json#/$defs/tool.batch.after.
func (ExecutionEventToolBatchAfter) MarshalJSON ¶
func (value ExecutionEventToolBatchAfter) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolBatchAfter) UnmarshalJSON ¶
func (value *ExecutionEventToolBatchAfter) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolBatchAfterBatch ¶
type ExecutionEventToolBatchAfterBatch struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolBatchAfterBatch is a generated nested model.
func (ExecutionEventToolBatchAfterBatch) MarshalJSON ¶
func (value ExecutionEventToolBatchAfterBatch) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolBatchAfterBatch) UnmarshalJSON ¶
func (value *ExecutionEventToolBatchAfterBatch) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolBatchAfterCallsItem ¶
type ExecutionEventToolBatchAfterCallsItem struct {
Batch Optional[*ExecutionEventBatch]
Call ExecutionEventToolBatchAfterCallsItemCall
Execution *ExecutionEventExecution
Outcome ExecutionEventToolBatchAfterCallsItemOutcome
Path string
Tool *ExecutionEventTool
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolBatchAfterCallsItem is a generated nested model.
func (ExecutionEventToolBatchAfterCallsItem) MarshalJSON ¶
func (value ExecutionEventToolBatchAfterCallsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolBatchAfterCallsItem) UnmarshalJSON ¶
func (value *ExecutionEventToolBatchAfterCallsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolBatchAfterCallsItemCall ¶
type ExecutionEventToolBatchAfterCallsItemCall struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolBatchAfterCallsItemCall is a generated nested model.
func (ExecutionEventToolBatchAfterCallsItemCall) MarshalJSON ¶
func (value ExecutionEventToolBatchAfterCallsItemCall) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolBatchAfterCallsItemCall) UnmarshalJSON ¶
func (value *ExecutionEventToolBatchAfterCallsItemCall) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolBatchAfterCallsItemOutcome ¶
type ExecutionEventToolBatchAfterCallsItemOutcome string
ExecutionEventToolBatchAfterCallsItemOutcome is a generated schema value.
const ExecutionEventToolBatchAfterCallsItemOutcomeCancelled ExecutionEventToolBatchAfterCallsItemOutcome = "cancelled"
const ExecutionEventToolBatchAfterCallsItemOutcomeDenied ExecutionEventToolBatchAfterCallsItemOutcome = "denied"
const ExecutionEventToolBatchAfterCallsItemOutcomeError ExecutionEventToolBatchAfterCallsItemOutcome = "error"
const ExecutionEventToolBatchAfterCallsItemOutcomeOk ExecutionEventToolBatchAfterCallsItemOutcome = "ok"
const ExecutionEventToolBatchAfterCallsItemOutcomeTimeout ExecutionEventToolBatchAfterCallsItemOutcome = "timeout"
func (*ExecutionEventToolBatchAfterCallsItemOutcome) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventToolBatchAfterCallsItemOutcome) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolBatchAfterGapsItem ¶
type ExecutionEventToolBatchAfterGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolBatchAfterGapsItem is a generated nested model.
func (ExecutionEventToolBatchAfterGapsItem) MarshalJSON ¶
func (value ExecutionEventToolBatchAfterGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolBatchAfterGapsItem) UnmarshalJSON ¶
func (value *ExecutionEventToolBatchAfterGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolBatchAfterTurn ¶
type ExecutionEventToolBatchAfterTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolBatchAfterTurn is a generated nested model.
func (ExecutionEventToolBatchAfterTurn) MarshalJSON ¶
func (value ExecutionEventToolBatchAfterTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolBatchAfterTurn) UnmarshalJSON ¶
func (value *ExecutionEventToolBatchAfterTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolBatchAfterType ¶
type ExecutionEventToolBatchAfterType string
ExecutionEventToolBatchAfterType is a generated schema value.
const ExecutionEventToolBatchAfterTypeToolBatchAfter ExecutionEventToolBatchAfterType = "tool.batch.after"
func (*ExecutionEventToolBatchAfterType) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventToolBatchAfterType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolInput ¶
type ExecutionEventToolInput struct {
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolInput is a generated nested model.
func (ExecutionEventToolInput) MarshalJSON ¶
func (value ExecutionEventToolInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolInput) UnmarshalJSON ¶
func (value *ExecutionEventToolInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolOrigin ¶
type ExecutionEventToolOrigin string
ExecutionEventToolOrigin is a generated schema value.
const ExecutionEventToolOriginMcp ExecutionEventToolOrigin = "mcp"
const ExecutionEventToolOriginNative ExecutionEventToolOrigin = "native"
func (*ExecutionEventToolOrigin) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventToolOrigin) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolPermissionRequest ¶
type ExecutionEventToolPermissionRequest struct {
Batch Optional[*ExecutionEventBatch]
Call ExecutionEventToolPermissionRequestCall
Extensions Optional[*Extensions]
Gaps Optional[[]ExecutionEventToolPermissionRequestGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Path string
SandboxBypass bool
Session Optional[*Session]
Source string
Suggestions []ExecutionEventToolPermissionRequestSuggestionsItem
Synthesized Optional[bool]
Time string
Tool *ExecutionEventTool
Turn Optional[ExecutionEventToolPermissionRequestTurn]
Type ExecutionEventToolPermissionRequestType
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolPermissionRequest is generated from schema/draft/execution-event.schema.json#/$defs/tool.permission.request.
func (ExecutionEventToolPermissionRequest) MarshalJSON ¶
func (value ExecutionEventToolPermissionRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolPermissionRequest) UnmarshalJSON ¶
func (value *ExecutionEventToolPermissionRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolPermissionRequestCall ¶
type ExecutionEventToolPermissionRequestCall struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolPermissionRequestCall is a generated nested model.
func (ExecutionEventToolPermissionRequestCall) MarshalJSON ¶
func (value ExecutionEventToolPermissionRequestCall) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolPermissionRequestCall) UnmarshalJSON ¶
func (value *ExecutionEventToolPermissionRequestCall) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolPermissionRequestGapsItem ¶
type ExecutionEventToolPermissionRequestGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolPermissionRequestGapsItem is a generated nested model.
func (ExecutionEventToolPermissionRequestGapsItem) MarshalJSON ¶
func (value ExecutionEventToolPermissionRequestGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolPermissionRequestGapsItem) UnmarshalJSON ¶
func (value *ExecutionEventToolPermissionRequestGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolPermissionRequestSuggestionsItem ¶
type ExecutionEventToolPermissionRequestSuggestionsItem struct {
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolPermissionRequestSuggestionsItem is a generated nested model.
func (ExecutionEventToolPermissionRequestSuggestionsItem) MarshalJSON ¶
func (value ExecutionEventToolPermissionRequestSuggestionsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolPermissionRequestSuggestionsItem) UnmarshalJSON ¶
func (value *ExecutionEventToolPermissionRequestSuggestionsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolPermissionRequestTurn ¶
type ExecutionEventToolPermissionRequestTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolPermissionRequestTurn is a generated nested model.
func (ExecutionEventToolPermissionRequestTurn) MarshalJSON ¶
func (value ExecutionEventToolPermissionRequestTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolPermissionRequestTurn) UnmarshalJSON ¶
func (value *ExecutionEventToolPermissionRequestTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolPermissionRequestType ¶
type ExecutionEventToolPermissionRequestType string
ExecutionEventToolPermissionRequestType is a generated schema value.
const ExecutionEventToolPermissionRequestTypeToolPermissionRequest ExecutionEventToolPermissionRequestType = "tool.permission.request"
func (*ExecutionEventToolPermissionRequestType) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventToolPermissionRequestType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolPermissionResolved ¶
type ExecutionEventToolPermissionResolved struct {
Batch Optional[*ExecutionEventBatch]
Call ExecutionEventToolPermissionResolvedCall
DecidedBy ExecutionEventToolPermissionResolvedDecidedBy
Decision ExecutionEventToolPermissionResolvedDecision
Extensions Optional[*Extensions]
Gaps Optional[[]ExecutionEventToolPermissionResolvedGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Path string
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Tool *ExecutionEventTool
Turn Optional[ExecutionEventToolPermissionResolvedTurn]
Type ExecutionEventToolPermissionResolvedType
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolPermissionResolved is generated from schema/draft/execution-event.schema.json#/$defs/tool.permission.resolved.
func (ExecutionEventToolPermissionResolved) MarshalJSON ¶
func (value ExecutionEventToolPermissionResolved) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolPermissionResolved) UnmarshalJSON ¶
func (value *ExecutionEventToolPermissionResolved) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolPermissionResolvedCall ¶
type ExecutionEventToolPermissionResolvedCall struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolPermissionResolvedCall is a generated nested model.
func (ExecutionEventToolPermissionResolvedCall) MarshalJSON ¶
func (value ExecutionEventToolPermissionResolvedCall) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolPermissionResolvedCall) UnmarshalJSON ¶
func (value *ExecutionEventToolPermissionResolvedCall) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolPermissionResolvedDecidedBy ¶
type ExecutionEventToolPermissionResolvedDecidedBy string
ExecutionEventToolPermissionResolvedDecidedBy is a generated schema value.
const ExecutionEventToolPermissionResolvedDecidedByAuto ExecutionEventToolPermissionResolvedDecidedBy = "auto"
const ExecutionEventToolPermissionResolvedDecidedByClassifier ExecutionEventToolPermissionResolvedDecidedBy = "classifier"
const ExecutionEventToolPermissionResolvedDecidedByHook ExecutionEventToolPermissionResolvedDecidedBy = "hook"
const ExecutionEventToolPermissionResolvedDecidedByPolicy ExecutionEventToolPermissionResolvedDecidedBy = "policy"
const ExecutionEventToolPermissionResolvedDecidedByUser ExecutionEventToolPermissionResolvedDecidedBy = "user"
func (*ExecutionEventToolPermissionResolvedDecidedBy) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventToolPermissionResolvedDecidedBy) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolPermissionResolvedDecision ¶
type ExecutionEventToolPermissionResolvedDecision string
ExecutionEventToolPermissionResolvedDecision is a generated schema value.
const ExecutionEventToolPermissionResolvedDecisionAllow ExecutionEventToolPermissionResolvedDecision = "allow"
const ExecutionEventToolPermissionResolvedDecisionDeny ExecutionEventToolPermissionResolvedDecision = "deny"
func (*ExecutionEventToolPermissionResolvedDecision) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventToolPermissionResolvedDecision) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolPermissionResolvedGapsItem ¶
type ExecutionEventToolPermissionResolvedGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolPermissionResolvedGapsItem is a generated nested model.
func (ExecutionEventToolPermissionResolvedGapsItem) MarshalJSON ¶
func (value ExecutionEventToolPermissionResolvedGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolPermissionResolvedGapsItem) UnmarshalJSON ¶
func (value *ExecutionEventToolPermissionResolvedGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolPermissionResolvedTurn ¶
type ExecutionEventToolPermissionResolvedTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolPermissionResolvedTurn is a generated nested model.
func (ExecutionEventToolPermissionResolvedTurn) MarshalJSON ¶
func (value ExecutionEventToolPermissionResolvedTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolPermissionResolvedTurn) UnmarshalJSON ¶
func (value *ExecutionEventToolPermissionResolvedTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolPermissionResolvedType ¶
type ExecutionEventToolPermissionResolvedType string
ExecutionEventToolPermissionResolvedType is a generated schema value.
const ExecutionEventToolPermissionResolvedTypeToolPermissionResolved ExecutionEventToolPermissionResolvedType = "tool.permission.resolved"
func (*ExecutionEventToolPermissionResolvedType) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventToolPermissionResolvedType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolProgress ¶
type ExecutionEventToolProgress struct {
Backgrounded bool
Batch Optional[*ExecutionEventBatch]
Call ExecutionEventToolProgressCall
Extensions Optional[*Extensions]
Gaps Optional[[]ExecutionEventToolProgressGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
PartialOutput *ModelVisibleItem
Path string
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Tool *ExecutionEventTool
Turn Optional[ExecutionEventToolProgressTurn]
Type ExecutionEventToolProgressType
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolProgress is generated from schema/draft/execution-event.schema.json#/$defs/tool.progress.
func (ExecutionEventToolProgress) MarshalJSON ¶
func (value ExecutionEventToolProgress) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolProgress) UnmarshalJSON ¶
func (value *ExecutionEventToolProgress) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolProgressCall ¶
type ExecutionEventToolProgressCall struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolProgressCall is a generated nested model.
func (ExecutionEventToolProgressCall) MarshalJSON ¶
func (value ExecutionEventToolProgressCall) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolProgressCall) UnmarshalJSON ¶
func (value *ExecutionEventToolProgressCall) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolProgressGapsItem ¶
type ExecutionEventToolProgressGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolProgressGapsItem is a generated nested model.
func (ExecutionEventToolProgressGapsItem) MarshalJSON ¶
func (value ExecutionEventToolProgressGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolProgressGapsItem) UnmarshalJSON ¶
func (value *ExecutionEventToolProgressGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolProgressTurn ¶
type ExecutionEventToolProgressTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventToolProgressTurn is a generated nested model.
func (ExecutionEventToolProgressTurn) MarshalJSON ¶
func (value ExecutionEventToolProgressTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventToolProgressTurn) UnmarshalJSON ¶
func (value *ExecutionEventToolProgressTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventToolProgressType ¶
type ExecutionEventToolProgressType string
ExecutionEventToolProgressType is a generated schema value.
const ExecutionEventToolProgressTypeToolProgress ExecutionEventToolProgressType = "tool.progress"
func (*ExecutionEventToolProgressType) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventToolProgressType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnEnd ¶
type ExecutionEventTurnEnd struct {
ContinuationCount json.Number
Error Optional[*ExecutionEventError]
Extensions Optional[*Extensions]
Gaps Optional[[]ExecutionEventTurnEndGapsItem]
ID string
Items []*ModelVisibleItem
LastAssistantItem Optional[ExecutionEventTurnEndLastAssistantItem]
Native Optional[*NativeEvent]
Outcome ExecutionEventTurnEndOutcome
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn ExecutionEventTurnEndTurn
Type ExecutionEventTurnEndType
Usage Optional[*ExecutionEventTurnusage]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnEnd is generated from schema/draft/execution-event.schema.json#/$defs/turn.end.
func (ExecutionEventTurnEnd) MarshalJSON ¶
func (value ExecutionEventTurnEnd) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnEnd) UnmarshalJSON ¶
func (value *ExecutionEventTurnEnd) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnEndGapsItem ¶
type ExecutionEventTurnEndGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnEndGapsItem is a generated nested model.
func (ExecutionEventTurnEndGapsItem) MarshalJSON ¶
func (value ExecutionEventTurnEndGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnEndGapsItem) UnmarshalJSON ¶
func (value *ExecutionEventTurnEndGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnEndLastAssistantItem ¶
type ExecutionEventTurnEndLastAssistantItem struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnEndLastAssistantItem is a generated nested model.
func (ExecutionEventTurnEndLastAssistantItem) MarshalJSON ¶
func (value ExecutionEventTurnEndLastAssistantItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnEndLastAssistantItem) UnmarshalJSON ¶
func (value *ExecutionEventTurnEndLastAssistantItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnEndOutcome ¶
type ExecutionEventTurnEndOutcome string
ExecutionEventTurnEndOutcome is a generated schema value.
const ExecutionEventTurnEndOutcomeCancelled ExecutionEventTurnEndOutcome = "cancelled"
const ExecutionEventTurnEndOutcomeCompleted ExecutionEventTurnEndOutcome = "completed"
const ExecutionEventTurnEndOutcomeFailed ExecutionEventTurnEndOutcome = "failed"
const ExecutionEventTurnEndOutcomeMaxIterations ExecutionEventTurnEndOutcome = "max_iterations"
func (*ExecutionEventTurnEndOutcome) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventTurnEndOutcome) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnEndTurn ¶
type ExecutionEventTurnEndTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnEndTurn is a generated nested model.
func (ExecutionEventTurnEndTurn) MarshalJSON ¶
func (value ExecutionEventTurnEndTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnEndTurn) UnmarshalJSON ¶
func (value *ExecutionEventTurnEndTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnEndType ¶
type ExecutionEventTurnEndType string
ExecutionEventTurnEndType is a generated schema value.
const ExecutionEventTurnEndTypeTurnEnd ExecutionEventTurnEndType = "turn.end"
func (*ExecutionEventTurnEndType) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventTurnEndType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnFinishBefore ¶
type ExecutionEventTurnFinishBefore struct {
ContinuationCount json.Number
Extensions Optional[*Extensions]
Gaps Optional[[]ExecutionEventTurnFinishBeforeGapsItem]
ID string
Items []*ModelVisibleItem
LastAssistantItem Optional[ExecutionEventTurnFinishBeforeLastAssistantItem]
Native Optional[*NativeEvent]
Outcome ExecutionEventTurnFinishBeforeOutcome
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn ExecutionEventTurnFinishBeforeTurn
Type ExecutionEventTurnFinishBeforeType
Usage Optional[*ExecutionEventTurnusage]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnFinishBefore is generated from schema/draft/execution-event.schema.json#/$defs/turn.finish.before.
func (ExecutionEventTurnFinishBefore) MarshalJSON ¶
func (value ExecutionEventTurnFinishBefore) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnFinishBefore) UnmarshalJSON ¶
func (value *ExecutionEventTurnFinishBefore) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnFinishBeforeGapsItem ¶
type ExecutionEventTurnFinishBeforeGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnFinishBeforeGapsItem is a generated nested model.
func (ExecutionEventTurnFinishBeforeGapsItem) MarshalJSON ¶
func (value ExecutionEventTurnFinishBeforeGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnFinishBeforeGapsItem) UnmarshalJSON ¶
func (value *ExecutionEventTurnFinishBeforeGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnFinishBeforeLastAssistantItem ¶
type ExecutionEventTurnFinishBeforeLastAssistantItem struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnFinishBeforeLastAssistantItem is a generated nested model.
func (ExecutionEventTurnFinishBeforeLastAssistantItem) MarshalJSON ¶
func (value ExecutionEventTurnFinishBeforeLastAssistantItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnFinishBeforeLastAssistantItem) UnmarshalJSON ¶
func (value *ExecutionEventTurnFinishBeforeLastAssistantItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnFinishBeforeOutcome ¶
type ExecutionEventTurnFinishBeforeOutcome string
ExecutionEventTurnFinishBeforeOutcome is a generated schema value.
const ExecutionEventTurnFinishBeforeOutcomeCancelled ExecutionEventTurnFinishBeforeOutcome = "cancelled"
const ExecutionEventTurnFinishBeforeOutcomeCompleted ExecutionEventTurnFinishBeforeOutcome = "completed"
const ExecutionEventTurnFinishBeforeOutcomeFailed ExecutionEventTurnFinishBeforeOutcome = "failed"
const ExecutionEventTurnFinishBeforeOutcomeMaxIterations ExecutionEventTurnFinishBeforeOutcome = "max_iterations"
func (*ExecutionEventTurnFinishBeforeOutcome) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventTurnFinishBeforeOutcome) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnFinishBeforeTurn ¶
type ExecutionEventTurnFinishBeforeTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnFinishBeforeTurn is a generated nested model.
func (ExecutionEventTurnFinishBeforeTurn) MarshalJSON ¶
func (value ExecutionEventTurnFinishBeforeTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnFinishBeforeTurn) UnmarshalJSON ¶
func (value *ExecutionEventTurnFinishBeforeTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnFinishBeforeType ¶
type ExecutionEventTurnFinishBeforeType string
ExecutionEventTurnFinishBeforeType is a generated schema value.
const ExecutionEventTurnFinishBeforeTypeTurnFinishBefore ExecutionEventTurnFinishBeforeType = "turn.finish.before"
func (*ExecutionEventTurnFinishBeforeType) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventTurnFinishBeforeType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnProgress ¶
type ExecutionEventTurnProgress struct {
Delta *ModelVisibleItem
Extensions Optional[*Extensions]
Final bool
Gaps Optional[[]ExecutionEventTurnProgressGapsItem]
ID string
Item ExecutionEventTurnProgressItem
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn ExecutionEventTurnProgressTurn
Type ExecutionEventTurnProgressType
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnProgress is generated from schema/draft/execution-event.schema.json#/$defs/turn.progress.
func (ExecutionEventTurnProgress) MarshalJSON ¶
func (value ExecutionEventTurnProgress) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnProgress) UnmarshalJSON ¶
func (value *ExecutionEventTurnProgress) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnProgressGapsItem ¶
type ExecutionEventTurnProgressGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnProgressGapsItem is a generated nested model.
func (ExecutionEventTurnProgressGapsItem) MarshalJSON ¶
func (value ExecutionEventTurnProgressGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnProgressGapsItem) UnmarshalJSON ¶
func (value *ExecutionEventTurnProgressGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnProgressItem ¶
type ExecutionEventTurnProgressItem struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnProgressItem is a generated nested model.
func (ExecutionEventTurnProgressItem) MarshalJSON ¶
func (value ExecutionEventTurnProgressItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnProgressItem) UnmarshalJSON ¶
func (value *ExecutionEventTurnProgressItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnProgressTurn ¶
type ExecutionEventTurnProgressTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnProgressTurn is a generated nested model.
func (ExecutionEventTurnProgressTurn) MarshalJSON ¶
func (value ExecutionEventTurnProgressTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnProgressTurn) UnmarshalJSON ¶
func (value *ExecutionEventTurnProgressTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnProgressType ¶
type ExecutionEventTurnProgressType string
ExecutionEventTurnProgressType is a generated schema value.
const ExecutionEventTurnProgressTypeTurnProgress ExecutionEventTurnProgressType = "turn.progress"
func (*ExecutionEventTurnProgressType) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventTurnProgressType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnStart ¶
type ExecutionEventTurnStart struct {
ExpandedFrom Optional[string]
Extensions Optional[*Extensions]
Gaps Optional[[]ExecutionEventTurnStartGapsItem]
ID string
Items []*ModelVisibleItem
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Trigger ExecutionEventTurnStartTrigger
Turn ExecutionEventTurnStartTurn
Type ExecutionEventTurnStartType
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnStart is generated from schema/draft/execution-event.schema.json#/$defs/turn.start.
func (ExecutionEventTurnStart) MarshalJSON ¶
func (value ExecutionEventTurnStart) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnStart) UnmarshalJSON ¶
func (value *ExecutionEventTurnStart) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnStartGapsItem ¶
type ExecutionEventTurnStartGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnStartGapsItem is a generated nested model.
func (ExecutionEventTurnStartGapsItem) MarshalJSON ¶
func (value ExecutionEventTurnStartGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnStartGapsItem) UnmarshalJSON ¶
func (value *ExecutionEventTurnStartGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnStartTrigger ¶
type ExecutionEventTurnStartTrigger string
ExecutionEventTurnStartTrigger is a generated schema value.
const ExecutionEventTurnStartTriggerContinuation ExecutionEventTurnStartTrigger = "continuation"
const ExecutionEventTurnStartTriggerExternal ExecutionEventTurnStartTrigger = "external"
const ExecutionEventTurnStartTriggerHook ExecutionEventTurnStartTrigger = "hook"
const ExecutionEventTurnStartTriggerUser ExecutionEventTurnStartTrigger = "user"
func (*ExecutionEventTurnStartTrigger) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventTurnStartTrigger) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnStartTurn ¶
type ExecutionEventTurnStartTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnStartTurn is a generated nested model.
func (ExecutionEventTurnStartTurn) MarshalJSON ¶
func (value ExecutionEventTurnStartTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnStartTurn) UnmarshalJSON ¶
func (value *ExecutionEventTurnStartTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnStartType ¶
type ExecutionEventTurnStartType string
ExecutionEventTurnStartType is a generated schema value.
const ExecutionEventTurnStartTypeTurnStart ExecutionEventTurnStartType = "turn.start"
func (*ExecutionEventTurnStartType) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventTurnStartType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnusage ¶
type ExecutionEventTurnusage struct {
CacheReadTokens Optional[json.Number]
CacheWriteTokens Optional[json.Number]
Completeness ExecutionEventTurnusageCompleteness
Cost Optional[ExecutionEventTurnusageCost]
InputTokens Optional[json.Number]
Kind ExecutionEventTurnusageKind
OutputTokens Optional[json.Number]
Provenance ExecutionEventTurnusageProvenance
Scope ExecutionEventTurnusageScope
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnusage is generated from schema/draft/execution-event.schema.json#/$defs/turnUsage.
func (ExecutionEventTurnusage) MarshalJSON ¶
func (value ExecutionEventTurnusage) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnusage) UnmarshalJSON ¶
func (value *ExecutionEventTurnusage) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnusageCompleteness ¶
type ExecutionEventTurnusageCompleteness string
ExecutionEventTurnusageCompleteness is a generated schema value.
const ExecutionEventTurnusageCompletenessComplete ExecutionEventTurnusageCompleteness = "complete"
const ExecutionEventTurnusageCompletenessPartial ExecutionEventTurnusageCompleteness = "partial"
const ExecutionEventTurnusageCompletenessUnknownValue ExecutionEventTurnusageCompleteness = "unknown"
func (*ExecutionEventTurnusageCompleteness) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventTurnusageCompleteness) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnusageCost ¶
type ExecutionEventTurnusageCost struct {
Amount json.Number
Basis ExecutionEventTurnusageCostBasis
Currency string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventTurnusageCost is a generated nested model.
func (ExecutionEventTurnusageCost) MarshalJSON ¶
func (value ExecutionEventTurnusageCost) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventTurnusageCost) UnmarshalJSON ¶
func (value *ExecutionEventTurnusageCost) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnusageCostBasis ¶
type ExecutionEventTurnusageCostBasis string
ExecutionEventTurnusageCostBasis is a generated schema value.
const ExecutionEventTurnusageCostBasisBilled ExecutionEventTurnusageCostBasis = "billed"
const ExecutionEventTurnusageCostBasisEstimated ExecutionEventTurnusageCostBasis = "estimated"
const ExecutionEventTurnusageCostBasisReported ExecutionEventTurnusageCostBasis = "reported"
func (*ExecutionEventTurnusageCostBasis) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventTurnusageCostBasis) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnusageKind ¶ added in v0.1.1
type ExecutionEventTurnusageKind ExecutionEventTurnusageKindValue
ExecutionEventTurnusageKind is a structurally validated schema value.
func (ExecutionEventTurnusageKind) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventTurnusageKind) MarshalJSON() ([]byte, error)
func (*ExecutionEventTurnusageKind) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventTurnusageKind) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnusageKindValue ¶ added in v0.1.1
type ExecutionEventTurnusageKindValue string
ExecutionEventTurnusageKindValue is a generated schema value.
const ExecutionEventTurnusageKindValueAmount ExecutionEventTurnusageKindValue = "amount"
const ExecutionEventTurnusageKindValueTotal ExecutionEventTurnusageKindValue = "total"
func (*ExecutionEventTurnusageKindValue) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventTurnusageKindValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnusageProvenance ¶
type ExecutionEventTurnusageProvenance string
ExecutionEventTurnusageProvenance is a generated schema value.
const ExecutionEventTurnusageProvenanceEstimate ExecutionEventTurnusageProvenance = "estimate"
const ExecutionEventTurnusageProvenanceMixed ExecutionEventTurnusageProvenance = "mixed"
const ExecutionEventTurnusageProvenanceProvider ExecutionEventTurnusageProvenance = "provider"
func (*ExecutionEventTurnusageProvenance) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventTurnusageProvenance) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnusageScope ¶ added in v0.1.1
type ExecutionEventTurnusageScope ExecutionEventTurnusageScopeValue
ExecutionEventTurnusageScope is a structurally validated schema value.
func (ExecutionEventTurnusageScope) MarshalJSON ¶ added in v0.1.1
func (value ExecutionEventTurnusageScope) MarshalJSON() ([]byte, error)
func (*ExecutionEventTurnusageScope) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventTurnusageScope) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventTurnusageScopeValue ¶ added in v0.1.1
type ExecutionEventTurnusageScopeValue string
ExecutionEventTurnusageScopeValue is a generated schema value.
const ExecutionEventTurnusageScopeValueAttempt ExecutionEventTurnusageScopeValue = "attempt"
const ExecutionEventTurnusageScopeValueTurn ExecutionEventTurnusageScopeValue = "turn"
func (*ExecutionEventTurnusageScopeValue) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventTurnusageScopeValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventUsage ¶
type ExecutionEventUsage struct {
CacheReadTokens Optional[json.Number]
CacheWriteTokens Optional[json.Number]
Completeness ExecutionEventUsageCompleteness
Cost Optional[ExecutionEventUsageCost]
InputTokens Optional[json.Number]
Kind ExecutionEventUsageKind
OutputTokens Optional[json.Number]
Provenance ExecutionEventUsageProvenance
Scope ExecutionEventUsageScope
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventUsage is generated from schema/draft/execution-event.schema.json#/$defs/usage.
func (ExecutionEventUsage) MarshalJSON ¶
func (value ExecutionEventUsage) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventUsage) UnmarshalJSON ¶
func (value *ExecutionEventUsage) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventUsageCompleteness ¶
type ExecutionEventUsageCompleteness string
ExecutionEventUsageCompleteness is a generated schema value.
const ExecutionEventUsageCompletenessComplete ExecutionEventUsageCompleteness = "complete"
const ExecutionEventUsageCompletenessPartial ExecutionEventUsageCompleteness = "partial"
const ExecutionEventUsageCompletenessUnknownValue ExecutionEventUsageCompleteness = "unknown"
func (*ExecutionEventUsageCompleteness) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventUsageCompleteness) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventUsageCost ¶
type ExecutionEventUsageCost struct {
Amount json.Number
Basis ExecutionEventUsageCostBasis
Currency string
AdditionalProperties map[string]json.RawMessage
}
ExecutionEventUsageCost is a generated nested model.
func (ExecutionEventUsageCost) MarshalJSON ¶
func (value ExecutionEventUsageCost) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ExecutionEventUsageCost) UnmarshalJSON ¶
func (value *ExecutionEventUsageCost) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventUsageCostBasis ¶
type ExecutionEventUsageCostBasis string
ExecutionEventUsageCostBasis is a generated schema value.
const ExecutionEventUsageCostBasisBilled ExecutionEventUsageCostBasis = "billed"
const ExecutionEventUsageCostBasisEstimated ExecutionEventUsageCostBasis = "estimated"
const ExecutionEventUsageCostBasisReported ExecutionEventUsageCostBasis = "reported"
func (*ExecutionEventUsageCostBasis) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventUsageCostBasis) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventUsageKind ¶
type ExecutionEventUsageKind string
ExecutionEventUsageKind is a generated schema value.
const ExecutionEventUsageKindAmount ExecutionEventUsageKind = "amount"
const ExecutionEventUsageKindTotal ExecutionEventUsageKind = "total"
func (*ExecutionEventUsageKind) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventUsageKind) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventUsageProvenance ¶
type ExecutionEventUsageProvenance string
ExecutionEventUsageProvenance is a generated schema value.
const ExecutionEventUsageProvenanceEstimate ExecutionEventUsageProvenance = "estimate"
const ExecutionEventUsageProvenanceMixed ExecutionEventUsageProvenance = "mixed"
const ExecutionEventUsageProvenanceProvider ExecutionEventUsageProvenance = "provider"
func (*ExecutionEventUsageProvenance) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventUsageProvenance) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ExecutionEventUsageScope ¶
type ExecutionEventUsageScope string
ExecutionEventUsageScope is a generated schema value.
const ExecutionEventUsageScopeAttempt ExecutionEventUsageScope = "attempt"
const ExecutionEventUsageScopeTurn ExecutionEventUsageScope = "turn"
func (*ExecutionEventUsageScope) UnmarshalJSON ¶ added in v0.1.1
func (value *ExecutionEventUsageScope) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type Extensions ¶
type Extensions struct {
AdditionalProperties map[string]json.RawMessage
}
Extensions is generated from schema/draft/extensions.schema.json#.
func (Extensions) MarshalJSON ¶
func (value Extensions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*Extensions) UnmarshalJSON ¶
func (value *Extensions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type FileChangedEvent ¶
type FileChangedEvent struct {
Changes []FileChangedEventChangesItem
Extensions Optional[*Extensions]
Gaps Optional[[]FileChangedEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[FileChangedEventTurn]
Type FileChangedEventType
AdditionalProperties map[string]json.RawMessage
}
FileChangedEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/file.changed.
func (FileChangedEvent) MarshalJSON ¶
func (value FileChangedEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*FileChangedEvent) UnmarshalJSON ¶
func (value *FileChangedEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type FileChangedEventChangesItem ¶
type FileChangedEventChangesItem struct {
After Optional[*ContentItem]
AgentCaused bool
Before Optional[*ContentItem]
Operation FileChangedEventChangesItemOperation
Path string
AdditionalProperties map[string]json.RawMessage
}
FileChangedEventChangesItem is a generated nested model.
func (FileChangedEventChangesItem) MarshalJSON ¶
func (value FileChangedEventChangesItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*FileChangedEventChangesItem) UnmarshalJSON ¶
func (value *FileChangedEventChangesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type FileChangedEventChangesItemOperation ¶
type FileChangedEventChangesItemOperation string
FileChangedEventChangesItemOperation is a generated schema value.
const FileChangedEventChangesItemOperationCreate FileChangedEventChangesItemOperation = "create"
const FileChangedEventChangesItemOperationRemove FileChangedEventChangesItemOperation = "remove"
const FileChangedEventChangesItemOperationUpdate FileChangedEventChangesItemOperation = "update"
func (*FileChangedEventChangesItemOperation) UnmarshalJSON ¶ added in v0.1.1
func (value *FileChangedEventChangesItemOperation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type FileChangedEventGapsItem ¶
type FileChangedEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
FileChangedEventGapsItem is a generated nested model.
func (FileChangedEventGapsItem) MarshalJSON ¶
func (value FileChangedEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*FileChangedEventGapsItem) UnmarshalJSON ¶
func (value *FileChangedEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type FileChangedEventTurn ¶
type FileChangedEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
FileChangedEventTurn is a generated nested model.
func (FileChangedEventTurn) MarshalJSON ¶
func (value FileChangedEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*FileChangedEventTurn) UnmarshalJSON ¶
func (value *FileChangedEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type FileChangedEventType ¶
type FileChangedEventType string
FileChangedEventType is a generated schema value.
const FileChangedEventTypeFileChanged FileChangedEventType = "file.changed"
func (*FileChangedEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *FileChangedEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type HookFailureEvent ¶
type HookFailureEvent struct {
Extensions Optional[*Extensions]
Failure HookFailureEventFailure
Gaps Optional[[]HookFailureEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId string
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[HookFailureEventTurn]
Type HookFailureEventType
AdditionalProperties map[string]json.RawMessage
}
HookFailureEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/hook.failure.
func (HookFailureEvent) MarshalJSON ¶
func (value HookFailureEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*HookFailureEvent) UnmarshalJSON ¶
func (value *HookFailureEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type HookFailureEventFailure ¶
type HookFailureEventFailure struct {
BackendId string
Policy HookFailureEventFailurePolicy
Reason string
AdditionalProperties map[string]json.RawMessage
}
HookFailureEventFailure is a generated nested model.
func (HookFailureEventFailure) MarshalJSON ¶
func (value HookFailureEventFailure) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*HookFailureEventFailure) UnmarshalJSON ¶
func (value *HookFailureEventFailure) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type HookFailureEventFailurePolicy ¶
type HookFailureEventFailurePolicy string
HookFailureEventFailurePolicy is a generated schema value.
const HookFailureEventFailurePolicyFailClosed HookFailureEventFailurePolicy = "fail-closed"
const HookFailureEventFailurePolicyFailOpen HookFailureEventFailurePolicy = "fail-open"
func (*HookFailureEventFailurePolicy) UnmarshalJSON ¶ added in v0.1.1
func (value *HookFailureEventFailurePolicy) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type HookFailureEventGapsItem ¶
type HookFailureEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
HookFailureEventGapsItem is a generated nested model.
func (HookFailureEventGapsItem) MarshalJSON ¶
func (value HookFailureEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*HookFailureEventGapsItem) UnmarshalJSON ¶
func (value *HookFailureEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type HookFailureEventTurn ¶
type HookFailureEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
HookFailureEventTurn is a generated nested model.
func (HookFailureEventTurn) MarshalJSON ¶
func (value HookFailureEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*HookFailureEventTurn) UnmarshalJSON ¶
func (value *HookFailureEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type HookFailureEventType ¶
type HookFailureEventType string
HookFailureEventType is a generated schema value.
const HookFailureEventTypeHookFailure HookFailureEventType = "hook.failure"
func (*HookFailureEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *HookFailureEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type HttpTransport ¶
type HttpTransport struct {
Type HttpTransportType
URL string
AdditionalProperties map[string]json.RawMessage
}
HttpTransport is generated from schema/draft/registration.schema.json#/$defs/httpTransport.
func (HttpTransport) MarshalJSON ¶
func (value HttpTransport) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*HttpTransport) UnmarshalJSON ¶
func (value *HttpTransport) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type HttpTransportType ¶
type HttpTransportType string
HttpTransportType is a generated schema value.
const HttpTransportTypeHTTP HttpTransportType = "http"
func (*HttpTransportType) UnmarshalJSON ¶ added in v0.1.1
func (value *HttpTransportType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEvent ¶
type InteractionEvent struct {
InteractionEventConfigChangeBefore Optional[*InteractionEventConfigChangeBefore]
InteractionEventConfigChangeAfter Optional[*InteractionEventConfigChangeAfter]
InteractionEventUserAttention Optional[*InteractionEventUserAttention]
InteractionEventUserElicitationRequest Optional[*InteractionEventUserElicitationRequest]
InteractionEventUserElicitationResult Optional[*InteractionEventUserElicitationResult]
InteractionEventUserMessageInbound Optional[*InteractionEventUserMessageInbound]
InteractionEventUserMessageOutbound Optional[*InteractionEventUserMessageOutbound]
InteractionEventHookFailure Optional[*InteractionEventHookFailure]
Unknown json.RawMessage
}
InteractionEvent is generated from schema/draft/interaction-event.schema.json#.
func (InteractionEvent) MarshalJSON ¶
func (value InteractionEvent) MarshalJSON() ([]byte, error)
func (*InteractionEvent) UnmarshalJSON ¶
func (value *InteractionEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventConfigChangeAfter ¶
type InteractionEventConfigChangeAfter struct {
Change InteractionEventConfigChangeAfterChange
Type InteractionEventConfigChangeAfterType
AdditionalProperties map[string]json.RawMessage
}
InteractionEventConfigChangeAfter is generated from schema/draft/interaction-event.schema.json#/$defs/config.change.after.
func (InteractionEventConfigChangeAfter) MarshalJSON ¶
func (value InteractionEventConfigChangeAfter) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventConfigChangeAfter) UnmarshalJSON ¶
func (value *InteractionEventConfigChangeAfter) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventConfigChangeAfterChange ¶
type InteractionEventConfigChangeAfterChange struct {
McpServers Optional[[]InteractionEventConfigChangeAfterChangeMcpServersItem]
Path Optional[string]
Scope string
Settings []string
Source string
Summary string
AdditionalProperties map[string]json.RawMessage
}
InteractionEventConfigChangeAfterChange is a generated nested model.
func (InteractionEventConfigChangeAfterChange) MarshalJSON ¶
func (value InteractionEventConfigChangeAfterChange) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventConfigChangeAfterChange) UnmarshalJSON ¶
func (value *InteractionEventConfigChangeAfterChange) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventConfigChangeAfterChangeMcpServersItem ¶
type InteractionEventConfigChangeAfterChangeMcpServersItem struct {
AdditionalProperties map[string]json.RawMessage
}
InteractionEventConfigChangeAfterChangeMcpServersItem is a generated nested model.
func (InteractionEventConfigChangeAfterChangeMcpServersItem) MarshalJSON ¶
func (value InteractionEventConfigChangeAfterChangeMcpServersItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventConfigChangeAfterChangeMcpServersItem) UnmarshalJSON ¶
func (value *InteractionEventConfigChangeAfterChangeMcpServersItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventConfigChangeAfterType ¶
type InteractionEventConfigChangeAfterType string
InteractionEventConfigChangeAfterType is a generated schema value.
const InteractionEventConfigChangeAfterTypeConfigChangeAfter InteractionEventConfigChangeAfterType = "config.change.after"
func (*InteractionEventConfigChangeAfterType) UnmarshalJSON ¶ added in v0.1.1
func (value *InteractionEventConfigChangeAfterType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventConfigChangeBefore ¶
type InteractionEventConfigChangeBefore struct {
Change InteractionEventConfigChangeBeforeChange
Type InteractionEventConfigChangeBeforeType
AdditionalProperties map[string]json.RawMessage
}
InteractionEventConfigChangeBefore is generated from schema/draft/interaction-event.schema.json#/$defs/config.change.before.
func (InteractionEventConfigChangeBefore) MarshalJSON ¶
func (value InteractionEventConfigChangeBefore) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventConfigChangeBefore) UnmarshalJSON ¶
func (value *InteractionEventConfigChangeBefore) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventConfigChangeBeforeChange ¶
type InteractionEventConfigChangeBeforeChange struct {
Path Optional[string]
Scope string
Settings []string
Source string
Summary string
AdditionalProperties map[string]json.RawMessage
}
InteractionEventConfigChangeBeforeChange is a generated nested model.
func (InteractionEventConfigChangeBeforeChange) MarshalJSON ¶
func (value InteractionEventConfigChangeBeforeChange) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventConfigChangeBeforeChange) UnmarshalJSON ¶
func (value *InteractionEventConfigChangeBeforeChange) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventConfigChangeBeforeType ¶
type InteractionEventConfigChangeBeforeType string
InteractionEventConfigChangeBeforeType is a generated schema value.
const InteractionEventConfigChangeBeforeTypeConfigChangeBefore InteractionEventConfigChangeBeforeType = "config.change.before"
func (*InteractionEventConfigChangeBeforeType) UnmarshalJSON ¶ added in v0.1.1
func (value *InteractionEventConfigChangeBeforeType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventHookFailure ¶
type InteractionEventHookFailure struct {
Failure InteractionEventHookFailureFailure
ParentEventId string
Type InteractionEventHookFailureType
AdditionalProperties map[string]json.RawMessage
}
InteractionEventHookFailure is generated from schema/draft/interaction-event.schema.json#/$defs/hook.failure.
func (InteractionEventHookFailure) MarshalJSON ¶
func (value InteractionEventHookFailure) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventHookFailure) UnmarshalJSON ¶
func (value *InteractionEventHookFailure) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventHookFailureFailure ¶
type InteractionEventHookFailureFailure struct {
BackendId string
Policy InteractionEventHookFailureFailurePolicy
Reason string
AdditionalProperties map[string]json.RawMessage
}
InteractionEventHookFailureFailure is a generated nested model.
func (InteractionEventHookFailureFailure) MarshalJSON ¶
func (value InteractionEventHookFailureFailure) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventHookFailureFailure) UnmarshalJSON ¶
func (value *InteractionEventHookFailureFailure) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventHookFailureFailurePolicy ¶
type InteractionEventHookFailureFailurePolicy string
InteractionEventHookFailureFailurePolicy is a generated schema value.
const InteractionEventHookFailureFailurePolicyFailClosed InteractionEventHookFailureFailurePolicy = "fail-closed"
const InteractionEventHookFailureFailurePolicyFailOpen InteractionEventHookFailureFailurePolicy = "fail-open"
func (*InteractionEventHookFailureFailurePolicy) UnmarshalJSON ¶ added in v0.1.1
func (value *InteractionEventHookFailureFailurePolicy) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventHookFailureType ¶
type InteractionEventHookFailureType string
InteractionEventHookFailureType is a generated schema value.
const InteractionEventHookFailureTypeHookFailure InteractionEventHookFailureType = "hook.failure"
func (*InteractionEventHookFailureType) UnmarshalJSON ¶ added in v0.1.1
func (value *InteractionEventHookFailureType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserAttention ¶
type InteractionEventUserAttention struct {
Attention InteractionEventUserAttentionAttention
Type InteractionEventUserAttentionType
AdditionalProperties map[string]json.RawMessage
}
InteractionEventUserAttention is generated from schema/draft/interaction-event.schema.json#/$defs/user.attention.
func (InteractionEventUserAttention) MarshalJSON ¶
func (value InteractionEventUserAttention) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventUserAttention) UnmarshalJSON ¶
func (value *InteractionEventUserAttention) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserAttentionAttention ¶
type InteractionEventUserAttentionAttention struct {
Kind string
Message *TextParts
Title *TextParts
AdditionalProperties map[string]json.RawMessage
}
InteractionEventUserAttentionAttention is a generated nested model.
func (InteractionEventUserAttentionAttention) MarshalJSON ¶
func (value InteractionEventUserAttentionAttention) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventUserAttentionAttention) UnmarshalJSON ¶
func (value *InteractionEventUserAttentionAttention) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserAttentionType ¶
type InteractionEventUserAttentionType string
InteractionEventUserAttentionType is a generated schema value.
const InteractionEventUserAttentionTypeUserAttention InteractionEventUserAttentionType = "user.attention"
func (*InteractionEventUserAttentionType) UnmarshalJSON ¶ added in v0.1.1
func (value *InteractionEventUserAttentionType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserElicitationRequest ¶
type InteractionEventUserElicitationRequest struct {
Elicitation InteractionEventUserElicitationRequestElicitation
Type InteractionEventUserElicitationRequestType
AdditionalProperties map[string]json.RawMessage
}
InteractionEventUserElicitationRequest is generated from schema/draft/interaction-event.schema.json#/$defs/user.elicitation.request.
func (InteractionEventUserElicitationRequest) MarshalJSON ¶
func (value InteractionEventUserElicitationRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventUserElicitationRequest) UnmarshalJSON ¶
func (value *InteractionEventUserElicitationRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserElicitationRequestElicitation ¶
type InteractionEventUserElicitationRequestElicitation struct {
Mode InteractionEventUserElicitationRequestElicitationMode
Request Optional[*TextPart]
Server string
AdditionalProperties map[string]json.RawMessage
}
InteractionEventUserElicitationRequestElicitation is a generated nested model.
func (InteractionEventUserElicitationRequestElicitation) MarshalJSON ¶
func (value InteractionEventUserElicitationRequestElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventUserElicitationRequestElicitation) UnmarshalJSON ¶
func (value *InteractionEventUserElicitationRequestElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserElicitationRequestElicitationMode ¶
type InteractionEventUserElicitationRequestElicitationMode string
InteractionEventUserElicitationRequestElicitationMode is a generated schema value.
const InteractionEventUserElicitationRequestElicitationModeForm InteractionEventUserElicitationRequestElicitationMode = "form"
const InteractionEventUserElicitationRequestElicitationModeURL InteractionEventUserElicitationRequestElicitationMode = "url"
func (*InteractionEventUserElicitationRequestElicitationMode) UnmarshalJSON ¶ added in v0.1.1
func (value *InteractionEventUserElicitationRequestElicitationMode) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserElicitationRequestType ¶
type InteractionEventUserElicitationRequestType string
InteractionEventUserElicitationRequestType is a generated schema value.
const InteractionEventUserElicitationRequestTypeUserElicitationRequest InteractionEventUserElicitationRequestType = "user.elicitation.request"
func (*InteractionEventUserElicitationRequestType) UnmarshalJSON ¶ added in v0.1.1
func (value *InteractionEventUserElicitationRequestType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserElicitationResult ¶
type InteractionEventUserElicitationResult struct {
Elicitation InteractionEventUserElicitationResultElicitation
Type InteractionEventUserElicitationResultType
AdditionalProperties map[string]json.RawMessage
}
InteractionEventUserElicitationResult is generated from schema/draft/interaction-event.schema.json#/$defs/user.elicitation.result.
func (InteractionEventUserElicitationResult) MarshalJSON ¶
func (value InteractionEventUserElicitationResult) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventUserElicitationResult) UnmarshalJSON ¶
func (value *InteractionEventUserElicitationResult) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserElicitationResultElicitation ¶
type InteractionEventUserElicitationResultElicitation struct {
Action InteractionEventUserElicitationResultElicitationAction
Mode InteractionEventUserElicitationResultElicitationMode
Result Optional[*TextPart]
Server string
AdditionalProperties map[string]json.RawMessage
}
InteractionEventUserElicitationResultElicitation is a generated nested model.
func (InteractionEventUserElicitationResultElicitation) MarshalJSON ¶
func (value InteractionEventUserElicitationResultElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventUserElicitationResultElicitation) UnmarshalJSON ¶
func (value *InteractionEventUserElicitationResultElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserElicitationResultElicitationAction ¶
type InteractionEventUserElicitationResultElicitationAction string
InteractionEventUserElicitationResultElicitationAction is a generated schema value.
const InteractionEventUserElicitationResultElicitationActionAccept InteractionEventUserElicitationResultElicitationAction = "accept"
const InteractionEventUserElicitationResultElicitationActionCancel InteractionEventUserElicitationResultElicitationAction = "cancel"
const InteractionEventUserElicitationResultElicitationActionDecline InteractionEventUserElicitationResultElicitationAction = "decline"
func (*InteractionEventUserElicitationResultElicitationAction) UnmarshalJSON ¶ added in v0.1.1
func (value *InteractionEventUserElicitationResultElicitationAction) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserElicitationResultElicitationMode ¶
type InteractionEventUserElicitationResultElicitationMode string
InteractionEventUserElicitationResultElicitationMode is a generated schema value.
const InteractionEventUserElicitationResultElicitationModeForm InteractionEventUserElicitationResultElicitationMode = "form"
const InteractionEventUserElicitationResultElicitationModeURL InteractionEventUserElicitationResultElicitationMode = "url"
func (*InteractionEventUserElicitationResultElicitationMode) UnmarshalJSON ¶ added in v0.1.1
func (value *InteractionEventUserElicitationResultElicitationMode) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserElicitationResultType ¶
type InteractionEventUserElicitationResultType string
InteractionEventUserElicitationResultType is a generated schema value.
const InteractionEventUserElicitationResultTypeUserElicitationResult InteractionEventUserElicitationResultType = "user.elicitation.result"
func (*InteractionEventUserElicitationResultType) UnmarshalJSON ¶ added in v0.1.1
func (value *InteractionEventUserElicitationResultType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserMessageInbound ¶
type InteractionEventUserMessageInbound struct {
Message InteractionEventUserMessageInboundMessage
Type InteractionEventUserMessageInboundType
AdditionalProperties map[string]json.RawMessage
}
InteractionEventUserMessageInbound is generated from schema/draft/interaction-event.schema.json#/$defs/user.message.inbound.
func (InteractionEventUserMessageInbound) MarshalJSON ¶
func (value InteractionEventUserMessageInbound) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventUserMessageInbound) UnmarshalJSON ¶
func (value *InteractionEventUserMessageInbound) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserMessageInboundMessage ¶
type InteractionEventUserMessageInboundMessage struct {
Channel string
Messages []InteractionEventUserMessageInboundMessageMessagesItem
Sender string
AdditionalProperties map[string]json.RawMessage
}
InteractionEventUserMessageInboundMessage is a generated nested model.
func (InteractionEventUserMessageInboundMessage) MarshalJSON ¶
func (value InteractionEventUserMessageInboundMessage) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventUserMessageInboundMessage) UnmarshalJSON ¶
func (value *InteractionEventUserMessageInboundMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserMessageInboundMessageMessagesItem ¶ added in v0.3.0
type InteractionEventUserMessageInboundMessageMessagesItem struct {
ID string
Parts []*ContentItem
Role InteractionEventUserMessageInboundMessageMessagesItemRole
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
InteractionEventUserMessageInboundMessageMessagesItem is a generated nested model.
func (InteractionEventUserMessageInboundMessageMessagesItem) MarshalJSON ¶ added in v0.3.0
func (value InteractionEventUserMessageInboundMessageMessagesItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventUserMessageInboundMessageMessagesItem) UnmarshalJSON ¶ added in v0.3.0
func (value *InteractionEventUserMessageInboundMessageMessagesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserMessageInboundMessageMessagesItemRole ¶ added in v0.3.0
type InteractionEventUserMessageInboundMessageMessagesItemRole InteractionEventUserMessageInboundMessageMessagesItemRoleValue
InteractionEventUserMessageInboundMessageMessagesItemRole is a structurally validated schema value.
func (InteractionEventUserMessageInboundMessageMessagesItemRole) MarshalJSON ¶ added in v0.3.0
func (value InteractionEventUserMessageInboundMessageMessagesItemRole) MarshalJSON() ([]byte, error)
func (*InteractionEventUserMessageInboundMessageMessagesItemRole) UnmarshalJSON ¶ added in v0.3.0
func (value *InteractionEventUserMessageInboundMessageMessagesItemRole) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserMessageInboundMessageMessagesItemRoleValue ¶ added in v0.3.0
type InteractionEventUserMessageInboundMessageMessagesItemRoleValue string
InteractionEventUserMessageInboundMessageMessagesItemRoleValue is a generated schema value.
const InteractionEventUserMessageInboundMessageMessagesItemRoleValueAssistant InteractionEventUserMessageInboundMessageMessagesItemRoleValue = "assistant"
const InteractionEventUserMessageInboundMessageMessagesItemRoleValueDeveloper InteractionEventUserMessageInboundMessageMessagesItemRoleValue = "developer"
const InteractionEventUserMessageInboundMessageMessagesItemRoleValueSystem InteractionEventUserMessageInboundMessageMessagesItemRoleValue = "system"
const InteractionEventUserMessageInboundMessageMessagesItemRoleValueTool InteractionEventUserMessageInboundMessageMessagesItemRoleValue = "tool"
const InteractionEventUserMessageInboundMessageMessagesItemRoleValueUser InteractionEventUserMessageInboundMessageMessagesItemRoleValue = "user"
func (*InteractionEventUserMessageInboundMessageMessagesItemRoleValue) UnmarshalJSON ¶ added in v0.3.0
func (value *InteractionEventUserMessageInboundMessageMessagesItemRoleValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserMessageInboundType ¶
type InteractionEventUserMessageInboundType string
InteractionEventUserMessageInboundType is a generated schema value.
const InteractionEventUserMessageInboundTypeUserMessageInbound InteractionEventUserMessageInboundType = "user.message.inbound"
func (*InteractionEventUserMessageInboundType) UnmarshalJSON ¶ added in v0.1.1
func (value *InteractionEventUserMessageInboundType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserMessageOutbound ¶
type InteractionEventUserMessageOutbound struct {
Message InteractionEventUserMessageOutboundMessage
Type InteractionEventUserMessageOutboundType
AdditionalProperties map[string]json.RawMessage
}
InteractionEventUserMessageOutbound is generated from schema/draft/interaction-event.schema.json#/$defs/user.message.outbound.
func (InteractionEventUserMessageOutbound) MarshalJSON ¶
func (value InteractionEventUserMessageOutbound) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventUserMessageOutbound) UnmarshalJSON ¶
func (value *InteractionEventUserMessageOutbound) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserMessageOutboundMessage ¶
type InteractionEventUserMessageOutboundMessage struct {
Channel string
Messages []InteractionEventUserMessageOutboundMessageMessagesItem
AdditionalProperties map[string]json.RawMessage
}
InteractionEventUserMessageOutboundMessage is a generated nested model.
func (InteractionEventUserMessageOutboundMessage) MarshalJSON ¶
func (value InteractionEventUserMessageOutboundMessage) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventUserMessageOutboundMessage) UnmarshalJSON ¶
func (value *InteractionEventUserMessageOutboundMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserMessageOutboundMessageMessagesItem ¶ added in v0.3.0
type InteractionEventUserMessageOutboundMessageMessagesItem struct {
ID string
Parts []*ContentItem
Role InteractionEventUserMessageOutboundMessageMessagesItemRole
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
InteractionEventUserMessageOutboundMessageMessagesItem is a generated nested model.
func (InteractionEventUserMessageOutboundMessageMessagesItem) MarshalJSON ¶ added in v0.3.0
func (value InteractionEventUserMessageOutboundMessageMessagesItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InteractionEventUserMessageOutboundMessageMessagesItem) UnmarshalJSON ¶ added in v0.3.0
func (value *InteractionEventUserMessageOutboundMessageMessagesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserMessageOutboundMessageMessagesItemRole ¶ added in v0.3.0
type InteractionEventUserMessageOutboundMessageMessagesItemRole InteractionEventUserMessageOutboundMessageMessagesItemRoleValue
InteractionEventUserMessageOutboundMessageMessagesItemRole is a structurally validated schema value.
func (InteractionEventUserMessageOutboundMessageMessagesItemRole) MarshalJSON ¶ added in v0.3.0
func (value InteractionEventUserMessageOutboundMessageMessagesItemRole) MarshalJSON() ([]byte, error)
func (*InteractionEventUserMessageOutboundMessageMessagesItemRole) UnmarshalJSON ¶ added in v0.3.0
func (value *InteractionEventUserMessageOutboundMessageMessagesItemRole) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserMessageOutboundMessageMessagesItemRoleValue ¶ added in v0.3.0
type InteractionEventUserMessageOutboundMessageMessagesItemRoleValue string
InteractionEventUserMessageOutboundMessageMessagesItemRoleValue is a generated schema value.
const InteractionEventUserMessageOutboundMessageMessagesItemRoleValueAssistant InteractionEventUserMessageOutboundMessageMessagesItemRoleValue = "assistant"
const InteractionEventUserMessageOutboundMessageMessagesItemRoleValueDeveloper InteractionEventUserMessageOutboundMessageMessagesItemRoleValue = "developer"
const InteractionEventUserMessageOutboundMessageMessagesItemRoleValueSystem InteractionEventUserMessageOutboundMessageMessagesItemRoleValue = "system"
const InteractionEventUserMessageOutboundMessageMessagesItemRoleValueTool InteractionEventUserMessageOutboundMessageMessagesItemRoleValue = "tool"
const InteractionEventUserMessageOutboundMessageMessagesItemRoleValueUser InteractionEventUserMessageOutboundMessageMessagesItemRoleValue = "user"
func (*InteractionEventUserMessageOutboundMessageMessagesItemRoleValue) UnmarshalJSON ¶ added in v0.3.0
func (value *InteractionEventUserMessageOutboundMessageMessagesItemRoleValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InteractionEventUserMessageOutboundType ¶
type InteractionEventUserMessageOutboundType string
InteractionEventUserMessageOutboundType is a generated schema value.
const InteractionEventUserMessageOutboundTypeUserMessageOutbound InteractionEventUserMessageOutboundType = "user.message.outbound"
func (*InteractionEventUserMessageOutboundType) UnmarshalJSON ¶ added in v0.1.1
func (value *InteractionEventUserMessageOutboundType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptDenyResponse ¶
type InterceptDenyResponse struct {
ID JsonRpcResponseId
JSONRPC InterceptDenyResponseJSONRPC
Result InterceptDenyResponseResult
AdditionalProperties map[string]json.RawMessage
}
InterceptDenyResponse is generated from schema/draft/intercept-deny-response.schema.json#.
func (InterceptDenyResponse) MarshalJSON ¶
func (value InterceptDenyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptDenyResponse) UnmarshalJSON ¶
func (value *InterceptDenyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptDenyResponseJSONRPC ¶
type InterceptDenyResponseJSONRPC string
InterceptDenyResponseJSONRPC is a generated schema value.
const InterceptDenyResponseJSONRPCValue20 InterceptDenyResponseJSONRPC = "2.0"
func (*InterceptDenyResponseJSONRPC) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptDenyResponseJSONRPC) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptDenyResponseResult ¶
type InterceptDenyResponseResult struct {
Effects []*DenyEffect
Extensions Optional[*Extensions]
ProtocolVersion *ProtocolVersion
AdditionalProperties map[string]json.RawMessage
}
InterceptDenyResponseResult is a generated nested model.
func (InterceptDenyResponseResult) MarshalJSON ¶
func (value InterceptDenyResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptDenyResponseResult) UnmarshalJSON ¶
func (value *InterceptDenyResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptNoEffectResponse ¶
type InterceptNoEffectResponse struct {
ID JsonRpcResponseId
JSONRPC InterceptNoEffectResponseJSONRPC
Result InterceptNoEffectResponseResult
AdditionalProperties map[string]json.RawMessage
}
InterceptNoEffectResponse is generated from schema/draft/intercept-no-effect-response.schema.json#.
func (InterceptNoEffectResponse) MarshalJSON ¶
func (value InterceptNoEffectResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptNoEffectResponse) UnmarshalJSON ¶
func (value *InterceptNoEffectResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptNoEffectResponseJSONRPC ¶
type InterceptNoEffectResponseJSONRPC string
InterceptNoEffectResponseJSONRPC is a generated schema value.
const InterceptNoEffectResponseJSONRPCValue20 InterceptNoEffectResponseJSONRPC = "2.0"
func (*InterceptNoEffectResponseJSONRPC) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptNoEffectResponseJSONRPC) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptNoEffectResponseResult ¶
type InterceptNoEffectResponseResult struct {
Effects []json.RawMessage
Extensions Optional[*Extensions]
ProtocolVersion *ProtocolVersion
AdditionalProperties map[string]json.RawMessage
}
InterceptNoEffectResponseResult is a generated nested model.
func (InterceptNoEffectResponseResult) MarshalJSON ¶
func (value InterceptNoEffectResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptNoEffectResponseResult) UnmarshalJSON ¶
func (value *InterceptNoEffectResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequest ¶
type InterceptRequest struct {
ID *JsonRpcId
JSONRPC InterceptRequestJSONRPC
Method InterceptRequestMethod
Params InterceptRequestParams
AdditionalProperties map[string]json.RawMessage
}
InterceptRequest is generated from schema/draft/intercept-request.schema.json#.
func (InterceptRequest) MarshalJSON ¶
func (value InterceptRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequest) UnmarshalJSON ¶
func (value *InterceptRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestJSONRPC ¶
type InterceptRequestJSONRPC string
InterceptRequestJSONRPC is a generated schema value.
const InterceptRequestJSONRPCValue20 InterceptRequestJSONRPC = "2.0"
func (*InterceptRequestJSONRPC) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestJSONRPC) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestMethod ¶ added in v0.1.1
type InterceptRequestMethod InterceptRequestMethodValue
InterceptRequestMethod is a structurally validated schema value.
func (InterceptRequestMethod) MarshalJSON ¶ added in v0.1.1
func (value InterceptRequestMethod) MarshalJSON() ([]byte, error)
func (*InterceptRequestMethod) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestMethod) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestMethodValue ¶ added in v0.1.1
type InterceptRequestMethodValue string
InterceptRequestMethodValue is a generated schema value.
const InterceptRequestMethodValueHooksIntercept InterceptRequestMethodValue = "hooks/intercept"
func (*InterceptRequestMethodValue) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestMethodValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParams ¶
type InterceptRequestParams struct {
Capabilities InterceptRequestParamsCapabilities
Event *Event
Extensions Optional[*Extensions]
ProtocolVersion *ProtocolVersion
State Optional[InterceptRequestParamsState]
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParams is a generated nested model.
func (InterceptRequestParams) MarshalJSON ¶
func (value InterceptRequestParams) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParams) UnmarshalJSON ¶
func (value *InterceptRequestParams) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilities ¶
type InterceptRequestParamsCapabilities struct {
Effects []InterceptRequestParamsCapabilitiesEffectsItem
Elicitation Optional[InterceptRequestParamsCapabilitiesElicitation]
Flow Optional[InterceptRequestParamsCapabilitiesFlow]
Inject Optional[InterceptRequestParamsCapabilitiesInject]
Modify Optional[InterceptRequestParamsCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilities is a generated nested model.
func (InterceptRequestParamsCapabilities) MarshalJSON ¶
func (value InterceptRequestParamsCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (InterceptRequestParamsCapabilities) Supports ¶ added in v0.1.1
func (value InterceptRequestParamsCapabilities) Supports(effect EffectName) bool
Supports reports advertised effect-family membership only. It does not grant execution permission or check target, operation, mode, or per-call restrictions. Nested grants alone never imply family support.
func (*InterceptRequestParamsCapabilities) UnmarshalJSON ¶
func (value *InterceptRequestParamsCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesEffectsItem ¶
type InterceptRequestParamsCapabilitiesEffectsItem struct {
Known Optional[InterceptRequestParamsCapabilitiesEffectsItemKnown]
Custom Optional[string]
Unknown json.RawMessage
}
InterceptRequestParamsCapabilitiesEffectsItem is a generated union model.
func (InterceptRequestParamsCapabilitiesEffectsItem) MarshalJSON ¶
func (value InterceptRequestParamsCapabilitiesEffectsItem) MarshalJSON() ([]byte, error)
func (*InterceptRequestParamsCapabilitiesEffectsItem) UnmarshalJSON ¶
func (value *InterceptRequestParamsCapabilitiesEffectsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesEffectsItemKnown ¶ added in v0.1.1
type InterceptRequestParamsCapabilitiesEffectsItemKnown string
InterceptRequestParamsCapabilitiesEffectsItemKnown is a generated schema value.
const InterceptRequestParamsCapabilitiesEffectsItemKnownAllow InterceptRequestParamsCapabilitiesEffectsItemKnown = "allow"
const InterceptRequestParamsCapabilitiesEffectsItemKnownAsk InterceptRequestParamsCapabilitiesEffectsItemKnown = "ask"
const InterceptRequestParamsCapabilitiesEffectsItemKnownDeny InterceptRequestParamsCapabilitiesEffectsItemKnown = "deny"
const InterceptRequestParamsCapabilitiesEffectsItemKnownFlow InterceptRequestParamsCapabilitiesEffectsItemKnown = "flow"
const InterceptRequestParamsCapabilitiesEffectsItemKnownInject InterceptRequestParamsCapabilitiesEffectsItemKnown = "inject"
const InterceptRequestParamsCapabilitiesEffectsItemKnownMessage InterceptRequestParamsCapabilitiesEffectsItemKnown = "message"
const InterceptRequestParamsCapabilitiesEffectsItemKnownModify InterceptRequestParamsCapabilitiesEffectsItemKnown = "modify"
const InterceptRequestParamsCapabilitiesEffectsItemKnownReturn InterceptRequestParamsCapabilitiesEffectsItemKnown = "return"
func (*InterceptRequestParamsCapabilitiesEffectsItemKnown) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsCapabilitiesEffectsItemKnown) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesElicitation ¶
type InterceptRequestParamsCapabilitiesElicitation struct {
Form Optional[InterceptRequestParamsCapabilitiesElicitationForm]
URL Optional[InterceptRequestParamsCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilitiesElicitation is a generated nested model.
func (InterceptRequestParamsCapabilitiesElicitation) MarshalJSON ¶
func (value InterceptRequestParamsCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsCapabilitiesElicitation) UnmarshalJSON ¶
func (value *InterceptRequestParamsCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesElicitationForm ¶
type InterceptRequestParamsCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilitiesElicitationForm is a generated nested model.
func (InterceptRequestParamsCapabilitiesElicitationForm) MarshalJSON ¶
func (value InterceptRequestParamsCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *InterceptRequestParamsCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesElicitationURL ¶
type InterceptRequestParamsCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilitiesElicitationURL is a generated nested model.
func (InterceptRequestParamsCapabilitiesElicitationURL) MarshalJSON ¶
func (value InterceptRequestParamsCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *InterceptRequestParamsCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesFlow ¶
type InterceptRequestParamsCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations []InterceptRequestParamsCapabilitiesFlowOperationsItem
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilitiesFlow is a generated nested model.
func (InterceptRequestParamsCapabilitiesFlow) MarshalJSON ¶
func (value InterceptRequestParamsCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsCapabilitiesFlow) UnmarshalJSON ¶
func (value *InterceptRequestParamsCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesFlowOperationsItem ¶
type InterceptRequestParamsCapabilitiesFlowOperationsItem string
InterceptRequestParamsCapabilitiesFlowOperationsItem is a generated schema value.
const InterceptRequestParamsCapabilitiesFlowOperationsItemContinue InterceptRequestParamsCapabilitiesFlowOperationsItem = "continue"
const InterceptRequestParamsCapabilitiesFlowOperationsItemStop InterceptRequestParamsCapabilitiesFlowOperationsItem = "stop"
func (*InterceptRequestParamsCapabilitiesFlowOperationsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesInject ¶
type InterceptRequestParamsCapabilitiesInject struct {
Context InterceptRequestParamsCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilitiesInject is a generated nested model.
func (InterceptRequestParamsCapabilitiesInject) MarshalJSON ¶
func (value InterceptRequestParamsCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsCapabilitiesInject) UnmarshalJSON ¶
func (value *InterceptRequestParamsCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesInjectContext ¶
type InterceptRequestParamsCapabilitiesInjectContext struct {
Append InterceptRequestParamsCapabilitiesInjectContextAppend
DeliverAt []InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilitiesInjectContext is a generated nested model.
func (InterceptRequestParamsCapabilitiesInjectContext) MarshalJSON ¶
func (value InterceptRequestParamsCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *InterceptRequestParamsCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesInjectContextAppend ¶
type InterceptRequestParamsCapabilitiesInjectContextAppend bool
InterceptRequestParamsCapabilitiesInjectContextAppend is a generated schema value.
const InterceptRequestParamsCapabilitiesInjectContextAppendTrue InterceptRequestParamsCapabilitiesInjectContextAppend = true
func (*InterceptRequestParamsCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem ¶
type InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem string
InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const InterceptRequestParamsCapabilitiesInjectContextDeliverAtItemNextTurn InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem = "next_turn"
const InterceptRequestParamsCapabilitiesInjectContextDeliverAtItemNow InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem = "now"
func (*InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesModify ¶
type InterceptRequestParamsCapabilitiesModify struct {
Content Optional[InterceptRequestParamsCapabilitiesModifyContent]
Input Optional[InterceptRequestParamsCapabilitiesModifyInput]
Instructions Optional[InterceptRequestParamsCapabilitiesModifyInstructions]
Output Optional[InterceptRequestParamsCapabilitiesModifyOutput]
Prompt Optional[InterceptRequestParamsCapabilitiesModifyPrompt]
Request Optional[InterceptRequestParamsCapabilitiesModifyRequest]
Response Optional[InterceptRequestParamsCapabilitiesModifyResponse]
Summary Optional[InterceptRequestParamsCapabilitiesModifySummary]
Workspace Optional[InterceptRequestParamsCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilitiesModify is a generated nested model.
func (InterceptRequestParamsCapabilitiesModify) MarshalJSON ¶
func (value InterceptRequestParamsCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsCapabilitiesModify) UnmarshalJSON ¶
func (value *InterceptRequestParamsCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesModifyContent ¶ added in v0.1.1
type InterceptRequestParamsCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilitiesModifyContent is a generated nested model.
func (InterceptRequestParamsCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value InterceptRequestParamsCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesModifyInput ¶ added in v0.1.1
type InterceptRequestParamsCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilitiesModifyInput is a generated nested model.
func (InterceptRequestParamsCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value InterceptRequestParamsCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesModifyInstructions ¶ added in v0.1.1
type InterceptRequestParamsCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilitiesModifyInstructions is a generated nested model.
func (InterceptRequestParamsCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value InterceptRequestParamsCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesModifyOutput ¶ added in v0.1.1
type InterceptRequestParamsCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilitiesModifyOutput is a generated nested model.
func (InterceptRequestParamsCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value InterceptRequestParamsCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesModifyPrompt ¶ added in v0.1.1
type InterceptRequestParamsCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilitiesModifyPrompt is a generated nested model.
func (InterceptRequestParamsCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value InterceptRequestParamsCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesModifyRequest ¶ added in v0.1.1
type InterceptRequestParamsCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilitiesModifyRequest is a generated nested model.
func (InterceptRequestParamsCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value InterceptRequestParamsCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesModifyResponse ¶ added in v0.1.1
type InterceptRequestParamsCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilitiesModifyResponse is a generated nested model.
func (InterceptRequestParamsCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value InterceptRequestParamsCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesModifySummary ¶ added in v0.1.1
type InterceptRequestParamsCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilitiesModifySummary is a generated nested model.
func (InterceptRequestParamsCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value InterceptRequestParamsCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsCapabilitiesModifyWorkspace ¶ added in v0.1.1
type InterceptRequestParamsCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsCapabilitiesModifyWorkspace is a generated nested model.
func (InterceptRequestParamsCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value InterceptRequestParamsCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsState ¶
type InterceptRequestParamsState struct {
Candidate Nullable[InterceptRequestParamsStateCandidateValue]
Flow Optional[InterceptRequestParamsStateFlow]
Injections Optional[[]json.RawMessage]
Instructions Optional[[]string]
Permission InterceptRequestParamsStatePermission
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsState is a generated nested model.
func (InterceptRequestParamsState) MarshalJSON ¶
func (value InterceptRequestParamsState) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsState) UnmarshalJSON ¶
func (value *InterceptRequestParamsState) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsStateCandidateValue ¶ added in v0.1.1
type InterceptRequestParamsStateCandidateValue struct {
Provenance Optional[InterceptRequestParamsStateCandidateValueProvenance]
Value json.RawMessage
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsStateCandidateValue is a generated nested model.
func (InterceptRequestParamsStateCandidateValue) MarshalJSON ¶ added in v0.1.1
func (value InterceptRequestParamsStateCandidateValue) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsStateCandidateValue) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsStateCandidateValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsStateCandidateValueProvenance ¶ added in v0.1.1
type InterceptRequestParamsStateCandidateValueProvenance struct {
AdditionalProperties map[string]json.RawMessage
}
InterceptRequestParamsStateCandidateValueProvenance is a generated nested model.
func (InterceptRequestParamsStateCandidateValueProvenance) MarshalJSON ¶ added in v0.1.1
func (value InterceptRequestParamsStateCandidateValueProvenance) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptRequestParamsStateCandidateValueProvenance) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsStateCandidateValueProvenance) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsStateFlow ¶
type InterceptRequestParamsStateFlow string
InterceptRequestParamsStateFlow is a generated schema value.
const InterceptRequestParamsStateFlowContinue InterceptRequestParamsStateFlow = "continue"
const InterceptRequestParamsStateFlowNone InterceptRequestParamsStateFlow = "none"
const InterceptRequestParamsStateFlowStop InterceptRequestParamsStateFlow = "stop"
func (*InterceptRequestParamsStateFlow) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsStateFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptRequestParamsStatePermission ¶
type InterceptRequestParamsStatePermission string
InterceptRequestParamsStatePermission is a generated schema value.
const InterceptRequestParamsStatePermissionAllow InterceptRequestParamsStatePermission = "allow"
const InterceptRequestParamsStatePermissionAsk InterceptRequestParamsStatePermission = "ask"
const InterceptRequestParamsStatePermissionDeny InterceptRequestParamsStatePermission = "deny"
const InterceptRequestParamsStatePermissionNone InterceptRequestParamsStatePermission = "none"
func (*InterceptRequestParamsStatePermission) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptRequestParamsStatePermission) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptResponse ¶
type InterceptResponse struct {
ID JsonRpcResponseId
JSONRPC InterceptResponseJSONRPC
Result InterceptResponseResult
AdditionalProperties map[string]json.RawMessage
}
InterceptResponse is generated from schema/draft/intercept-response.schema.json#.
func (InterceptResponse) MarshalJSON ¶
func (value InterceptResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptResponse) UnmarshalJSON ¶
func (value *InterceptResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptResponseJSONRPC ¶
type InterceptResponseJSONRPC string
InterceptResponseJSONRPC is a generated schema value.
const InterceptResponseJSONRPCValue20 InterceptResponseJSONRPC = "2.0"
func (*InterceptResponseJSONRPC) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptResponseJSONRPC) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptResponseResult ¶
type InterceptResponseResult struct {
Effects []*Effect
Extensions Optional[*Extensions]
ProtocolVersion *ProtocolVersion
AdditionalProperties map[string]json.RawMessage
}
InterceptResponseResult is a generated nested model.
func (InterceptResponseResult) MarshalJSON ¶
func (value InterceptResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptResponseResult) UnmarshalJSON ¶
func (value *InterceptResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptSubscription ¶
type InterceptSubscription struct {
Content *ContentSelection
Disableable Optional[bool]
Events []InterceptSubscriptionEventsItem
FailurePolicy InterceptSubscriptionFailurePolicy
Filters Optional[InterceptSubscriptionFilters]
IncludeNative Optional[bool]
Mode InterceptSubscriptionMode
Scope Optional[InterceptSubscriptionScope]
TimeoutMs json.Number
Upload Optional[*ContentUpload]
AdditionalProperties map[string]json.RawMessage
}
InterceptSubscription is generated from schema/draft/registration.schema.json#/$defs/interceptSubscription.
func (InterceptSubscription) MarshalJSON ¶
func (value InterceptSubscription) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptSubscription) UnmarshalJSON ¶
func (value *InterceptSubscription) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptSubscriptionEventsItem ¶
type InterceptSubscriptionEventsItem struct {
Known Optional[InterceptSubscriptionEventsItemKnown]
Custom Optional[string]
Unknown json.RawMessage
}
InterceptSubscriptionEventsItem is a generated union model.
func (InterceptSubscriptionEventsItem) MarshalJSON ¶
func (value InterceptSubscriptionEventsItem) MarshalJSON() ([]byte, error)
func (*InterceptSubscriptionEventsItem) UnmarshalJSON ¶
func (value *InterceptSubscriptionEventsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptSubscriptionEventsItemKnown ¶ added in v0.1.1
type InterceptSubscriptionEventsItemKnown string
InterceptSubscriptionEventsItemKnown is a generated schema value.
const InterceptSubscriptionEventsItemKnownConfigChangeBefore InterceptSubscriptionEventsItemKnown = "config.change.before"
const InterceptSubscriptionEventsItemKnownContextCompactAfter InterceptSubscriptionEventsItemKnown = "context.compact.after"
const InterceptSubscriptionEventsItemKnownContextCompactBefore InterceptSubscriptionEventsItemKnown = "context.compact.before"
const InterceptSubscriptionEventsItemKnownModelRequestBefore InterceptSubscriptionEventsItemKnown = "model.request.before"
const InterceptSubscriptionEventsItemKnownModelResponseAfter InterceptSubscriptionEventsItemKnown = "model.response.after"
const InterceptSubscriptionEventsItemKnownModelSwitchBefore InterceptSubscriptionEventsItemKnown = "model.switch.before"
const InterceptSubscriptionEventsItemKnownSessionStart InterceptSubscriptionEventsItemKnown = "session.start"
const InterceptSubscriptionEventsItemKnownTaskChangeBefore InterceptSubscriptionEventsItemKnown = "task.change.before"
const InterceptSubscriptionEventsItemKnownToolAfter InterceptSubscriptionEventsItemKnown = "tool.after"
const InterceptSubscriptionEventsItemKnownToolBatchAfter InterceptSubscriptionEventsItemKnown = "tool.batch.after"
const InterceptSubscriptionEventsItemKnownToolBefore InterceptSubscriptionEventsItemKnown = "tool.before"
const InterceptSubscriptionEventsItemKnownToolPermissionRequest InterceptSubscriptionEventsItemKnown = "tool.permission.request"
const InterceptSubscriptionEventsItemKnownTurnFinishBefore InterceptSubscriptionEventsItemKnown = "turn.finish.before"
const InterceptSubscriptionEventsItemKnownTurnStart InterceptSubscriptionEventsItemKnown = "turn.start"
const InterceptSubscriptionEventsItemKnownUserElicitationRequest InterceptSubscriptionEventsItemKnown = "user.elicitation.request"
const InterceptSubscriptionEventsItemKnownUserElicitationResult InterceptSubscriptionEventsItemKnown = "user.elicitation.result"
const InterceptSubscriptionEventsItemKnownUserMessageInbound InterceptSubscriptionEventsItemKnown = "user.message.inbound"
const InterceptSubscriptionEventsItemKnownUserMessageOutbound InterceptSubscriptionEventsItemKnown = "user.message.outbound"
const InterceptSubscriptionEventsItemKnownWorkspaceChangeBefore InterceptSubscriptionEventsItemKnown = "workspace.change.before"
func (*InterceptSubscriptionEventsItemKnown) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptSubscriptionEventsItemKnown) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptSubscriptionFailurePolicy ¶
type InterceptSubscriptionFailurePolicy string
InterceptSubscriptionFailurePolicy is a generated schema value.
const InterceptSubscriptionFailurePolicyFailClosed InterceptSubscriptionFailurePolicy = "fail-closed"
const InterceptSubscriptionFailurePolicyFailOpen InterceptSubscriptionFailurePolicy = "fail-open"
func (*InterceptSubscriptionFailurePolicy) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptSubscriptionFailurePolicy) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptSubscriptionFilters ¶
type InterceptSubscriptionFilters struct {
Paths Optional[[]string]
ToolKinds Optional[[]string]
AdditionalProperties map[string]json.RawMessage
}
InterceptSubscriptionFilters is a generated nested model.
func (InterceptSubscriptionFilters) MarshalJSON ¶
func (value InterceptSubscriptionFilters) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*InterceptSubscriptionFilters) UnmarshalJSON ¶
func (value *InterceptSubscriptionFilters) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptSubscriptionMode ¶
type InterceptSubscriptionMode string
InterceptSubscriptionMode is a generated schema value.
const InterceptSubscriptionModeIntercept InterceptSubscriptionMode = "intercept"
func (*InterceptSubscriptionMode) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptSubscriptionMode) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type InterceptSubscriptionScope ¶
type InterceptSubscriptionScope string
InterceptSubscriptionScope is a generated schema value.
const InterceptSubscriptionScopeManaged InterceptSubscriptionScope = "managed"
const InterceptSubscriptionScopeProject InterceptSubscriptionScope = "project"
const InterceptSubscriptionScopeUser InterceptSubscriptionScope = "user"
func (*InterceptSubscriptionScope) UnmarshalJSON ¶ added in v0.1.1
func (value *InterceptSubscriptionScope) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type JsonRpcErrorResponse ¶
type JsonRpcErrorResponse struct {
Error JsonRpcErrorResponseError
ID JsonRpcResponseId
JSONRPC JsonRpcErrorResponseJSONRPC
AdditionalProperties map[string]json.RawMessage
}
JsonRpcErrorResponse is generated from schema/draft/common.schema.json#/$defs/errorResponse.
func (JsonRpcErrorResponse) MarshalJSON ¶
func (value JsonRpcErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*JsonRpcErrorResponse) UnmarshalJSON ¶
func (value *JsonRpcErrorResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type JsonRpcErrorResponseError ¶
type JsonRpcErrorResponseError struct {
Code json.Number
Data Optional[json.RawMessage]
Message string
AdditionalProperties map[string]json.RawMessage
}
JsonRpcErrorResponseError is a generated nested model.
func (JsonRpcErrorResponseError) MarshalJSON ¶
func (value JsonRpcErrorResponseError) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*JsonRpcErrorResponseError) UnmarshalJSON ¶
func (value *JsonRpcErrorResponseError) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type JsonRpcErrorResponseJSONRPC ¶
type JsonRpcErrorResponseJSONRPC string
JsonRpcErrorResponseJSONRPC is a generated schema value.
const JsonRpcErrorResponseJSONRPCValue20 JsonRpcErrorResponseJSONRPC = "2.0"
func (*JsonRpcErrorResponseJSONRPC) UnmarshalJSON ¶ added in v0.1.1
func (value *JsonRpcErrorResponseJSONRPC) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type JsonRpcId ¶
type JsonRpcId struct {
String Optional[string]
Integer Optional[json.Number]
Unknown json.RawMessage
}
JsonRpcId is generated from schema/draft/common.schema.json#/$defs/jsonRpcId.
func (JsonRpcId) MarshalJSON ¶
func (*JsonRpcId) UnmarshalJSON ¶
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type JsonRpcMessage ¶
type JsonRpcMessage struct {
JsonRpcRequest Optional[*JsonRpcRequest]
JsonRpcNotification Optional[*JsonRpcNotification]
JsonRpcSuccessResponse Optional[*JsonRpcSuccessResponse]
JsonRpcErrorResponse Optional[*JsonRpcErrorResponse]
Unknown json.RawMessage
}
JsonRpcMessage is generated from schema/draft/json-rpc-message.schema.json#.
func (JsonRpcMessage) MarshalJSON ¶
func (value JsonRpcMessage) MarshalJSON() ([]byte, error)
func (*JsonRpcMessage) UnmarshalJSON ¶
func (value *JsonRpcMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type JsonRpcNotification ¶
type JsonRpcNotification struct {
JSONRPC JsonRpcNotificationJSONRPC
Method string
Params JsonRpcNotificationParams
AdditionalProperties map[string]json.RawMessage
}
JsonRpcNotification is generated from schema/draft/common.schema.json#/$defs/notification.
func (JsonRpcNotification) MarshalJSON ¶
func (value JsonRpcNotification) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*JsonRpcNotification) UnmarshalJSON ¶
func (value *JsonRpcNotification) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type JsonRpcNotificationJSONRPC ¶
type JsonRpcNotificationJSONRPC string
JsonRpcNotificationJSONRPC is a generated schema value.
const JsonRpcNotificationJSONRPCValue20 JsonRpcNotificationJSONRPC = "2.0"
func (*JsonRpcNotificationJSONRPC) UnmarshalJSON ¶ added in v0.1.1
func (value *JsonRpcNotificationJSONRPC) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type JsonRpcNotificationParams ¶
type JsonRpcNotificationParams struct {
AdditionalProperties map[string]json.RawMessage
}
JsonRpcNotificationParams is a generated nested model.
func (JsonRpcNotificationParams) MarshalJSON ¶
func (value JsonRpcNotificationParams) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*JsonRpcNotificationParams) UnmarshalJSON ¶
func (value *JsonRpcNotificationParams) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type JsonRpcRequest ¶
type JsonRpcRequest struct {
ID *JsonRpcId
JSONRPC JsonRpcRequestJSONRPC
Method string
Params JsonRpcRequestParams
AdditionalProperties map[string]json.RawMessage
}
JsonRpcRequest is generated from schema/draft/common.schema.json#/$defs/request.
func (JsonRpcRequest) MarshalJSON ¶
func (value JsonRpcRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*JsonRpcRequest) UnmarshalJSON ¶
func (value *JsonRpcRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type JsonRpcRequestJSONRPC ¶
type JsonRpcRequestJSONRPC string
JsonRpcRequestJSONRPC is a generated schema value.
const JsonRpcRequestJSONRPCValue20 JsonRpcRequestJSONRPC = "2.0"
func (*JsonRpcRequestJSONRPC) UnmarshalJSON ¶ added in v0.1.1
func (value *JsonRpcRequestJSONRPC) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type JsonRpcRequestParams ¶
type JsonRpcRequestParams struct {
AdditionalProperties map[string]json.RawMessage
}
JsonRpcRequestParams is a generated nested model.
func (JsonRpcRequestParams) MarshalJSON ¶
func (value JsonRpcRequestParams) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*JsonRpcRequestParams) UnmarshalJSON ¶
func (value *JsonRpcRequestParams) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type JsonRpcResponseId ¶
JsonRpcResponseId distinguishes null from a non-null value.
type JsonRpcSuccessResponse ¶
type JsonRpcSuccessResponse struct {
ID JsonRpcResponseId
JSONRPC JsonRpcSuccessResponseJSONRPC
Result JsonRpcSuccessResponseResult
AdditionalProperties map[string]json.RawMessage
}
JsonRpcSuccessResponse is generated from schema/draft/common.schema.json#/$defs/successResponse.
func (JsonRpcSuccessResponse) MarshalJSON ¶
func (value JsonRpcSuccessResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*JsonRpcSuccessResponse) UnmarshalJSON ¶
func (value *JsonRpcSuccessResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type JsonRpcSuccessResponseJSONRPC ¶
type JsonRpcSuccessResponseJSONRPC string
JsonRpcSuccessResponseJSONRPC is a generated schema value.
const JsonRpcSuccessResponseJSONRPCValue20 JsonRpcSuccessResponseJSONRPC = "2.0"
func (*JsonRpcSuccessResponseJSONRPC) UnmarshalJSON ¶ added in v0.1.1
func (value *JsonRpcSuccessResponseJSONRPC) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type JsonRpcSuccessResponseResult ¶
type JsonRpcSuccessResponseResult struct {
AdditionalProperties map[string]json.RawMessage
}
JsonRpcSuccessResponseResult is a generated nested model.
func (JsonRpcSuccessResponseResult) MarshalJSON ¶
func (value JsonRpcSuccessResponseResult) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*JsonRpcSuccessResponseResult) UnmarshalJSON ¶
func (value *JsonRpcSuccessResponseResult) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationBooleanSchema ¶
type McpElicitationBooleanSchema struct {
Default Optional[bool]
Description Optional[string]
Title Optional[string]
Type McpElicitationBooleanSchemaType
AdditionalProperties map[string]json.RawMessage
}
McpElicitationBooleanSchema is generated from schema/draft/mcp-elicitation.schema.json#/$defs/BooleanSchema.
func (McpElicitationBooleanSchema) MarshalJSON ¶
func (value McpElicitationBooleanSchema) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationBooleanSchema) UnmarshalJSON ¶
func (value *McpElicitationBooleanSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationBooleanSchemaType ¶
type McpElicitationBooleanSchemaType string
McpElicitationBooleanSchemaType is a generated schema value.
const McpElicitationBooleanSchemaTypeBoolean McpElicitationBooleanSchemaType = "boolean"
func (*McpElicitationBooleanSchemaType) UnmarshalJSON ¶ added in v0.1.1
func (value *McpElicitationBooleanSchemaType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationElicitRequestFormParams ¶
type McpElicitationElicitRequestFormParams struct {
Meta Optional[McpElicitationElicitRequestFormParamsMeta]
Message string
Mode Optional[McpElicitationElicitRequestFormParamsMode]
RequestedSchema McpElicitationElicitRequestFormParamsRequestedSchema
Task Optional[*McpElicitationTaskMetadata]
AdditionalProperties map[string]json.RawMessage
}
McpElicitationElicitRequestFormParams is generated from schema/draft/mcp-elicitation.schema.json#/$defs/ElicitRequestFormParams.
func (McpElicitationElicitRequestFormParams) MarshalJSON ¶
func (value McpElicitationElicitRequestFormParams) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationElicitRequestFormParams) UnmarshalJSON ¶
func (value *McpElicitationElicitRequestFormParams) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationElicitRequestFormParamsMeta ¶
type McpElicitationElicitRequestFormParamsMeta struct {
ProgressToken Optional[*McpElicitationProgressToken]
AdditionalProperties map[string]json.RawMessage
}
McpElicitationElicitRequestFormParamsMeta is a generated nested model.
func (McpElicitationElicitRequestFormParamsMeta) MarshalJSON ¶
func (value McpElicitationElicitRequestFormParamsMeta) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationElicitRequestFormParamsMeta) UnmarshalJSON ¶
func (value *McpElicitationElicitRequestFormParamsMeta) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationElicitRequestFormParamsMode ¶
type McpElicitationElicitRequestFormParamsMode string
McpElicitationElicitRequestFormParamsMode is a generated schema value.
const McpElicitationElicitRequestFormParamsModeForm McpElicitationElicitRequestFormParamsMode = "form"
func (*McpElicitationElicitRequestFormParamsMode) UnmarshalJSON ¶ added in v0.1.1
func (value *McpElicitationElicitRequestFormParamsMode) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationElicitRequestFormParamsRequestedSchema ¶
type McpElicitationElicitRequestFormParamsRequestedSchema struct {
Schema Optional[string]
Properties McpElicitationElicitRequestFormParamsRequestedSchemaProperties
Required Optional[[]string]
Type McpElicitationElicitRequestFormParamsRequestedSchemaType
AdditionalProperties map[string]json.RawMessage
}
McpElicitationElicitRequestFormParamsRequestedSchema is a generated nested model.
func (McpElicitationElicitRequestFormParamsRequestedSchema) MarshalJSON ¶
func (value McpElicitationElicitRequestFormParamsRequestedSchema) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationElicitRequestFormParamsRequestedSchema) UnmarshalJSON ¶
func (value *McpElicitationElicitRequestFormParamsRequestedSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationElicitRequestFormParamsRequestedSchemaProperties ¶
type McpElicitationElicitRequestFormParamsRequestedSchemaProperties struct {
AdditionalProperties map[string]json.RawMessage
}
McpElicitationElicitRequestFormParamsRequestedSchemaProperties is a generated nested model.
func (McpElicitationElicitRequestFormParamsRequestedSchemaProperties) MarshalJSON ¶
func (value McpElicitationElicitRequestFormParamsRequestedSchemaProperties) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationElicitRequestFormParamsRequestedSchemaProperties) UnmarshalJSON ¶
func (value *McpElicitationElicitRequestFormParamsRequestedSchemaProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationElicitRequestFormParamsRequestedSchemaType ¶
type McpElicitationElicitRequestFormParamsRequestedSchemaType string
McpElicitationElicitRequestFormParamsRequestedSchemaType is a generated schema value.
const McpElicitationElicitRequestFormParamsRequestedSchemaTypeObject McpElicitationElicitRequestFormParamsRequestedSchemaType = "object"
func (*McpElicitationElicitRequestFormParamsRequestedSchemaType) UnmarshalJSON ¶ added in v0.1.1
func (value *McpElicitationElicitRequestFormParamsRequestedSchemaType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationElicitRequestParams ¶
type McpElicitationElicitRequestParams struct {
McpElicitationElicitRequestUrlParams Optional[*McpElicitationElicitRequestURLParams]
McpElicitationElicitRequestFormParams Optional[*McpElicitationElicitRequestFormParams]
Unknown json.RawMessage
}
McpElicitationElicitRequestParams is generated from schema/draft/mcp-elicitation.schema.json#/$defs/ElicitRequestParams.
func (McpElicitationElicitRequestParams) MarshalJSON ¶
func (value McpElicitationElicitRequestParams) MarshalJSON() ([]byte, error)
func (*McpElicitationElicitRequestParams) UnmarshalJSON ¶
func (value *McpElicitationElicitRequestParams) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationElicitRequestURLParams ¶
type McpElicitationElicitRequestURLParams struct {
Meta Optional[McpElicitationElicitRequestURLParamsMeta]
ElicitationId string
Message string
Mode McpElicitationElicitRequestURLParamsMode
Task Optional[*McpElicitationTaskMetadata]
URL string
AdditionalProperties map[string]json.RawMessage
}
McpElicitationElicitRequestURLParams is generated from schema/draft/mcp-elicitation.schema.json#/$defs/ElicitRequestURLParams.
func (McpElicitationElicitRequestURLParams) MarshalJSON ¶
func (value McpElicitationElicitRequestURLParams) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationElicitRequestURLParams) UnmarshalJSON ¶
func (value *McpElicitationElicitRequestURLParams) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationElicitRequestURLParamsMeta ¶
type McpElicitationElicitRequestURLParamsMeta struct {
ProgressToken Optional[*McpElicitationProgressToken]
AdditionalProperties map[string]json.RawMessage
}
McpElicitationElicitRequestURLParamsMeta is a generated nested model.
func (McpElicitationElicitRequestURLParamsMeta) MarshalJSON ¶
func (value McpElicitationElicitRequestURLParamsMeta) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationElicitRequestURLParamsMeta) UnmarshalJSON ¶
func (value *McpElicitationElicitRequestURLParamsMeta) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationElicitRequestURLParamsMode ¶
type McpElicitationElicitRequestURLParamsMode string
McpElicitationElicitRequestURLParamsMode is a generated schema value.
const McpElicitationElicitRequestURLParamsModeURL McpElicitationElicitRequestURLParamsMode = "url"
func (*McpElicitationElicitRequestURLParamsMode) UnmarshalJSON ¶ added in v0.1.1
func (value *McpElicitationElicitRequestURLParamsMode) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationElicitResult ¶
type McpElicitationElicitResult struct {
Meta Optional[McpElicitationElicitResultMeta]
Action McpElicitationElicitResultAction
Content Optional[McpElicitationElicitResultContent]
AdditionalProperties map[string]json.RawMessage
}
McpElicitationElicitResult is generated from schema/draft/mcp-elicitation.schema.json#/$defs/ElicitResult.
func (McpElicitationElicitResult) MarshalJSON ¶
func (value McpElicitationElicitResult) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationElicitResult) UnmarshalJSON ¶
func (value *McpElicitationElicitResult) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationElicitResultAction ¶
type McpElicitationElicitResultAction string
McpElicitationElicitResultAction is a generated schema value.
const McpElicitationElicitResultActionAccept McpElicitationElicitResultAction = "accept"
const McpElicitationElicitResultActionCancel McpElicitationElicitResultAction = "cancel"
const McpElicitationElicitResultActionDecline McpElicitationElicitResultAction = "decline"
func (*McpElicitationElicitResultAction) UnmarshalJSON ¶ added in v0.1.1
func (value *McpElicitationElicitResultAction) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationElicitResultContent ¶
type McpElicitationElicitResultContent struct {
AdditionalProperties map[string]json.RawMessage
}
McpElicitationElicitResultContent is a generated nested model.
func (McpElicitationElicitResultContent) MarshalJSON ¶
func (value McpElicitationElicitResultContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationElicitResultContent) UnmarshalJSON ¶
func (value *McpElicitationElicitResultContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationElicitResultMeta ¶
type McpElicitationElicitResultMeta struct {
AdditionalProperties map[string]json.RawMessage
}
McpElicitationElicitResultMeta is a generated nested model.
func (McpElicitationElicitResultMeta) MarshalJSON ¶
func (value McpElicitationElicitResultMeta) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationElicitResultMeta) UnmarshalJSON ¶
func (value *McpElicitationElicitResultMeta) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationLegacyTitledEnumSchema ¶
type McpElicitationLegacyTitledEnumSchema struct {
Default Optional[string]
Description Optional[string]
Enum []string
EnumNames Optional[[]string]
Title Optional[string]
Type McpElicitationLegacyTitledEnumSchemaType
AdditionalProperties map[string]json.RawMessage
}
McpElicitationLegacyTitledEnumSchema is generated from schema/draft/mcp-elicitation.schema.json#/$defs/LegacyTitledEnumSchema.
func (McpElicitationLegacyTitledEnumSchema) MarshalJSON ¶
func (value McpElicitationLegacyTitledEnumSchema) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationLegacyTitledEnumSchema) UnmarshalJSON ¶
func (value *McpElicitationLegacyTitledEnumSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationLegacyTitledEnumSchemaType ¶
type McpElicitationLegacyTitledEnumSchemaType string
McpElicitationLegacyTitledEnumSchemaType is a generated schema value.
const McpElicitationLegacyTitledEnumSchemaTypeString McpElicitationLegacyTitledEnumSchemaType = "string"
func (*McpElicitationLegacyTitledEnumSchemaType) UnmarshalJSON ¶ added in v0.1.1
func (value *McpElicitationLegacyTitledEnumSchemaType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationNumberSchema ¶
type McpElicitationNumberSchema struct {
Default Optional[json.Number]
Description Optional[string]
Maximum Optional[json.Number]
Minimum Optional[json.Number]
Title Optional[string]
Type McpElicitationNumberSchemaType
AdditionalProperties map[string]json.RawMessage
}
McpElicitationNumberSchema is generated from schema/draft/mcp-elicitation.schema.json#/$defs/NumberSchema.
func (McpElicitationNumberSchema) MarshalJSON ¶
func (value McpElicitationNumberSchema) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationNumberSchema) UnmarshalJSON ¶
func (value *McpElicitationNumberSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationNumberSchemaType ¶
type McpElicitationNumberSchemaType string
McpElicitationNumberSchemaType is a generated schema value.
const McpElicitationNumberSchemaTypeInteger McpElicitationNumberSchemaType = "integer"
const McpElicitationNumberSchemaTypeNumber McpElicitationNumberSchemaType = "number"
func (*McpElicitationNumberSchemaType) UnmarshalJSON ¶ added in v0.1.1
func (value *McpElicitationNumberSchemaType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationPrimitiveSchemaDefinition ¶
type McpElicitationPrimitiveSchemaDefinition struct {
McpElicitationStringSchema Optional[*McpElicitationStringSchema]
McpElicitationNumberSchema Optional[*McpElicitationNumberSchema]
McpElicitationBooleanSchema Optional[*McpElicitationBooleanSchema]
McpElicitationUntitledSingleSelectEnumSchema Optional[*McpElicitationUntitledSingleSelectEnumSchema]
McpElicitationTitledSingleSelectEnumSchema Optional[*McpElicitationTitledSingleSelectEnumSchema]
McpElicitationUntitledMultiSelectEnumSchema Optional[*McpElicitationUntitledMultiSelectEnumSchema]
McpElicitationTitledMultiSelectEnumSchema Optional[*McpElicitationTitledMultiSelectEnumSchema]
McpElicitationLegacyTitledEnumSchema Optional[*McpElicitationLegacyTitledEnumSchema]
Unknown json.RawMessage
}
McpElicitationPrimitiveSchemaDefinition is generated from schema/draft/mcp-elicitation.schema.json#/$defs/PrimitiveSchemaDefinition.
func (McpElicitationPrimitiveSchemaDefinition) MarshalJSON ¶
func (value McpElicitationPrimitiveSchemaDefinition) MarshalJSON() ([]byte, error)
func (*McpElicitationPrimitiveSchemaDefinition) UnmarshalJSON ¶
func (value *McpElicitationPrimitiveSchemaDefinition) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationProgressToken ¶
type McpElicitationProgressToken struct {
String Optional[string]
Number Optional[json.Number]
Unknown json.RawMessage
}
McpElicitationProgressToken is generated from schema/draft/mcp-elicitation.schema.json#/$defs/ProgressToken.
func (McpElicitationProgressToken) MarshalJSON ¶
func (value McpElicitationProgressToken) MarshalJSON() ([]byte, error)
func (*McpElicitationProgressToken) UnmarshalJSON ¶
func (value *McpElicitationProgressToken) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationRequest ¶
type McpElicitationRequest = McpElicitationElicitRequestParams
McpElicitationRequest is generated from schema/draft/mcp-elicitation.schema.json#/$defs/request.
type McpElicitationResult ¶
type McpElicitationResult struct {
Meta Optional[McpElicitationResultMeta]
Action McpElicitationResultAction
Content Optional[McpElicitationResultContent]
AdditionalProperties map[string]json.RawMessage
}
McpElicitationResult is generated from schema/draft/mcp-elicitation.schema.json#/$defs/result.
func (McpElicitationResult) MarshalJSON ¶
func (value McpElicitationResult) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationResult) UnmarshalJSON ¶
func (value *McpElicitationResult) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationResultAction ¶
type McpElicitationResultAction string
McpElicitationResultAction is a generated schema value.
const McpElicitationResultActionAccept McpElicitationResultAction = "accept"
const McpElicitationResultActionCancel McpElicitationResultAction = "cancel"
const McpElicitationResultActionDecline McpElicitationResultAction = "decline"
func (*McpElicitationResultAction) UnmarshalJSON ¶ added in v0.1.1
func (value *McpElicitationResultAction) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationResultContent ¶
type McpElicitationResultContent struct {
AdditionalProperties map[string]json.RawMessage
}
McpElicitationResultContent is a generated nested model.
func (McpElicitationResultContent) MarshalJSON ¶
func (value McpElicitationResultContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationResultContent) UnmarshalJSON ¶
func (value *McpElicitationResultContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationResultMeta ¶
type McpElicitationResultMeta struct {
AdditionalProperties map[string]json.RawMessage
}
McpElicitationResultMeta is a generated nested model.
func (McpElicitationResultMeta) MarshalJSON ¶
func (value McpElicitationResultMeta) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationResultMeta) UnmarshalJSON ¶
func (value *McpElicitationResultMeta) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationStringSchema ¶
type McpElicitationStringSchema struct {
Default Optional[string]
Description Optional[string]
Format Optional[McpElicitationStringSchemaFormat]
MaxLength Optional[json.Number]
MinLength Optional[json.Number]
Title Optional[string]
Type McpElicitationStringSchemaType
AdditionalProperties map[string]json.RawMessage
}
McpElicitationStringSchema is generated from schema/draft/mcp-elicitation.schema.json#/$defs/StringSchema.
func (McpElicitationStringSchema) MarshalJSON ¶
func (value McpElicitationStringSchema) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationStringSchema) UnmarshalJSON ¶
func (value *McpElicitationStringSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationStringSchemaFormat ¶
type McpElicitationStringSchemaFormat string
McpElicitationStringSchemaFormat is a generated schema value.
const McpElicitationStringSchemaFormatDate McpElicitationStringSchemaFormat = "date"
const McpElicitationStringSchemaFormatDateTime McpElicitationStringSchemaFormat = "date-time"
const McpElicitationStringSchemaFormatEmail McpElicitationStringSchemaFormat = "email"
const McpElicitationStringSchemaFormatURI McpElicitationStringSchemaFormat = "uri"
func (*McpElicitationStringSchemaFormat) UnmarshalJSON ¶ added in v0.1.1
func (value *McpElicitationStringSchemaFormat) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationStringSchemaType ¶
type McpElicitationStringSchemaType string
McpElicitationStringSchemaType is a generated schema value.
const McpElicitationStringSchemaTypeString McpElicitationStringSchemaType = "string"
func (*McpElicitationStringSchemaType) UnmarshalJSON ¶ added in v0.1.1
func (value *McpElicitationStringSchemaType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationTaskMetadata ¶
type McpElicitationTaskMetadata struct {
Ttl Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
McpElicitationTaskMetadata is generated from schema/draft/mcp-elicitation.schema.json#/$defs/TaskMetadata.
func (McpElicitationTaskMetadata) MarshalJSON ¶
func (value McpElicitationTaskMetadata) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationTaskMetadata) UnmarshalJSON ¶
func (value *McpElicitationTaskMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationTitledMultiSelectEnumSchema ¶
type McpElicitationTitledMultiSelectEnumSchema struct {
Default Optional[[]string]
Description Optional[string]
Items McpElicitationTitledMultiSelectEnumSchemaItems
MaxItems Optional[json.Number]
MinItems Optional[json.Number]
Title Optional[string]
Type McpElicitationTitledMultiSelectEnumSchemaType
AdditionalProperties map[string]json.RawMessage
}
McpElicitationTitledMultiSelectEnumSchema is generated from schema/draft/mcp-elicitation.schema.json#/$defs/TitledMultiSelectEnumSchema.
func (McpElicitationTitledMultiSelectEnumSchema) MarshalJSON ¶
func (value McpElicitationTitledMultiSelectEnumSchema) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationTitledMultiSelectEnumSchema) UnmarshalJSON ¶
func (value *McpElicitationTitledMultiSelectEnumSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationTitledMultiSelectEnumSchemaItems ¶
type McpElicitationTitledMultiSelectEnumSchemaItems struct {
AnyOf []McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem
AdditionalProperties map[string]json.RawMessage
}
McpElicitationTitledMultiSelectEnumSchemaItems is a generated nested model.
func (McpElicitationTitledMultiSelectEnumSchemaItems) MarshalJSON ¶
func (value McpElicitationTitledMultiSelectEnumSchemaItems) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationTitledMultiSelectEnumSchemaItems) UnmarshalJSON ¶
func (value *McpElicitationTitledMultiSelectEnumSchemaItems) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem ¶
type McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem struct {
Const string
Title string
AdditionalProperties map[string]json.RawMessage
}
McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem is a generated nested model.
func (McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem) MarshalJSON ¶
func (value McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem) UnmarshalJSON ¶
func (value *McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationTitledMultiSelectEnumSchemaType ¶
type McpElicitationTitledMultiSelectEnumSchemaType string
McpElicitationTitledMultiSelectEnumSchemaType is a generated schema value.
const McpElicitationTitledMultiSelectEnumSchemaTypeArray McpElicitationTitledMultiSelectEnumSchemaType = "array"
func (*McpElicitationTitledMultiSelectEnumSchemaType) UnmarshalJSON ¶ added in v0.1.1
func (value *McpElicitationTitledMultiSelectEnumSchemaType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationTitledSingleSelectEnumSchema ¶
type McpElicitationTitledSingleSelectEnumSchema struct {
Default Optional[string]
Description Optional[string]
OneOf []McpElicitationTitledSingleSelectEnumSchemaOneOfItem
Title Optional[string]
Type McpElicitationTitledSingleSelectEnumSchemaType
AdditionalProperties map[string]json.RawMessage
}
McpElicitationTitledSingleSelectEnumSchema is generated from schema/draft/mcp-elicitation.schema.json#/$defs/TitledSingleSelectEnumSchema.
func (McpElicitationTitledSingleSelectEnumSchema) MarshalJSON ¶
func (value McpElicitationTitledSingleSelectEnumSchema) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationTitledSingleSelectEnumSchema) UnmarshalJSON ¶
func (value *McpElicitationTitledSingleSelectEnumSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationTitledSingleSelectEnumSchemaOneOfItem ¶
type McpElicitationTitledSingleSelectEnumSchemaOneOfItem struct {
Const string
Title string
AdditionalProperties map[string]json.RawMessage
}
McpElicitationTitledSingleSelectEnumSchemaOneOfItem is a generated nested model.
func (McpElicitationTitledSingleSelectEnumSchemaOneOfItem) MarshalJSON ¶
func (value McpElicitationTitledSingleSelectEnumSchemaOneOfItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationTitledSingleSelectEnumSchemaOneOfItem) UnmarshalJSON ¶
func (value *McpElicitationTitledSingleSelectEnumSchemaOneOfItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationTitledSingleSelectEnumSchemaType ¶
type McpElicitationTitledSingleSelectEnumSchemaType string
McpElicitationTitledSingleSelectEnumSchemaType is a generated schema value.
const McpElicitationTitledSingleSelectEnumSchemaTypeString McpElicitationTitledSingleSelectEnumSchemaType = "string"
func (*McpElicitationTitledSingleSelectEnumSchemaType) UnmarshalJSON ¶ added in v0.1.1
func (value *McpElicitationTitledSingleSelectEnumSchemaType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationUntitledMultiSelectEnumSchema ¶
type McpElicitationUntitledMultiSelectEnumSchema struct {
Default Optional[[]string]
Description Optional[string]
Items McpElicitationUntitledMultiSelectEnumSchemaItems
MaxItems Optional[json.Number]
MinItems Optional[json.Number]
Title Optional[string]
Type McpElicitationUntitledMultiSelectEnumSchemaType
AdditionalProperties map[string]json.RawMessage
}
McpElicitationUntitledMultiSelectEnumSchema is generated from schema/draft/mcp-elicitation.schema.json#/$defs/UntitledMultiSelectEnumSchema.
func (McpElicitationUntitledMultiSelectEnumSchema) MarshalJSON ¶
func (value McpElicitationUntitledMultiSelectEnumSchema) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationUntitledMultiSelectEnumSchema) UnmarshalJSON ¶
func (value *McpElicitationUntitledMultiSelectEnumSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationUntitledMultiSelectEnumSchemaItems ¶
type McpElicitationUntitledMultiSelectEnumSchemaItems struct {
Enum []string
Type McpElicitationUntitledMultiSelectEnumSchemaItemsType
AdditionalProperties map[string]json.RawMessage
}
McpElicitationUntitledMultiSelectEnumSchemaItems is a generated nested model.
func (McpElicitationUntitledMultiSelectEnumSchemaItems) MarshalJSON ¶
func (value McpElicitationUntitledMultiSelectEnumSchemaItems) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationUntitledMultiSelectEnumSchemaItems) UnmarshalJSON ¶
func (value *McpElicitationUntitledMultiSelectEnumSchemaItems) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationUntitledMultiSelectEnumSchemaItemsType ¶
type McpElicitationUntitledMultiSelectEnumSchemaItemsType string
McpElicitationUntitledMultiSelectEnumSchemaItemsType is a generated schema value.
const McpElicitationUntitledMultiSelectEnumSchemaItemsTypeString McpElicitationUntitledMultiSelectEnumSchemaItemsType = "string"
func (*McpElicitationUntitledMultiSelectEnumSchemaItemsType) UnmarshalJSON ¶ added in v0.1.1
func (value *McpElicitationUntitledMultiSelectEnumSchemaItemsType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationUntitledMultiSelectEnumSchemaType ¶
type McpElicitationUntitledMultiSelectEnumSchemaType string
McpElicitationUntitledMultiSelectEnumSchemaType is a generated schema value.
const McpElicitationUntitledMultiSelectEnumSchemaTypeArray McpElicitationUntitledMultiSelectEnumSchemaType = "array"
func (*McpElicitationUntitledMultiSelectEnumSchemaType) UnmarshalJSON ¶ added in v0.1.1
func (value *McpElicitationUntitledMultiSelectEnumSchemaType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationUntitledSingleSelectEnumSchema ¶
type McpElicitationUntitledSingleSelectEnumSchema struct {
Default Optional[string]
Description Optional[string]
Enum []string
Title Optional[string]
Type McpElicitationUntitledSingleSelectEnumSchemaType
AdditionalProperties map[string]json.RawMessage
}
McpElicitationUntitledSingleSelectEnumSchema is generated from schema/draft/mcp-elicitation.schema.json#/$defs/UntitledSingleSelectEnumSchema.
func (McpElicitationUntitledSingleSelectEnumSchema) MarshalJSON ¶
func (value McpElicitationUntitledSingleSelectEnumSchema) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*McpElicitationUntitledSingleSelectEnumSchema) UnmarshalJSON ¶
func (value *McpElicitationUntitledSingleSelectEnumSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type McpElicitationUntitledSingleSelectEnumSchemaType ¶
type McpElicitationUntitledSingleSelectEnumSchemaType string
McpElicitationUntitledSingleSelectEnumSchemaType is a generated schema value.
const McpElicitationUntitledSingleSelectEnumSchemaTypeString McpElicitationUntitledSingleSelectEnumSchemaType = "string"
func (*McpElicitationUntitledSingleSelectEnumSchemaType) UnmarshalJSON ¶ added in v0.1.1
func (value *McpElicitationUntitledSingleSelectEnumSchemaType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEvent ¶
type ModelErrorEvent struct {
Attempt *ExecutionEventAttempt
Error *ExecutionEventError
Execution ModelErrorEventExecution
Extensions Optional[*Extensions]
Gaps Optional[[]ModelErrorEventGapsItem]
ID string
Items Optional[[]*ContentItem]
LatencyMs Optional[json.Number]
Model *ExecutionEventModel
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Recovery Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[ModelErrorEventTurn]
Type ModelErrorEventType
Usage Optional[*ExecutionEventAttemptusage]
AdditionalProperties map[string]json.RawMessage
}
ModelErrorEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/model.error.
func (ModelErrorEvent) MarshalJSON ¶
func (value ModelErrorEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelErrorEvent) UnmarshalJSON ¶
func (value *ModelErrorEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecution ¶ added in v0.1.1
type ModelErrorEventExecution struct {
Executed Optional[ModelErrorEventExecutionExecuted]
SkippedSuppliedResult Optional[ModelErrorEventExecutionSkippedSuppliedResult]
SkippedPolicy Optional[ModelErrorEventExecutionSkippedPolicy]
SkippedCancelled Optional[ModelErrorEventExecutionSkippedCancelled]
SkippedTimeout Optional[ModelErrorEventExecutionSkippedTimeout]
SkippedOther Optional[ModelErrorEventExecutionSkippedOther]
Unknown json.RawMessage
}
ModelErrorEventExecution is a generated union model.
func (ModelErrorEventExecution) MarshalJSON ¶ added in v0.1.1
func (value ModelErrorEventExecution) MarshalJSON() ([]byte, error)
func (*ModelErrorEventExecution) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecution) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionExecuted ¶ added in v0.1.1
type ModelErrorEventExecutionExecuted struct {
Status ModelErrorEventExecutionExecutedStatus
AdditionalProperties map[string]json.RawMessage
}
ModelErrorEventExecutionExecuted is a generated nested model.
func (ModelErrorEventExecutionExecuted) MarshalJSON ¶ added in v0.1.1
func (value ModelErrorEventExecutionExecuted) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelErrorEventExecutionExecuted) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionExecuted) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionExecutedStatus ¶ added in v0.1.1
type ModelErrorEventExecutionExecutedStatus string
ModelErrorEventExecutionExecutedStatus is a generated schema value.
const ModelErrorEventExecutionExecutedStatusExecuted ModelErrorEventExecutionExecutedStatus = "executed"
func (*ModelErrorEventExecutionExecutedStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionExecutedStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedCancelled ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedCancelled struct {
Detail Optional[string]
Reason ModelErrorEventExecutionSkippedCancelledReason
Status ModelErrorEventExecutionSkippedCancelledStatus
AdditionalProperties map[string]json.RawMessage
}
ModelErrorEventExecutionSkippedCancelled is a generated nested model.
func (ModelErrorEventExecutionSkippedCancelled) MarshalJSON ¶ added in v0.1.1
func (value ModelErrorEventExecutionSkippedCancelled) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelErrorEventExecutionSkippedCancelled) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedCancelled) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedCancelledReason ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedCancelledReason string
ModelErrorEventExecutionSkippedCancelledReason is a generated schema value.
const ModelErrorEventExecutionSkippedCancelledReasonCancelled ModelErrorEventExecutionSkippedCancelledReason = "cancelled"
func (*ModelErrorEventExecutionSkippedCancelledReason) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedCancelledReason) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedCancelledStatus ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedCancelledStatus ModelErrorEventExecutionSkippedCancelledStatusValue
ModelErrorEventExecutionSkippedCancelledStatus is a structurally validated schema value.
func (ModelErrorEventExecutionSkippedCancelledStatus) MarshalJSON ¶ added in v0.1.1
func (value ModelErrorEventExecutionSkippedCancelledStatus) MarshalJSON() ([]byte, error)
func (*ModelErrorEventExecutionSkippedCancelledStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedCancelledStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedCancelledStatusValue ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedCancelledStatusValue string
ModelErrorEventExecutionSkippedCancelledStatusValue is a generated schema value.
const ModelErrorEventExecutionSkippedCancelledStatusValueExecuted ModelErrorEventExecutionSkippedCancelledStatusValue = "executed"
func (*ModelErrorEventExecutionSkippedCancelledStatusValue) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedCancelledStatusValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedOther ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedOther struct {
Detail Optional[string]
Reason ModelErrorEventExecutionSkippedOtherReason
Status ModelErrorEventExecutionSkippedOtherStatus
AdditionalProperties map[string]json.RawMessage
}
ModelErrorEventExecutionSkippedOther is a generated nested model.
func (ModelErrorEventExecutionSkippedOther) MarshalJSON ¶ added in v0.1.1
func (value ModelErrorEventExecutionSkippedOther) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelErrorEventExecutionSkippedOther) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedOther) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedOtherReason ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedOtherReason string
ModelErrorEventExecutionSkippedOtherReason is a generated schema value.
const ModelErrorEventExecutionSkippedOtherReasonOther ModelErrorEventExecutionSkippedOtherReason = "other"
func (*ModelErrorEventExecutionSkippedOtherReason) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedOtherReason) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedOtherStatus ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedOtherStatus ModelErrorEventExecutionSkippedOtherStatusValue
ModelErrorEventExecutionSkippedOtherStatus is a structurally validated schema value.
func (ModelErrorEventExecutionSkippedOtherStatus) MarshalJSON ¶ added in v0.1.1
func (value ModelErrorEventExecutionSkippedOtherStatus) MarshalJSON() ([]byte, error)
func (*ModelErrorEventExecutionSkippedOtherStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedOtherStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedOtherStatusValue ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedOtherStatusValue string
ModelErrorEventExecutionSkippedOtherStatusValue is a generated schema value.
const ModelErrorEventExecutionSkippedOtherStatusValueExecuted ModelErrorEventExecutionSkippedOtherStatusValue = "executed"
func (*ModelErrorEventExecutionSkippedOtherStatusValue) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedOtherStatusValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedPolicy ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedPolicy struct {
Detail Optional[string]
Reason ModelErrorEventExecutionSkippedPolicyReason
Status ModelErrorEventExecutionSkippedPolicyStatus
AdditionalProperties map[string]json.RawMessage
}
ModelErrorEventExecutionSkippedPolicy is a generated nested model.
func (ModelErrorEventExecutionSkippedPolicy) MarshalJSON ¶ added in v0.1.1
func (value ModelErrorEventExecutionSkippedPolicy) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelErrorEventExecutionSkippedPolicy) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedPolicy) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedPolicyReason ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedPolicyReason string
ModelErrorEventExecutionSkippedPolicyReason is a generated schema value.
const ModelErrorEventExecutionSkippedPolicyReasonPolicy ModelErrorEventExecutionSkippedPolicyReason = "policy"
func (*ModelErrorEventExecutionSkippedPolicyReason) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedPolicyReason) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedPolicyStatus ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedPolicyStatus ModelErrorEventExecutionSkippedPolicyStatusValue
ModelErrorEventExecutionSkippedPolicyStatus is a structurally validated schema value.
func (ModelErrorEventExecutionSkippedPolicyStatus) MarshalJSON ¶ added in v0.1.1
func (value ModelErrorEventExecutionSkippedPolicyStatus) MarshalJSON() ([]byte, error)
func (*ModelErrorEventExecutionSkippedPolicyStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedPolicyStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedPolicyStatusValue ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedPolicyStatusValue string
ModelErrorEventExecutionSkippedPolicyStatusValue is a generated schema value.
const ModelErrorEventExecutionSkippedPolicyStatusValueExecuted ModelErrorEventExecutionSkippedPolicyStatusValue = "executed"
func (*ModelErrorEventExecutionSkippedPolicyStatusValue) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedPolicyStatusValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedSuppliedResult ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedSuppliedResult struct {
Reason ModelErrorEventExecutionSkippedSuppliedResultReason
Status ModelErrorEventExecutionSkippedSuppliedResultStatus
AdditionalProperties map[string]json.RawMessage
}
ModelErrorEventExecutionSkippedSuppliedResult is a generated nested model.
func (ModelErrorEventExecutionSkippedSuppliedResult) MarshalJSON ¶ added in v0.1.1
func (value ModelErrorEventExecutionSkippedSuppliedResult) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelErrorEventExecutionSkippedSuppliedResult) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedSuppliedResult) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedSuppliedResultReason ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedSuppliedResultReason string
ModelErrorEventExecutionSkippedSuppliedResultReason is a generated schema value.
const ModelErrorEventExecutionSkippedSuppliedResultReasonSuppliedResult ModelErrorEventExecutionSkippedSuppliedResultReason = "supplied_result"
func (*ModelErrorEventExecutionSkippedSuppliedResultReason) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedSuppliedResultReason) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedSuppliedResultStatus ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedSuppliedResultStatus ModelErrorEventExecutionSkippedSuppliedResultStatusValue
ModelErrorEventExecutionSkippedSuppliedResultStatus is a structurally validated schema value.
func (ModelErrorEventExecutionSkippedSuppliedResultStatus) MarshalJSON ¶ added in v0.1.1
func (value ModelErrorEventExecutionSkippedSuppliedResultStatus) MarshalJSON() ([]byte, error)
func (*ModelErrorEventExecutionSkippedSuppliedResultStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedSuppliedResultStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedSuppliedResultStatusValue ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedSuppliedResultStatusValue string
ModelErrorEventExecutionSkippedSuppliedResultStatusValue is a generated schema value.
const ModelErrorEventExecutionSkippedSuppliedResultStatusValueExecuted ModelErrorEventExecutionSkippedSuppliedResultStatusValue = "executed"
func (*ModelErrorEventExecutionSkippedSuppliedResultStatusValue) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedSuppliedResultStatusValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedTimeout ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedTimeout struct {
Detail Optional[string]
Reason ModelErrorEventExecutionSkippedTimeoutReason
Status ModelErrorEventExecutionSkippedTimeoutStatus
AdditionalProperties map[string]json.RawMessage
}
ModelErrorEventExecutionSkippedTimeout is a generated nested model.
func (ModelErrorEventExecutionSkippedTimeout) MarshalJSON ¶ added in v0.1.1
func (value ModelErrorEventExecutionSkippedTimeout) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelErrorEventExecutionSkippedTimeout) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedTimeout) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedTimeoutReason ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedTimeoutReason string
ModelErrorEventExecutionSkippedTimeoutReason is a generated schema value.
const ModelErrorEventExecutionSkippedTimeoutReasonTimeout ModelErrorEventExecutionSkippedTimeoutReason = "timeout"
func (*ModelErrorEventExecutionSkippedTimeoutReason) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedTimeoutReason) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedTimeoutStatus ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedTimeoutStatus ModelErrorEventExecutionSkippedTimeoutStatusValue
ModelErrorEventExecutionSkippedTimeoutStatus is a structurally validated schema value.
func (ModelErrorEventExecutionSkippedTimeoutStatus) MarshalJSON ¶ added in v0.1.1
func (value ModelErrorEventExecutionSkippedTimeoutStatus) MarshalJSON() ([]byte, error)
func (*ModelErrorEventExecutionSkippedTimeoutStatus) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedTimeoutStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventExecutionSkippedTimeoutStatusValue ¶ added in v0.1.1
type ModelErrorEventExecutionSkippedTimeoutStatusValue string
ModelErrorEventExecutionSkippedTimeoutStatusValue is a generated schema value.
const ModelErrorEventExecutionSkippedTimeoutStatusValueExecuted ModelErrorEventExecutionSkippedTimeoutStatusValue = "executed"
func (*ModelErrorEventExecutionSkippedTimeoutStatusValue) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventExecutionSkippedTimeoutStatusValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventGapsItem ¶
type ModelErrorEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ModelErrorEventGapsItem is a generated nested model.
func (ModelErrorEventGapsItem) MarshalJSON ¶
func (value ModelErrorEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelErrorEventGapsItem) UnmarshalJSON ¶
func (value *ModelErrorEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventTurn ¶
type ModelErrorEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ModelErrorEventTurn is a generated nested model.
func (ModelErrorEventTurn) MarshalJSON ¶
func (value ModelErrorEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelErrorEventTurn) UnmarshalJSON ¶
func (value *ModelErrorEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelErrorEventType ¶
type ModelErrorEventType string
ModelErrorEventType is a generated schema value.
const ModelErrorEventTypeModelError ModelErrorEventType = "model.error"
func (*ModelErrorEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelErrorEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilities ¶
type ModelRequestBeforeCapabilities struct {
Effects ModelRequestBeforeCapabilitiesEffects
Elicitation Optional[ModelRequestBeforeCapabilitiesElicitation]
Flow Optional[ModelRequestBeforeCapabilitiesFlow]
Inject Optional[ModelRequestBeforeCapabilitiesInject]
Modify Optional[ModelRequestBeforeCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/model.request.before.
func (ModelRequestBeforeCapabilities) MarshalJSON ¶
func (value ModelRequestBeforeCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilities) UnmarshalJSON ¶
func (value *ModelRequestBeforeCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesEffects ¶ added in v0.1.1
type ModelRequestBeforeCapabilitiesEffects []ModelRequestBeforeCapabilitiesEffectsValueItem
ModelRequestBeforeCapabilitiesEffects is a structurally validated schema value.
func (ModelRequestBeforeCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value ModelRequestBeforeCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*ModelRequestBeforeCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelRequestBeforeCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesEffectsValueItem ¶ added in v0.1.1
type ModelRequestBeforeCapabilitiesEffectsValueItem string
ModelRequestBeforeCapabilitiesEffectsValueItem is a generated schema value.
const ModelRequestBeforeCapabilitiesEffectsValueItemDeny ModelRequestBeforeCapabilitiesEffectsValueItem = "deny"
const ModelRequestBeforeCapabilitiesEffectsValueItemFlow ModelRequestBeforeCapabilitiesEffectsValueItem = "flow"
const ModelRequestBeforeCapabilitiesEffectsValueItemInject ModelRequestBeforeCapabilitiesEffectsValueItem = "inject"
const ModelRequestBeforeCapabilitiesEffectsValueItemMessage ModelRequestBeforeCapabilitiesEffectsValueItem = "message"
const ModelRequestBeforeCapabilitiesEffectsValueItemModify ModelRequestBeforeCapabilitiesEffectsValueItem = "modify"
const ModelRequestBeforeCapabilitiesEffectsValueItemReturn ModelRequestBeforeCapabilitiesEffectsValueItem = "return"
func (*ModelRequestBeforeCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelRequestBeforeCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesElicitation ¶
type ModelRequestBeforeCapabilitiesElicitation struct {
Form Optional[ModelRequestBeforeCapabilitiesElicitationForm]
URL Optional[ModelRequestBeforeCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilitiesElicitation is a generated nested model.
func (ModelRequestBeforeCapabilitiesElicitation) MarshalJSON ¶
func (value ModelRequestBeforeCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilitiesElicitation) UnmarshalJSON ¶
func (value *ModelRequestBeforeCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesElicitationForm ¶
type ModelRequestBeforeCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilitiesElicitationForm is a generated nested model.
func (ModelRequestBeforeCapabilitiesElicitationForm) MarshalJSON ¶
func (value ModelRequestBeforeCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *ModelRequestBeforeCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesElicitationURL ¶
type ModelRequestBeforeCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilitiesElicitationURL is a generated nested model.
func (ModelRequestBeforeCapabilitiesElicitationURL) MarshalJSON ¶
func (value ModelRequestBeforeCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *ModelRequestBeforeCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesFlow ¶
type ModelRequestBeforeCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations ModelRequestBeforeCapabilitiesFlowOperations
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilitiesFlow is a generated nested model.
func (ModelRequestBeforeCapabilitiesFlow) MarshalJSON ¶
func (value ModelRequestBeforeCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilitiesFlow) UnmarshalJSON ¶
func (value *ModelRequestBeforeCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesFlowOperations ¶ added in v0.1.1
type ModelRequestBeforeCapabilitiesFlowOperations []ModelRequestBeforeCapabilitiesFlowOperationsValueItem
ModelRequestBeforeCapabilitiesFlowOperations is a structurally validated schema value.
func (ModelRequestBeforeCapabilitiesFlowOperations) MarshalJSON ¶ added in v0.1.1
func (value ModelRequestBeforeCapabilitiesFlowOperations) MarshalJSON() ([]byte, error)
func (*ModelRequestBeforeCapabilitiesFlowOperations) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelRequestBeforeCapabilitiesFlowOperations) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesFlowOperationsValueItem ¶ added in v0.1.1
type ModelRequestBeforeCapabilitiesFlowOperationsValueItem string
ModelRequestBeforeCapabilitiesFlowOperationsValueItem is a generated schema value.
const ModelRequestBeforeCapabilitiesFlowOperationsValueItemContinue ModelRequestBeforeCapabilitiesFlowOperationsValueItem = "continue"
const ModelRequestBeforeCapabilitiesFlowOperationsValueItemStop ModelRequestBeforeCapabilitiesFlowOperationsValueItem = "stop"
func (*ModelRequestBeforeCapabilitiesFlowOperationsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelRequestBeforeCapabilitiesFlowOperationsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesInject ¶
type ModelRequestBeforeCapabilitiesInject struct {
Context ModelRequestBeforeCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilitiesInject is a generated nested model.
func (ModelRequestBeforeCapabilitiesInject) MarshalJSON ¶
func (value ModelRequestBeforeCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilitiesInject) UnmarshalJSON ¶
func (value *ModelRequestBeforeCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesInjectContext ¶
type ModelRequestBeforeCapabilitiesInjectContext struct {
Append ModelRequestBeforeCapabilitiesInjectContextAppend
DeliverAt []ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilitiesInjectContext is a generated nested model.
func (ModelRequestBeforeCapabilitiesInjectContext) MarshalJSON ¶
func (value ModelRequestBeforeCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *ModelRequestBeforeCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesInjectContextAppend ¶
type ModelRequestBeforeCapabilitiesInjectContextAppend bool
ModelRequestBeforeCapabilitiesInjectContextAppend is a generated schema value.
const ModelRequestBeforeCapabilitiesInjectContextAppendTrue ModelRequestBeforeCapabilitiesInjectContextAppend = true
func (*ModelRequestBeforeCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelRequestBeforeCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem ¶
type ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem string
ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const ModelRequestBeforeCapabilitiesInjectContextDeliverAtItemNextTurn ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ModelRequestBeforeCapabilitiesInjectContextDeliverAtItemNow ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem = "now"
func (*ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesModify ¶
type ModelRequestBeforeCapabilitiesModify struct {
Content Optional[ModelRequestBeforeCapabilitiesModifyContent]
Input Optional[ModelRequestBeforeCapabilitiesModifyInput]
Instructions Optional[ModelRequestBeforeCapabilitiesModifyInstructions]
Output Optional[ModelRequestBeforeCapabilitiesModifyOutput]
Prompt Optional[ModelRequestBeforeCapabilitiesModifyPrompt]
Request Optional[ModelRequestBeforeCapabilitiesModifyRequest]
Response Optional[ModelRequestBeforeCapabilitiesModifyResponse]
Summary Optional[ModelRequestBeforeCapabilitiesModifySummary]
Workspace Optional[ModelRequestBeforeCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilitiesModify is a generated nested model.
func (ModelRequestBeforeCapabilitiesModify) MarshalJSON ¶
func (value ModelRequestBeforeCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilitiesModify) UnmarshalJSON ¶
func (value *ModelRequestBeforeCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesModifyContent ¶ added in v0.1.1
type ModelRequestBeforeCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilitiesModifyContent is a generated nested model.
func (ModelRequestBeforeCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value ModelRequestBeforeCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelRequestBeforeCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesModifyInput ¶ added in v0.1.1
type ModelRequestBeforeCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilitiesModifyInput is a generated nested model.
func (ModelRequestBeforeCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value ModelRequestBeforeCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelRequestBeforeCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesModifyInstructions ¶ added in v0.1.1
type ModelRequestBeforeCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilitiesModifyInstructions is a generated nested model.
func (ModelRequestBeforeCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value ModelRequestBeforeCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelRequestBeforeCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesModifyOutput ¶ added in v0.1.1
type ModelRequestBeforeCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilitiesModifyOutput is a generated nested model.
func (ModelRequestBeforeCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value ModelRequestBeforeCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelRequestBeforeCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesModifyPrompt ¶ added in v0.1.1
type ModelRequestBeforeCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilitiesModifyPrompt is a generated nested model.
func (ModelRequestBeforeCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value ModelRequestBeforeCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelRequestBeforeCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesModifyRequest ¶ added in v0.1.1
type ModelRequestBeforeCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilitiesModifyRequest is a generated nested model.
func (ModelRequestBeforeCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value ModelRequestBeforeCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelRequestBeforeCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesModifyResponse ¶ added in v0.1.1
type ModelRequestBeforeCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilitiesModifyResponse is a generated nested model.
func (ModelRequestBeforeCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value ModelRequestBeforeCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelRequestBeforeCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesModifySummary ¶ added in v0.1.1
type ModelRequestBeforeCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilitiesModifySummary is a generated nested model.
func (ModelRequestBeforeCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value ModelRequestBeforeCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelRequestBeforeCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeCapabilitiesModifyWorkspace ¶ added in v0.1.1
type ModelRequestBeforeCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeCapabilitiesModifyWorkspace is a generated nested model.
func (ModelRequestBeforeCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value ModelRequestBeforeCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelRequestBeforeCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeEvent ¶
type ModelRequestBeforeEvent struct {
Attempt *ExecutionEventAttempt
Extensions Optional[*Extensions]
Gaps Optional[[]ModelRequestBeforeEventGapsItem]
ID string
Items []*ModelVisibleItem
Model *ExecutionEventModel
Native Optional[*NativeEvent]
Params ModelRequestBeforeEventParams
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[ModelRequestBeforeEventTurn]
Type ModelRequestBeforeEventType
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/model.request.before.
func (ModelRequestBeforeEvent) MarshalJSON ¶
func (value ModelRequestBeforeEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeEvent) UnmarshalJSON ¶
func (value *ModelRequestBeforeEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeEventGapsItem ¶
type ModelRequestBeforeEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeEventGapsItem is a generated nested model.
func (ModelRequestBeforeEventGapsItem) MarshalJSON ¶
func (value ModelRequestBeforeEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeEventGapsItem) UnmarshalJSON ¶
func (value *ModelRequestBeforeEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeEventParams ¶
type ModelRequestBeforeEventParams struct {
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeEventParams is a generated nested model.
func (ModelRequestBeforeEventParams) MarshalJSON ¶
func (value ModelRequestBeforeEventParams) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeEventParams) UnmarshalJSON ¶
func (value *ModelRequestBeforeEventParams) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeEventTurn ¶
type ModelRequestBeforeEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ModelRequestBeforeEventTurn is a generated nested model.
func (ModelRequestBeforeEventTurn) MarshalJSON ¶
func (value ModelRequestBeforeEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelRequestBeforeEventTurn) UnmarshalJSON ¶
func (value *ModelRequestBeforeEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelRequestBeforeEventType ¶
type ModelRequestBeforeEventType string
ModelRequestBeforeEventType is a generated schema value.
const ModelRequestBeforeEventTypeModelRequestBefore ModelRequestBeforeEventType = "model.request.before"
func (*ModelRequestBeforeEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelRequestBeforeEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilities ¶
type ModelResponseAfterCapabilities struct {
Effects ModelResponseAfterCapabilitiesEffects
Elicitation Optional[ModelResponseAfterCapabilitiesElicitation]
Flow Optional[ModelResponseAfterCapabilitiesFlow]
Inject Optional[ModelResponseAfterCapabilitiesInject]
Modify Optional[ModelResponseAfterCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/model.response.after.
func (ModelResponseAfterCapabilities) MarshalJSON ¶
func (value ModelResponseAfterCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilities) UnmarshalJSON ¶
func (value *ModelResponseAfterCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesEffects ¶ added in v0.1.1
type ModelResponseAfterCapabilitiesEffects []ModelResponseAfterCapabilitiesEffectsValueItem
ModelResponseAfterCapabilitiesEffects is a structurally validated schema value.
func (ModelResponseAfterCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value ModelResponseAfterCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*ModelResponseAfterCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelResponseAfterCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesEffectsValueItem ¶ added in v0.1.1
type ModelResponseAfterCapabilitiesEffectsValueItem string
ModelResponseAfterCapabilitiesEffectsValueItem is a generated schema value.
const ModelResponseAfterCapabilitiesEffectsValueItemFlow ModelResponseAfterCapabilitiesEffectsValueItem = "flow"
const ModelResponseAfterCapabilitiesEffectsValueItemMessage ModelResponseAfterCapabilitiesEffectsValueItem = "message"
const ModelResponseAfterCapabilitiesEffectsValueItemModify ModelResponseAfterCapabilitiesEffectsValueItem = "modify"
func (*ModelResponseAfterCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelResponseAfterCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesElicitation ¶
type ModelResponseAfterCapabilitiesElicitation struct {
Form Optional[ModelResponseAfterCapabilitiesElicitationForm]
URL Optional[ModelResponseAfterCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilitiesElicitation is a generated nested model.
func (ModelResponseAfterCapabilitiesElicitation) MarshalJSON ¶
func (value ModelResponseAfterCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilitiesElicitation) UnmarshalJSON ¶
func (value *ModelResponseAfterCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesElicitationForm ¶
type ModelResponseAfterCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilitiesElicitationForm is a generated nested model.
func (ModelResponseAfterCapabilitiesElicitationForm) MarshalJSON ¶
func (value ModelResponseAfterCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *ModelResponseAfterCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesElicitationURL ¶
type ModelResponseAfterCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilitiesElicitationURL is a generated nested model.
func (ModelResponseAfterCapabilitiesElicitationURL) MarshalJSON ¶
func (value ModelResponseAfterCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *ModelResponseAfterCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesFlow ¶
type ModelResponseAfterCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations ModelResponseAfterCapabilitiesFlowOperations
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilitiesFlow is a generated nested model.
func (ModelResponseAfterCapabilitiesFlow) MarshalJSON ¶
func (value ModelResponseAfterCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilitiesFlow) UnmarshalJSON ¶
func (value *ModelResponseAfterCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesFlowOperations ¶ added in v0.1.1
type ModelResponseAfterCapabilitiesFlowOperations []ModelResponseAfterCapabilitiesFlowOperationsValueItem
ModelResponseAfterCapabilitiesFlowOperations is a structurally validated schema value.
func (ModelResponseAfterCapabilitiesFlowOperations) MarshalJSON ¶ added in v0.1.1
func (value ModelResponseAfterCapabilitiesFlowOperations) MarshalJSON() ([]byte, error)
func (*ModelResponseAfterCapabilitiesFlowOperations) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelResponseAfterCapabilitiesFlowOperations) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesFlowOperationsValueItem ¶ added in v0.1.1
type ModelResponseAfterCapabilitiesFlowOperationsValueItem string
ModelResponseAfterCapabilitiesFlowOperationsValueItem is a generated schema value.
const ModelResponseAfterCapabilitiesFlowOperationsValueItemContinue ModelResponseAfterCapabilitiesFlowOperationsValueItem = "continue"
const ModelResponseAfterCapabilitiesFlowOperationsValueItemStop ModelResponseAfterCapabilitiesFlowOperationsValueItem = "stop"
func (*ModelResponseAfterCapabilitiesFlowOperationsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelResponseAfterCapabilitiesFlowOperationsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesInject ¶
type ModelResponseAfterCapabilitiesInject struct {
Context ModelResponseAfterCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilitiesInject is a generated nested model.
func (ModelResponseAfterCapabilitiesInject) MarshalJSON ¶
func (value ModelResponseAfterCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilitiesInject) UnmarshalJSON ¶
func (value *ModelResponseAfterCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesInjectContext ¶
type ModelResponseAfterCapabilitiesInjectContext struct {
Append ModelResponseAfterCapabilitiesInjectContextAppend
DeliverAt []ModelResponseAfterCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilitiesInjectContext is a generated nested model.
func (ModelResponseAfterCapabilitiesInjectContext) MarshalJSON ¶
func (value ModelResponseAfterCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *ModelResponseAfterCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesInjectContextAppend ¶
type ModelResponseAfterCapabilitiesInjectContextAppend bool
ModelResponseAfterCapabilitiesInjectContextAppend is a generated schema value.
const ModelResponseAfterCapabilitiesInjectContextAppendTrue ModelResponseAfterCapabilitiesInjectContextAppend = true
func (*ModelResponseAfterCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelResponseAfterCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesInjectContextDeliverAtItem ¶
type ModelResponseAfterCapabilitiesInjectContextDeliverAtItem string
ModelResponseAfterCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const ModelResponseAfterCapabilitiesInjectContextDeliverAtItemNextTurn ModelResponseAfterCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ModelResponseAfterCapabilitiesInjectContextDeliverAtItemNow ModelResponseAfterCapabilitiesInjectContextDeliverAtItem = "now"
func (*ModelResponseAfterCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelResponseAfterCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesModify ¶
type ModelResponseAfterCapabilitiesModify struct {
Content Optional[ModelResponseAfterCapabilitiesModifyContent]
Input Optional[ModelResponseAfterCapabilitiesModifyInput]
Instructions Optional[ModelResponseAfterCapabilitiesModifyInstructions]
Output Optional[ModelResponseAfterCapabilitiesModifyOutput]
Prompt Optional[ModelResponseAfterCapabilitiesModifyPrompt]
Request Optional[ModelResponseAfterCapabilitiesModifyRequest]
Response Optional[ModelResponseAfterCapabilitiesModifyResponse]
Summary Optional[ModelResponseAfterCapabilitiesModifySummary]
Workspace Optional[ModelResponseAfterCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilitiesModify is a generated nested model.
func (ModelResponseAfterCapabilitiesModify) MarshalJSON ¶
func (value ModelResponseAfterCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilitiesModify) UnmarshalJSON ¶
func (value *ModelResponseAfterCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesModifyContent ¶ added in v0.1.1
type ModelResponseAfterCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilitiesModifyContent is a generated nested model.
func (ModelResponseAfterCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value ModelResponseAfterCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelResponseAfterCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesModifyInput ¶ added in v0.1.1
type ModelResponseAfterCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilitiesModifyInput is a generated nested model.
func (ModelResponseAfterCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value ModelResponseAfterCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelResponseAfterCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesModifyInstructions ¶ added in v0.1.1
type ModelResponseAfterCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilitiesModifyInstructions is a generated nested model.
func (ModelResponseAfterCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value ModelResponseAfterCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelResponseAfterCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesModifyOutput ¶ added in v0.1.1
type ModelResponseAfterCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilitiesModifyOutput is a generated nested model.
func (ModelResponseAfterCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value ModelResponseAfterCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelResponseAfterCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesModifyPrompt ¶ added in v0.1.1
type ModelResponseAfterCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilitiesModifyPrompt is a generated nested model.
func (ModelResponseAfterCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value ModelResponseAfterCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelResponseAfterCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesModifyRequest ¶ added in v0.1.1
type ModelResponseAfterCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilitiesModifyRequest is a generated nested model.
func (ModelResponseAfterCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value ModelResponseAfterCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelResponseAfterCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesModifyResponse ¶ added in v0.1.1
type ModelResponseAfterCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilitiesModifyResponse is a generated nested model.
func (ModelResponseAfterCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value ModelResponseAfterCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelResponseAfterCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesModifySummary ¶ added in v0.1.1
type ModelResponseAfterCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilitiesModifySummary is a generated nested model.
func (ModelResponseAfterCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value ModelResponseAfterCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelResponseAfterCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterCapabilitiesModifyWorkspace ¶ added in v0.1.1
type ModelResponseAfterCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterCapabilitiesModifyWorkspace is a generated nested model.
func (ModelResponseAfterCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value ModelResponseAfterCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelResponseAfterCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterEvent ¶
type ModelResponseAfterEvent struct {
Attempt *ExecutionEventAttempt
Execution *ExecutionEventExecution
Extensions Optional[*Extensions]
FinishReason string
Gaps Optional[[]ModelResponseAfterEventGapsItem]
ID string
Items []*ModelVisibleItem
LatencyMs Optional[json.Number]
Model *ExecutionEventModel
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[ModelResponseAfterEventTurn]
Type ModelResponseAfterEventType
Usage Optional[*ExecutionEventAttemptusage]
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/model.response.after.
func (ModelResponseAfterEvent) MarshalJSON ¶
func (value ModelResponseAfterEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterEvent) UnmarshalJSON ¶
func (value *ModelResponseAfterEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterEventGapsItem ¶
type ModelResponseAfterEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterEventGapsItem is a generated nested model.
func (ModelResponseAfterEventGapsItem) MarshalJSON ¶
func (value ModelResponseAfterEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterEventGapsItem) UnmarshalJSON ¶
func (value *ModelResponseAfterEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterEventTurn ¶
type ModelResponseAfterEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ModelResponseAfterEventTurn is a generated nested model.
func (ModelResponseAfterEventTurn) MarshalJSON ¶
func (value ModelResponseAfterEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelResponseAfterEventTurn) UnmarshalJSON ¶
func (value *ModelResponseAfterEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelResponseAfterEventType ¶
type ModelResponseAfterEventType string
ModelResponseAfterEventType is a generated schema value.
const ModelResponseAfterEventTypeModelResponseAfter ModelResponseAfterEventType = "model.response.after"
func (*ModelResponseAfterEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelResponseAfterEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchAfterEvent ¶
type ModelSwitchAfterEvent struct {
Current *ExecutionEventModel
Extensions Optional[*Extensions]
Gaps Optional[[]ModelSwitchAfterEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Previous *ExecutionEventModel
Reason string
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[ModelSwitchAfterEventTurn]
Type ModelSwitchAfterEventType
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchAfterEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/model.switch.after.
func (ModelSwitchAfterEvent) MarshalJSON ¶
func (value ModelSwitchAfterEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchAfterEvent) UnmarshalJSON ¶
func (value *ModelSwitchAfterEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchAfterEventGapsItem ¶
type ModelSwitchAfterEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchAfterEventGapsItem is a generated nested model.
func (ModelSwitchAfterEventGapsItem) MarshalJSON ¶
func (value ModelSwitchAfterEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchAfterEventGapsItem) UnmarshalJSON ¶
func (value *ModelSwitchAfterEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchAfterEventTurn ¶
type ModelSwitchAfterEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchAfterEventTurn is a generated nested model.
func (ModelSwitchAfterEventTurn) MarshalJSON ¶
func (value ModelSwitchAfterEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchAfterEventTurn) UnmarshalJSON ¶
func (value *ModelSwitchAfterEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchAfterEventType ¶
type ModelSwitchAfterEventType string
ModelSwitchAfterEventType is a generated schema value.
const ModelSwitchAfterEventTypeModelSwitchAfter ModelSwitchAfterEventType = "model.switch.after"
func (*ModelSwitchAfterEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchAfterEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilities ¶
type ModelSwitchBeforeCapabilities struct {
Effects ModelSwitchBeforeCapabilitiesEffects
Elicitation Optional[ModelSwitchBeforeCapabilitiesElicitation]
Flow Optional[ModelSwitchBeforeCapabilitiesFlow]
Inject Optional[ModelSwitchBeforeCapabilitiesInject]
Modify Optional[ModelSwitchBeforeCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/model.switch.before.
func (ModelSwitchBeforeCapabilities) MarshalJSON ¶
func (value ModelSwitchBeforeCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilities) UnmarshalJSON ¶
func (value *ModelSwitchBeforeCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesEffects ¶ added in v0.1.1
type ModelSwitchBeforeCapabilitiesEffects []ModelSwitchBeforeCapabilitiesEffectsValueItem
ModelSwitchBeforeCapabilitiesEffects is a structurally validated schema value.
func (ModelSwitchBeforeCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value ModelSwitchBeforeCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*ModelSwitchBeforeCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchBeforeCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesEffectsValueItem ¶ added in v0.1.1
type ModelSwitchBeforeCapabilitiesEffectsValueItem string
ModelSwitchBeforeCapabilitiesEffectsValueItem is a generated schema value.
const ModelSwitchBeforeCapabilitiesEffectsValueItemDeny ModelSwitchBeforeCapabilitiesEffectsValueItem = "deny"
const ModelSwitchBeforeCapabilitiesEffectsValueItemFlow ModelSwitchBeforeCapabilitiesEffectsValueItem = "flow"
const ModelSwitchBeforeCapabilitiesEffectsValueItemMessage ModelSwitchBeforeCapabilitiesEffectsValueItem = "message"
func (*ModelSwitchBeforeCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchBeforeCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesElicitation ¶
type ModelSwitchBeforeCapabilitiesElicitation struct {
Form Optional[ModelSwitchBeforeCapabilitiesElicitationForm]
URL Optional[ModelSwitchBeforeCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilitiesElicitation is a generated nested model.
func (ModelSwitchBeforeCapabilitiesElicitation) MarshalJSON ¶
func (value ModelSwitchBeforeCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilitiesElicitation) UnmarshalJSON ¶
func (value *ModelSwitchBeforeCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesElicitationForm ¶
type ModelSwitchBeforeCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilitiesElicitationForm is a generated nested model.
func (ModelSwitchBeforeCapabilitiesElicitationForm) MarshalJSON ¶
func (value ModelSwitchBeforeCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *ModelSwitchBeforeCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesElicitationURL ¶
type ModelSwitchBeforeCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilitiesElicitationURL is a generated nested model.
func (ModelSwitchBeforeCapabilitiesElicitationURL) MarshalJSON ¶
func (value ModelSwitchBeforeCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *ModelSwitchBeforeCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesFlow ¶
type ModelSwitchBeforeCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations ModelSwitchBeforeCapabilitiesFlowOperations
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilitiesFlow is a generated nested model.
func (ModelSwitchBeforeCapabilitiesFlow) MarshalJSON ¶
func (value ModelSwitchBeforeCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilitiesFlow) UnmarshalJSON ¶
func (value *ModelSwitchBeforeCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesFlowOperations ¶ added in v0.1.1
type ModelSwitchBeforeCapabilitiesFlowOperations []ModelSwitchBeforeCapabilitiesFlowOperationsValueItem
ModelSwitchBeforeCapabilitiesFlowOperations is a structurally validated schema value.
func (ModelSwitchBeforeCapabilitiesFlowOperations) MarshalJSON ¶ added in v0.1.1
func (value ModelSwitchBeforeCapabilitiesFlowOperations) MarshalJSON() ([]byte, error)
func (*ModelSwitchBeforeCapabilitiesFlowOperations) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchBeforeCapabilitiesFlowOperations) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesFlowOperationsValueItem ¶ added in v0.1.1
type ModelSwitchBeforeCapabilitiesFlowOperationsValueItem string
ModelSwitchBeforeCapabilitiesFlowOperationsValueItem is a generated schema value.
const ModelSwitchBeforeCapabilitiesFlowOperationsValueItemContinue ModelSwitchBeforeCapabilitiesFlowOperationsValueItem = "continue"
const ModelSwitchBeforeCapabilitiesFlowOperationsValueItemStop ModelSwitchBeforeCapabilitiesFlowOperationsValueItem = "stop"
func (*ModelSwitchBeforeCapabilitiesFlowOperationsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchBeforeCapabilitiesFlowOperationsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesInject ¶
type ModelSwitchBeforeCapabilitiesInject struct {
Context ModelSwitchBeforeCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilitiesInject is a generated nested model.
func (ModelSwitchBeforeCapabilitiesInject) MarshalJSON ¶
func (value ModelSwitchBeforeCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilitiesInject) UnmarshalJSON ¶
func (value *ModelSwitchBeforeCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesInjectContext ¶
type ModelSwitchBeforeCapabilitiesInjectContext struct {
Append ModelSwitchBeforeCapabilitiesInjectContextAppend
DeliverAt []ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilitiesInjectContext is a generated nested model.
func (ModelSwitchBeforeCapabilitiesInjectContext) MarshalJSON ¶
func (value ModelSwitchBeforeCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *ModelSwitchBeforeCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesInjectContextAppend ¶
type ModelSwitchBeforeCapabilitiesInjectContextAppend bool
ModelSwitchBeforeCapabilitiesInjectContextAppend is a generated schema value.
const ModelSwitchBeforeCapabilitiesInjectContextAppendTrue ModelSwitchBeforeCapabilitiesInjectContextAppend = true
func (*ModelSwitchBeforeCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchBeforeCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem ¶
type ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem string
ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItemNextTurn ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItemNow ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem = "now"
func (*ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesModify ¶
type ModelSwitchBeforeCapabilitiesModify struct {
Content Optional[ModelSwitchBeforeCapabilitiesModifyContent]
Input Optional[ModelSwitchBeforeCapabilitiesModifyInput]
Instructions Optional[ModelSwitchBeforeCapabilitiesModifyInstructions]
Output Optional[ModelSwitchBeforeCapabilitiesModifyOutput]
Prompt Optional[ModelSwitchBeforeCapabilitiesModifyPrompt]
Request Optional[ModelSwitchBeforeCapabilitiesModifyRequest]
Response Optional[ModelSwitchBeforeCapabilitiesModifyResponse]
Summary Optional[ModelSwitchBeforeCapabilitiesModifySummary]
Workspace Optional[ModelSwitchBeforeCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilitiesModify is a generated nested model.
func (ModelSwitchBeforeCapabilitiesModify) MarshalJSON ¶
func (value ModelSwitchBeforeCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilitiesModify) UnmarshalJSON ¶
func (value *ModelSwitchBeforeCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesModifyContent ¶ added in v0.1.1
type ModelSwitchBeforeCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilitiesModifyContent is a generated nested model.
func (ModelSwitchBeforeCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value ModelSwitchBeforeCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchBeforeCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesModifyInput ¶ added in v0.1.1
type ModelSwitchBeforeCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilitiesModifyInput is a generated nested model.
func (ModelSwitchBeforeCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value ModelSwitchBeforeCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchBeforeCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesModifyInstructions ¶ added in v0.1.1
type ModelSwitchBeforeCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilitiesModifyInstructions is a generated nested model.
func (ModelSwitchBeforeCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value ModelSwitchBeforeCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchBeforeCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesModifyOutput ¶ added in v0.1.1
type ModelSwitchBeforeCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilitiesModifyOutput is a generated nested model.
func (ModelSwitchBeforeCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value ModelSwitchBeforeCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchBeforeCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesModifyPrompt ¶ added in v0.1.1
type ModelSwitchBeforeCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilitiesModifyPrompt is a generated nested model.
func (ModelSwitchBeforeCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value ModelSwitchBeforeCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchBeforeCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesModifyRequest ¶ added in v0.1.1
type ModelSwitchBeforeCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilitiesModifyRequest is a generated nested model.
func (ModelSwitchBeforeCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value ModelSwitchBeforeCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchBeforeCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesModifyResponse ¶ added in v0.1.1
type ModelSwitchBeforeCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilitiesModifyResponse is a generated nested model.
func (ModelSwitchBeforeCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value ModelSwitchBeforeCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchBeforeCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesModifySummary ¶ added in v0.1.1
type ModelSwitchBeforeCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilitiesModifySummary is a generated nested model.
func (ModelSwitchBeforeCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value ModelSwitchBeforeCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchBeforeCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeCapabilitiesModifyWorkspace ¶ added in v0.1.1
type ModelSwitchBeforeCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeCapabilitiesModifyWorkspace is a generated nested model.
func (ModelSwitchBeforeCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value ModelSwitchBeforeCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchBeforeCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeEvent ¶
type ModelSwitchBeforeEvent struct {
Current *ExecutionEventModel
Extensions Optional[*Extensions]
Gaps Optional[[]ModelSwitchBeforeEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Pricing Optional[ModelSwitchBeforeEventPricing]
Proposed *ExecutionEventModel
Reason string
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[ModelSwitchBeforeEventTurn]
Type ModelSwitchBeforeEventType
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/model.switch.before.
func (ModelSwitchBeforeEvent) MarshalJSON ¶
func (value ModelSwitchBeforeEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeEvent) UnmarshalJSON ¶
func (value *ModelSwitchBeforeEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeEventGapsItem ¶
type ModelSwitchBeforeEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeEventGapsItem is a generated nested model.
func (ModelSwitchBeforeEventGapsItem) MarshalJSON ¶
func (value ModelSwitchBeforeEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeEventGapsItem) UnmarshalJSON ¶
func (value *ModelSwitchBeforeEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeEventPricing ¶
type ModelSwitchBeforeEventPricing struct {
Currency string
InputPerMillionTokens Optional[json.Number]
OutputPerMillionTokens Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeEventPricing is a generated nested model.
func (ModelSwitchBeforeEventPricing) MarshalJSON ¶
func (value ModelSwitchBeforeEventPricing) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeEventPricing) UnmarshalJSON ¶
func (value *ModelSwitchBeforeEventPricing) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeEventTurn ¶
type ModelSwitchBeforeEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ModelSwitchBeforeEventTurn is a generated nested model.
func (ModelSwitchBeforeEventTurn) MarshalJSON ¶
func (value ModelSwitchBeforeEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelSwitchBeforeEventTurn) UnmarshalJSON ¶
func (value *ModelSwitchBeforeEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelSwitchBeforeEventType ¶
type ModelSwitchBeforeEventType string
ModelSwitchBeforeEventType is a generated schema value.
const ModelSwitchBeforeEventTypeModelSwitchBefore ModelSwitchBeforeEventType = "model.switch.before"
func (*ModelSwitchBeforeEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelSwitchBeforeEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelVisibleItem ¶
type ModelVisibleItem struct {
ID string
Parts []*ContentItem
Role ModelVisibleItemRole
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ModelVisibleItem is generated from schema/draft/content-item.schema.json#/$defs/modelVisibleItem.
func (ModelVisibleItem) MarshalJSON ¶ added in v0.1.1
func (value ModelVisibleItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ModelVisibleItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ModelVisibleItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ModelVisibleItemRole ¶ added in v0.3.0
type ModelVisibleItemRole string
ModelVisibleItemRole is a generated schema value.
const ModelVisibleItemRoleAssistant ModelVisibleItemRole = "assistant"
const ModelVisibleItemRoleDeveloper ModelVisibleItemRole = "developer"
const ModelVisibleItemRoleSystem ModelVisibleItemRole = "system"
const ModelVisibleItemRoleTool ModelVisibleItemRole = "tool"
const ModelVisibleItemRoleUser ModelVisibleItemRole = "user"
func (*ModelVisibleItemRole) UnmarshalJSON ¶ added in v0.3.0
func (value *ModelVisibleItemRole) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type NativeEvent ¶
type NativeEvent json.RawMessage
NativeEvent is a structurally validated schema value.
func (NativeEvent) MarshalJSON ¶ added in v0.1.1
func (value NativeEvent) MarshalJSON() ([]byte, error)
func (*NativeEvent) UnmarshalJSON ¶ added in v0.1.1
func (value *NativeEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type Nullable ¶ added in v0.1.1
Nullable distinguishes JSON null from a non-null value, independently of presence. Its zero value is null. Use Optional[Nullable[T]] for an optional nullable member.
func NonNull ¶ added in v0.1.1
NonNull returns a non-null payload. Encoding rejects payloads that encode as null.
func (Nullable[T]) MarshalJSON ¶ added in v0.1.1
func (*Nullable[T]) UnmarshalJSON ¶ added in v0.1.1
type ObserveNotification ¶
type ObserveNotification struct {
JSONRPC ObserveNotificationJSONRPC
Method ObserveNotificationMethod
Params ObserveNotificationParams
AdditionalProperties map[string]json.RawMessage
}
ObserveNotification is generated from schema/draft/observe-notification.schema.json#.
func (ObserveNotification) MarshalJSON ¶
func (value ObserveNotification) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ObserveNotification) UnmarshalJSON ¶
func (value *ObserveNotification) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ObserveNotificationJSONRPC ¶
type ObserveNotificationJSONRPC string
ObserveNotificationJSONRPC is a generated schema value.
const ObserveNotificationJSONRPCValue20 ObserveNotificationJSONRPC = "2.0"
func (*ObserveNotificationJSONRPC) UnmarshalJSON ¶ added in v0.1.1
func (value *ObserveNotificationJSONRPC) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ObserveNotificationMethod ¶ added in v0.1.1
type ObserveNotificationMethod ObserveNotificationMethodValue
ObserveNotificationMethod is a structurally validated schema value.
func (ObserveNotificationMethod) MarshalJSON ¶ added in v0.1.1
func (value ObserveNotificationMethod) MarshalJSON() ([]byte, error)
func (*ObserveNotificationMethod) UnmarshalJSON ¶ added in v0.1.1
func (value *ObserveNotificationMethod) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ObserveNotificationMethodValue ¶ added in v0.1.1
type ObserveNotificationMethodValue string
ObserveNotificationMethodValue is a generated schema value.
const ObserveNotificationMethodValueHooksObserve ObserveNotificationMethodValue = "hooks/observe"
func (*ObserveNotificationMethodValue) UnmarshalJSON ¶ added in v0.1.1
func (value *ObserveNotificationMethodValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ObserveNotificationParams ¶
type ObserveNotificationParams struct {
Event *Event
ProtocolVersion *ProtocolVersion
AdditionalProperties map[string]json.RawMessage
}
ObserveNotificationParams is a generated nested model.
func (ObserveNotificationParams) MarshalJSON ¶
func (value ObserveNotificationParams) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ObserveNotificationParams) UnmarshalJSON ¶
func (value *ObserveNotificationParams) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ObserveSubscription ¶
type ObserveSubscription struct {
Content *ContentSelection
Disableable Optional[bool]
Events []ObserveSubscriptionEventsItem
Filters Optional[ObserveSubscriptionFilters]
IncludeNative Optional[bool]
Mode ObserveSubscriptionMode
Scope Optional[ObserveSubscriptionScope]
Upload Optional[*ContentUpload]
AdditionalProperties map[string]json.RawMessage
}
ObserveSubscription is generated from schema/draft/registration.schema.json#/$defs/observeSubscription.
func (ObserveSubscription) MarshalJSON ¶
func (value ObserveSubscription) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ObserveSubscription) UnmarshalJSON ¶
func (value *ObserveSubscription) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ObserveSubscriptionEventsItem ¶
type ObserveSubscriptionEventsItem struct {
Known Optional[ObserveSubscriptionEventsItemKnown]
Custom Optional[string]
Unknown json.RawMessage
}
ObserveSubscriptionEventsItem is a generated union model.
func (ObserveSubscriptionEventsItem) MarshalJSON ¶
func (value ObserveSubscriptionEventsItem) MarshalJSON() ([]byte, error)
func (*ObserveSubscriptionEventsItem) UnmarshalJSON ¶
func (value *ObserveSubscriptionEventsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ObserveSubscriptionEventsItemKnown ¶ added in v0.1.1
type ObserveSubscriptionEventsItemKnown string
ObserveSubscriptionEventsItemKnown is a generated schema value.
const ObserveSubscriptionEventsItemKnownConfigChangeAfter ObserveSubscriptionEventsItemKnown = "config.change.after"
const ObserveSubscriptionEventsItemKnownConfigChangeBefore ObserveSubscriptionEventsItemKnown = "config.change.before"
const ObserveSubscriptionEventsItemKnownContextCompactAfter ObserveSubscriptionEventsItemKnown = "context.compact.after"
const ObserveSubscriptionEventsItemKnownContextCompactBefore ObserveSubscriptionEventsItemKnown = "context.compact.before"
const ObserveSubscriptionEventsItemKnownFileChanged ObserveSubscriptionEventsItemKnown = "file.changed"
const ObserveSubscriptionEventsItemKnownHookFailure ObserveSubscriptionEventsItemKnown = "hook.failure"
const ObserveSubscriptionEventsItemKnownModelError ObserveSubscriptionEventsItemKnown = "model.error"
const ObserveSubscriptionEventsItemKnownModelRequestBefore ObserveSubscriptionEventsItemKnown = "model.request.before"
const ObserveSubscriptionEventsItemKnownModelResponseAfter ObserveSubscriptionEventsItemKnown = "model.response.after"
const ObserveSubscriptionEventsItemKnownModelSwitchAfter ObserveSubscriptionEventsItemKnown = "model.switch.after"
const ObserveSubscriptionEventsItemKnownModelSwitchBefore ObserveSubscriptionEventsItemKnown = "model.switch.before"
const ObserveSubscriptionEventsItemKnownSessionEnd ObserveSubscriptionEventsItemKnown = "session.end"
const ObserveSubscriptionEventsItemKnownSessionStart ObserveSubscriptionEventsItemKnown = "session.start"
const ObserveSubscriptionEventsItemKnownTaskChangeAfter ObserveSubscriptionEventsItemKnown = "task.change.after"
const ObserveSubscriptionEventsItemKnownTaskChangeBefore ObserveSubscriptionEventsItemKnown = "task.change.before"
const ObserveSubscriptionEventsItemKnownToolAfter ObserveSubscriptionEventsItemKnown = "tool.after"
const ObserveSubscriptionEventsItemKnownToolBatchAfter ObserveSubscriptionEventsItemKnown = "tool.batch.after"
const ObserveSubscriptionEventsItemKnownToolBefore ObserveSubscriptionEventsItemKnown = "tool.before"
const ObserveSubscriptionEventsItemKnownToolPermissionRequest ObserveSubscriptionEventsItemKnown = "tool.permission.request"
const ObserveSubscriptionEventsItemKnownToolPermissionResolved ObserveSubscriptionEventsItemKnown = "tool.permission.resolved"
const ObserveSubscriptionEventsItemKnownToolProgress ObserveSubscriptionEventsItemKnown = "tool.progress"
const ObserveSubscriptionEventsItemKnownTurnEnd ObserveSubscriptionEventsItemKnown = "turn.end"
const ObserveSubscriptionEventsItemKnownTurnFinishBefore ObserveSubscriptionEventsItemKnown = "turn.finish.before"
const ObserveSubscriptionEventsItemKnownTurnProgress ObserveSubscriptionEventsItemKnown = "turn.progress"
const ObserveSubscriptionEventsItemKnownTurnStart ObserveSubscriptionEventsItemKnown = "turn.start"
const ObserveSubscriptionEventsItemKnownUserAttention ObserveSubscriptionEventsItemKnown = "user.attention"
const ObserveSubscriptionEventsItemKnownUserElicitationRequest ObserveSubscriptionEventsItemKnown = "user.elicitation.request"
const ObserveSubscriptionEventsItemKnownUserElicitationResult ObserveSubscriptionEventsItemKnown = "user.elicitation.result"
const ObserveSubscriptionEventsItemKnownUserMessageInbound ObserveSubscriptionEventsItemKnown = "user.message.inbound"
const ObserveSubscriptionEventsItemKnownUserMessageOutbound ObserveSubscriptionEventsItemKnown = "user.message.outbound"
const ObserveSubscriptionEventsItemKnownWorkspaceChangeAfter ObserveSubscriptionEventsItemKnown = "workspace.change.after"
const ObserveSubscriptionEventsItemKnownWorkspaceChangeBefore ObserveSubscriptionEventsItemKnown = "workspace.change.before"
func (*ObserveSubscriptionEventsItemKnown) UnmarshalJSON ¶ added in v0.1.1
func (value *ObserveSubscriptionEventsItemKnown) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ObserveSubscriptionFilters ¶
type ObserveSubscriptionFilters struct {
Paths Optional[[]string]
ToolKinds Optional[[]string]
AdditionalProperties map[string]json.RawMessage
}
ObserveSubscriptionFilters is a generated nested model.
func (ObserveSubscriptionFilters) MarshalJSON ¶
func (value ObserveSubscriptionFilters) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ObserveSubscriptionFilters) UnmarshalJSON ¶
func (value *ObserveSubscriptionFilters) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ObserveSubscriptionMode ¶
type ObserveSubscriptionMode string
ObserveSubscriptionMode is a generated schema value.
const ObserveSubscriptionModeObserve ObserveSubscriptionMode = "observe"
func (*ObserveSubscriptionMode) UnmarshalJSON ¶ added in v0.1.1
func (value *ObserveSubscriptionMode) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ObserveSubscriptionScope ¶
type ObserveSubscriptionScope string
ObserveSubscriptionScope is a generated schema value.
const ObserveSubscriptionScopeManaged ObserveSubscriptionScope = "managed"
const ObserveSubscriptionScopeProject ObserveSubscriptionScope = "project"
const ObserveSubscriptionScopeUser ObserveSubscriptionScope = "user"
func (*ObserveSubscriptionScope) UnmarshalJSON ¶ added in v0.1.1
func (value *ObserveSubscriptionScope) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ParseDiagnostic ¶
type ParseDiagnostic struct {
Path string `json:"path"`
Code DiagnosticCode `json:"code"`
Severity DiagnosticSeverity `json:"severity"`
Message string `json:"message"`
}
ParseDiagnostic describes a structural mismatch at a JSON Pointer path.
type ParseResult ¶
type ParseResult[T any] struct { OK bool Value T Raw json.RawMessage Diagnostics []ParseDiagnostic }
ParseResult contains the typed value on success and the original JSON on every syntactically valid parse. Callers must check OK before using Value.
func ParseCapabilities ¶
func ParseCapabilities(input []byte) ParseResult[Capabilities]
ParseCapabilities parses and structurally checks one Capabilities JSON document.
func ParseCapabilitiesRequest ¶
func ParseCapabilitiesRequest(input []byte) ParseResult[CapabilitiesRequest]
ParseCapabilitiesRequest parses and structurally checks one CapabilitiesRequest JSON document.
func ParseCapabilitiesResponse ¶
func ParseCapabilitiesResponse(input []byte) ParseResult[CapabilitiesResponse]
ParseCapabilitiesResponse parses and structurally checks one CapabilitiesResponse JSON document.
func ParseCatalogueEvent ¶
func ParseCatalogueEvent(input []byte) ParseResult[CatalogueEvent]
ParseCatalogueEvent parses and structurally checks one CatalogueEvent JSON document.
func ParseContentItem ¶
func ParseContentItem(input []byte) ParseResult[ContentItem]
ParseContentItem parses and structurally checks one ContentItem JSON document.
func ParseContentReference ¶
func ParseContentReference(input []byte) ParseResult[ContentReference]
ParseContentReference parses and structurally checks one ContentReference JSON document.
func ParseContentSelection ¶
func ParseContentSelection(input []byte) ParseResult[ContentSelection]
ParseContentSelection parses and structurally checks one ContentSelection JSON document.
func ParseContentUpload ¶
func ParseContentUpload(input []byte) ParseResult[ContentUpload]
ParseContentUpload parses and structurally checks one ContentUpload JSON document.
func ParseContentUploadReceipt ¶ added in v0.1.1
func ParseContentUploadReceipt(input []byte) ParseResult[ContentUploadReceipt]
ParseContentUploadReceipt parses and structurally checks one ContentUploadReceipt JSON document.
func ParseDenyEffect ¶
func ParseDenyEffect(input []byte) ParseResult[DenyEffect]
ParseDenyEffect parses and structurally checks one DenyEffect JSON document.
func ParseEffect ¶
func ParseEffect(input []byte) ParseResult[Effect]
ParseEffect parses and structurally checks one Effect JSON document.
func ParseEvent ¶ added in v0.1.1
func ParseEvent(input []byte) ParseResult[Event]
ParseEvent parses and structurally checks one Event JSON document.
func ParseExecutionEvent ¶
func ParseExecutionEvent(input []byte) ParseResult[ExecutionEvent]
ParseExecutionEvent parses and structurally checks one ExecutionEvent JSON document.
func ParseExtensions ¶
func ParseExtensions(input []byte) ParseResult[Extensions]
ParseExtensions parses and structurally checks one Extensions JSON document.
func ParseInteractionEvent ¶
func ParseInteractionEvent(input []byte) ParseResult[InteractionEvent]
ParseInteractionEvent parses and structurally checks one InteractionEvent JSON document.
func ParseInterceptDenyResponse ¶
func ParseInterceptDenyResponse(input []byte) ParseResult[InterceptDenyResponse]
ParseInterceptDenyResponse parses and structurally checks one InterceptDenyResponse JSON document.
func ParseInterceptNoEffectResponse ¶
func ParseInterceptNoEffectResponse(input []byte) ParseResult[InterceptNoEffectResponse]
ParseInterceptNoEffectResponse parses and structurally checks one InterceptNoEffectResponse JSON document.
func ParseInterceptRequest ¶
func ParseInterceptRequest(input []byte) ParseResult[InterceptRequest]
ParseInterceptRequest parses and structurally checks one InterceptRequest JSON document.
func ParseInterceptResponse ¶
func ParseInterceptResponse(input []byte) ParseResult[InterceptResponse]
ParseInterceptResponse parses and structurally checks one InterceptResponse JSON document.
func ParseJsonRpcMessage ¶
func ParseJsonRpcMessage(input []byte) ParseResult[JsonRpcMessage]
ParseJsonRpcMessage parses and structurally checks one JsonRpcMessage JSON document.
func ParseObserveNotification ¶
func ParseObserveNotification(input []byte) ParseResult[ObserveNotification]
ParseObserveNotification parses and structurally checks one ObserveNotification JSON document.
func ParseRegistration ¶
func ParseRegistration(input []byte) ParseResult[Registration]
ParseRegistration parses and structurally checks one Registration JSON document.
func ParseSessionEndEvent ¶
func ParseSessionEndEvent(input []byte) ParseResult[SessionEndEvent]
ParseSessionEndEvent parses and structurally checks one SessionEndEvent JSON document.
func ParseSessionStartEvent ¶
func ParseSessionStartEvent(input []byte) ParseResult[SessionStartEvent]
ParseSessionStartEvent parses and structurally checks one SessionStartEvent JSON document.
func ParseTaskWorkspaceEvent ¶
func ParseTaskWorkspaceEvent(input []byte) ParseResult[TaskWorkspaceEvent]
ParseTaskWorkspaceEvent parses and structurally checks one TaskWorkspaceEvent JSON document.
func ParseToolAfterEvent ¶
func ParseToolAfterEvent(input []byte) ParseResult[ToolAfterEvent]
ParseToolAfterEvent parses and structurally checks one ToolAfterEvent JSON document.
func ParseToolBeforeEvent ¶
func ParseToolBeforeEvent(input []byte) ParseResult[ToolBeforeEvent]
ParseToolBeforeEvent parses and structurally checks one ToolBeforeEvent JSON document.
func ParseWireMessage ¶
func ParseWireMessage(input []byte) ParseResult[WireMessage]
ParseWireMessage parses and structurally checks one WireMessage JSON document.
type ProtocolVersion ¶
type ProtocolVersion string
ProtocolVersion is generated from schema/draft/common.schema.json#/$defs/protocolVersion.
const ProtocolVersionDraft ProtocolVersion = "draft"
func (*ProtocolVersion) UnmarshalJSON ¶ added in v0.1.1
func (value *ProtocolVersion) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type Registration ¶
type Registration struct {
Hooks []*Backend
ProtocolVersion *ProtocolVersion
AdditionalProperties map[string]json.RawMessage
}
Registration is generated from schema/draft/registration.schema.json#.
func (Registration) MarshalJSON ¶
func (value Registration) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*Registration) UnmarshalJSON ¶
func (value *Registration) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type RegistrationContentreceiver ¶
type RegistrationContentreceiver struct {
Authentication Optional[*Authentication]
MaxBytes json.Number
TimeoutMs json.Number
URL string
AdditionalProperties map[string]json.RawMessage
}
RegistrationContentreceiver is generated from schema/draft/registration.schema.json#/$defs/contentReceiver.
func (RegistrationContentreceiver) MarshalJSON ¶
func (value RegistrationContentreceiver) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*RegistrationContentreceiver) UnmarshalJSON ¶
func (value *RegistrationContentreceiver) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ReverseDnsName ¶
type ReverseDnsName string
ReverseDnsName is a structurally validated schema value.
func (ReverseDnsName) MarshalJSON ¶ added in v0.1.1
func (value ReverseDnsName) MarshalJSON() ([]byte, error)
func (*ReverseDnsName) UnmarshalJSON ¶ added in v0.1.1
func (value *ReverseDnsName) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type Session ¶
type Session struct {
Agent Optional[SessionAgent]
CWD Optional[string]
ID string
Model Optional[string]
Synthesized Optional[bool]
WorkspaceRoots Optional[[]string]
AdditionalProperties map[string]json.RawMessage
}
Session is generated from schema/draft/common.schema.json#/$defs/session.
func (Session) MarshalJSON ¶
MarshalJSON emits known fields together with all retained members.
func (*Session) UnmarshalJSON ¶
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionAgent ¶
type SessionAgent struct {
ID string
Type Optional[string]
AdditionalProperties map[string]json.RawMessage
}
SessionAgent is a generated nested model.
func (SessionAgent) MarshalJSON ¶
func (value SessionAgent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionAgent) UnmarshalJSON ¶
func (value *SessionAgent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionEndEvent ¶
type SessionEndEvent struct {
Counters Optional[SessionEndEventCounters]
Extensions Optional[*Extensions]
Gaps Optional[[]SessionEndEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
Outcome SessionEndEventOutcome
ParentEventId Optional[string]
Reason string
Session *Session
Source string
Synthesized Optional[bool]
Time string
Turn Optional[SessionEndEventTurn]
Type SessionEndEventType
AdditionalProperties map[string]json.RawMessage
}
SessionEndEvent is generated from schema/draft/session-end.schema.json#.
func (SessionEndEvent) MarshalJSON ¶
func (value SessionEndEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionEndEvent) UnmarshalJSON ¶
func (value *SessionEndEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionEndEventCounters ¶
type SessionEndEventCounters struct {
AdditionalProperties map[string]json.RawMessage
}
SessionEndEventCounters is a generated nested model.
func (SessionEndEventCounters) MarshalJSON ¶
func (value SessionEndEventCounters) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionEndEventCounters) UnmarshalJSON ¶
func (value *SessionEndEventCounters) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionEndEventGapsItem ¶
type SessionEndEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
SessionEndEventGapsItem is a generated nested model.
func (SessionEndEventGapsItem) MarshalJSON ¶
func (value SessionEndEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionEndEventGapsItem) UnmarshalJSON ¶
func (value *SessionEndEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionEndEventOutcome ¶
type SessionEndEventOutcome string
SessionEndEventOutcome is a generated schema value.
const SessionEndEventOutcomeCancelled SessionEndEventOutcome = "cancelled"
const SessionEndEventOutcomeCompleted SessionEndEventOutcome = "completed"
const SessionEndEventOutcomeError SessionEndEventOutcome = "error"
const SessionEndEventOutcomeUnknownValue SessionEndEventOutcome = "unknown"
func (*SessionEndEventOutcome) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionEndEventOutcome) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionEndEventTurn ¶
type SessionEndEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
SessionEndEventTurn is a generated nested model.
func (SessionEndEventTurn) MarshalJSON ¶
func (value SessionEndEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionEndEventTurn) UnmarshalJSON ¶
func (value *SessionEndEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionEndEventType ¶
type SessionEndEventType string
SessionEndEventType is a generated schema value.
const SessionEndEventTypeSessionEnd SessionEndEventType = "session.end"
func (*SessionEndEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionEndEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilities ¶
type SessionStartCapabilities struct {
Effects SessionStartCapabilitiesEffects
Elicitation Optional[SessionStartCapabilitiesElicitation]
Flow Optional[SessionStartCapabilitiesFlow]
Inject Optional[SessionStartCapabilitiesInject]
Modify Optional[SessionStartCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/session.start.
func (SessionStartCapabilities) MarshalJSON ¶
func (value SessionStartCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilities) UnmarshalJSON ¶
func (value *SessionStartCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesEffects ¶ added in v0.1.1
type SessionStartCapabilitiesEffects []SessionStartCapabilitiesEffectsValueItem
SessionStartCapabilitiesEffects is a structurally validated schema value.
func (SessionStartCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value SessionStartCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*SessionStartCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionStartCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesEffectsValueItem ¶ added in v0.1.1
type SessionStartCapabilitiesEffectsValueItem string
SessionStartCapabilitiesEffectsValueItem is a generated schema value.
const SessionStartCapabilitiesEffectsValueItemInject SessionStartCapabilitiesEffectsValueItem = "inject"
const SessionStartCapabilitiesEffectsValueItemMessage SessionStartCapabilitiesEffectsValueItem = "message"
func (*SessionStartCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionStartCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesElicitation ¶
type SessionStartCapabilitiesElicitation struct {
Form Optional[SessionStartCapabilitiesElicitationForm]
URL Optional[SessionStartCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilitiesElicitation is a generated nested model.
func (SessionStartCapabilitiesElicitation) MarshalJSON ¶
func (value SessionStartCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilitiesElicitation) UnmarshalJSON ¶
func (value *SessionStartCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesElicitationForm ¶
type SessionStartCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilitiesElicitationForm is a generated nested model.
func (SessionStartCapabilitiesElicitationForm) MarshalJSON ¶
func (value SessionStartCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *SessionStartCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesElicitationURL ¶
type SessionStartCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilitiesElicitationURL is a generated nested model.
func (SessionStartCapabilitiesElicitationURL) MarshalJSON ¶
func (value SessionStartCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *SessionStartCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesFlow ¶
type SessionStartCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations []SessionStartCapabilitiesFlowOperationsItem
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilitiesFlow is a generated nested model.
func (SessionStartCapabilitiesFlow) MarshalJSON ¶
func (value SessionStartCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilitiesFlow) UnmarshalJSON ¶
func (value *SessionStartCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesFlowOperationsItem ¶
type SessionStartCapabilitiesFlowOperationsItem string
SessionStartCapabilitiesFlowOperationsItem is a generated schema value.
const SessionStartCapabilitiesFlowOperationsItemContinue SessionStartCapabilitiesFlowOperationsItem = "continue"
const SessionStartCapabilitiesFlowOperationsItemStop SessionStartCapabilitiesFlowOperationsItem = "stop"
func (*SessionStartCapabilitiesFlowOperationsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionStartCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesInject ¶
type SessionStartCapabilitiesInject struct {
Context SessionStartCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilitiesInject is a generated nested model.
func (SessionStartCapabilitiesInject) MarshalJSON ¶
func (value SessionStartCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilitiesInject) UnmarshalJSON ¶
func (value *SessionStartCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesInjectContext ¶
type SessionStartCapabilitiesInjectContext struct {
Append SessionStartCapabilitiesInjectContextAppend
DeliverAt []SessionStartCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilitiesInjectContext is a generated nested model.
func (SessionStartCapabilitiesInjectContext) MarshalJSON ¶
func (value SessionStartCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *SessionStartCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesInjectContextAppend ¶
type SessionStartCapabilitiesInjectContextAppend bool
SessionStartCapabilitiesInjectContextAppend is a generated schema value.
const SessionStartCapabilitiesInjectContextAppendTrue SessionStartCapabilitiesInjectContextAppend = true
func (*SessionStartCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionStartCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesInjectContextDeliverAtItem ¶
type SessionStartCapabilitiesInjectContextDeliverAtItem string
SessionStartCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const SessionStartCapabilitiesInjectContextDeliverAtItemNextTurn SessionStartCapabilitiesInjectContextDeliverAtItem = "next_turn"
const SessionStartCapabilitiesInjectContextDeliverAtItemNow SessionStartCapabilitiesInjectContextDeliverAtItem = "now"
func (*SessionStartCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionStartCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesModify ¶
type SessionStartCapabilitiesModify struct {
Content Optional[SessionStartCapabilitiesModifyContent]
Input Optional[SessionStartCapabilitiesModifyInput]
Instructions Optional[SessionStartCapabilitiesModifyInstructions]
Output Optional[SessionStartCapabilitiesModifyOutput]
Prompt Optional[SessionStartCapabilitiesModifyPrompt]
Request Optional[SessionStartCapabilitiesModifyRequest]
Response Optional[SessionStartCapabilitiesModifyResponse]
Summary Optional[SessionStartCapabilitiesModifySummary]
Workspace Optional[SessionStartCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilitiesModify is a generated nested model.
func (SessionStartCapabilitiesModify) MarshalJSON ¶
func (value SessionStartCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilitiesModify) UnmarshalJSON ¶
func (value *SessionStartCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesModifyContent ¶ added in v0.1.1
type SessionStartCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilitiesModifyContent is a generated nested model.
func (SessionStartCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value SessionStartCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionStartCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesModifyInput ¶ added in v0.1.1
type SessionStartCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilitiesModifyInput is a generated nested model.
func (SessionStartCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value SessionStartCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionStartCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesModifyInstructions ¶ added in v0.1.1
type SessionStartCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilitiesModifyInstructions is a generated nested model.
func (SessionStartCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value SessionStartCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionStartCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesModifyOutput ¶ added in v0.1.1
type SessionStartCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilitiesModifyOutput is a generated nested model.
func (SessionStartCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value SessionStartCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionStartCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesModifyPrompt ¶ added in v0.1.1
type SessionStartCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilitiesModifyPrompt is a generated nested model.
func (SessionStartCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value SessionStartCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionStartCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesModifyRequest ¶ added in v0.1.1
type SessionStartCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilitiesModifyRequest is a generated nested model.
func (SessionStartCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value SessionStartCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionStartCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesModifyResponse ¶ added in v0.1.1
type SessionStartCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilitiesModifyResponse is a generated nested model.
func (SessionStartCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value SessionStartCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionStartCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesModifySummary ¶ added in v0.1.1
type SessionStartCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilitiesModifySummary is a generated nested model.
func (SessionStartCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value SessionStartCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionStartCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartCapabilitiesModifyWorkspace ¶ added in v0.1.1
type SessionStartCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
SessionStartCapabilitiesModifyWorkspace is a generated nested model.
func (SessionStartCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value SessionStartCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionStartCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartEvent ¶
type SessionStartEvent struct {
Extensions Optional[*Extensions]
Gaps Optional[[]SessionStartEventGapsItem]
Harness SessionStartEventHarness
ID string
Items []*ModelVisibleItem
Manifest *StaticCapabilityManifest
Native Optional[*NativeEvent]
ParentEventId Optional[string]
PermissionMode string
ResumedFrom Optional[SessionStartEventResumedFrom]
Session *Session
Source string
Synthesized Optional[bool]
Time string
Trigger SessionStartEventTrigger
Turn Optional[SessionStartEventTurn]
Type SessionStartEventType
AdditionalProperties map[string]json.RawMessage
}
SessionStartEvent is generated from schema/draft/session-start.schema.json#.
func (SessionStartEvent) MarshalJSON ¶
func (value SessionStartEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartEvent) UnmarshalJSON ¶
func (value *SessionStartEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartEventGapsItem ¶
type SessionStartEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
SessionStartEventGapsItem is a generated nested model.
func (SessionStartEventGapsItem) MarshalJSON ¶
func (value SessionStartEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartEventGapsItem) UnmarshalJSON ¶
func (value *SessionStartEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartEventHarness ¶
type SessionStartEventHarness struct {
Name string
Version string
AdditionalProperties map[string]json.RawMessage
}
SessionStartEventHarness is a generated nested model.
func (SessionStartEventHarness) MarshalJSON ¶
func (value SessionStartEventHarness) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartEventHarness) UnmarshalJSON ¶
func (value *SessionStartEventHarness) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartEventResumedFrom ¶
type SessionStartEventResumedFrom struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
SessionStartEventResumedFrom is a generated nested model.
func (SessionStartEventResumedFrom) MarshalJSON ¶
func (value SessionStartEventResumedFrom) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartEventResumedFrom) UnmarshalJSON ¶
func (value *SessionStartEventResumedFrom) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartEventTrigger ¶
type SessionStartEventTrigger string
SessionStartEventTrigger is a generated schema value.
const SessionStartEventTriggerClear SessionStartEventTrigger = "clear"
const SessionStartEventTriggerCompact SessionStartEventTrigger = "compact"
const SessionStartEventTriggerFork SessionStartEventTrigger = "fork"
const SessionStartEventTriggerResume SessionStartEventTrigger = "resume"
const SessionStartEventTriggerStartup SessionStartEventTrigger = "startup"
func (*SessionStartEventTrigger) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionStartEventTrigger) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartEventTurn ¶
type SessionStartEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
SessionStartEventTurn is a generated nested model.
func (SessionStartEventTurn) MarshalJSON ¶
func (value SessionStartEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*SessionStartEventTurn) UnmarshalJSON ¶
func (value *SessionStartEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type SessionStartEventType ¶
type SessionStartEventType string
SessionStartEventType is a generated schema value.
const SessionStartEventTypeSessionStart SessionStartEventType = "session.start"
func (*SessionStartEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *SessionStartEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type StaticCapabilityManifest ¶
type StaticCapabilityManifest struct {
Authentication []StaticCapabilityManifestAuthenticationItem
ContentCategories []string
CorrelationIdentityFields []string
Events []StaticCapabilityManifestEventsItem
Gaps []StaticCapabilityManifestGapsItem
Limits StaticCapabilityManifestLimits
ManagedPolicy StaticCapabilityManifestManagedPolicy
ToolPaths []string
Transports []StaticCapabilityManifestTransportsItem
AdditionalProperties map[string]json.RawMessage
}
StaticCapabilityManifest is generated from schema/draft/capabilities-response.schema.json#/allOf/1/properties/result/properties/manifest.
func (StaticCapabilityManifest) MarshalJSON ¶
func (value StaticCapabilityManifest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*StaticCapabilityManifest) UnmarshalJSON ¶
func (value *StaticCapabilityManifest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type StaticCapabilityManifestAuthenticationItem ¶
type StaticCapabilityManifestAuthenticationItem string
StaticCapabilityManifestAuthenticationItem is a generated schema value.
const StaticCapabilityManifestAuthenticationItemBearer StaticCapabilityManifestAuthenticationItem = "bearer"
const StaticCapabilityManifestAuthenticationItemOauth StaticCapabilityManifestAuthenticationItem = "oauth"
func (*StaticCapabilityManifestAuthenticationItem) UnmarshalJSON ¶ added in v0.1.1
func (value *StaticCapabilityManifestAuthenticationItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type StaticCapabilityManifestEventsItem ¶
type StaticCapabilityManifestEventsItem struct {
Capabilities Optional[*Capabilities]
Event StaticCapabilityManifestEventsItemEvent
Modes []StaticCapabilityManifestEventsItemModesItem
AdditionalProperties map[string]json.RawMessage
}
StaticCapabilityManifestEventsItem is a generated nested model.
func (StaticCapabilityManifestEventsItem) MarshalJSON ¶
func (value StaticCapabilityManifestEventsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*StaticCapabilityManifestEventsItem) UnmarshalJSON ¶
func (value *StaticCapabilityManifestEventsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type StaticCapabilityManifestEventsItemEvent ¶
type StaticCapabilityManifestEventsItemEvent string
StaticCapabilityManifestEventsItemEvent is a generated schema value.
const StaticCapabilityManifestEventsItemEventConfigChangeAfter StaticCapabilityManifestEventsItemEvent = "config.change.after"
const StaticCapabilityManifestEventsItemEventConfigChangeBefore StaticCapabilityManifestEventsItemEvent = "config.change.before"
const StaticCapabilityManifestEventsItemEventContextCompactAfter StaticCapabilityManifestEventsItemEvent = "context.compact.after"
const StaticCapabilityManifestEventsItemEventContextCompactBefore StaticCapabilityManifestEventsItemEvent = "context.compact.before"
const StaticCapabilityManifestEventsItemEventFileChanged StaticCapabilityManifestEventsItemEvent = "file.changed"
const StaticCapabilityManifestEventsItemEventHookFailure StaticCapabilityManifestEventsItemEvent = "hook.failure"
const StaticCapabilityManifestEventsItemEventModelError StaticCapabilityManifestEventsItemEvent = "model.error"
const StaticCapabilityManifestEventsItemEventModelRequestBefore StaticCapabilityManifestEventsItemEvent = "model.request.before"
const StaticCapabilityManifestEventsItemEventModelResponseAfter StaticCapabilityManifestEventsItemEvent = "model.response.after"
const StaticCapabilityManifestEventsItemEventModelSwitchAfter StaticCapabilityManifestEventsItemEvent = "model.switch.after"
const StaticCapabilityManifestEventsItemEventModelSwitchBefore StaticCapabilityManifestEventsItemEvent = "model.switch.before"
const StaticCapabilityManifestEventsItemEventSessionEnd StaticCapabilityManifestEventsItemEvent = "session.end"
const StaticCapabilityManifestEventsItemEventSessionStart StaticCapabilityManifestEventsItemEvent = "session.start"
const StaticCapabilityManifestEventsItemEventTaskChangeAfter StaticCapabilityManifestEventsItemEvent = "task.change.after"
const StaticCapabilityManifestEventsItemEventTaskChangeBefore StaticCapabilityManifestEventsItemEvent = "task.change.before"
const StaticCapabilityManifestEventsItemEventToolAfter StaticCapabilityManifestEventsItemEvent = "tool.after"
const StaticCapabilityManifestEventsItemEventToolBatchAfter StaticCapabilityManifestEventsItemEvent = "tool.batch.after"
const StaticCapabilityManifestEventsItemEventToolBefore StaticCapabilityManifestEventsItemEvent = "tool.before"
const StaticCapabilityManifestEventsItemEventToolPermissionRequest StaticCapabilityManifestEventsItemEvent = "tool.permission.request"
const StaticCapabilityManifestEventsItemEventToolPermissionResolved StaticCapabilityManifestEventsItemEvent = "tool.permission.resolved"
const StaticCapabilityManifestEventsItemEventToolProgress StaticCapabilityManifestEventsItemEvent = "tool.progress"
const StaticCapabilityManifestEventsItemEventTurnEnd StaticCapabilityManifestEventsItemEvent = "turn.end"
const StaticCapabilityManifestEventsItemEventTurnFinishBefore StaticCapabilityManifestEventsItemEvent = "turn.finish.before"
const StaticCapabilityManifestEventsItemEventTurnProgress StaticCapabilityManifestEventsItemEvent = "turn.progress"
const StaticCapabilityManifestEventsItemEventTurnStart StaticCapabilityManifestEventsItemEvent = "turn.start"
const StaticCapabilityManifestEventsItemEventUserAttention StaticCapabilityManifestEventsItemEvent = "user.attention"
const StaticCapabilityManifestEventsItemEventUserElicitationRequest StaticCapabilityManifestEventsItemEvent = "user.elicitation.request"
const StaticCapabilityManifestEventsItemEventUserElicitationResult StaticCapabilityManifestEventsItemEvent = "user.elicitation.result"
const StaticCapabilityManifestEventsItemEventUserMessageInbound StaticCapabilityManifestEventsItemEvent = "user.message.inbound"
const StaticCapabilityManifestEventsItemEventUserMessageOutbound StaticCapabilityManifestEventsItemEvent = "user.message.outbound"
const StaticCapabilityManifestEventsItemEventWorkspaceChangeAfter StaticCapabilityManifestEventsItemEvent = "workspace.change.after"
const StaticCapabilityManifestEventsItemEventWorkspaceChangeBefore StaticCapabilityManifestEventsItemEvent = "workspace.change.before"
func (*StaticCapabilityManifestEventsItemEvent) UnmarshalJSON ¶ added in v0.1.1
func (value *StaticCapabilityManifestEventsItemEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type StaticCapabilityManifestEventsItemModesItem ¶
type StaticCapabilityManifestEventsItemModesItem string
StaticCapabilityManifestEventsItemModesItem is a generated schema value.
const StaticCapabilityManifestEventsItemModesItemIntercept StaticCapabilityManifestEventsItemModesItem = "intercept"
const StaticCapabilityManifestEventsItemModesItemObserve StaticCapabilityManifestEventsItemModesItem = "observe"
func (*StaticCapabilityManifestEventsItemModesItem) UnmarshalJSON ¶ added in v0.1.1
func (value *StaticCapabilityManifestEventsItemModesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type StaticCapabilityManifestGapsItem ¶
type StaticCapabilityManifestGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
StaticCapabilityManifestGapsItem is a generated nested model.
func (StaticCapabilityManifestGapsItem) MarshalJSON ¶
func (value StaticCapabilityManifestGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*StaticCapabilityManifestGapsItem) UnmarshalJSON ¶
func (value *StaticCapabilityManifestGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type StaticCapabilityManifestLimits ¶
type StaticCapabilityManifestLimits struct {
MaxContinuations Optional[json.Number]
MaxTimeoutMs Optional[json.Number]
MaxUploadBytes Optional[json.Number]
MinTimeoutMs Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
StaticCapabilityManifestLimits is a generated nested model.
func (StaticCapabilityManifestLimits) MarshalJSON ¶
func (value StaticCapabilityManifestLimits) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*StaticCapabilityManifestLimits) UnmarshalJSON ¶
func (value *StaticCapabilityManifestLimits) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type StaticCapabilityManifestManagedPolicy ¶
type StaticCapabilityManifestManagedPolicy struct {
Disableable bool
Scopes []StaticCapabilityManifestManagedPolicyScopesItem
AdditionalProperties map[string]json.RawMessage
}
StaticCapabilityManifestManagedPolicy is a generated nested model.
func (StaticCapabilityManifestManagedPolicy) MarshalJSON ¶
func (value StaticCapabilityManifestManagedPolicy) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*StaticCapabilityManifestManagedPolicy) UnmarshalJSON ¶
func (value *StaticCapabilityManifestManagedPolicy) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type StaticCapabilityManifestManagedPolicyScopesItem ¶
type StaticCapabilityManifestManagedPolicyScopesItem string
StaticCapabilityManifestManagedPolicyScopesItem is a generated schema value.
const StaticCapabilityManifestManagedPolicyScopesItemManaged StaticCapabilityManifestManagedPolicyScopesItem = "managed"
const StaticCapabilityManifestManagedPolicyScopesItemProject StaticCapabilityManifestManagedPolicyScopesItem = "project"
const StaticCapabilityManifestManagedPolicyScopesItemUser StaticCapabilityManifestManagedPolicyScopesItem = "user"
func (*StaticCapabilityManifestManagedPolicyScopesItem) UnmarshalJSON ¶ added in v0.1.1
func (value *StaticCapabilityManifestManagedPolicyScopesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type StaticCapabilityManifestTransportsItem ¶
type StaticCapabilityManifestTransportsItem string
StaticCapabilityManifestTransportsItem is a generated schema value.
const StaticCapabilityManifestTransportsItemHTTP StaticCapabilityManifestTransportsItem = "http"
const StaticCapabilityManifestTransportsItemInProcess StaticCapabilityManifestTransportsItem = "in_process"
const StaticCapabilityManifestTransportsItemStdio StaticCapabilityManifestTransportsItem = "stdio"
func (*StaticCapabilityManifestTransportsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *StaticCapabilityManifestTransportsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type StdioTransport ¶
type StdioTransport struct {
Args Optional[[]string]
Command string
CWD Optional[string]
Lifecycle StdioTransportLifecycle
Type StdioTransportType
AdditionalProperties map[string]json.RawMessage
}
StdioTransport is generated from schema/draft/registration.schema.json#/$defs/stdioTransport.
func (StdioTransport) MarshalJSON ¶
func (value StdioTransport) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*StdioTransport) UnmarshalJSON ¶
func (value *StdioTransport) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type StdioTransportLifecycle ¶
type StdioTransportLifecycle string
StdioTransportLifecycle is a generated schema value.
const StdioTransportLifecyclePerEvent StdioTransportLifecycle = "per_event"
const StdioTransportLifecyclePersistent StdioTransportLifecycle = "persistent"
func (*StdioTransportLifecycle) UnmarshalJSON ¶ added in v0.1.1
func (value *StdioTransportLifecycle) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type StdioTransportType ¶
type StdioTransportType string
StdioTransportType is a generated schema value.
const StdioTransportTypeStdio StdioTransportType = "stdio"
func (*StdioTransportType) UnmarshalJSON ¶ added in v0.1.1
func (value *StdioTransportType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeAfterEvent ¶
type TaskChangeAfterEvent struct {
Extensions Optional[*Extensions]
Gaps Optional[[]TaskChangeAfterEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Task TaskChangeAfterEventTask
Time string
Turn Optional[TaskChangeAfterEventTurn]
Type TaskChangeAfterEventType
AdditionalProperties map[string]json.RawMessage
}
TaskChangeAfterEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/task.change.after.
func (TaskChangeAfterEvent) MarshalJSON ¶
func (value TaskChangeAfterEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeAfterEvent) UnmarshalJSON ¶
func (value *TaskChangeAfterEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeAfterEventGapsItem ¶
type TaskChangeAfterEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
TaskChangeAfterEventGapsItem is a generated nested model.
func (TaskChangeAfterEventGapsItem) MarshalJSON ¶
func (value TaskChangeAfterEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeAfterEventGapsItem) UnmarshalJSON ¶
func (value *TaskChangeAfterEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeAfterEventTask ¶
type TaskChangeAfterEventTask struct {
Change TaskChangeAfterEventTaskChange
Description Optional[string]
ID string
Operation TaskChangeAfterEventTaskOperation
Prior Optional[TaskChangeAfterEventTaskPrior]
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TaskChangeAfterEventTask is a generated nested model.
func (TaskChangeAfterEventTask) MarshalJSON ¶
func (value TaskChangeAfterEventTask) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeAfterEventTask) UnmarshalJSON ¶
func (value *TaskChangeAfterEventTask) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeAfterEventTaskChange ¶
type TaskChangeAfterEventTaskChange struct {
AdditionalProperties map[string]json.RawMessage
}
TaskChangeAfterEventTaskChange is a generated nested model.
func (TaskChangeAfterEventTaskChange) MarshalJSON ¶
func (value TaskChangeAfterEventTaskChange) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeAfterEventTaskChange) UnmarshalJSON ¶
func (value *TaskChangeAfterEventTaskChange) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeAfterEventTaskOperation ¶
type TaskChangeAfterEventTaskOperation string
TaskChangeAfterEventTaskOperation is a generated schema value.
const TaskChangeAfterEventTaskOperationCreate TaskChangeAfterEventTaskOperation = "create"
const TaskChangeAfterEventTaskOperationRemove TaskChangeAfterEventTaskOperation = "remove"
const TaskChangeAfterEventTaskOperationUpdate TaskChangeAfterEventTaskOperation = "update"
func (*TaskChangeAfterEventTaskOperation) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeAfterEventTaskOperation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeAfterEventTaskPrior ¶
type TaskChangeAfterEventTaskPrior struct {
AdditionalProperties map[string]json.RawMessage
}
TaskChangeAfterEventTaskPrior is a generated nested model.
func (TaskChangeAfterEventTaskPrior) MarshalJSON ¶
func (value TaskChangeAfterEventTaskPrior) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeAfterEventTaskPrior) UnmarshalJSON ¶
func (value *TaskChangeAfterEventTaskPrior) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeAfterEventTurn ¶
type TaskChangeAfterEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TaskChangeAfterEventTurn is a generated nested model.
func (TaskChangeAfterEventTurn) MarshalJSON ¶
func (value TaskChangeAfterEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeAfterEventTurn) UnmarshalJSON ¶
func (value *TaskChangeAfterEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeAfterEventType ¶
type TaskChangeAfterEventType string
TaskChangeAfterEventType is a generated schema value.
const TaskChangeAfterEventTypeTaskChangeAfter TaskChangeAfterEventType = "task.change.after"
func (*TaskChangeAfterEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeAfterEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilities ¶
type TaskChangeBeforeCapabilities struct {
Effects TaskChangeBeforeCapabilitiesEffects
Elicitation Optional[TaskChangeBeforeCapabilitiesElicitation]
Flow Optional[TaskChangeBeforeCapabilitiesFlow]
Inject Optional[TaskChangeBeforeCapabilitiesInject]
Modify Optional[TaskChangeBeforeCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/task.change.before.
func (TaskChangeBeforeCapabilities) MarshalJSON ¶
func (value TaskChangeBeforeCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilities) UnmarshalJSON ¶
func (value *TaskChangeBeforeCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesEffects ¶ added in v0.1.1
type TaskChangeBeforeCapabilitiesEffects []TaskChangeBeforeCapabilitiesEffectsValueItem
TaskChangeBeforeCapabilitiesEffects is a structurally validated schema value.
func (TaskChangeBeforeCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value TaskChangeBeforeCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*TaskChangeBeforeCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeBeforeCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesEffectsValueItem ¶ added in v0.1.1
type TaskChangeBeforeCapabilitiesEffectsValueItem string
TaskChangeBeforeCapabilitiesEffectsValueItem is a generated schema value.
const TaskChangeBeforeCapabilitiesEffectsValueItemDeny TaskChangeBeforeCapabilitiesEffectsValueItem = "deny"
const TaskChangeBeforeCapabilitiesEffectsValueItemMessage TaskChangeBeforeCapabilitiesEffectsValueItem = "message"
func (*TaskChangeBeforeCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeBeforeCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesElicitation ¶
type TaskChangeBeforeCapabilitiesElicitation struct {
Form Optional[TaskChangeBeforeCapabilitiesElicitationForm]
URL Optional[TaskChangeBeforeCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilitiesElicitation is a generated nested model.
func (TaskChangeBeforeCapabilitiesElicitation) MarshalJSON ¶
func (value TaskChangeBeforeCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilitiesElicitation) UnmarshalJSON ¶
func (value *TaskChangeBeforeCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesElicitationForm ¶
type TaskChangeBeforeCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilitiesElicitationForm is a generated nested model.
func (TaskChangeBeforeCapabilitiesElicitationForm) MarshalJSON ¶
func (value TaskChangeBeforeCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *TaskChangeBeforeCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesElicitationURL ¶
type TaskChangeBeforeCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilitiesElicitationURL is a generated nested model.
func (TaskChangeBeforeCapabilitiesElicitationURL) MarshalJSON ¶
func (value TaskChangeBeforeCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *TaskChangeBeforeCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesFlow ¶
type TaskChangeBeforeCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations []TaskChangeBeforeCapabilitiesFlowOperationsItem
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilitiesFlow is a generated nested model.
func (TaskChangeBeforeCapabilitiesFlow) MarshalJSON ¶
func (value TaskChangeBeforeCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilitiesFlow) UnmarshalJSON ¶
func (value *TaskChangeBeforeCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesFlowOperationsItem ¶
type TaskChangeBeforeCapabilitiesFlowOperationsItem string
TaskChangeBeforeCapabilitiesFlowOperationsItem is a generated schema value.
const TaskChangeBeforeCapabilitiesFlowOperationsItemContinue TaskChangeBeforeCapabilitiesFlowOperationsItem = "continue"
const TaskChangeBeforeCapabilitiesFlowOperationsItemStop TaskChangeBeforeCapabilitiesFlowOperationsItem = "stop"
func (*TaskChangeBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesInject ¶
type TaskChangeBeforeCapabilitiesInject struct {
Context TaskChangeBeforeCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilitiesInject is a generated nested model.
func (TaskChangeBeforeCapabilitiesInject) MarshalJSON ¶
func (value TaskChangeBeforeCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilitiesInject) UnmarshalJSON ¶
func (value *TaskChangeBeforeCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesInjectContext ¶
type TaskChangeBeforeCapabilitiesInjectContext struct {
Append TaskChangeBeforeCapabilitiesInjectContextAppend
DeliverAt []TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilitiesInjectContext is a generated nested model.
func (TaskChangeBeforeCapabilitiesInjectContext) MarshalJSON ¶
func (value TaskChangeBeforeCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *TaskChangeBeforeCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesInjectContextAppend ¶
type TaskChangeBeforeCapabilitiesInjectContextAppend bool
TaskChangeBeforeCapabilitiesInjectContextAppend is a generated schema value.
const TaskChangeBeforeCapabilitiesInjectContextAppendTrue TaskChangeBeforeCapabilitiesInjectContextAppend = true
func (*TaskChangeBeforeCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeBeforeCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem ¶
type TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem string
TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const TaskChangeBeforeCapabilitiesInjectContextDeliverAtItemNextTurn TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const TaskChangeBeforeCapabilitiesInjectContextDeliverAtItemNow TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem = "now"
func (*TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesModify ¶
type TaskChangeBeforeCapabilitiesModify struct {
Content Optional[TaskChangeBeforeCapabilitiesModifyContent]
Input Optional[TaskChangeBeforeCapabilitiesModifyInput]
Instructions Optional[TaskChangeBeforeCapabilitiesModifyInstructions]
Output Optional[TaskChangeBeforeCapabilitiesModifyOutput]
Prompt Optional[TaskChangeBeforeCapabilitiesModifyPrompt]
Request Optional[TaskChangeBeforeCapabilitiesModifyRequest]
Response Optional[TaskChangeBeforeCapabilitiesModifyResponse]
Summary Optional[TaskChangeBeforeCapabilitiesModifySummary]
Workspace Optional[TaskChangeBeforeCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilitiesModify is a generated nested model.
func (TaskChangeBeforeCapabilitiesModify) MarshalJSON ¶
func (value TaskChangeBeforeCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilitiesModify) UnmarshalJSON ¶
func (value *TaskChangeBeforeCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesModifyContent ¶ added in v0.1.1
type TaskChangeBeforeCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilitiesModifyContent is a generated nested model.
func (TaskChangeBeforeCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value TaskChangeBeforeCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeBeforeCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesModifyInput ¶ added in v0.1.1
type TaskChangeBeforeCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilitiesModifyInput is a generated nested model.
func (TaskChangeBeforeCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value TaskChangeBeforeCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeBeforeCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesModifyInstructions ¶ added in v0.1.1
type TaskChangeBeforeCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilitiesModifyInstructions is a generated nested model.
func (TaskChangeBeforeCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value TaskChangeBeforeCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeBeforeCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesModifyOutput ¶ added in v0.1.1
type TaskChangeBeforeCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilitiesModifyOutput is a generated nested model.
func (TaskChangeBeforeCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value TaskChangeBeforeCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeBeforeCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesModifyPrompt ¶ added in v0.1.1
type TaskChangeBeforeCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilitiesModifyPrompt is a generated nested model.
func (TaskChangeBeforeCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value TaskChangeBeforeCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeBeforeCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesModifyRequest ¶ added in v0.1.1
type TaskChangeBeforeCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilitiesModifyRequest is a generated nested model.
func (TaskChangeBeforeCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value TaskChangeBeforeCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeBeforeCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesModifyResponse ¶ added in v0.1.1
type TaskChangeBeforeCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilitiesModifyResponse is a generated nested model.
func (TaskChangeBeforeCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value TaskChangeBeforeCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeBeforeCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesModifySummary ¶ added in v0.1.1
type TaskChangeBeforeCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilitiesModifySummary is a generated nested model.
func (TaskChangeBeforeCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value TaskChangeBeforeCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeBeforeCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeCapabilitiesModifyWorkspace ¶ added in v0.1.1
type TaskChangeBeforeCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeCapabilitiesModifyWorkspace is a generated nested model.
func (TaskChangeBeforeCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value TaskChangeBeforeCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeBeforeCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeEvent ¶
type TaskChangeBeforeEvent struct {
Extensions Optional[*Extensions]
Gaps Optional[[]TaskChangeBeforeEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Task TaskChangeBeforeEventTask
Time string
Turn Optional[TaskChangeBeforeEventTurn]
Type TaskChangeBeforeEventType
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/task.change.before.
func (TaskChangeBeforeEvent) MarshalJSON ¶
func (value TaskChangeBeforeEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeEvent) UnmarshalJSON ¶
func (value *TaskChangeBeforeEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeEventGapsItem ¶
type TaskChangeBeforeEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeEventGapsItem is a generated nested model.
func (TaskChangeBeforeEventGapsItem) MarshalJSON ¶
func (value TaskChangeBeforeEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeEventGapsItem) UnmarshalJSON ¶
func (value *TaskChangeBeforeEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeEventTask ¶
type TaskChangeBeforeEventTask struct {
Change TaskChangeBeforeEventTaskChange
Description Optional[string]
ID string
Operation TaskChangeBeforeEventTaskOperation
Prior Optional[TaskChangeBeforeEventTaskPrior]
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeEventTask is a generated nested model.
func (TaskChangeBeforeEventTask) MarshalJSON ¶
func (value TaskChangeBeforeEventTask) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeEventTask) UnmarshalJSON ¶
func (value *TaskChangeBeforeEventTask) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeEventTaskChange ¶
type TaskChangeBeforeEventTaskChange struct {
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeEventTaskChange is a generated nested model.
func (TaskChangeBeforeEventTaskChange) MarshalJSON ¶
func (value TaskChangeBeforeEventTaskChange) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeEventTaskChange) UnmarshalJSON ¶
func (value *TaskChangeBeforeEventTaskChange) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeEventTaskOperation ¶
type TaskChangeBeforeEventTaskOperation string
TaskChangeBeforeEventTaskOperation is a generated schema value.
const TaskChangeBeforeEventTaskOperationCreate TaskChangeBeforeEventTaskOperation = "create"
const TaskChangeBeforeEventTaskOperationRemove TaskChangeBeforeEventTaskOperation = "remove"
const TaskChangeBeforeEventTaskOperationUpdate TaskChangeBeforeEventTaskOperation = "update"
func (*TaskChangeBeforeEventTaskOperation) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeBeforeEventTaskOperation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeEventTaskPrior ¶
type TaskChangeBeforeEventTaskPrior struct {
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeEventTaskPrior is a generated nested model.
func (TaskChangeBeforeEventTaskPrior) MarshalJSON ¶
func (value TaskChangeBeforeEventTaskPrior) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeEventTaskPrior) UnmarshalJSON ¶
func (value *TaskChangeBeforeEventTaskPrior) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeEventTurn ¶
type TaskChangeBeforeEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TaskChangeBeforeEventTurn is a generated nested model.
func (TaskChangeBeforeEventTurn) MarshalJSON ¶
func (value TaskChangeBeforeEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskChangeBeforeEventTurn) UnmarshalJSON ¶
func (value *TaskChangeBeforeEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskChangeBeforeEventType ¶
type TaskChangeBeforeEventType string
TaskChangeBeforeEventType is a generated schema value.
const TaskChangeBeforeEventTypeTaskChangeBefore TaskChangeBeforeEventType = "task.change.before"
func (*TaskChangeBeforeEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskChangeBeforeEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEvent ¶
type TaskWorkspaceEvent struct {
TaskWorkspaceEventTaskChangeBefore Optional[*TaskWorkspaceEventTaskChangeBefore]
TaskWorkspaceEventTaskChangeAfter Optional[*TaskWorkspaceEventTaskChangeAfter]
TaskWorkspaceEventWorkspaceChangeBefore Optional[*TaskWorkspaceEventWorkspaceChangeBefore]
TaskWorkspaceEventWorkspaceChangeAfter Optional[*TaskWorkspaceEventWorkspaceChangeAfter]
TaskWorkspaceEventFileChanged Optional[*TaskWorkspaceEventFileChanged]
Unknown json.RawMessage
}
TaskWorkspaceEvent is generated from schema/draft/task-workspace-event.schema.json#.
func (TaskWorkspaceEvent) MarshalJSON ¶
func (value TaskWorkspaceEvent) MarshalJSON() ([]byte, error)
func (*TaskWorkspaceEvent) UnmarshalJSON ¶
func (value *TaskWorkspaceEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventFileChanged ¶
type TaskWorkspaceEventFileChanged struct {
Changes []TaskWorkspaceEventFileChangedChangesItem
Extensions Optional[*Extensions]
Gaps Optional[[]TaskWorkspaceEventFileChangedGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[TaskWorkspaceEventFileChangedTurn]
Type TaskWorkspaceEventFileChangedType
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventFileChanged is generated from schema/draft/task-workspace-event.schema.json#/$defs/file.changed.
func (TaskWorkspaceEventFileChanged) MarshalJSON ¶
func (value TaskWorkspaceEventFileChanged) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventFileChanged) UnmarshalJSON ¶
func (value *TaskWorkspaceEventFileChanged) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventFileChangedChangesItem ¶
type TaskWorkspaceEventFileChangedChangesItem struct {
After Optional[*ContentItem]
AgentCaused bool
Before Optional[*ContentItem]
Operation TaskWorkspaceEventFileChangedChangesItemOperation
Path string
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventFileChangedChangesItem is a generated nested model.
func (TaskWorkspaceEventFileChangedChangesItem) MarshalJSON ¶
func (value TaskWorkspaceEventFileChangedChangesItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventFileChangedChangesItem) UnmarshalJSON ¶
func (value *TaskWorkspaceEventFileChangedChangesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventFileChangedChangesItemOperation ¶
type TaskWorkspaceEventFileChangedChangesItemOperation string
TaskWorkspaceEventFileChangedChangesItemOperation is a generated schema value.
const TaskWorkspaceEventFileChangedChangesItemOperationCreate TaskWorkspaceEventFileChangedChangesItemOperation = "create"
const TaskWorkspaceEventFileChangedChangesItemOperationRemove TaskWorkspaceEventFileChangedChangesItemOperation = "remove"
const TaskWorkspaceEventFileChangedChangesItemOperationUpdate TaskWorkspaceEventFileChangedChangesItemOperation = "update"
func (*TaskWorkspaceEventFileChangedChangesItemOperation) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskWorkspaceEventFileChangedChangesItemOperation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventFileChangedGapsItem ¶
type TaskWorkspaceEventFileChangedGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventFileChangedGapsItem is a generated nested model.
func (TaskWorkspaceEventFileChangedGapsItem) MarshalJSON ¶
func (value TaskWorkspaceEventFileChangedGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventFileChangedGapsItem) UnmarshalJSON ¶
func (value *TaskWorkspaceEventFileChangedGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventFileChangedTurn ¶
type TaskWorkspaceEventFileChangedTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventFileChangedTurn is a generated nested model.
func (TaskWorkspaceEventFileChangedTurn) MarshalJSON ¶
func (value TaskWorkspaceEventFileChangedTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventFileChangedTurn) UnmarshalJSON ¶
func (value *TaskWorkspaceEventFileChangedTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventFileChangedType ¶
type TaskWorkspaceEventFileChangedType string
TaskWorkspaceEventFileChangedType is a generated schema value.
const TaskWorkspaceEventFileChangedTypeFileChanged TaskWorkspaceEventFileChangedType = "file.changed"
func (*TaskWorkspaceEventFileChangedType) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskWorkspaceEventFileChangedType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventTaskChangeAfter ¶
type TaskWorkspaceEventTaskChangeAfter struct {
Extensions Optional[*Extensions]
Gaps Optional[[]TaskWorkspaceEventTaskChangeAfterGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Task TaskWorkspaceEventTaskChangeAfterTask
Time string
Turn Optional[TaskWorkspaceEventTaskChangeAfterTurn]
Type TaskWorkspaceEventTaskChangeAfterType
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventTaskChangeAfter is generated from schema/draft/task-workspace-event.schema.json#/$defs/task.change.after.
func (TaskWorkspaceEventTaskChangeAfter) MarshalJSON ¶
func (value TaskWorkspaceEventTaskChangeAfter) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventTaskChangeAfter) UnmarshalJSON ¶
func (value *TaskWorkspaceEventTaskChangeAfter) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventTaskChangeAfterGapsItem ¶
type TaskWorkspaceEventTaskChangeAfterGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventTaskChangeAfterGapsItem is a generated nested model.
func (TaskWorkspaceEventTaskChangeAfterGapsItem) MarshalJSON ¶
func (value TaskWorkspaceEventTaskChangeAfterGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventTaskChangeAfterGapsItem) UnmarshalJSON ¶
func (value *TaskWorkspaceEventTaskChangeAfterGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventTaskChangeAfterTask ¶
type TaskWorkspaceEventTaskChangeAfterTask struct {
Change TaskWorkspaceEventTaskChangeAfterTaskChange
Description Optional[string]
ID string
Operation TaskWorkspaceEventTaskChangeAfterTaskOperation
Prior Optional[TaskWorkspaceEventTaskChangeAfterTaskPrior]
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventTaskChangeAfterTask is a generated nested model.
func (TaskWorkspaceEventTaskChangeAfterTask) MarshalJSON ¶
func (value TaskWorkspaceEventTaskChangeAfterTask) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventTaskChangeAfterTask) UnmarshalJSON ¶
func (value *TaskWorkspaceEventTaskChangeAfterTask) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventTaskChangeAfterTaskChange ¶
type TaskWorkspaceEventTaskChangeAfterTaskChange struct {
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventTaskChangeAfterTaskChange is a generated nested model.
func (TaskWorkspaceEventTaskChangeAfterTaskChange) MarshalJSON ¶
func (value TaskWorkspaceEventTaskChangeAfterTaskChange) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventTaskChangeAfterTaskChange) UnmarshalJSON ¶
func (value *TaskWorkspaceEventTaskChangeAfterTaskChange) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventTaskChangeAfterTaskOperation ¶
type TaskWorkspaceEventTaskChangeAfterTaskOperation string
TaskWorkspaceEventTaskChangeAfterTaskOperation is a generated schema value.
const TaskWorkspaceEventTaskChangeAfterTaskOperationCreate TaskWorkspaceEventTaskChangeAfterTaskOperation = "create"
const TaskWorkspaceEventTaskChangeAfterTaskOperationRemove TaskWorkspaceEventTaskChangeAfterTaskOperation = "remove"
const TaskWorkspaceEventTaskChangeAfterTaskOperationUpdate TaskWorkspaceEventTaskChangeAfterTaskOperation = "update"
func (*TaskWorkspaceEventTaskChangeAfterTaskOperation) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskWorkspaceEventTaskChangeAfterTaskOperation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventTaskChangeAfterTaskPrior ¶
type TaskWorkspaceEventTaskChangeAfterTaskPrior struct {
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventTaskChangeAfterTaskPrior is a generated nested model.
func (TaskWorkspaceEventTaskChangeAfterTaskPrior) MarshalJSON ¶
func (value TaskWorkspaceEventTaskChangeAfterTaskPrior) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventTaskChangeAfterTaskPrior) UnmarshalJSON ¶
func (value *TaskWorkspaceEventTaskChangeAfterTaskPrior) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventTaskChangeAfterTurn ¶
type TaskWorkspaceEventTaskChangeAfterTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventTaskChangeAfterTurn is a generated nested model.
func (TaskWorkspaceEventTaskChangeAfterTurn) MarshalJSON ¶
func (value TaskWorkspaceEventTaskChangeAfterTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventTaskChangeAfterTurn) UnmarshalJSON ¶
func (value *TaskWorkspaceEventTaskChangeAfterTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventTaskChangeAfterType ¶
type TaskWorkspaceEventTaskChangeAfterType string
TaskWorkspaceEventTaskChangeAfterType is a generated schema value.
const TaskWorkspaceEventTaskChangeAfterTypeTaskChangeAfter TaskWorkspaceEventTaskChangeAfterType = "task.change.after"
func (*TaskWorkspaceEventTaskChangeAfterType) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskWorkspaceEventTaskChangeAfterType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventTaskChangeBefore ¶
type TaskWorkspaceEventTaskChangeBefore struct {
Extensions Optional[*Extensions]
Gaps Optional[[]TaskWorkspaceEventTaskChangeBeforeGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Task TaskWorkspaceEventTaskChangeBeforeTask
Time string
Turn Optional[TaskWorkspaceEventTaskChangeBeforeTurn]
Type TaskWorkspaceEventTaskChangeBeforeType
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventTaskChangeBefore is generated from schema/draft/task-workspace-event.schema.json#/$defs/task.change.before.
func (TaskWorkspaceEventTaskChangeBefore) MarshalJSON ¶
func (value TaskWorkspaceEventTaskChangeBefore) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventTaskChangeBefore) UnmarshalJSON ¶
func (value *TaskWorkspaceEventTaskChangeBefore) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventTaskChangeBeforeGapsItem ¶
type TaskWorkspaceEventTaskChangeBeforeGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventTaskChangeBeforeGapsItem is a generated nested model.
func (TaskWorkspaceEventTaskChangeBeforeGapsItem) MarshalJSON ¶
func (value TaskWorkspaceEventTaskChangeBeforeGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventTaskChangeBeforeGapsItem) UnmarshalJSON ¶
func (value *TaskWorkspaceEventTaskChangeBeforeGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventTaskChangeBeforeTask ¶
type TaskWorkspaceEventTaskChangeBeforeTask struct {
Change TaskWorkspaceEventTaskChangeBeforeTaskChange
Description Optional[string]
ID string
Operation TaskWorkspaceEventTaskChangeBeforeTaskOperation
Prior Optional[TaskWorkspaceEventTaskChangeBeforeTaskPrior]
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventTaskChangeBeforeTask is a generated nested model.
func (TaskWorkspaceEventTaskChangeBeforeTask) MarshalJSON ¶
func (value TaskWorkspaceEventTaskChangeBeforeTask) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventTaskChangeBeforeTask) UnmarshalJSON ¶
func (value *TaskWorkspaceEventTaskChangeBeforeTask) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventTaskChangeBeforeTaskChange ¶
type TaskWorkspaceEventTaskChangeBeforeTaskChange struct {
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventTaskChangeBeforeTaskChange is a generated nested model.
func (TaskWorkspaceEventTaskChangeBeforeTaskChange) MarshalJSON ¶
func (value TaskWorkspaceEventTaskChangeBeforeTaskChange) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventTaskChangeBeforeTaskChange) UnmarshalJSON ¶
func (value *TaskWorkspaceEventTaskChangeBeforeTaskChange) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventTaskChangeBeforeTaskOperation ¶
type TaskWorkspaceEventTaskChangeBeforeTaskOperation string
TaskWorkspaceEventTaskChangeBeforeTaskOperation is a generated schema value.
const TaskWorkspaceEventTaskChangeBeforeTaskOperationCreate TaskWorkspaceEventTaskChangeBeforeTaskOperation = "create"
const TaskWorkspaceEventTaskChangeBeforeTaskOperationRemove TaskWorkspaceEventTaskChangeBeforeTaskOperation = "remove"
const TaskWorkspaceEventTaskChangeBeforeTaskOperationUpdate TaskWorkspaceEventTaskChangeBeforeTaskOperation = "update"
func (*TaskWorkspaceEventTaskChangeBeforeTaskOperation) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskWorkspaceEventTaskChangeBeforeTaskOperation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventTaskChangeBeforeTaskPrior ¶
type TaskWorkspaceEventTaskChangeBeforeTaskPrior struct {
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventTaskChangeBeforeTaskPrior is a generated nested model.
func (TaskWorkspaceEventTaskChangeBeforeTaskPrior) MarshalJSON ¶
func (value TaskWorkspaceEventTaskChangeBeforeTaskPrior) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventTaskChangeBeforeTaskPrior) UnmarshalJSON ¶
func (value *TaskWorkspaceEventTaskChangeBeforeTaskPrior) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventTaskChangeBeforeTurn ¶
type TaskWorkspaceEventTaskChangeBeforeTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventTaskChangeBeforeTurn is a generated nested model.
func (TaskWorkspaceEventTaskChangeBeforeTurn) MarshalJSON ¶
func (value TaskWorkspaceEventTaskChangeBeforeTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventTaskChangeBeforeTurn) UnmarshalJSON ¶
func (value *TaskWorkspaceEventTaskChangeBeforeTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventTaskChangeBeforeType ¶
type TaskWorkspaceEventTaskChangeBeforeType string
TaskWorkspaceEventTaskChangeBeforeType is a generated schema value.
const TaskWorkspaceEventTaskChangeBeforeTypeTaskChangeBefore TaskWorkspaceEventTaskChangeBeforeType = "task.change.before"
func (*TaskWorkspaceEventTaskChangeBeforeType) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskWorkspaceEventTaskChangeBeforeType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventWorkspaceChangeAfter ¶
type TaskWorkspaceEventWorkspaceChangeAfter struct {
Extensions Optional[*Extensions]
Gaps Optional[[]TaskWorkspaceEventWorkspaceChangeAfterGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[TaskWorkspaceEventWorkspaceChangeAfterTurn]
Type TaskWorkspaceEventWorkspaceChangeAfterType
Workspace TaskWorkspaceEventWorkspaceChangeAfterWorkspace
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventWorkspaceChangeAfter is generated from schema/draft/task-workspace-event.schema.json#/$defs/workspace.change.after.
func (TaskWorkspaceEventWorkspaceChangeAfter) MarshalJSON ¶
func (value TaskWorkspaceEventWorkspaceChangeAfter) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventWorkspaceChangeAfter) UnmarshalJSON ¶
func (value *TaskWorkspaceEventWorkspaceChangeAfter) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventWorkspaceChangeAfterGapsItem ¶
type TaskWorkspaceEventWorkspaceChangeAfterGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventWorkspaceChangeAfterGapsItem is a generated nested model.
func (TaskWorkspaceEventWorkspaceChangeAfterGapsItem) MarshalJSON ¶
func (value TaskWorkspaceEventWorkspaceChangeAfterGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventWorkspaceChangeAfterGapsItem) UnmarshalJSON ¶
func (value *TaskWorkspaceEventWorkspaceChangeAfterGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventWorkspaceChangeAfterTurn ¶
type TaskWorkspaceEventWorkspaceChangeAfterTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventWorkspaceChangeAfterTurn is a generated nested model.
func (TaskWorkspaceEventWorkspaceChangeAfterTurn) MarshalJSON ¶
func (value TaskWorkspaceEventWorkspaceChangeAfterTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventWorkspaceChangeAfterTurn) UnmarshalJSON ¶
func (value *TaskWorkspaceEventWorkspaceChangeAfterTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventWorkspaceChangeAfterType ¶
type TaskWorkspaceEventWorkspaceChangeAfterType string
TaskWorkspaceEventWorkspaceChangeAfterType is a generated schema value.
const TaskWorkspaceEventWorkspaceChangeAfterTypeWorkspaceChangeAfter TaskWorkspaceEventWorkspaceChangeAfterType = "workspace.change.after"
func (*TaskWorkspaceEventWorkspaceChangeAfterType) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskWorkspaceEventWorkspaceChangeAfterType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventWorkspaceChangeAfterWorkspace ¶
type TaskWorkspaceEventWorkspaceChangeAfterWorkspace struct {
Change TaskWorkspaceEventWorkspaceChangeAfterWorkspaceChange
Kind TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind
Prior Optional[TaskWorkspaceEventWorkspaceChangeAfterWorkspacePrior]
Reason Optional[string]
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventWorkspaceChangeAfterWorkspace is a generated nested model.
func (TaskWorkspaceEventWorkspaceChangeAfterWorkspace) MarshalJSON ¶
func (value TaskWorkspaceEventWorkspaceChangeAfterWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventWorkspaceChangeAfterWorkspace) UnmarshalJSON ¶
func (value *TaskWorkspaceEventWorkspaceChangeAfterWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventWorkspaceChangeAfterWorkspaceChange ¶
type TaskWorkspaceEventWorkspaceChangeAfterWorkspaceChange struct {
CWD Optional[string]
WorkspaceRoots Optional[[]string]
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventWorkspaceChangeAfterWorkspaceChange is a generated nested model.
func (TaskWorkspaceEventWorkspaceChangeAfterWorkspaceChange) MarshalJSON ¶
func (value TaskWorkspaceEventWorkspaceChangeAfterWorkspaceChange) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventWorkspaceChangeAfterWorkspaceChange) UnmarshalJSON ¶
func (value *TaskWorkspaceEventWorkspaceChangeAfterWorkspaceChange) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind ¶
type TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind string
TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind is a generated schema value.
const TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKindCWD TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind = "cwd"
const TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKindRoots TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind = "roots"
const TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKindSwitch TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind = "switch"
func (*TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventWorkspaceChangeAfterWorkspacePrior ¶
type TaskWorkspaceEventWorkspaceChangeAfterWorkspacePrior struct {
CWD Optional[string]
WorkspaceRoots Optional[[]string]
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventWorkspaceChangeAfterWorkspacePrior is a generated nested model.
func (TaskWorkspaceEventWorkspaceChangeAfterWorkspacePrior) MarshalJSON ¶
func (value TaskWorkspaceEventWorkspaceChangeAfterWorkspacePrior) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventWorkspaceChangeAfterWorkspacePrior) UnmarshalJSON ¶
func (value *TaskWorkspaceEventWorkspaceChangeAfterWorkspacePrior) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventWorkspaceChangeBefore ¶
type TaskWorkspaceEventWorkspaceChangeBefore struct {
Extensions Optional[*Extensions]
Gaps Optional[[]TaskWorkspaceEventWorkspaceChangeBeforeGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[TaskWorkspaceEventWorkspaceChangeBeforeTurn]
Type TaskWorkspaceEventWorkspaceChangeBeforeType
Workspace TaskWorkspaceEventWorkspaceChangeBeforeWorkspace
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventWorkspaceChangeBefore is generated from schema/draft/task-workspace-event.schema.json#/$defs/workspace.change.before.
func (TaskWorkspaceEventWorkspaceChangeBefore) MarshalJSON ¶
func (value TaskWorkspaceEventWorkspaceChangeBefore) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventWorkspaceChangeBefore) UnmarshalJSON ¶
func (value *TaskWorkspaceEventWorkspaceChangeBefore) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventWorkspaceChangeBeforeGapsItem ¶
type TaskWorkspaceEventWorkspaceChangeBeforeGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventWorkspaceChangeBeforeGapsItem is a generated nested model.
func (TaskWorkspaceEventWorkspaceChangeBeforeGapsItem) MarshalJSON ¶
func (value TaskWorkspaceEventWorkspaceChangeBeforeGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventWorkspaceChangeBeforeGapsItem) UnmarshalJSON ¶
func (value *TaskWorkspaceEventWorkspaceChangeBeforeGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventWorkspaceChangeBeforeTurn ¶
type TaskWorkspaceEventWorkspaceChangeBeforeTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventWorkspaceChangeBeforeTurn is a generated nested model.
func (TaskWorkspaceEventWorkspaceChangeBeforeTurn) MarshalJSON ¶
func (value TaskWorkspaceEventWorkspaceChangeBeforeTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventWorkspaceChangeBeforeTurn) UnmarshalJSON ¶
func (value *TaskWorkspaceEventWorkspaceChangeBeforeTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventWorkspaceChangeBeforeType ¶
type TaskWorkspaceEventWorkspaceChangeBeforeType string
TaskWorkspaceEventWorkspaceChangeBeforeType is a generated schema value.
const TaskWorkspaceEventWorkspaceChangeBeforeTypeWorkspaceChangeBefore TaskWorkspaceEventWorkspaceChangeBeforeType = "workspace.change.before"
func (*TaskWorkspaceEventWorkspaceChangeBeforeType) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskWorkspaceEventWorkspaceChangeBeforeType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventWorkspaceChangeBeforeWorkspace ¶
type TaskWorkspaceEventWorkspaceChangeBeforeWorkspace struct {
Change TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceChange
Kind TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind
Prior Optional[TaskWorkspaceEventWorkspaceChangeBeforeWorkspacePrior]
Reason Optional[string]
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventWorkspaceChangeBeforeWorkspace is a generated nested model.
func (TaskWorkspaceEventWorkspaceChangeBeforeWorkspace) MarshalJSON ¶
func (value TaskWorkspaceEventWorkspaceChangeBeforeWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventWorkspaceChangeBeforeWorkspace) UnmarshalJSON ¶
func (value *TaskWorkspaceEventWorkspaceChangeBeforeWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceChange ¶
type TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceChange struct {
CWD Optional[string]
WorkspaceRoots Optional[[]string]
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceChange is a generated nested model.
func (TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceChange) MarshalJSON ¶
func (value TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceChange) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceChange) UnmarshalJSON ¶
func (value *TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceChange) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind ¶
type TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind string
TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind is a generated schema value.
const TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKindCWD TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind = "cwd"
const TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKindRoots TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind = "roots"
const TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKindSwitch TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind = "switch"
func (*TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind) UnmarshalJSON ¶ added in v0.1.1
func (value *TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TaskWorkspaceEventWorkspaceChangeBeforeWorkspacePrior ¶
type TaskWorkspaceEventWorkspaceChangeBeforeWorkspacePrior struct {
CWD Optional[string]
WorkspaceRoots Optional[[]string]
AdditionalProperties map[string]json.RawMessage
}
TaskWorkspaceEventWorkspaceChangeBeforeWorkspacePrior is a generated nested model.
func (TaskWorkspaceEventWorkspaceChangeBeforeWorkspacePrior) MarshalJSON ¶
func (value TaskWorkspaceEventWorkspaceChangeBeforeWorkspacePrior) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TaskWorkspaceEventWorkspaceChangeBeforeWorkspacePrior) UnmarshalJSON ¶
func (value *TaskWorkspaceEventWorkspaceChangeBeforeWorkspacePrior) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextBodyPart ¶ added in v0.3.0
type TextBodyPart struct {
Category Optional[string]
ID string
Kind TextBodyPartKind
MediaType TextBodyPartMediaType
Selection TextBodyPartSelection
Synthesized Optional[bool]
Text string
AdditionalProperties map[string]json.RawMessage
}
TextBodyPart is generated from schema/draft/content-item.schema.json#/$defs/textBodyPart.
func (TextBodyPart) MarshalJSON ¶ added in v0.3.0
func (value TextBodyPart) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TextBodyPart) UnmarshalJSON ¶ added in v0.3.0
func (value *TextBodyPart) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextBodyPartKind ¶ added in v0.3.0
type TextBodyPartKind string
TextBodyPartKind is a generated schema value.
const TextBodyPartKindText TextBodyPartKind = "text"
func (*TextBodyPartKind) UnmarshalJSON ¶ added in v0.3.0
func (value *TextBodyPartKind) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextBodyPartMediaType ¶ added in v0.3.0
type TextBodyPartMediaType string
TextBodyPartMediaType is a generated schema value.
const TextBodyPartMediaTypeTextPlain TextBodyPartMediaType = "text/plain"
func (*TextBodyPartMediaType) UnmarshalJSON ¶ added in v0.3.0
func (value *TextBodyPartMediaType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextBodyPartSelection ¶ added in v0.3.0
type TextBodyPartSelection string
TextBodyPartSelection is a generated schema value.
const TextBodyPartSelectionBody TextBodyPartSelection = "body"
func (*TextBodyPartSelection) UnmarshalJSON ¶ added in v0.3.0
func (value *TextBodyPartSelection) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextGapPart ¶ added in v0.3.0
type TextGapPart struct {
Category Optional[string]
Gap TextGapPartGap
ID string
Kind TextGapPartKind
MediaType TextGapPartMediaType
Selection TextGapPartSelection
Sha256 Optional[string]
Size Optional[json.Number]
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TextGapPart is generated from schema/draft/content-item.schema.json#/$defs/textGapPart.
func (TextGapPart) MarshalJSON ¶ added in v0.3.0
func (value TextGapPart) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TextGapPart) UnmarshalJSON ¶ added in v0.3.0
func (value *TextGapPart) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextGapPartGap ¶ added in v0.3.0
type TextGapPartGap struct {
Path Optional[string]
Reason string
AdditionalProperties map[string]json.RawMessage
}
TextGapPartGap is a generated nested model.
func (TextGapPartGap) MarshalJSON ¶ added in v0.3.0
func (value TextGapPartGap) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TextGapPartGap) UnmarshalJSON ¶ added in v0.3.0
func (value *TextGapPartGap) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextGapPartKind ¶ added in v0.3.0
type TextGapPartKind string
TextGapPartKind is a generated schema value.
const TextGapPartKindText TextGapPartKind = "text"
func (*TextGapPartKind) UnmarshalJSON ¶ added in v0.3.0
func (value *TextGapPartKind) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextGapPartMediaType ¶ added in v0.3.0
type TextGapPartMediaType string
TextGapPartMediaType is a generated schema value.
const TextGapPartMediaTypeTextPlain TextGapPartMediaType = "text/plain"
func (*TextGapPartMediaType) UnmarshalJSON ¶ added in v0.3.0
func (value *TextGapPartMediaType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextGapPartSelection ¶ added in v0.3.0
type TextGapPartSelection string
TextGapPartSelection is a generated schema value.
const TextGapPartSelectionBody TextGapPartSelection = "body"
func (*TextGapPartSelection) UnmarshalJSON ¶ added in v0.3.0
func (value *TextGapPartSelection) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextMetadataPart ¶ added in v0.3.0
type TextMetadataPart struct {
Category Optional[string]
ID string
Kind TextMetadataPartKind
MediaType TextMetadataPartMediaType
Selection TextMetadataPartSelection
Sha256 Optional[string]
Size Optional[json.Number]
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TextMetadataPart is generated from schema/draft/content-item.schema.json#/$defs/textMetadataPart.
func (TextMetadataPart) MarshalJSON ¶ added in v0.3.0
func (value TextMetadataPart) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TextMetadataPart) UnmarshalJSON ¶ added in v0.3.0
func (value *TextMetadataPart) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextMetadataPartKind ¶ added in v0.3.0
type TextMetadataPartKind string
TextMetadataPartKind is a generated schema value.
const TextMetadataPartKindText TextMetadataPartKind = "text"
func (*TextMetadataPartKind) UnmarshalJSON ¶ added in v0.3.0
func (value *TextMetadataPartKind) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextMetadataPartMediaType ¶ added in v0.3.0
type TextMetadataPartMediaType string
TextMetadataPartMediaType is a generated schema value.
const TextMetadataPartMediaTypeTextPlain TextMetadataPartMediaType = "text/plain"
func (*TextMetadataPartMediaType) UnmarshalJSON ¶ added in v0.3.0
func (value *TextMetadataPartMediaType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextMetadataPartSelection ¶ added in v0.3.0
type TextMetadataPartSelection string
TextMetadataPartSelection is a generated schema value.
const TextMetadataPartSelectionMetadata TextMetadataPartSelection = "metadata"
func (*TextMetadataPartSelection) UnmarshalJSON ¶ added in v0.3.0
func (value *TextMetadataPartSelection) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextOmittedPart ¶ added in v0.3.0
type TextOmittedPart struct {
Category Optional[string]
ID string
Kind TextOmittedPartKind
MediaType TextOmittedPartMediaType
Selection TextOmittedPartSelection
Sha256 Optional[string]
Size Optional[json.Number]
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TextOmittedPart is generated from schema/draft/content-item.schema.json#/$defs/textOmittedPart.
func (TextOmittedPart) MarshalJSON ¶ added in v0.3.0
func (value TextOmittedPart) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TextOmittedPart) UnmarshalJSON ¶ added in v0.3.0
func (value *TextOmittedPart) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextOmittedPartKind ¶ added in v0.3.0
type TextOmittedPartKind string
TextOmittedPartKind is a generated schema value.
const TextOmittedPartKindText TextOmittedPartKind = "text"
func (*TextOmittedPartKind) UnmarshalJSON ¶ added in v0.3.0
func (value *TextOmittedPartKind) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextOmittedPartMediaType ¶ added in v0.3.0
type TextOmittedPartMediaType string
TextOmittedPartMediaType is a generated schema value.
const TextOmittedPartMediaTypeTextPlain TextOmittedPartMediaType = "text/plain"
func (*TextOmittedPartMediaType) UnmarshalJSON ¶ added in v0.3.0
func (value *TextOmittedPartMediaType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextOmittedPartSelection ¶ added in v0.3.0
type TextOmittedPartSelection string
TextOmittedPartSelection is a generated schema value.
const TextOmittedPartSelectionOmit TextOmittedPartSelection = "omit"
func (*TextOmittedPartSelection) UnmarshalJSON ¶ added in v0.3.0
func (value *TextOmittedPartSelection) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextPart ¶ added in v0.3.0
type TextPart struct {
TextBodyPart Optional[*TextBodyPart]
TextGapPart Optional[*TextGapPart]
TextMetadataPart Optional[*TextMetadataPart]
TextOmittedPart Optional[*TextOmittedPart]
Unknown json.RawMessage
}
TextPart is generated from schema/draft/content-item.schema.json#/$defs/textPart.
func (TextPart) MarshalJSON ¶ added in v0.3.0
func (*TextPart) UnmarshalJSON ¶ added in v0.3.0
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TextParts ¶ added in v0.3.0
type TextParts []*TextPart
TextParts is a structurally validated schema value.
func (TextParts) MarshalJSON ¶ added in v0.3.0
func (*TextParts) UnmarshalJSON ¶ added in v0.3.0
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilities ¶
type ToolAfterCapabilities struct {
Effects ToolAfterCapabilitiesEffects
Elicitation Optional[ToolAfterCapabilitiesElicitation]
Flow Optional[ToolAfterCapabilitiesFlow]
Inject Optional[ToolAfterCapabilitiesInject]
Modify Optional[ToolAfterCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/tool.after.
func (ToolAfterCapabilities) MarshalJSON ¶
func (value ToolAfterCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilities) UnmarshalJSON ¶
func (value *ToolAfterCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesEffects ¶ added in v0.1.1
type ToolAfterCapabilitiesEffects []ToolAfterCapabilitiesEffectsValueItem
ToolAfterCapabilitiesEffects is a structurally validated schema value.
func (ToolAfterCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value ToolAfterCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*ToolAfterCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolAfterCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesEffectsValueItem ¶ added in v0.1.1
type ToolAfterCapabilitiesEffectsValueItem string
ToolAfterCapabilitiesEffectsValueItem is a generated schema value.
const ToolAfterCapabilitiesEffectsValueItemFlow ToolAfterCapabilitiesEffectsValueItem = "flow"
const ToolAfterCapabilitiesEffectsValueItemInject ToolAfterCapabilitiesEffectsValueItem = "inject"
const ToolAfterCapabilitiesEffectsValueItemMessage ToolAfterCapabilitiesEffectsValueItem = "message"
const ToolAfterCapabilitiesEffectsValueItemModify ToolAfterCapabilitiesEffectsValueItem = "modify"
func (*ToolAfterCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolAfterCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesElicitation ¶
type ToolAfterCapabilitiesElicitation struct {
Form Optional[ToolAfterCapabilitiesElicitationForm]
URL Optional[ToolAfterCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilitiesElicitation is a generated nested model.
func (ToolAfterCapabilitiesElicitation) MarshalJSON ¶
func (value ToolAfterCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilitiesElicitation) UnmarshalJSON ¶
func (value *ToolAfterCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesElicitationForm ¶
type ToolAfterCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilitiesElicitationForm is a generated nested model.
func (ToolAfterCapabilitiesElicitationForm) MarshalJSON ¶
func (value ToolAfterCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *ToolAfterCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesElicitationURL ¶
type ToolAfterCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilitiesElicitationURL is a generated nested model.
func (ToolAfterCapabilitiesElicitationURL) MarshalJSON ¶
func (value ToolAfterCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *ToolAfterCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesFlow ¶
type ToolAfterCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations []ToolAfterCapabilitiesFlowOperationsItem
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilitiesFlow is a generated nested model.
func (ToolAfterCapabilitiesFlow) MarshalJSON ¶
func (value ToolAfterCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilitiesFlow) UnmarshalJSON ¶
func (value *ToolAfterCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesFlowOperationsItem ¶
type ToolAfterCapabilitiesFlowOperationsItem string
ToolAfterCapabilitiesFlowOperationsItem is a generated schema value.
const ToolAfterCapabilitiesFlowOperationsItemContinue ToolAfterCapabilitiesFlowOperationsItem = "continue"
const ToolAfterCapabilitiesFlowOperationsItemStop ToolAfterCapabilitiesFlowOperationsItem = "stop"
func (*ToolAfterCapabilitiesFlowOperationsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolAfterCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesInject ¶
type ToolAfterCapabilitiesInject struct {
Context ToolAfterCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilitiesInject is a generated nested model.
func (ToolAfterCapabilitiesInject) MarshalJSON ¶
func (value ToolAfterCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilitiesInject) UnmarshalJSON ¶
func (value *ToolAfterCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesInjectContext ¶
type ToolAfterCapabilitiesInjectContext struct {
Append ToolAfterCapabilitiesInjectContextAppend
DeliverAt []ToolAfterCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilitiesInjectContext is a generated nested model.
func (ToolAfterCapabilitiesInjectContext) MarshalJSON ¶
func (value ToolAfterCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *ToolAfterCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesInjectContextAppend ¶
type ToolAfterCapabilitiesInjectContextAppend bool
ToolAfterCapabilitiesInjectContextAppend is a generated schema value.
const ToolAfterCapabilitiesInjectContextAppendTrue ToolAfterCapabilitiesInjectContextAppend = true
func (*ToolAfterCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolAfterCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesInjectContextDeliverAtItem ¶
type ToolAfterCapabilitiesInjectContextDeliverAtItem string
ToolAfterCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const ToolAfterCapabilitiesInjectContextDeliverAtItemNextTurn ToolAfterCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ToolAfterCapabilitiesInjectContextDeliverAtItemNow ToolAfterCapabilitiesInjectContextDeliverAtItem = "now"
func (*ToolAfterCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolAfterCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesModify ¶
type ToolAfterCapabilitiesModify struct {
Content Optional[ToolAfterCapabilitiesModifyContent]
Input Optional[ToolAfterCapabilitiesModifyInput]
Instructions Optional[ToolAfterCapabilitiesModifyInstructions]
Output Optional[ToolAfterCapabilitiesModifyOutput]
Prompt Optional[ToolAfterCapabilitiesModifyPrompt]
Request Optional[ToolAfterCapabilitiesModifyRequest]
Response Optional[ToolAfterCapabilitiesModifyResponse]
Summary Optional[ToolAfterCapabilitiesModifySummary]
Workspace Optional[ToolAfterCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilitiesModify is a generated nested model.
func (ToolAfterCapabilitiesModify) MarshalJSON ¶
func (value ToolAfterCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilitiesModify) UnmarshalJSON ¶
func (value *ToolAfterCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesModifyContent ¶ added in v0.1.1
type ToolAfterCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilitiesModifyContent is a generated nested model.
func (ToolAfterCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value ToolAfterCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolAfterCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesModifyInput ¶ added in v0.1.1
type ToolAfterCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilitiesModifyInput is a generated nested model.
func (ToolAfterCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value ToolAfterCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolAfterCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesModifyInstructions ¶ added in v0.1.1
type ToolAfterCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilitiesModifyInstructions is a generated nested model.
func (ToolAfterCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value ToolAfterCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolAfterCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesModifyOutput ¶ added in v0.1.1
type ToolAfterCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilitiesModifyOutput is a generated nested model.
func (ToolAfterCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value ToolAfterCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolAfterCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesModifyPrompt ¶ added in v0.1.1
type ToolAfterCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilitiesModifyPrompt is a generated nested model.
func (ToolAfterCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value ToolAfterCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolAfterCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesModifyRequest ¶ added in v0.1.1
type ToolAfterCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilitiesModifyRequest is a generated nested model.
func (ToolAfterCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value ToolAfterCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolAfterCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesModifyResponse ¶ added in v0.1.1
type ToolAfterCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilitiesModifyResponse is a generated nested model.
func (ToolAfterCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value ToolAfterCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolAfterCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesModifySummary ¶ added in v0.1.1
type ToolAfterCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilitiesModifySummary is a generated nested model.
func (ToolAfterCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value ToolAfterCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolAfterCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterCapabilitiesModifyWorkspace ¶ added in v0.1.1
type ToolAfterCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolAfterCapabilitiesModifyWorkspace is a generated nested model.
func (ToolAfterCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value ToolAfterCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolAfterCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterEvent ¶
type ToolAfterEvent struct {
Batch Optional[*ExecutionEventBatch]
Call ToolAfterEventCall
DurationMs Optional[json.Number]
Error Optional[*ExecutionEventError]
Execution *ExecutionEventExecution
Extensions Optional[*Extensions]
FileChanges Optional[[]*ExecutionEventFilechange]
Gaps Optional[[]ToolAfterEventGapsItem]
ID string
Items []*ModelVisibleItem
Native Optional[*NativeEvent]
Outcome ToolAfterEventOutcome
ParentEventId Optional[string]
Path string
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Tool *ExecutionEventTool
Turn Optional[ToolAfterEventTurn]
Type ToolAfterEventType
AdditionalProperties map[string]json.RawMessage
}
ToolAfterEvent is generated from schema/draft/tool-after.schema.json#.
func (ToolAfterEvent) MarshalJSON ¶
func (value ToolAfterEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterEvent) UnmarshalJSON ¶
func (value *ToolAfterEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterEventCall ¶
type ToolAfterEventCall struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ToolAfterEventCall is a generated nested model.
func (ToolAfterEventCall) MarshalJSON ¶
func (value ToolAfterEventCall) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterEventCall) UnmarshalJSON ¶
func (value *ToolAfterEventCall) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterEventGapsItem ¶
type ToolAfterEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ToolAfterEventGapsItem is a generated nested model.
func (ToolAfterEventGapsItem) MarshalJSON ¶
func (value ToolAfterEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterEventGapsItem) UnmarshalJSON ¶
func (value *ToolAfterEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterEventOutcome ¶
type ToolAfterEventOutcome string
ToolAfterEventOutcome is a generated schema value.
const ToolAfterEventOutcomeCancelled ToolAfterEventOutcome = "cancelled"
const ToolAfterEventOutcomeDenied ToolAfterEventOutcome = "denied"
const ToolAfterEventOutcomeError ToolAfterEventOutcome = "error"
const ToolAfterEventOutcomeOk ToolAfterEventOutcome = "ok"
const ToolAfterEventOutcomeTimeout ToolAfterEventOutcome = "timeout"
func (*ToolAfterEventOutcome) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolAfterEventOutcome) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterEventTurn ¶
type ToolAfterEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ToolAfterEventTurn is a generated nested model.
func (ToolAfterEventTurn) MarshalJSON ¶
func (value ToolAfterEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolAfterEventTurn) UnmarshalJSON ¶
func (value *ToolAfterEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolAfterEventType ¶
type ToolAfterEventType string
ToolAfterEventType is a generated schema value.
const ToolAfterEventTypeToolAfter ToolAfterEventType = "tool.after"
func (*ToolAfterEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolAfterEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilities ¶
type ToolBatchAfterCapabilities struct {
Effects ToolBatchAfterCapabilitiesEffects
Elicitation Optional[ToolBatchAfterCapabilitiesElicitation]
Flow Optional[ToolBatchAfterCapabilitiesFlow]
Inject Optional[ToolBatchAfterCapabilitiesInject]
Modify Optional[ToolBatchAfterCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/tool.batch.after.
func (ToolBatchAfterCapabilities) MarshalJSON ¶
func (value ToolBatchAfterCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilities) UnmarshalJSON ¶
func (value *ToolBatchAfterCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesEffects ¶ added in v0.1.1
type ToolBatchAfterCapabilitiesEffects []ToolBatchAfterCapabilitiesEffectsValueItem
ToolBatchAfterCapabilitiesEffects is a structurally validated schema value.
func (ToolBatchAfterCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value ToolBatchAfterCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*ToolBatchAfterCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesEffectsValueItem ¶ added in v0.1.1
type ToolBatchAfterCapabilitiesEffectsValueItem string
ToolBatchAfterCapabilitiesEffectsValueItem is a generated schema value.
const ToolBatchAfterCapabilitiesEffectsValueItemFlow ToolBatchAfterCapabilitiesEffectsValueItem = "flow"
const ToolBatchAfterCapabilitiesEffectsValueItemInject ToolBatchAfterCapabilitiesEffectsValueItem = "inject"
const ToolBatchAfterCapabilitiesEffectsValueItemMessage ToolBatchAfterCapabilitiesEffectsValueItem = "message"
func (*ToolBatchAfterCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesElicitation ¶
type ToolBatchAfterCapabilitiesElicitation struct {
Form Optional[ToolBatchAfterCapabilitiesElicitationForm]
URL Optional[ToolBatchAfterCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilitiesElicitation is a generated nested model.
func (ToolBatchAfterCapabilitiesElicitation) MarshalJSON ¶
func (value ToolBatchAfterCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilitiesElicitation) UnmarshalJSON ¶
func (value *ToolBatchAfterCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesElicitationForm ¶
type ToolBatchAfterCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilitiesElicitationForm is a generated nested model.
func (ToolBatchAfterCapabilitiesElicitationForm) MarshalJSON ¶
func (value ToolBatchAfterCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *ToolBatchAfterCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesElicitationURL ¶
type ToolBatchAfterCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilitiesElicitationURL is a generated nested model.
func (ToolBatchAfterCapabilitiesElicitationURL) MarshalJSON ¶
func (value ToolBatchAfterCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *ToolBatchAfterCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesFlow ¶
type ToolBatchAfterCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations ToolBatchAfterCapabilitiesFlowOperations
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilitiesFlow is a generated nested model.
func (ToolBatchAfterCapabilitiesFlow) MarshalJSON ¶
func (value ToolBatchAfterCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilitiesFlow) UnmarshalJSON ¶
func (value *ToolBatchAfterCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesFlowOperations ¶ added in v0.1.1
type ToolBatchAfterCapabilitiesFlowOperations []ToolBatchAfterCapabilitiesFlowOperationsValueItem
ToolBatchAfterCapabilitiesFlowOperations is a structurally validated schema value.
func (ToolBatchAfterCapabilitiesFlowOperations) MarshalJSON ¶ added in v0.1.1
func (value ToolBatchAfterCapabilitiesFlowOperations) MarshalJSON() ([]byte, error)
func (*ToolBatchAfterCapabilitiesFlowOperations) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterCapabilitiesFlowOperations) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesFlowOperationsValueItem ¶ added in v0.1.1
type ToolBatchAfterCapabilitiesFlowOperationsValueItem string
ToolBatchAfterCapabilitiesFlowOperationsValueItem is a generated schema value.
const ToolBatchAfterCapabilitiesFlowOperationsValueItemContinue ToolBatchAfterCapabilitiesFlowOperationsValueItem = "continue"
const ToolBatchAfterCapabilitiesFlowOperationsValueItemStop ToolBatchAfterCapabilitiesFlowOperationsValueItem = "stop"
func (*ToolBatchAfterCapabilitiesFlowOperationsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterCapabilitiesFlowOperationsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesInject ¶
type ToolBatchAfterCapabilitiesInject struct {
Context ToolBatchAfterCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilitiesInject is a generated nested model.
func (ToolBatchAfterCapabilitiesInject) MarshalJSON ¶
func (value ToolBatchAfterCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilitiesInject) UnmarshalJSON ¶
func (value *ToolBatchAfterCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesInjectContext ¶
type ToolBatchAfterCapabilitiesInjectContext struct {
Append ToolBatchAfterCapabilitiesInjectContextAppend
DeliverAt []ToolBatchAfterCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilitiesInjectContext is a generated nested model.
func (ToolBatchAfterCapabilitiesInjectContext) MarshalJSON ¶
func (value ToolBatchAfterCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *ToolBatchAfterCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesInjectContextAppend ¶
type ToolBatchAfterCapabilitiesInjectContextAppend bool
ToolBatchAfterCapabilitiesInjectContextAppend is a generated schema value.
const ToolBatchAfterCapabilitiesInjectContextAppendTrue ToolBatchAfterCapabilitiesInjectContextAppend = true
func (*ToolBatchAfterCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesInjectContextDeliverAtItem ¶
type ToolBatchAfterCapabilitiesInjectContextDeliverAtItem string
ToolBatchAfterCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const ToolBatchAfterCapabilitiesInjectContextDeliverAtItemNextTurn ToolBatchAfterCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ToolBatchAfterCapabilitiesInjectContextDeliverAtItemNow ToolBatchAfterCapabilitiesInjectContextDeliverAtItem = "now"
func (*ToolBatchAfterCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesModify ¶
type ToolBatchAfterCapabilitiesModify struct {
Content Optional[ToolBatchAfterCapabilitiesModifyContent]
Input Optional[ToolBatchAfterCapabilitiesModifyInput]
Instructions Optional[ToolBatchAfterCapabilitiesModifyInstructions]
Output Optional[ToolBatchAfterCapabilitiesModifyOutput]
Prompt Optional[ToolBatchAfterCapabilitiesModifyPrompt]
Request Optional[ToolBatchAfterCapabilitiesModifyRequest]
Response Optional[ToolBatchAfterCapabilitiesModifyResponse]
Summary Optional[ToolBatchAfterCapabilitiesModifySummary]
Workspace Optional[ToolBatchAfterCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilitiesModify is a generated nested model.
func (ToolBatchAfterCapabilitiesModify) MarshalJSON ¶
func (value ToolBatchAfterCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilitiesModify) UnmarshalJSON ¶
func (value *ToolBatchAfterCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesModifyContent ¶ added in v0.1.1
type ToolBatchAfterCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilitiesModifyContent is a generated nested model.
func (ToolBatchAfterCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value ToolBatchAfterCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesModifyInput ¶ added in v0.1.1
type ToolBatchAfterCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilitiesModifyInput is a generated nested model.
func (ToolBatchAfterCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value ToolBatchAfterCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesModifyInstructions ¶ added in v0.1.1
type ToolBatchAfterCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilitiesModifyInstructions is a generated nested model.
func (ToolBatchAfterCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value ToolBatchAfterCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesModifyOutput ¶ added in v0.1.1
type ToolBatchAfterCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilitiesModifyOutput is a generated nested model.
func (ToolBatchAfterCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value ToolBatchAfterCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesModifyPrompt ¶ added in v0.1.1
type ToolBatchAfterCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilitiesModifyPrompt is a generated nested model.
func (ToolBatchAfterCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value ToolBatchAfterCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesModifyRequest ¶ added in v0.1.1
type ToolBatchAfterCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilitiesModifyRequest is a generated nested model.
func (ToolBatchAfterCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value ToolBatchAfterCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesModifyResponse ¶ added in v0.1.1
type ToolBatchAfterCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilitiesModifyResponse is a generated nested model.
func (ToolBatchAfterCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value ToolBatchAfterCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesModifySummary ¶ added in v0.1.1
type ToolBatchAfterCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilitiesModifySummary is a generated nested model.
func (ToolBatchAfterCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value ToolBatchAfterCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterCapabilitiesModifyWorkspace ¶ added in v0.1.1
type ToolBatchAfterCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterCapabilitiesModifyWorkspace is a generated nested model.
func (ToolBatchAfterCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value ToolBatchAfterCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterEvent ¶
type ToolBatchAfterEvent struct {
Batch ToolBatchAfterEventBatch
Calls []ToolBatchAfterEventCallsItem
Extensions Optional[*Extensions]
Gaps Optional[[]ToolBatchAfterEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[ToolBatchAfterEventTurn]
Type ToolBatchAfterEventType
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/tool.batch.after.
func (ToolBatchAfterEvent) MarshalJSON ¶
func (value ToolBatchAfterEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterEvent) UnmarshalJSON ¶
func (value *ToolBatchAfterEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterEventBatch ¶
type ToolBatchAfterEventBatch struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterEventBatch is a generated nested model.
func (ToolBatchAfterEventBatch) MarshalJSON ¶
func (value ToolBatchAfterEventBatch) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterEventBatch) UnmarshalJSON ¶
func (value *ToolBatchAfterEventBatch) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterEventCallsItem ¶
type ToolBatchAfterEventCallsItem struct {
Batch Optional[*ExecutionEventBatch]
Call ToolBatchAfterEventCallsItemCall
Execution *ExecutionEventExecution
Outcome ToolBatchAfterEventCallsItemOutcome
Path string
Tool *ExecutionEventTool
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterEventCallsItem is a generated nested model.
func (ToolBatchAfterEventCallsItem) MarshalJSON ¶
func (value ToolBatchAfterEventCallsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterEventCallsItem) UnmarshalJSON ¶
func (value *ToolBatchAfterEventCallsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterEventCallsItemCall ¶
type ToolBatchAfterEventCallsItemCall struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterEventCallsItemCall is a generated nested model.
func (ToolBatchAfterEventCallsItemCall) MarshalJSON ¶
func (value ToolBatchAfterEventCallsItemCall) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterEventCallsItemCall) UnmarshalJSON ¶
func (value *ToolBatchAfterEventCallsItemCall) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterEventCallsItemOutcome ¶
type ToolBatchAfterEventCallsItemOutcome string
ToolBatchAfterEventCallsItemOutcome is a generated schema value.
const ToolBatchAfterEventCallsItemOutcomeCancelled ToolBatchAfterEventCallsItemOutcome = "cancelled"
const ToolBatchAfterEventCallsItemOutcomeDenied ToolBatchAfterEventCallsItemOutcome = "denied"
const ToolBatchAfterEventCallsItemOutcomeError ToolBatchAfterEventCallsItemOutcome = "error"
const ToolBatchAfterEventCallsItemOutcomeOk ToolBatchAfterEventCallsItemOutcome = "ok"
const ToolBatchAfterEventCallsItemOutcomeTimeout ToolBatchAfterEventCallsItemOutcome = "timeout"
func (*ToolBatchAfterEventCallsItemOutcome) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterEventCallsItemOutcome) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterEventGapsItem ¶
type ToolBatchAfterEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterEventGapsItem is a generated nested model.
func (ToolBatchAfterEventGapsItem) MarshalJSON ¶
func (value ToolBatchAfterEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterEventGapsItem) UnmarshalJSON ¶
func (value *ToolBatchAfterEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterEventTurn ¶
type ToolBatchAfterEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ToolBatchAfterEventTurn is a generated nested model.
func (ToolBatchAfterEventTurn) MarshalJSON ¶
func (value ToolBatchAfterEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBatchAfterEventTurn) UnmarshalJSON ¶
func (value *ToolBatchAfterEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBatchAfterEventType ¶
type ToolBatchAfterEventType string
ToolBatchAfterEventType is a generated schema value.
const ToolBatchAfterEventTypeToolBatchAfter ToolBatchAfterEventType = "tool.batch.after"
func (*ToolBatchAfterEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBatchAfterEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilities ¶
type ToolBeforeCapabilities struct {
Effects ToolBeforeCapabilitiesEffects
Elicitation Optional[ToolBeforeCapabilitiesElicitation]
Flow Optional[ToolBeforeCapabilitiesFlow]
Inject Optional[ToolBeforeCapabilitiesInject]
Modify Optional[ToolBeforeCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/tool.before.
func (ToolBeforeCapabilities) MarshalJSON ¶
func (value ToolBeforeCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilities) UnmarshalJSON ¶
func (value *ToolBeforeCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesEffects ¶ added in v0.1.1
type ToolBeforeCapabilitiesEffects []ToolBeforeCapabilitiesEffectsValueItem
ToolBeforeCapabilitiesEffects is a structurally validated schema value.
func (ToolBeforeCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value ToolBeforeCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*ToolBeforeCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBeforeCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesEffectsValueItem ¶ added in v0.1.1
type ToolBeforeCapabilitiesEffectsValueItem string
ToolBeforeCapabilitiesEffectsValueItem is a generated schema value.
const ToolBeforeCapabilitiesEffectsValueItemAllow ToolBeforeCapabilitiesEffectsValueItem = "allow"
const ToolBeforeCapabilitiesEffectsValueItemAsk ToolBeforeCapabilitiesEffectsValueItem = "ask"
const ToolBeforeCapabilitiesEffectsValueItemDeny ToolBeforeCapabilitiesEffectsValueItem = "deny"
const ToolBeforeCapabilitiesEffectsValueItemFlow ToolBeforeCapabilitiesEffectsValueItem = "flow"
const ToolBeforeCapabilitiesEffectsValueItemInject ToolBeforeCapabilitiesEffectsValueItem = "inject"
const ToolBeforeCapabilitiesEffectsValueItemMessage ToolBeforeCapabilitiesEffectsValueItem = "message"
const ToolBeforeCapabilitiesEffectsValueItemModify ToolBeforeCapabilitiesEffectsValueItem = "modify"
const ToolBeforeCapabilitiesEffectsValueItemReturn ToolBeforeCapabilitiesEffectsValueItem = "return"
func (*ToolBeforeCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBeforeCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesElicitation ¶
type ToolBeforeCapabilitiesElicitation struct {
Form Optional[ToolBeforeCapabilitiesElicitationForm]
URL Optional[ToolBeforeCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilitiesElicitation is a generated nested model.
func (ToolBeforeCapabilitiesElicitation) MarshalJSON ¶
func (value ToolBeforeCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilitiesElicitation) UnmarshalJSON ¶
func (value *ToolBeforeCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesElicitationForm ¶
type ToolBeforeCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilitiesElicitationForm is a generated nested model.
func (ToolBeforeCapabilitiesElicitationForm) MarshalJSON ¶
func (value ToolBeforeCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *ToolBeforeCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesElicitationURL ¶
type ToolBeforeCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilitiesElicitationURL is a generated nested model.
func (ToolBeforeCapabilitiesElicitationURL) MarshalJSON ¶
func (value ToolBeforeCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *ToolBeforeCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesFlow ¶
type ToolBeforeCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations ToolBeforeCapabilitiesFlowOperations
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilitiesFlow is a generated nested model.
func (ToolBeforeCapabilitiesFlow) MarshalJSON ¶
func (value ToolBeforeCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilitiesFlow) UnmarshalJSON ¶
func (value *ToolBeforeCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesFlowOperations ¶ added in v0.1.1
type ToolBeforeCapabilitiesFlowOperations []ToolBeforeCapabilitiesFlowOperationsValueItem
ToolBeforeCapabilitiesFlowOperations is a structurally validated schema value.
func (ToolBeforeCapabilitiesFlowOperations) MarshalJSON ¶ added in v0.1.1
func (value ToolBeforeCapabilitiesFlowOperations) MarshalJSON() ([]byte, error)
func (*ToolBeforeCapabilitiesFlowOperations) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBeforeCapabilitiesFlowOperations) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesFlowOperationsValueItem ¶ added in v0.1.1
type ToolBeforeCapabilitiesFlowOperationsValueItem string
ToolBeforeCapabilitiesFlowOperationsValueItem is a generated schema value.
const ToolBeforeCapabilitiesFlowOperationsValueItemContinue ToolBeforeCapabilitiesFlowOperationsValueItem = "continue"
const ToolBeforeCapabilitiesFlowOperationsValueItemStop ToolBeforeCapabilitiesFlowOperationsValueItem = "stop"
func (*ToolBeforeCapabilitiesFlowOperationsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBeforeCapabilitiesFlowOperationsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesInject ¶
type ToolBeforeCapabilitiesInject struct {
Context ToolBeforeCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilitiesInject is a generated nested model.
func (ToolBeforeCapabilitiesInject) MarshalJSON ¶
func (value ToolBeforeCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilitiesInject) UnmarshalJSON ¶
func (value *ToolBeforeCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesInjectContext ¶
type ToolBeforeCapabilitiesInjectContext struct {
Append ToolBeforeCapabilitiesInjectContextAppend
DeliverAt []ToolBeforeCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilitiesInjectContext is a generated nested model.
func (ToolBeforeCapabilitiesInjectContext) MarshalJSON ¶
func (value ToolBeforeCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *ToolBeforeCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesInjectContextAppend ¶
type ToolBeforeCapabilitiesInjectContextAppend bool
ToolBeforeCapabilitiesInjectContextAppend is a generated schema value.
const ToolBeforeCapabilitiesInjectContextAppendTrue ToolBeforeCapabilitiesInjectContextAppend = true
func (*ToolBeforeCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBeforeCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesInjectContextDeliverAtItem ¶
type ToolBeforeCapabilitiesInjectContextDeliverAtItem string
ToolBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const ToolBeforeCapabilitiesInjectContextDeliverAtItemNextTurn ToolBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ToolBeforeCapabilitiesInjectContextDeliverAtItemNow ToolBeforeCapabilitiesInjectContextDeliverAtItem = "now"
func (*ToolBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesModify ¶
type ToolBeforeCapabilitiesModify struct {
Content Optional[ToolBeforeCapabilitiesModifyContent]
Input Optional[ToolBeforeCapabilitiesModifyInput]
Instructions Optional[ToolBeforeCapabilitiesModifyInstructions]
Output Optional[ToolBeforeCapabilitiesModifyOutput]
Prompt Optional[ToolBeforeCapabilitiesModifyPrompt]
Request Optional[ToolBeforeCapabilitiesModifyRequest]
Response Optional[ToolBeforeCapabilitiesModifyResponse]
Summary Optional[ToolBeforeCapabilitiesModifySummary]
Workspace Optional[ToolBeforeCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilitiesModify is a generated nested model.
func (ToolBeforeCapabilitiesModify) MarshalJSON ¶
func (value ToolBeforeCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilitiesModify) UnmarshalJSON ¶
func (value *ToolBeforeCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesModifyContent ¶ added in v0.1.1
type ToolBeforeCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilitiesModifyContent is a generated nested model.
func (ToolBeforeCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value ToolBeforeCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBeforeCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesModifyInput ¶ added in v0.1.1
type ToolBeforeCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilitiesModifyInput is a generated nested model.
func (ToolBeforeCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value ToolBeforeCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBeforeCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesModifyInstructions ¶ added in v0.1.1
type ToolBeforeCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilitiesModifyInstructions is a generated nested model.
func (ToolBeforeCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value ToolBeforeCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBeforeCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesModifyOutput ¶ added in v0.1.1
type ToolBeforeCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilitiesModifyOutput is a generated nested model.
func (ToolBeforeCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value ToolBeforeCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBeforeCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesModifyPrompt ¶ added in v0.1.1
type ToolBeforeCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilitiesModifyPrompt is a generated nested model.
func (ToolBeforeCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value ToolBeforeCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBeforeCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesModifyRequest ¶ added in v0.1.1
type ToolBeforeCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilitiesModifyRequest is a generated nested model.
func (ToolBeforeCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value ToolBeforeCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBeforeCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesModifyResponse ¶ added in v0.1.1
type ToolBeforeCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilitiesModifyResponse is a generated nested model.
func (ToolBeforeCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value ToolBeforeCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBeforeCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesModifySummary ¶ added in v0.1.1
type ToolBeforeCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilitiesModifySummary is a generated nested model.
func (ToolBeforeCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value ToolBeforeCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBeforeCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeCapabilitiesModifyWorkspace ¶ added in v0.1.1
type ToolBeforeCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeCapabilitiesModifyWorkspace is a generated nested model.
func (ToolBeforeCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value ToolBeforeCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBeforeCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeEvent ¶
type ToolBeforeEvent struct {
Batch Optional[*ExecutionEventBatch]
Call ToolBeforeEventCall
Extensions Optional[*Extensions]
Gaps Optional[[]ToolBeforeEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Path string
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Tool *ExecutionEventTool
Turn Optional[ToolBeforeEventTurn]
Type ToolBeforeEventType
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeEvent is generated from schema/draft/tool-before.schema.json#.
func (ToolBeforeEvent) MarshalJSON ¶
func (value ToolBeforeEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeEvent) UnmarshalJSON ¶
func (value *ToolBeforeEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeEventCall ¶
type ToolBeforeEventCall struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeEventCall is a generated nested model.
func (ToolBeforeEventCall) MarshalJSON ¶
func (value ToolBeforeEventCall) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeEventCall) UnmarshalJSON ¶
func (value *ToolBeforeEventCall) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeEventGapsItem ¶
type ToolBeforeEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeEventGapsItem is a generated nested model.
func (ToolBeforeEventGapsItem) MarshalJSON ¶
func (value ToolBeforeEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeEventGapsItem) UnmarshalJSON ¶
func (value *ToolBeforeEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeEventTurn ¶
type ToolBeforeEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ToolBeforeEventTurn is a generated nested model.
func (ToolBeforeEventTurn) MarshalJSON ¶
func (value ToolBeforeEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolBeforeEventTurn) UnmarshalJSON ¶
func (value *ToolBeforeEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolBeforeEventType ¶
type ToolBeforeEventType string
ToolBeforeEventType is a generated schema value.
const ToolBeforeEventTypeToolBefore ToolBeforeEventType = "tool.before"
func (*ToolBeforeEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolBeforeEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilities ¶
type ToolPermissionRequestCapabilities struct {
Effects ToolPermissionRequestCapabilitiesEffects
Elicitation Optional[ToolPermissionRequestCapabilitiesElicitation]
Flow Optional[ToolPermissionRequestCapabilitiesFlow]
Inject Optional[ToolPermissionRequestCapabilitiesInject]
Modify Optional[ToolPermissionRequestCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/tool.permission.request.
func (ToolPermissionRequestCapabilities) MarshalJSON ¶
func (value ToolPermissionRequestCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilities) UnmarshalJSON ¶
func (value *ToolPermissionRequestCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesEffects ¶ added in v0.1.1
type ToolPermissionRequestCapabilitiesEffects []ToolPermissionRequestCapabilitiesEffectsValueItem
ToolPermissionRequestCapabilitiesEffects is a structurally validated schema value.
func (ToolPermissionRequestCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value ToolPermissionRequestCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*ToolPermissionRequestCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionRequestCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesEffectsValueItem ¶ added in v0.1.1
type ToolPermissionRequestCapabilitiesEffectsValueItem string
ToolPermissionRequestCapabilitiesEffectsValueItem is a generated schema value.
const ToolPermissionRequestCapabilitiesEffectsValueItemAllow ToolPermissionRequestCapabilitiesEffectsValueItem = "allow"
const ToolPermissionRequestCapabilitiesEffectsValueItemDeny ToolPermissionRequestCapabilitiesEffectsValueItem = "deny"
const ToolPermissionRequestCapabilitiesEffectsValueItemFlow ToolPermissionRequestCapabilitiesEffectsValueItem = "flow"
const ToolPermissionRequestCapabilitiesEffectsValueItemMessage ToolPermissionRequestCapabilitiesEffectsValueItem = "message"
const ToolPermissionRequestCapabilitiesEffectsValueItemModify ToolPermissionRequestCapabilitiesEffectsValueItem = "modify"
func (*ToolPermissionRequestCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionRequestCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesElicitation ¶
type ToolPermissionRequestCapabilitiesElicitation struct {
Form Optional[ToolPermissionRequestCapabilitiesElicitationForm]
URL Optional[ToolPermissionRequestCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilitiesElicitation is a generated nested model.
func (ToolPermissionRequestCapabilitiesElicitation) MarshalJSON ¶
func (value ToolPermissionRequestCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilitiesElicitation) UnmarshalJSON ¶
func (value *ToolPermissionRequestCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesElicitationForm ¶
type ToolPermissionRequestCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilitiesElicitationForm is a generated nested model.
func (ToolPermissionRequestCapabilitiesElicitationForm) MarshalJSON ¶
func (value ToolPermissionRequestCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *ToolPermissionRequestCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesElicitationURL ¶
type ToolPermissionRequestCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilitiesElicitationURL is a generated nested model.
func (ToolPermissionRequestCapabilitiesElicitationURL) MarshalJSON ¶
func (value ToolPermissionRequestCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *ToolPermissionRequestCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesFlow ¶
type ToolPermissionRequestCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations ToolPermissionRequestCapabilitiesFlowOperations
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilitiesFlow is a generated nested model.
func (ToolPermissionRequestCapabilitiesFlow) MarshalJSON ¶
func (value ToolPermissionRequestCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilitiesFlow) UnmarshalJSON ¶
func (value *ToolPermissionRequestCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesFlowOperations ¶ added in v0.1.1
type ToolPermissionRequestCapabilitiesFlowOperations []ToolPermissionRequestCapabilitiesFlowOperationsValueItem
ToolPermissionRequestCapabilitiesFlowOperations is a structurally validated schema value.
func (ToolPermissionRequestCapabilitiesFlowOperations) MarshalJSON ¶ added in v0.1.1
func (value ToolPermissionRequestCapabilitiesFlowOperations) MarshalJSON() ([]byte, error)
func (*ToolPermissionRequestCapabilitiesFlowOperations) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionRequestCapabilitiesFlowOperations) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesFlowOperationsValueItem ¶ added in v0.1.1
type ToolPermissionRequestCapabilitiesFlowOperationsValueItem string
ToolPermissionRequestCapabilitiesFlowOperationsValueItem is a generated schema value.
const ToolPermissionRequestCapabilitiesFlowOperationsValueItemContinue ToolPermissionRequestCapabilitiesFlowOperationsValueItem = "continue"
const ToolPermissionRequestCapabilitiesFlowOperationsValueItemStop ToolPermissionRequestCapabilitiesFlowOperationsValueItem = "stop"
func (*ToolPermissionRequestCapabilitiesFlowOperationsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionRequestCapabilitiesFlowOperationsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesInject ¶
type ToolPermissionRequestCapabilitiesInject struct {
Context ToolPermissionRequestCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilitiesInject is a generated nested model.
func (ToolPermissionRequestCapabilitiesInject) MarshalJSON ¶
func (value ToolPermissionRequestCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilitiesInject) UnmarshalJSON ¶
func (value *ToolPermissionRequestCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesInjectContext ¶
type ToolPermissionRequestCapabilitiesInjectContext struct {
Append ToolPermissionRequestCapabilitiesInjectContextAppend
DeliverAt []ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilitiesInjectContext is a generated nested model.
func (ToolPermissionRequestCapabilitiesInjectContext) MarshalJSON ¶
func (value ToolPermissionRequestCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *ToolPermissionRequestCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesInjectContextAppend ¶
type ToolPermissionRequestCapabilitiesInjectContextAppend bool
ToolPermissionRequestCapabilitiesInjectContextAppend is a generated schema value.
const ToolPermissionRequestCapabilitiesInjectContextAppendTrue ToolPermissionRequestCapabilitiesInjectContextAppend = true
func (*ToolPermissionRequestCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionRequestCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem ¶
type ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem string
ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const ToolPermissionRequestCapabilitiesInjectContextDeliverAtItemNextTurn ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ToolPermissionRequestCapabilitiesInjectContextDeliverAtItemNow ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem = "now"
func (*ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesModify ¶
type ToolPermissionRequestCapabilitiesModify struct {
Content Optional[ToolPermissionRequestCapabilitiesModifyContent]
Input Optional[ToolPermissionRequestCapabilitiesModifyInput]
Instructions Optional[ToolPermissionRequestCapabilitiesModifyInstructions]
Output Optional[ToolPermissionRequestCapabilitiesModifyOutput]
Prompt Optional[ToolPermissionRequestCapabilitiesModifyPrompt]
Request Optional[ToolPermissionRequestCapabilitiesModifyRequest]
Response Optional[ToolPermissionRequestCapabilitiesModifyResponse]
Summary Optional[ToolPermissionRequestCapabilitiesModifySummary]
Workspace Optional[ToolPermissionRequestCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilitiesModify is a generated nested model.
func (ToolPermissionRequestCapabilitiesModify) MarshalJSON ¶
func (value ToolPermissionRequestCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilitiesModify) UnmarshalJSON ¶
func (value *ToolPermissionRequestCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesModifyContent ¶ added in v0.1.1
type ToolPermissionRequestCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilitiesModifyContent is a generated nested model.
func (ToolPermissionRequestCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value ToolPermissionRequestCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionRequestCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesModifyInput ¶ added in v0.1.1
type ToolPermissionRequestCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilitiesModifyInput is a generated nested model.
func (ToolPermissionRequestCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value ToolPermissionRequestCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionRequestCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesModifyInstructions ¶ added in v0.1.1
type ToolPermissionRequestCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilitiesModifyInstructions is a generated nested model.
func (ToolPermissionRequestCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value ToolPermissionRequestCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionRequestCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesModifyOutput ¶ added in v0.1.1
type ToolPermissionRequestCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilitiesModifyOutput is a generated nested model.
func (ToolPermissionRequestCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value ToolPermissionRequestCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionRequestCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesModifyPrompt ¶ added in v0.1.1
type ToolPermissionRequestCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilitiesModifyPrompt is a generated nested model.
func (ToolPermissionRequestCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value ToolPermissionRequestCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionRequestCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesModifyRequest ¶ added in v0.1.1
type ToolPermissionRequestCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilitiesModifyRequest is a generated nested model.
func (ToolPermissionRequestCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value ToolPermissionRequestCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionRequestCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesModifyResponse ¶ added in v0.1.1
type ToolPermissionRequestCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilitiesModifyResponse is a generated nested model.
func (ToolPermissionRequestCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value ToolPermissionRequestCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionRequestCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesModifySummary ¶ added in v0.1.1
type ToolPermissionRequestCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilitiesModifySummary is a generated nested model.
func (ToolPermissionRequestCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value ToolPermissionRequestCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionRequestCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestCapabilitiesModifyWorkspace ¶ added in v0.1.1
type ToolPermissionRequestCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestCapabilitiesModifyWorkspace is a generated nested model.
func (ToolPermissionRequestCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value ToolPermissionRequestCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionRequestCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestEvent ¶
type ToolPermissionRequestEvent struct {
Batch Optional[*ExecutionEventBatch]
Call ToolPermissionRequestEventCall
Extensions Optional[*Extensions]
Gaps Optional[[]ToolPermissionRequestEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Path string
SandboxBypass bool
Session Optional[*Session]
Source string
Suggestions []ToolPermissionRequestEventSuggestionsItem
Synthesized Optional[bool]
Time string
Tool *ExecutionEventTool
Turn Optional[ToolPermissionRequestEventTurn]
Type ToolPermissionRequestEventType
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/tool.permission.request.
func (ToolPermissionRequestEvent) MarshalJSON ¶
func (value ToolPermissionRequestEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestEvent) UnmarshalJSON ¶
func (value *ToolPermissionRequestEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestEventCall ¶
type ToolPermissionRequestEventCall struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestEventCall is a generated nested model.
func (ToolPermissionRequestEventCall) MarshalJSON ¶
func (value ToolPermissionRequestEventCall) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestEventCall) UnmarshalJSON ¶
func (value *ToolPermissionRequestEventCall) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestEventGapsItem ¶
type ToolPermissionRequestEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestEventGapsItem is a generated nested model.
func (ToolPermissionRequestEventGapsItem) MarshalJSON ¶
func (value ToolPermissionRequestEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestEventGapsItem) UnmarshalJSON ¶
func (value *ToolPermissionRequestEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestEventSuggestionsItem ¶
type ToolPermissionRequestEventSuggestionsItem struct {
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestEventSuggestionsItem is a generated nested model.
func (ToolPermissionRequestEventSuggestionsItem) MarshalJSON ¶
func (value ToolPermissionRequestEventSuggestionsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestEventSuggestionsItem) UnmarshalJSON ¶
func (value *ToolPermissionRequestEventSuggestionsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestEventTurn ¶
type ToolPermissionRequestEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionRequestEventTurn is a generated nested model.
func (ToolPermissionRequestEventTurn) MarshalJSON ¶
func (value ToolPermissionRequestEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionRequestEventTurn) UnmarshalJSON ¶
func (value *ToolPermissionRequestEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionRequestEventType ¶
type ToolPermissionRequestEventType string
ToolPermissionRequestEventType is a generated schema value.
const ToolPermissionRequestEventTypeToolPermissionRequest ToolPermissionRequestEventType = "tool.permission.request"
func (*ToolPermissionRequestEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionRequestEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionResolvedEvent ¶
type ToolPermissionResolvedEvent struct {
Batch Optional[*ExecutionEventBatch]
Call ToolPermissionResolvedEventCall
DecidedBy ToolPermissionResolvedEventDecidedBy
Decision ToolPermissionResolvedEventDecision
Extensions Optional[*Extensions]
Gaps Optional[[]ToolPermissionResolvedEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Path string
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Tool *ExecutionEventTool
Turn Optional[ToolPermissionResolvedEventTurn]
Type ToolPermissionResolvedEventType
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionResolvedEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/tool.permission.resolved.
func (ToolPermissionResolvedEvent) MarshalJSON ¶
func (value ToolPermissionResolvedEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionResolvedEvent) UnmarshalJSON ¶
func (value *ToolPermissionResolvedEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionResolvedEventCall ¶
type ToolPermissionResolvedEventCall struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionResolvedEventCall is a generated nested model.
func (ToolPermissionResolvedEventCall) MarshalJSON ¶
func (value ToolPermissionResolvedEventCall) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionResolvedEventCall) UnmarshalJSON ¶
func (value *ToolPermissionResolvedEventCall) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionResolvedEventDecidedBy ¶
type ToolPermissionResolvedEventDecidedBy string
ToolPermissionResolvedEventDecidedBy is a generated schema value.
const ToolPermissionResolvedEventDecidedByAuto ToolPermissionResolvedEventDecidedBy = "auto"
const ToolPermissionResolvedEventDecidedByClassifier ToolPermissionResolvedEventDecidedBy = "classifier"
const ToolPermissionResolvedEventDecidedByHook ToolPermissionResolvedEventDecidedBy = "hook"
const ToolPermissionResolvedEventDecidedByPolicy ToolPermissionResolvedEventDecidedBy = "policy"
const ToolPermissionResolvedEventDecidedByUser ToolPermissionResolvedEventDecidedBy = "user"
func (*ToolPermissionResolvedEventDecidedBy) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionResolvedEventDecidedBy) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionResolvedEventDecision ¶
type ToolPermissionResolvedEventDecision string
ToolPermissionResolvedEventDecision is a generated schema value.
const ToolPermissionResolvedEventDecisionAllow ToolPermissionResolvedEventDecision = "allow"
const ToolPermissionResolvedEventDecisionDeny ToolPermissionResolvedEventDecision = "deny"
func (*ToolPermissionResolvedEventDecision) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionResolvedEventDecision) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionResolvedEventGapsItem ¶
type ToolPermissionResolvedEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionResolvedEventGapsItem is a generated nested model.
func (ToolPermissionResolvedEventGapsItem) MarshalJSON ¶
func (value ToolPermissionResolvedEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionResolvedEventGapsItem) UnmarshalJSON ¶
func (value *ToolPermissionResolvedEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionResolvedEventTurn ¶
type ToolPermissionResolvedEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ToolPermissionResolvedEventTurn is a generated nested model.
func (ToolPermissionResolvedEventTurn) MarshalJSON ¶
func (value ToolPermissionResolvedEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolPermissionResolvedEventTurn) UnmarshalJSON ¶
func (value *ToolPermissionResolvedEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolPermissionResolvedEventType ¶
type ToolPermissionResolvedEventType string
ToolPermissionResolvedEventType is a generated schema value.
const ToolPermissionResolvedEventTypeToolPermissionResolved ToolPermissionResolvedEventType = "tool.permission.resolved"
func (*ToolPermissionResolvedEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolPermissionResolvedEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolProgressEvent ¶
type ToolProgressEvent struct {
Backgrounded bool
Batch Optional[*ExecutionEventBatch]
Call ToolProgressEventCall
Extensions Optional[*Extensions]
Gaps Optional[[]ToolProgressEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
PartialOutput *ModelVisibleItem
Path string
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Tool *ExecutionEventTool
Turn Optional[ToolProgressEventTurn]
Type ToolProgressEventType
AdditionalProperties map[string]json.RawMessage
}
ToolProgressEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/tool.progress.
func (ToolProgressEvent) MarshalJSON ¶
func (value ToolProgressEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolProgressEvent) UnmarshalJSON ¶
func (value *ToolProgressEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolProgressEventCall ¶
type ToolProgressEventCall struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ToolProgressEventCall is a generated nested model.
func (ToolProgressEventCall) MarshalJSON ¶
func (value ToolProgressEventCall) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolProgressEventCall) UnmarshalJSON ¶
func (value *ToolProgressEventCall) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolProgressEventGapsItem ¶
type ToolProgressEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
ToolProgressEventGapsItem is a generated nested model.
func (ToolProgressEventGapsItem) MarshalJSON ¶
func (value ToolProgressEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolProgressEventGapsItem) UnmarshalJSON ¶
func (value *ToolProgressEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolProgressEventTurn ¶
type ToolProgressEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
ToolProgressEventTurn is a generated nested model.
func (ToolProgressEventTurn) MarshalJSON ¶
func (value ToolProgressEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*ToolProgressEventTurn) UnmarshalJSON ¶
func (value *ToolProgressEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type ToolProgressEventType ¶
type ToolProgressEventType string
ToolProgressEventType is a generated schema value.
const ToolProgressEventTypeToolProgress ToolProgressEventType = "tool.progress"
func (*ToolProgressEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *ToolProgressEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnEndEvent ¶
type TurnEndEvent struct {
ContinuationCount json.Number
Error Optional[*ExecutionEventError]
Extensions Optional[*Extensions]
Gaps Optional[[]TurnEndEventGapsItem]
ID string
Items []*ModelVisibleItem
LastAssistantItem Optional[TurnEndEventLastAssistantItem]
Native Optional[*NativeEvent]
Outcome TurnEndEventOutcome
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn TurnEndEventTurn
Type TurnEndEventType
Usage Optional[*ExecutionEventTurnusage]
AdditionalProperties map[string]json.RawMessage
}
TurnEndEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/turn.end.
func (TurnEndEvent) MarshalJSON ¶
func (value TurnEndEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnEndEvent) UnmarshalJSON ¶
func (value *TurnEndEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnEndEventGapsItem ¶
type TurnEndEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
TurnEndEventGapsItem is a generated nested model.
func (TurnEndEventGapsItem) MarshalJSON ¶
func (value TurnEndEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnEndEventGapsItem) UnmarshalJSON ¶
func (value *TurnEndEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnEndEventLastAssistantItem ¶
type TurnEndEventLastAssistantItem struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TurnEndEventLastAssistantItem is a generated nested model.
func (TurnEndEventLastAssistantItem) MarshalJSON ¶
func (value TurnEndEventLastAssistantItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnEndEventLastAssistantItem) UnmarshalJSON ¶
func (value *TurnEndEventLastAssistantItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnEndEventOutcome ¶
type TurnEndEventOutcome string
TurnEndEventOutcome is a generated schema value.
const TurnEndEventOutcomeCancelled TurnEndEventOutcome = "cancelled"
const TurnEndEventOutcomeCompleted TurnEndEventOutcome = "completed"
const TurnEndEventOutcomeFailed TurnEndEventOutcome = "failed"
const TurnEndEventOutcomeMaxIterations TurnEndEventOutcome = "max_iterations"
func (*TurnEndEventOutcome) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnEndEventOutcome) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnEndEventTurn ¶
type TurnEndEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TurnEndEventTurn is a generated nested model.
func (TurnEndEventTurn) MarshalJSON ¶
func (value TurnEndEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnEndEventTurn) UnmarshalJSON ¶
func (value *TurnEndEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnEndEventType ¶
type TurnEndEventType string
TurnEndEventType is a generated schema value.
const TurnEndEventTypeTurnEnd TurnEndEventType = "turn.end"
func (*TurnEndEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnEndEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilities ¶
type TurnFinishBeforeCapabilities struct {
Effects TurnFinishBeforeCapabilitiesEffects
Elicitation Optional[TurnFinishBeforeCapabilitiesElicitation]
Flow Optional[TurnFinishBeforeCapabilitiesFlow]
Inject Optional[TurnFinishBeforeCapabilitiesInject]
Modify Optional[TurnFinishBeforeCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/turn.finish.before.
func (TurnFinishBeforeCapabilities) MarshalJSON ¶
func (value TurnFinishBeforeCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilities) UnmarshalJSON ¶
func (value *TurnFinishBeforeCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesEffects ¶ added in v0.1.1
type TurnFinishBeforeCapabilitiesEffects []TurnFinishBeforeCapabilitiesEffectsValueItem
TurnFinishBeforeCapabilitiesEffects is a structurally validated schema value.
func (TurnFinishBeforeCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value TurnFinishBeforeCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*TurnFinishBeforeCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnFinishBeforeCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesEffectsValueItem ¶ added in v0.1.1
type TurnFinishBeforeCapabilitiesEffectsValueItem string
TurnFinishBeforeCapabilitiesEffectsValueItem is a generated schema value.
const TurnFinishBeforeCapabilitiesEffectsValueItemFlow TurnFinishBeforeCapabilitiesEffectsValueItem = "flow"
const TurnFinishBeforeCapabilitiesEffectsValueItemMessage TurnFinishBeforeCapabilitiesEffectsValueItem = "message"
const TurnFinishBeforeCapabilitiesEffectsValueItemModify TurnFinishBeforeCapabilitiesEffectsValueItem = "modify"
func (*TurnFinishBeforeCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnFinishBeforeCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesElicitation ¶
type TurnFinishBeforeCapabilitiesElicitation struct {
Form Optional[TurnFinishBeforeCapabilitiesElicitationForm]
URL Optional[TurnFinishBeforeCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilitiesElicitation is a generated nested model.
func (TurnFinishBeforeCapabilitiesElicitation) MarshalJSON ¶
func (value TurnFinishBeforeCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilitiesElicitation) UnmarshalJSON ¶
func (value *TurnFinishBeforeCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesElicitationForm ¶
type TurnFinishBeforeCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilitiesElicitationForm is a generated nested model.
func (TurnFinishBeforeCapabilitiesElicitationForm) MarshalJSON ¶
func (value TurnFinishBeforeCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *TurnFinishBeforeCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesElicitationURL ¶
type TurnFinishBeforeCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilitiesElicitationURL is a generated nested model.
func (TurnFinishBeforeCapabilitiesElicitationURL) MarshalJSON ¶
func (value TurnFinishBeforeCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *TurnFinishBeforeCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesFlow ¶
type TurnFinishBeforeCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations []TurnFinishBeforeCapabilitiesFlowOperationsItem
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilitiesFlow is a generated nested model.
func (TurnFinishBeforeCapabilitiesFlow) MarshalJSON ¶
func (value TurnFinishBeforeCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilitiesFlow) UnmarshalJSON ¶
func (value *TurnFinishBeforeCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesFlowOperationsItem ¶
type TurnFinishBeforeCapabilitiesFlowOperationsItem string
TurnFinishBeforeCapabilitiesFlowOperationsItem is a generated schema value.
const TurnFinishBeforeCapabilitiesFlowOperationsItemContinue TurnFinishBeforeCapabilitiesFlowOperationsItem = "continue"
const TurnFinishBeforeCapabilitiesFlowOperationsItemStop TurnFinishBeforeCapabilitiesFlowOperationsItem = "stop"
func (*TurnFinishBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnFinishBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesInject ¶
type TurnFinishBeforeCapabilitiesInject struct {
Context TurnFinishBeforeCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilitiesInject is a generated nested model.
func (TurnFinishBeforeCapabilitiesInject) MarshalJSON ¶
func (value TurnFinishBeforeCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilitiesInject) UnmarshalJSON ¶
func (value *TurnFinishBeforeCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesInjectContext ¶
type TurnFinishBeforeCapabilitiesInjectContext struct {
Append TurnFinishBeforeCapabilitiesInjectContextAppend
DeliverAt []TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilitiesInjectContext is a generated nested model.
func (TurnFinishBeforeCapabilitiesInjectContext) MarshalJSON ¶
func (value TurnFinishBeforeCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *TurnFinishBeforeCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesInjectContextAppend ¶
type TurnFinishBeforeCapabilitiesInjectContextAppend bool
TurnFinishBeforeCapabilitiesInjectContextAppend is a generated schema value.
const TurnFinishBeforeCapabilitiesInjectContextAppendTrue TurnFinishBeforeCapabilitiesInjectContextAppend = true
func (*TurnFinishBeforeCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnFinishBeforeCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem ¶
type TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem string
TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const TurnFinishBeforeCapabilitiesInjectContextDeliverAtItemNextTurn TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const TurnFinishBeforeCapabilitiesInjectContextDeliverAtItemNow TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem = "now"
func (*TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesModify ¶
type TurnFinishBeforeCapabilitiesModify struct {
Content Optional[TurnFinishBeforeCapabilitiesModifyContent]
Input Optional[TurnFinishBeforeCapabilitiesModifyInput]
Instructions Optional[TurnFinishBeforeCapabilitiesModifyInstructions]
Output Optional[TurnFinishBeforeCapabilitiesModifyOutput]
Prompt Optional[TurnFinishBeforeCapabilitiesModifyPrompt]
Request Optional[TurnFinishBeforeCapabilitiesModifyRequest]
Response Optional[TurnFinishBeforeCapabilitiesModifyResponse]
Summary Optional[TurnFinishBeforeCapabilitiesModifySummary]
Workspace Optional[TurnFinishBeforeCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilitiesModify is a generated nested model.
func (TurnFinishBeforeCapabilitiesModify) MarshalJSON ¶
func (value TurnFinishBeforeCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilitiesModify) UnmarshalJSON ¶
func (value *TurnFinishBeforeCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesModifyContent ¶ added in v0.1.1
type TurnFinishBeforeCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilitiesModifyContent is a generated nested model.
func (TurnFinishBeforeCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value TurnFinishBeforeCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnFinishBeforeCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesModifyInput ¶ added in v0.1.1
type TurnFinishBeforeCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilitiesModifyInput is a generated nested model.
func (TurnFinishBeforeCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value TurnFinishBeforeCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnFinishBeforeCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesModifyInstructions ¶ added in v0.1.1
type TurnFinishBeforeCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilitiesModifyInstructions is a generated nested model.
func (TurnFinishBeforeCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value TurnFinishBeforeCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnFinishBeforeCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesModifyOutput ¶ added in v0.1.1
type TurnFinishBeforeCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilitiesModifyOutput is a generated nested model.
func (TurnFinishBeforeCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value TurnFinishBeforeCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnFinishBeforeCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesModifyPrompt ¶ added in v0.1.1
type TurnFinishBeforeCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilitiesModifyPrompt is a generated nested model.
func (TurnFinishBeforeCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value TurnFinishBeforeCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnFinishBeforeCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesModifyRequest ¶ added in v0.1.1
type TurnFinishBeforeCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilitiesModifyRequest is a generated nested model.
func (TurnFinishBeforeCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value TurnFinishBeforeCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnFinishBeforeCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesModifyResponse ¶ added in v0.1.1
type TurnFinishBeforeCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilitiesModifyResponse is a generated nested model.
func (TurnFinishBeforeCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value TurnFinishBeforeCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnFinishBeforeCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesModifySummary ¶ added in v0.1.1
type TurnFinishBeforeCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilitiesModifySummary is a generated nested model.
func (TurnFinishBeforeCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value TurnFinishBeforeCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnFinishBeforeCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeCapabilitiesModifyWorkspace ¶ added in v0.1.1
type TurnFinishBeforeCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeCapabilitiesModifyWorkspace is a generated nested model.
func (TurnFinishBeforeCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value TurnFinishBeforeCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnFinishBeforeCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeEvent ¶
type TurnFinishBeforeEvent struct {
ContinuationCount json.Number
Extensions Optional[*Extensions]
Gaps Optional[[]TurnFinishBeforeEventGapsItem]
ID string
Items []*ModelVisibleItem
LastAssistantItem Optional[TurnFinishBeforeEventLastAssistantItem]
Native Optional[*NativeEvent]
Outcome TurnFinishBeforeEventOutcome
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn TurnFinishBeforeEventTurn
Type TurnFinishBeforeEventType
Usage Optional[*ExecutionEventTurnusage]
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/turn.finish.before.
func (TurnFinishBeforeEvent) MarshalJSON ¶
func (value TurnFinishBeforeEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeEvent) UnmarshalJSON ¶
func (value *TurnFinishBeforeEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeEventGapsItem ¶
type TurnFinishBeforeEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeEventGapsItem is a generated nested model.
func (TurnFinishBeforeEventGapsItem) MarshalJSON ¶
func (value TurnFinishBeforeEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeEventGapsItem) UnmarshalJSON ¶
func (value *TurnFinishBeforeEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeEventLastAssistantItem ¶
type TurnFinishBeforeEventLastAssistantItem struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeEventLastAssistantItem is a generated nested model.
func (TurnFinishBeforeEventLastAssistantItem) MarshalJSON ¶
func (value TurnFinishBeforeEventLastAssistantItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeEventLastAssistantItem) UnmarshalJSON ¶
func (value *TurnFinishBeforeEventLastAssistantItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeEventOutcome ¶
type TurnFinishBeforeEventOutcome string
TurnFinishBeforeEventOutcome is a generated schema value.
const TurnFinishBeforeEventOutcomeCancelled TurnFinishBeforeEventOutcome = "cancelled"
const TurnFinishBeforeEventOutcomeCompleted TurnFinishBeforeEventOutcome = "completed"
const TurnFinishBeforeEventOutcomeFailed TurnFinishBeforeEventOutcome = "failed"
const TurnFinishBeforeEventOutcomeMaxIterations TurnFinishBeforeEventOutcome = "max_iterations"
func (*TurnFinishBeforeEventOutcome) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnFinishBeforeEventOutcome) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeEventTurn ¶
type TurnFinishBeforeEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TurnFinishBeforeEventTurn is a generated nested model.
func (TurnFinishBeforeEventTurn) MarshalJSON ¶
func (value TurnFinishBeforeEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnFinishBeforeEventTurn) UnmarshalJSON ¶
func (value *TurnFinishBeforeEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnFinishBeforeEventType ¶
type TurnFinishBeforeEventType string
TurnFinishBeforeEventType is a generated schema value.
const TurnFinishBeforeEventTypeTurnFinishBefore TurnFinishBeforeEventType = "turn.finish.before"
func (*TurnFinishBeforeEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnFinishBeforeEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnProgressEvent ¶
type TurnProgressEvent struct {
Delta *ModelVisibleItem
Extensions Optional[*Extensions]
Final bool
Gaps Optional[[]TurnProgressEventGapsItem]
ID string
Item TurnProgressEventItem
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn TurnProgressEventTurn
Type TurnProgressEventType
AdditionalProperties map[string]json.RawMessage
}
TurnProgressEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/turn.progress.
func (TurnProgressEvent) MarshalJSON ¶
func (value TurnProgressEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnProgressEvent) UnmarshalJSON ¶
func (value *TurnProgressEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnProgressEventGapsItem ¶
type TurnProgressEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
TurnProgressEventGapsItem is a generated nested model.
func (TurnProgressEventGapsItem) MarshalJSON ¶
func (value TurnProgressEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnProgressEventGapsItem) UnmarshalJSON ¶
func (value *TurnProgressEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnProgressEventItem ¶
type TurnProgressEventItem struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TurnProgressEventItem is a generated nested model.
func (TurnProgressEventItem) MarshalJSON ¶
func (value TurnProgressEventItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnProgressEventItem) UnmarshalJSON ¶
func (value *TurnProgressEventItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnProgressEventTurn ¶
type TurnProgressEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TurnProgressEventTurn is a generated nested model.
func (TurnProgressEventTurn) MarshalJSON ¶
func (value TurnProgressEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnProgressEventTurn) UnmarshalJSON ¶
func (value *TurnProgressEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnProgressEventType ¶
type TurnProgressEventType string
TurnProgressEventType is a generated schema value.
const TurnProgressEventTypeTurnProgress TurnProgressEventType = "turn.progress"
func (*TurnProgressEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnProgressEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilities ¶
type TurnStartCapabilities struct {
Effects TurnStartCapabilitiesEffects
Elicitation Optional[TurnStartCapabilitiesElicitation]
Flow Optional[TurnStartCapabilitiesFlow]
Inject Optional[TurnStartCapabilitiesInject]
Modify Optional[TurnStartCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/turn.start.
func (TurnStartCapabilities) MarshalJSON ¶
func (value TurnStartCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilities) UnmarshalJSON ¶
func (value *TurnStartCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesEffects ¶ added in v0.1.1
type TurnStartCapabilitiesEffects []TurnStartCapabilitiesEffectsValueItem
TurnStartCapabilitiesEffects is a structurally validated schema value.
func (TurnStartCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value TurnStartCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*TurnStartCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesEffectsValueItem ¶ added in v0.1.1
type TurnStartCapabilitiesEffectsValueItem string
TurnStartCapabilitiesEffectsValueItem is a generated schema value.
const TurnStartCapabilitiesEffectsValueItemDeny TurnStartCapabilitiesEffectsValueItem = "deny"
const TurnStartCapabilitiesEffectsValueItemFlow TurnStartCapabilitiesEffectsValueItem = "flow"
const TurnStartCapabilitiesEffectsValueItemInject TurnStartCapabilitiesEffectsValueItem = "inject"
const TurnStartCapabilitiesEffectsValueItemMessage TurnStartCapabilitiesEffectsValueItem = "message"
const TurnStartCapabilitiesEffectsValueItemModify TurnStartCapabilitiesEffectsValueItem = "modify"
func (*TurnStartCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesElicitation ¶
type TurnStartCapabilitiesElicitation struct {
Form Optional[TurnStartCapabilitiesElicitationForm]
URL Optional[TurnStartCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilitiesElicitation is a generated nested model.
func (TurnStartCapabilitiesElicitation) MarshalJSON ¶
func (value TurnStartCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilitiesElicitation) UnmarshalJSON ¶
func (value *TurnStartCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesElicitationForm ¶
type TurnStartCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilitiesElicitationForm is a generated nested model.
func (TurnStartCapabilitiesElicitationForm) MarshalJSON ¶
func (value TurnStartCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *TurnStartCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesElicitationURL ¶
type TurnStartCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilitiesElicitationURL is a generated nested model.
func (TurnStartCapabilitiesElicitationURL) MarshalJSON ¶
func (value TurnStartCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *TurnStartCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesFlow ¶
type TurnStartCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations TurnStartCapabilitiesFlowOperations
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilitiesFlow is a generated nested model.
func (TurnStartCapabilitiesFlow) MarshalJSON ¶
func (value TurnStartCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilitiesFlow) UnmarshalJSON ¶
func (value *TurnStartCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesFlowOperations ¶ added in v0.1.1
type TurnStartCapabilitiesFlowOperations []TurnStartCapabilitiesFlowOperationsValueItem
TurnStartCapabilitiesFlowOperations is a structurally validated schema value.
func (TurnStartCapabilitiesFlowOperations) MarshalJSON ¶ added in v0.1.1
func (value TurnStartCapabilitiesFlowOperations) MarshalJSON() ([]byte, error)
func (*TurnStartCapabilitiesFlowOperations) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartCapabilitiesFlowOperations) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesFlowOperationsValueItem ¶ added in v0.1.1
type TurnStartCapabilitiesFlowOperationsValueItem string
TurnStartCapabilitiesFlowOperationsValueItem is a generated schema value.
const TurnStartCapabilitiesFlowOperationsValueItemContinue TurnStartCapabilitiesFlowOperationsValueItem = "continue"
const TurnStartCapabilitiesFlowOperationsValueItemStop TurnStartCapabilitiesFlowOperationsValueItem = "stop"
func (*TurnStartCapabilitiesFlowOperationsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartCapabilitiesFlowOperationsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesInject ¶
type TurnStartCapabilitiesInject struct {
Context TurnStartCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilitiesInject is a generated nested model.
func (TurnStartCapabilitiesInject) MarshalJSON ¶
func (value TurnStartCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilitiesInject) UnmarshalJSON ¶
func (value *TurnStartCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesInjectContext ¶
type TurnStartCapabilitiesInjectContext struct {
Append TurnStartCapabilitiesInjectContextAppend
DeliverAt []TurnStartCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilitiesInjectContext is a generated nested model.
func (TurnStartCapabilitiesInjectContext) MarshalJSON ¶
func (value TurnStartCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *TurnStartCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesInjectContextAppend ¶
type TurnStartCapabilitiesInjectContextAppend bool
TurnStartCapabilitiesInjectContextAppend is a generated schema value.
const TurnStartCapabilitiesInjectContextAppendTrue TurnStartCapabilitiesInjectContextAppend = true
func (*TurnStartCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesInjectContextDeliverAtItem ¶
type TurnStartCapabilitiesInjectContextDeliverAtItem string
TurnStartCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const TurnStartCapabilitiesInjectContextDeliverAtItemNextTurn TurnStartCapabilitiesInjectContextDeliverAtItem = "next_turn"
const TurnStartCapabilitiesInjectContextDeliverAtItemNow TurnStartCapabilitiesInjectContextDeliverAtItem = "now"
func (*TurnStartCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesModify ¶
type TurnStartCapabilitiesModify struct {
Content Optional[TurnStartCapabilitiesModifyContent]
Input Optional[TurnStartCapabilitiesModifyInput]
Instructions Optional[TurnStartCapabilitiesModifyInstructions]
Output Optional[TurnStartCapabilitiesModifyOutput]
Prompt Optional[TurnStartCapabilitiesModifyPrompt]
Request Optional[TurnStartCapabilitiesModifyRequest]
Response Optional[TurnStartCapabilitiesModifyResponse]
Summary Optional[TurnStartCapabilitiesModifySummary]
Workspace Optional[TurnStartCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilitiesModify is a generated nested model.
func (TurnStartCapabilitiesModify) MarshalJSON ¶
func (value TurnStartCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilitiesModify) UnmarshalJSON ¶
func (value *TurnStartCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesModifyContent ¶ added in v0.1.1
type TurnStartCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilitiesModifyContent is a generated nested model.
func (TurnStartCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value TurnStartCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesModifyInput ¶ added in v0.1.1
type TurnStartCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilitiesModifyInput is a generated nested model.
func (TurnStartCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value TurnStartCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesModifyInstructions ¶ added in v0.1.1
type TurnStartCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilitiesModifyInstructions is a generated nested model.
func (TurnStartCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value TurnStartCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesModifyOutput ¶ added in v0.1.1
type TurnStartCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilitiesModifyOutput is a generated nested model.
func (TurnStartCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value TurnStartCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesModifyPrompt ¶ added in v0.1.1
type TurnStartCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilitiesModifyPrompt is a generated nested model.
func (TurnStartCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value TurnStartCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesModifyRequest ¶ added in v0.1.1
type TurnStartCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilitiesModifyRequest is a generated nested model.
func (TurnStartCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value TurnStartCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesModifyResponse ¶ added in v0.1.1
type TurnStartCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilitiesModifyResponse is a generated nested model.
func (TurnStartCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value TurnStartCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesModifySummary ¶ added in v0.1.1
type TurnStartCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilitiesModifySummary is a generated nested model.
func (TurnStartCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value TurnStartCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartCapabilitiesModifyWorkspace ¶ added in v0.1.1
type TurnStartCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
TurnStartCapabilitiesModifyWorkspace is a generated nested model.
func (TurnStartCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value TurnStartCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartEvent ¶
type TurnStartEvent struct {
ExpandedFrom Optional[string]
Extensions Optional[*Extensions]
Gaps Optional[[]TurnStartEventGapsItem]
ID string
Items []*ModelVisibleItem
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Trigger TurnStartEventTrigger
Turn TurnStartEventTurn
Type TurnStartEventType
AdditionalProperties map[string]json.RawMessage
}
TurnStartEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/turn.start.
func (TurnStartEvent) MarshalJSON ¶
func (value TurnStartEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartEvent) UnmarshalJSON ¶
func (value *TurnStartEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartEventGapsItem ¶
type TurnStartEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
TurnStartEventGapsItem is a generated nested model.
func (TurnStartEventGapsItem) MarshalJSON ¶
func (value TurnStartEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartEventGapsItem) UnmarshalJSON ¶
func (value *TurnStartEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartEventTrigger ¶
type TurnStartEventTrigger string
TurnStartEventTrigger is a generated schema value.
const TurnStartEventTriggerContinuation TurnStartEventTrigger = "continuation"
const TurnStartEventTriggerExternal TurnStartEventTrigger = "external"
const TurnStartEventTriggerHook TurnStartEventTrigger = "hook"
const TurnStartEventTriggerUser TurnStartEventTrigger = "user"
func (*TurnStartEventTrigger) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartEventTrigger) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartEventTurn ¶
type TurnStartEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
TurnStartEventTurn is a generated nested model.
func (TurnStartEventTurn) MarshalJSON ¶
func (value TurnStartEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*TurnStartEventTurn) UnmarshalJSON ¶
func (value *TurnStartEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type TurnStartEventType ¶
type TurnStartEventType string
TurnStartEventType is a generated schema value.
const TurnStartEventTypeTurnStart TurnStartEventType = "turn.start"
func (*TurnStartEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *TurnStartEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserAttentionEvent ¶
type UserAttentionEvent struct {
Attention UserAttentionEventAttention
Extensions Optional[*Extensions]
Gaps Optional[[]UserAttentionEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[UserAttentionEventTurn]
Type UserAttentionEventType
AdditionalProperties map[string]json.RawMessage
}
UserAttentionEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/user.attention.
func (UserAttentionEvent) MarshalJSON ¶
func (value UserAttentionEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserAttentionEvent) UnmarshalJSON ¶
func (value *UserAttentionEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserAttentionEventAttention ¶
type UserAttentionEventAttention struct {
Kind string
Message *TextParts
Title *TextParts
AdditionalProperties map[string]json.RawMessage
}
UserAttentionEventAttention is a generated nested model.
func (UserAttentionEventAttention) MarshalJSON ¶
func (value UserAttentionEventAttention) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserAttentionEventAttention) UnmarshalJSON ¶
func (value *UserAttentionEventAttention) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserAttentionEventGapsItem ¶
type UserAttentionEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
UserAttentionEventGapsItem is a generated nested model.
func (UserAttentionEventGapsItem) MarshalJSON ¶
func (value UserAttentionEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserAttentionEventGapsItem) UnmarshalJSON ¶
func (value *UserAttentionEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserAttentionEventTurn ¶
type UserAttentionEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
UserAttentionEventTurn is a generated nested model.
func (UserAttentionEventTurn) MarshalJSON ¶
func (value UserAttentionEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserAttentionEventTurn) UnmarshalJSON ¶
func (value *UserAttentionEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserAttentionEventType ¶
type UserAttentionEventType string
UserAttentionEventType is a generated schema value.
const UserAttentionEventTypeUserAttention UserAttentionEventType = "user.attention"
func (*UserAttentionEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *UserAttentionEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilities ¶
type UserElicitationRequestCapabilities struct {
Effects UserElicitationRequestCapabilitiesEffects
Elicitation Optional[UserElicitationRequestCapabilitiesElicitation]
Flow Optional[UserElicitationRequestCapabilitiesFlow]
Inject Optional[UserElicitationRequestCapabilitiesInject]
Modify Optional[UserElicitationRequestCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/user.elicitation.request.
func (UserElicitationRequestCapabilities) MarshalJSON ¶
func (value UserElicitationRequestCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilities) UnmarshalJSON ¶
func (value *UserElicitationRequestCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesEffects ¶ added in v0.1.1
type UserElicitationRequestCapabilitiesEffects []UserElicitationRequestCapabilitiesEffectsValueItem
UserElicitationRequestCapabilitiesEffects is a structurally validated schema value.
func (UserElicitationRequestCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationRequestCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*UserElicitationRequestCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationRequestCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesEffectsValueItem ¶ added in v0.1.1
type UserElicitationRequestCapabilitiesEffectsValueItem string
UserElicitationRequestCapabilitiesEffectsValueItem is a generated schema value.
const UserElicitationRequestCapabilitiesEffectsValueItemDeny UserElicitationRequestCapabilitiesEffectsValueItem = "deny"
const UserElicitationRequestCapabilitiesEffectsValueItemMessage UserElicitationRequestCapabilitiesEffectsValueItem = "message"
const UserElicitationRequestCapabilitiesEffectsValueItemReturn UserElicitationRequestCapabilitiesEffectsValueItem = "return"
func (*UserElicitationRequestCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationRequestCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesElicitation ¶
type UserElicitationRequestCapabilitiesElicitation struct {
Form Optional[UserElicitationRequestCapabilitiesElicitationForm]
URL Optional[UserElicitationRequestCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilitiesElicitation is a generated nested model.
func (UserElicitationRequestCapabilitiesElicitation) MarshalJSON ¶
func (value UserElicitationRequestCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilitiesElicitation) UnmarshalJSON ¶
func (value *UserElicitationRequestCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesElicitationForm ¶
type UserElicitationRequestCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilitiesElicitationForm is a generated nested model.
func (UserElicitationRequestCapabilitiesElicitationForm) MarshalJSON ¶
func (value UserElicitationRequestCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *UserElicitationRequestCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesElicitationURL ¶
type UserElicitationRequestCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilitiesElicitationURL is a generated nested model.
func (UserElicitationRequestCapabilitiesElicitationURL) MarshalJSON ¶
func (value UserElicitationRequestCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *UserElicitationRequestCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesFlow ¶
type UserElicitationRequestCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations []UserElicitationRequestCapabilitiesFlowOperationsItem
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilitiesFlow is a generated nested model.
func (UserElicitationRequestCapabilitiesFlow) MarshalJSON ¶
func (value UserElicitationRequestCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilitiesFlow) UnmarshalJSON ¶
func (value *UserElicitationRequestCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesFlowOperationsItem ¶
type UserElicitationRequestCapabilitiesFlowOperationsItem string
UserElicitationRequestCapabilitiesFlowOperationsItem is a generated schema value.
const UserElicitationRequestCapabilitiesFlowOperationsItemContinue UserElicitationRequestCapabilitiesFlowOperationsItem = "continue"
const UserElicitationRequestCapabilitiesFlowOperationsItemStop UserElicitationRequestCapabilitiesFlowOperationsItem = "stop"
func (*UserElicitationRequestCapabilitiesFlowOperationsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationRequestCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesInject ¶
type UserElicitationRequestCapabilitiesInject struct {
Context UserElicitationRequestCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilitiesInject is a generated nested model.
func (UserElicitationRequestCapabilitiesInject) MarshalJSON ¶
func (value UserElicitationRequestCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilitiesInject) UnmarshalJSON ¶
func (value *UserElicitationRequestCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesInjectContext ¶
type UserElicitationRequestCapabilitiesInjectContext struct {
Append UserElicitationRequestCapabilitiesInjectContextAppend
DeliverAt []UserElicitationRequestCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilitiesInjectContext is a generated nested model.
func (UserElicitationRequestCapabilitiesInjectContext) MarshalJSON ¶
func (value UserElicitationRequestCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *UserElicitationRequestCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesInjectContextAppend ¶
type UserElicitationRequestCapabilitiesInjectContextAppend bool
UserElicitationRequestCapabilitiesInjectContextAppend is a generated schema value.
const UserElicitationRequestCapabilitiesInjectContextAppendTrue UserElicitationRequestCapabilitiesInjectContextAppend = true
func (*UserElicitationRequestCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationRequestCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesInjectContextDeliverAtItem ¶
type UserElicitationRequestCapabilitiesInjectContextDeliverAtItem string
UserElicitationRequestCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const UserElicitationRequestCapabilitiesInjectContextDeliverAtItemNextTurn UserElicitationRequestCapabilitiesInjectContextDeliverAtItem = "next_turn"
const UserElicitationRequestCapabilitiesInjectContextDeliverAtItemNow UserElicitationRequestCapabilitiesInjectContextDeliverAtItem = "now"
func (*UserElicitationRequestCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationRequestCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesModify ¶
type UserElicitationRequestCapabilitiesModify struct {
Content Optional[UserElicitationRequestCapabilitiesModifyContent]
Input Optional[UserElicitationRequestCapabilitiesModifyInput]
Instructions Optional[UserElicitationRequestCapabilitiesModifyInstructions]
Output Optional[UserElicitationRequestCapabilitiesModifyOutput]
Prompt Optional[UserElicitationRequestCapabilitiesModifyPrompt]
Request Optional[UserElicitationRequestCapabilitiesModifyRequest]
Response Optional[UserElicitationRequestCapabilitiesModifyResponse]
Summary Optional[UserElicitationRequestCapabilitiesModifySummary]
Workspace Optional[UserElicitationRequestCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilitiesModify is a generated nested model.
func (UserElicitationRequestCapabilitiesModify) MarshalJSON ¶
func (value UserElicitationRequestCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilitiesModify) UnmarshalJSON ¶
func (value *UserElicitationRequestCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesModifyContent ¶ added in v0.1.1
type UserElicitationRequestCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilitiesModifyContent is a generated nested model.
func (UserElicitationRequestCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationRequestCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationRequestCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesModifyInput ¶ added in v0.1.1
type UserElicitationRequestCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilitiesModifyInput is a generated nested model.
func (UserElicitationRequestCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationRequestCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationRequestCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesModifyInstructions ¶ added in v0.1.1
type UserElicitationRequestCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilitiesModifyInstructions is a generated nested model.
func (UserElicitationRequestCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationRequestCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationRequestCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesModifyOutput ¶ added in v0.1.1
type UserElicitationRequestCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilitiesModifyOutput is a generated nested model.
func (UserElicitationRequestCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationRequestCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationRequestCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesModifyPrompt ¶ added in v0.1.1
type UserElicitationRequestCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilitiesModifyPrompt is a generated nested model.
func (UserElicitationRequestCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationRequestCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationRequestCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesModifyRequest ¶ added in v0.1.1
type UserElicitationRequestCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilitiesModifyRequest is a generated nested model.
func (UserElicitationRequestCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationRequestCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationRequestCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesModifyResponse ¶ added in v0.1.1
type UserElicitationRequestCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilitiesModifyResponse is a generated nested model.
func (UserElicitationRequestCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationRequestCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationRequestCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesModifySummary ¶ added in v0.1.1
type UserElicitationRequestCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilitiesModifySummary is a generated nested model.
func (UserElicitationRequestCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationRequestCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationRequestCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestCapabilitiesModifyWorkspace ¶ added in v0.1.1
type UserElicitationRequestCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestCapabilitiesModifyWorkspace is a generated nested model.
func (UserElicitationRequestCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationRequestCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationRequestCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestEvent ¶
type UserElicitationRequestEvent struct {
Elicitation UserElicitationRequestEventElicitation
Extensions Optional[*Extensions]
Gaps Optional[[]UserElicitationRequestEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[UserElicitationRequestEventTurn]
Type UserElicitationRequestEventType
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/user.elicitation.request.
func (UserElicitationRequestEvent) MarshalJSON ¶
func (value UserElicitationRequestEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestEvent) UnmarshalJSON ¶
func (value *UserElicitationRequestEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestEventElicitation ¶
type UserElicitationRequestEventElicitation struct {
Mode UserElicitationRequestEventElicitationMode
Request Optional[*TextPart]
Server string
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestEventElicitation is a generated nested model.
func (UserElicitationRequestEventElicitation) MarshalJSON ¶
func (value UserElicitationRequestEventElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestEventElicitation) UnmarshalJSON ¶
func (value *UserElicitationRequestEventElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestEventElicitationMode ¶
type UserElicitationRequestEventElicitationMode string
UserElicitationRequestEventElicitationMode is a generated schema value.
const UserElicitationRequestEventElicitationModeForm UserElicitationRequestEventElicitationMode = "form"
const UserElicitationRequestEventElicitationModeURL UserElicitationRequestEventElicitationMode = "url"
func (*UserElicitationRequestEventElicitationMode) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationRequestEventElicitationMode) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestEventGapsItem ¶
type UserElicitationRequestEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestEventGapsItem is a generated nested model.
func (UserElicitationRequestEventGapsItem) MarshalJSON ¶
func (value UserElicitationRequestEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestEventGapsItem) UnmarshalJSON ¶
func (value *UserElicitationRequestEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestEventTurn ¶
type UserElicitationRequestEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
UserElicitationRequestEventTurn is a generated nested model.
func (UserElicitationRequestEventTurn) MarshalJSON ¶
func (value UserElicitationRequestEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationRequestEventTurn) UnmarshalJSON ¶
func (value *UserElicitationRequestEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationRequestEventType ¶
type UserElicitationRequestEventType string
UserElicitationRequestEventType is a generated schema value.
const UserElicitationRequestEventTypeUserElicitationRequest UserElicitationRequestEventType = "user.elicitation.request"
func (*UserElicitationRequestEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationRequestEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilities ¶
type UserElicitationResultCapabilities struct {
Effects UserElicitationResultCapabilitiesEffects
Elicitation Optional[UserElicitationResultCapabilitiesElicitation]
Flow Optional[UserElicitationResultCapabilitiesFlow]
Inject Optional[UserElicitationResultCapabilitiesInject]
Modify Optional[UserElicitationResultCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/user.elicitation.result.
func (UserElicitationResultCapabilities) MarshalJSON ¶
func (value UserElicitationResultCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilities) UnmarshalJSON ¶
func (value *UserElicitationResultCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesEffects ¶ added in v0.1.1
type UserElicitationResultCapabilitiesEffects []UserElicitationResultCapabilitiesEffectsValueItem
UserElicitationResultCapabilitiesEffects is a structurally validated schema value.
func (UserElicitationResultCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationResultCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*UserElicitationResultCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesEffectsValueItem ¶ added in v0.1.1
type UserElicitationResultCapabilitiesEffectsValueItem string
UserElicitationResultCapabilitiesEffectsValueItem is a generated schema value.
const UserElicitationResultCapabilitiesEffectsValueItemMessage UserElicitationResultCapabilitiesEffectsValueItem = "message"
const UserElicitationResultCapabilitiesEffectsValueItemModify UserElicitationResultCapabilitiesEffectsValueItem = "modify"
func (*UserElicitationResultCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesElicitation ¶
type UserElicitationResultCapabilitiesElicitation struct {
Form Optional[UserElicitationResultCapabilitiesElicitationForm]
URL Optional[UserElicitationResultCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilitiesElicitation is a generated nested model.
func (UserElicitationResultCapabilitiesElicitation) MarshalJSON ¶
func (value UserElicitationResultCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilitiesElicitation) UnmarshalJSON ¶
func (value *UserElicitationResultCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesElicitationForm ¶
type UserElicitationResultCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilitiesElicitationForm is a generated nested model.
func (UserElicitationResultCapabilitiesElicitationForm) MarshalJSON ¶
func (value UserElicitationResultCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *UserElicitationResultCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesElicitationURL ¶
type UserElicitationResultCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilitiesElicitationURL is a generated nested model.
func (UserElicitationResultCapabilitiesElicitationURL) MarshalJSON ¶
func (value UserElicitationResultCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *UserElicitationResultCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesFlow ¶
type UserElicitationResultCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations []UserElicitationResultCapabilitiesFlowOperationsItem
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilitiesFlow is a generated nested model.
func (UserElicitationResultCapabilitiesFlow) MarshalJSON ¶
func (value UserElicitationResultCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilitiesFlow) UnmarshalJSON ¶
func (value *UserElicitationResultCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesFlowOperationsItem ¶
type UserElicitationResultCapabilitiesFlowOperationsItem string
UserElicitationResultCapabilitiesFlowOperationsItem is a generated schema value.
const UserElicitationResultCapabilitiesFlowOperationsItemContinue UserElicitationResultCapabilitiesFlowOperationsItem = "continue"
const UserElicitationResultCapabilitiesFlowOperationsItemStop UserElicitationResultCapabilitiesFlowOperationsItem = "stop"
func (*UserElicitationResultCapabilitiesFlowOperationsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesInject ¶
type UserElicitationResultCapabilitiesInject struct {
Context UserElicitationResultCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilitiesInject is a generated nested model.
func (UserElicitationResultCapabilitiesInject) MarshalJSON ¶
func (value UserElicitationResultCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilitiesInject) UnmarshalJSON ¶
func (value *UserElicitationResultCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesInjectContext ¶
type UserElicitationResultCapabilitiesInjectContext struct {
Append UserElicitationResultCapabilitiesInjectContextAppend
DeliverAt []UserElicitationResultCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilitiesInjectContext is a generated nested model.
func (UserElicitationResultCapabilitiesInjectContext) MarshalJSON ¶
func (value UserElicitationResultCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *UserElicitationResultCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesInjectContextAppend ¶
type UserElicitationResultCapabilitiesInjectContextAppend bool
UserElicitationResultCapabilitiesInjectContextAppend is a generated schema value.
const UserElicitationResultCapabilitiesInjectContextAppendTrue UserElicitationResultCapabilitiesInjectContextAppend = true
func (*UserElicitationResultCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesInjectContextDeliverAtItem ¶
type UserElicitationResultCapabilitiesInjectContextDeliverAtItem string
UserElicitationResultCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const UserElicitationResultCapabilitiesInjectContextDeliverAtItemNextTurn UserElicitationResultCapabilitiesInjectContextDeliverAtItem = "next_turn"
const UserElicitationResultCapabilitiesInjectContextDeliverAtItemNow UserElicitationResultCapabilitiesInjectContextDeliverAtItem = "now"
func (*UserElicitationResultCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesModify ¶
type UserElicitationResultCapabilitiesModify struct {
Content Optional[UserElicitationResultCapabilitiesModifyContent]
Input Optional[UserElicitationResultCapabilitiesModifyInput]
Instructions Optional[UserElicitationResultCapabilitiesModifyInstructions]
Output Optional[UserElicitationResultCapabilitiesModifyOutput]
Prompt Optional[UserElicitationResultCapabilitiesModifyPrompt]
Request Optional[UserElicitationResultCapabilitiesModifyRequest]
Response Optional[UserElicitationResultCapabilitiesModifyResponse]
Summary Optional[UserElicitationResultCapabilitiesModifySummary]
Workspace Optional[UserElicitationResultCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilitiesModify is a generated nested model.
func (UserElicitationResultCapabilitiesModify) MarshalJSON ¶
func (value UserElicitationResultCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilitiesModify) UnmarshalJSON ¶
func (value *UserElicitationResultCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesModifyContent ¶ added in v0.1.1
type UserElicitationResultCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilitiesModifyContent is a generated nested model.
func (UserElicitationResultCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationResultCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesModifyInput ¶ added in v0.1.1
type UserElicitationResultCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilitiesModifyInput is a generated nested model.
func (UserElicitationResultCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationResultCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesModifyInstructions ¶ added in v0.1.1
type UserElicitationResultCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilitiesModifyInstructions is a generated nested model.
func (UserElicitationResultCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationResultCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesModifyOutput ¶ added in v0.1.1
type UserElicitationResultCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilitiesModifyOutput is a generated nested model.
func (UserElicitationResultCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationResultCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesModifyPrompt ¶ added in v0.1.1
type UserElicitationResultCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilitiesModifyPrompt is a generated nested model.
func (UserElicitationResultCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationResultCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesModifyRequest ¶ added in v0.1.1
type UserElicitationResultCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilitiesModifyRequest is a generated nested model.
func (UserElicitationResultCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationResultCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesModifyResponse ¶ added in v0.1.1
type UserElicitationResultCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilitiesModifyResponse is a generated nested model.
func (UserElicitationResultCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationResultCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesModifySummary ¶ added in v0.1.1
type UserElicitationResultCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilitiesModifySummary is a generated nested model.
func (UserElicitationResultCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationResultCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultCapabilitiesModifyWorkspace ¶ added in v0.1.1
type UserElicitationResultCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultCapabilitiesModifyWorkspace is a generated nested model.
func (UserElicitationResultCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value UserElicitationResultCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultEvent ¶
type UserElicitationResultEvent struct {
Elicitation UserElicitationResultEventElicitation
Extensions Optional[*Extensions]
Gaps Optional[[]UserElicitationResultEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[UserElicitationResultEventTurn]
Type UserElicitationResultEventType
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/user.elicitation.result.
func (UserElicitationResultEvent) MarshalJSON ¶
func (value UserElicitationResultEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultEvent) UnmarshalJSON ¶
func (value *UserElicitationResultEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultEventElicitation ¶
type UserElicitationResultEventElicitation struct {
Action UserElicitationResultEventElicitationAction
Mode UserElicitationResultEventElicitationMode
Result Optional[*TextPart]
Server string
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultEventElicitation is a generated nested model.
func (UserElicitationResultEventElicitation) MarshalJSON ¶
func (value UserElicitationResultEventElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultEventElicitation) UnmarshalJSON ¶
func (value *UserElicitationResultEventElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultEventElicitationAction ¶
type UserElicitationResultEventElicitationAction string
UserElicitationResultEventElicitationAction is a generated schema value.
const UserElicitationResultEventElicitationActionAccept UserElicitationResultEventElicitationAction = "accept"
const UserElicitationResultEventElicitationActionCancel UserElicitationResultEventElicitationAction = "cancel"
const UserElicitationResultEventElicitationActionDecline UserElicitationResultEventElicitationAction = "decline"
func (*UserElicitationResultEventElicitationAction) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultEventElicitationAction) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultEventElicitationMode ¶
type UserElicitationResultEventElicitationMode string
UserElicitationResultEventElicitationMode is a generated schema value.
const UserElicitationResultEventElicitationModeForm UserElicitationResultEventElicitationMode = "form"
const UserElicitationResultEventElicitationModeURL UserElicitationResultEventElicitationMode = "url"
func (*UserElicitationResultEventElicitationMode) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultEventElicitationMode) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultEventGapsItem ¶
type UserElicitationResultEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultEventGapsItem is a generated nested model.
func (UserElicitationResultEventGapsItem) MarshalJSON ¶
func (value UserElicitationResultEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultEventGapsItem) UnmarshalJSON ¶
func (value *UserElicitationResultEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultEventTurn ¶
type UserElicitationResultEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
UserElicitationResultEventTurn is a generated nested model.
func (UserElicitationResultEventTurn) MarshalJSON ¶
func (value UserElicitationResultEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserElicitationResultEventTurn) UnmarshalJSON ¶
func (value *UserElicitationResultEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserElicitationResultEventType ¶
type UserElicitationResultEventType string
UserElicitationResultEventType is a generated schema value.
const UserElicitationResultEventTypeUserElicitationResult UserElicitationResultEventType = "user.elicitation.result"
func (*UserElicitationResultEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *UserElicitationResultEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilities ¶
type UserMessageInboundCapabilities struct {
Effects UserMessageInboundCapabilitiesEffects
Elicitation Optional[UserMessageInboundCapabilitiesElicitation]
Flow Optional[UserMessageInboundCapabilitiesFlow]
Inject Optional[UserMessageInboundCapabilitiesInject]
Modify Optional[UserMessageInboundCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/user.message.inbound.
func (UserMessageInboundCapabilities) MarshalJSON ¶
func (value UserMessageInboundCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilities) UnmarshalJSON ¶
func (value *UserMessageInboundCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesEffects ¶ added in v0.1.1
type UserMessageInboundCapabilitiesEffects []UserMessageInboundCapabilitiesEffectsValueItem
UserMessageInboundCapabilitiesEffects is a structurally validated schema value.
func (UserMessageInboundCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value UserMessageInboundCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*UserMessageInboundCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageInboundCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesEffectsValueItem ¶ added in v0.1.1
type UserMessageInboundCapabilitiesEffectsValueItem string
UserMessageInboundCapabilitiesEffectsValueItem is a generated schema value.
const UserMessageInboundCapabilitiesEffectsValueItemDeny UserMessageInboundCapabilitiesEffectsValueItem = "deny"
const UserMessageInboundCapabilitiesEffectsValueItemMessage UserMessageInboundCapabilitiesEffectsValueItem = "message"
const UserMessageInboundCapabilitiesEffectsValueItemModify UserMessageInboundCapabilitiesEffectsValueItem = "modify"
func (*UserMessageInboundCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageInboundCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesElicitation ¶
type UserMessageInboundCapabilitiesElicitation struct {
Form Optional[UserMessageInboundCapabilitiesElicitationForm]
URL Optional[UserMessageInboundCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilitiesElicitation is a generated nested model.
func (UserMessageInboundCapabilitiesElicitation) MarshalJSON ¶
func (value UserMessageInboundCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilitiesElicitation) UnmarshalJSON ¶
func (value *UserMessageInboundCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesElicitationForm ¶
type UserMessageInboundCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilitiesElicitationForm is a generated nested model.
func (UserMessageInboundCapabilitiesElicitationForm) MarshalJSON ¶
func (value UserMessageInboundCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *UserMessageInboundCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesElicitationURL ¶
type UserMessageInboundCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilitiesElicitationURL is a generated nested model.
func (UserMessageInboundCapabilitiesElicitationURL) MarshalJSON ¶
func (value UserMessageInboundCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *UserMessageInboundCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesFlow ¶
type UserMessageInboundCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations []UserMessageInboundCapabilitiesFlowOperationsItem
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilitiesFlow is a generated nested model.
func (UserMessageInboundCapabilitiesFlow) MarshalJSON ¶
func (value UserMessageInboundCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilitiesFlow) UnmarshalJSON ¶
func (value *UserMessageInboundCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesFlowOperationsItem ¶
type UserMessageInboundCapabilitiesFlowOperationsItem string
UserMessageInboundCapabilitiesFlowOperationsItem is a generated schema value.
const UserMessageInboundCapabilitiesFlowOperationsItemContinue UserMessageInboundCapabilitiesFlowOperationsItem = "continue"
const UserMessageInboundCapabilitiesFlowOperationsItemStop UserMessageInboundCapabilitiesFlowOperationsItem = "stop"
func (*UserMessageInboundCapabilitiesFlowOperationsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageInboundCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesInject ¶
type UserMessageInboundCapabilitiesInject struct {
Context UserMessageInboundCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilitiesInject is a generated nested model.
func (UserMessageInboundCapabilitiesInject) MarshalJSON ¶
func (value UserMessageInboundCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilitiesInject) UnmarshalJSON ¶
func (value *UserMessageInboundCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesInjectContext ¶
type UserMessageInboundCapabilitiesInjectContext struct {
Append UserMessageInboundCapabilitiesInjectContextAppend
DeliverAt []UserMessageInboundCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilitiesInjectContext is a generated nested model.
func (UserMessageInboundCapabilitiesInjectContext) MarshalJSON ¶
func (value UserMessageInboundCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *UserMessageInboundCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesInjectContextAppend ¶
type UserMessageInboundCapabilitiesInjectContextAppend bool
UserMessageInboundCapabilitiesInjectContextAppend is a generated schema value.
const UserMessageInboundCapabilitiesInjectContextAppendTrue UserMessageInboundCapabilitiesInjectContextAppend = true
func (*UserMessageInboundCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageInboundCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesInjectContextDeliverAtItem ¶
type UserMessageInboundCapabilitiesInjectContextDeliverAtItem string
UserMessageInboundCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const UserMessageInboundCapabilitiesInjectContextDeliverAtItemNextTurn UserMessageInboundCapabilitiesInjectContextDeliverAtItem = "next_turn"
const UserMessageInboundCapabilitiesInjectContextDeliverAtItemNow UserMessageInboundCapabilitiesInjectContextDeliverAtItem = "now"
func (*UserMessageInboundCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageInboundCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesModify ¶
type UserMessageInboundCapabilitiesModify struct {
Content Optional[UserMessageInboundCapabilitiesModifyContent]
Input Optional[UserMessageInboundCapabilitiesModifyInput]
Instructions Optional[UserMessageInboundCapabilitiesModifyInstructions]
Output Optional[UserMessageInboundCapabilitiesModifyOutput]
Prompt Optional[UserMessageInboundCapabilitiesModifyPrompt]
Request Optional[UserMessageInboundCapabilitiesModifyRequest]
Response Optional[UserMessageInboundCapabilitiesModifyResponse]
Summary Optional[UserMessageInboundCapabilitiesModifySummary]
Workspace Optional[UserMessageInboundCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilitiesModify is a generated nested model.
func (UserMessageInboundCapabilitiesModify) MarshalJSON ¶
func (value UserMessageInboundCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilitiesModify) UnmarshalJSON ¶
func (value *UserMessageInboundCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesModifyContent ¶ added in v0.1.1
type UserMessageInboundCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilitiesModifyContent is a generated nested model.
func (UserMessageInboundCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value UserMessageInboundCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageInboundCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesModifyInput ¶ added in v0.1.1
type UserMessageInboundCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilitiesModifyInput is a generated nested model.
func (UserMessageInboundCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value UserMessageInboundCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageInboundCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesModifyInstructions ¶ added in v0.1.1
type UserMessageInboundCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilitiesModifyInstructions is a generated nested model.
func (UserMessageInboundCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value UserMessageInboundCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageInboundCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesModifyOutput ¶ added in v0.1.1
type UserMessageInboundCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilitiesModifyOutput is a generated nested model.
func (UserMessageInboundCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value UserMessageInboundCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageInboundCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesModifyPrompt ¶ added in v0.1.1
type UserMessageInboundCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilitiesModifyPrompt is a generated nested model.
func (UserMessageInboundCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value UserMessageInboundCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageInboundCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesModifyRequest ¶ added in v0.1.1
type UserMessageInboundCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilitiesModifyRequest is a generated nested model.
func (UserMessageInboundCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value UserMessageInboundCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageInboundCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesModifyResponse ¶ added in v0.1.1
type UserMessageInboundCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilitiesModifyResponse is a generated nested model.
func (UserMessageInboundCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value UserMessageInboundCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageInboundCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesModifySummary ¶ added in v0.1.1
type UserMessageInboundCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilitiesModifySummary is a generated nested model.
func (UserMessageInboundCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value UserMessageInboundCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageInboundCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundCapabilitiesModifyWorkspace ¶ added in v0.1.1
type UserMessageInboundCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundCapabilitiesModifyWorkspace is a generated nested model.
func (UserMessageInboundCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value UserMessageInboundCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageInboundCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundEvent ¶
type UserMessageInboundEvent struct {
Extensions Optional[*Extensions]
Gaps Optional[[]UserMessageInboundEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Message UserMessageInboundEventMessage
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[UserMessageInboundEventTurn]
Type UserMessageInboundEventType
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/user.message.inbound.
func (UserMessageInboundEvent) MarshalJSON ¶
func (value UserMessageInboundEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundEvent) UnmarshalJSON ¶
func (value *UserMessageInboundEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundEventGapsItem ¶
type UserMessageInboundEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundEventGapsItem is a generated nested model.
func (UserMessageInboundEventGapsItem) MarshalJSON ¶
func (value UserMessageInboundEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundEventGapsItem) UnmarshalJSON ¶
func (value *UserMessageInboundEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundEventMessage ¶
type UserMessageInboundEventMessage struct {
Channel string
Messages []UserMessageInboundEventMessageMessagesItem
Sender string
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundEventMessage is a generated nested model.
func (UserMessageInboundEventMessage) MarshalJSON ¶
func (value UserMessageInboundEventMessage) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundEventMessage) UnmarshalJSON ¶
func (value *UserMessageInboundEventMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundEventMessageMessagesItem ¶ added in v0.3.0
type UserMessageInboundEventMessageMessagesItem struct {
ID string
Parts []*ContentItem
Role UserMessageInboundEventMessageMessagesItemRole
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundEventMessageMessagesItem is a generated nested model.
func (UserMessageInboundEventMessageMessagesItem) MarshalJSON ¶ added in v0.3.0
func (value UserMessageInboundEventMessageMessagesItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundEventMessageMessagesItem) UnmarshalJSON ¶ added in v0.3.0
func (value *UserMessageInboundEventMessageMessagesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundEventMessageMessagesItemRole ¶ added in v0.3.0
type UserMessageInboundEventMessageMessagesItemRole UserMessageInboundEventMessageMessagesItemRoleValue
UserMessageInboundEventMessageMessagesItemRole is a structurally validated schema value.
func (UserMessageInboundEventMessageMessagesItemRole) MarshalJSON ¶ added in v0.3.0
func (value UserMessageInboundEventMessageMessagesItemRole) MarshalJSON() ([]byte, error)
func (*UserMessageInboundEventMessageMessagesItemRole) UnmarshalJSON ¶ added in v0.3.0
func (value *UserMessageInboundEventMessageMessagesItemRole) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundEventMessageMessagesItemRoleValue ¶ added in v0.3.0
type UserMessageInboundEventMessageMessagesItemRoleValue string
UserMessageInboundEventMessageMessagesItemRoleValue is a generated schema value.
const UserMessageInboundEventMessageMessagesItemRoleValueAssistant UserMessageInboundEventMessageMessagesItemRoleValue = "assistant"
const UserMessageInboundEventMessageMessagesItemRoleValueDeveloper UserMessageInboundEventMessageMessagesItemRoleValue = "developer"
const UserMessageInboundEventMessageMessagesItemRoleValueSystem UserMessageInboundEventMessageMessagesItemRoleValue = "system"
const UserMessageInboundEventMessageMessagesItemRoleValueTool UserMessageInboundEventMessageMessagesItemRoleValue = "tool"
const UserMessageInboundEventMessageMessagesItemRoleValueUser UserMessageInboundEventMessageMessagesItemRoleValue = "user"
func (*UserMessageInboundEventMessageMessagesItemRoleValue) UnmarshalJSON ¶ added in v0.3.0
func (value *UserMessageInboundEventMessageMessagesItemRoleValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundEventTurn ¶
type UserMessageInboundEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
UserMessageInboundEventTurn is a generated nested model.
func (UserMessageInboundEventTurn) MarshalJSON ¶
func (value UserMessageInboundEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageInboundEventTurn) UnmarshalJSON ¶
func (value *UserMessageInboundEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageInboundEventType ¶
type UserMessageInboundEventType string
UserMessageInboundEventType is a generated schema value.
const UserMessageInboundEventTypeUserMessageInbound UserMessageInboundEventType = "user.message.inbound"
func (*UserMessageInboundEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageInboundEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilities ¶
type UserMessageOutboundCapabilities struct {
Effects UserMessageOutboundCapabilitiesEffects
Elicitation Optional[UserMessageOutboundCapabilitiesElicitation]
Flow Optional[UserMessageOutboundCapabilitiesFlow]
Inject Optional[UserMessageOutboundCapabilitiesInject]
Modify Optional[UserMessageOutboundCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/user.message.outbound.
func (UserMessageOutboundCapabilities) MarshalJSON ¶
func (value UserMessageOutboundCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilities) UnmarshalJSON ¶
func (value *UserMessageOutboundCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesEffects ¶ added in v0.1.1
type UserMessageOutboundCapabilitiesEffects []UserMessageOutboundCapabilitiesEffectsValueItem
UserMessageOutboundCapabilitiesEffects is a structurally validated schema value.
func (UserMessageOutboundCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value UserMessageOutboundCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*UserMessageOutboundCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageOutboundCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesEffectsValueItem ¶ added in v0.1.1
type UserMessageOutboundCapabilitiesEffectsValueItem string
UserMessageOutboundCapabilitiesEffectsValueItem is a generated schema value.
const UserMessageOutboundCapabilitiesEffectsValueItemDeny UserMessageOutboundCapabilitiesEffectsValueItem = "deny"
const UserMessageOutboundCapabilitiesEffectsValueItemMessage UserMessageOutboundCapabilitiesEffectsValueItem = "message"
const UserMessageOutboundCapabilitiesEffectsValueItemModify UserMessageOutboundCapabilitiesEffectsValueItem = "modify"
func (*UserMessageOutboundCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageOutboundCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesElicitation ¶
type UserMessageOutboundCapabilitiesElicitation struct {
Form Optional[UserMessageOutboundCapabilitiesElicitationForm]
URL Optional[UserMessageOutboundCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilitiesElicitation is a generated nested model.
func (UserMessageOutboundCapabilitiesElicitation) MarshalJSON ¶
func (value UserMessageOutboundCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilitiesElicitation) UnmarshalJSON ¶
func (value *UserMessageOutboundCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesElicitationForm ¶
type UserMessageOutboundCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilitiesElicitationForm is a generated nested model.
func (UserMessageOutboundCapabilitiesElicitationForm) MarshalJSON ¶
func (value UserMessageOutboundCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *UserMessageOutboundCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesElicitationURL ¶
type UserMessageOutboundCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilitiesElicitationURL is a generated nested model.
func (UserMessageOutboundCapabilitiesElicitationURL) MarshalJSON ¶
func (value UserMessageOutboundCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *UserMessageOutboundCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesFlow ¶
type UserMessageOutboundCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations []UserMessageOutboundCapabilitiesFlowOperationsItem
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilitiesFlow is a generated nested model.
func (UserMessageOutboundCapabilitiesFlow) MarshalJSON ¶
func (value UserMessageOutboundCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilitiesFlow) UnmarshalJSON ¶
func (value *UserMessageOutboundCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesFlowOperationsItem ¶
type UserMessageOutboundCapabilitiesFlowOperationsItem string
UserMessageOutboundCapabilitiesFlowOperationsItem is a generated schema value.
const UserMessageOutboundCapabilitiesFlowOperationsItemContinue UserMessageOutboundCapabilitiesFlowOperationsItem = "continue"
const UserMessageOutboundCapabilitiesFlowOperationsItemStop UserMessageOutboundCapabilitiesFlowOperationsItem = "stop"
func (*UserMessageOutboundCapabilitiesFlowOperationsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageOutboundCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesInject ¶
type UserMessageOutboundCapabilitiesInject struct {
Context UserMessageOutboundCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilitiesInject is a generated nested model.
func (UserMessageOutboundCapabilitiesInject) MarshalJSON ¶
func (value UserMessageOutboundCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilitiesInject) UnmarshalJSON ¶
func (value *UserMessageOutboundCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesInjectContext ¶
type UserMessageOutboundCapabilitiesInjectContext struct {
Append UserMessageOutboundCapabilitiesInjectContextAppend
DeliverAt []UserMessageOutboundCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilitiesInjectContext is a generated nested model.
func (UserMessageOutboundCapabilitiesInjectContext) MarshalJSON ¶
func (value UserMessageOutboundCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *UserMessageOutboundCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesInjectContextAppend ¶
type UserMessageOutboundCapabilitiesInjectContextAppend bool
UserMessageOutboundCapabilitiesInjectContextAppend is a generated schema value.
const UserMessageOutboundCapabilitiesInjectContextAppendTrue UserMessageOutboundCapabilitiesInjectContextAppend = true
func (*UserMessageOutboundCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageOutboundCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesInjectContextDeliverAtItem ¶
type UserMessageOutboundCapabilitiesInjectContextDeliverAtItem string
UserMessageOutboundCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const UserMessageOutboundCapabilitiesInjectContextDeliverAtItemNextTurn UserMessageOutboundCapabilitiesInjectContextDeliverAtItem = "next_turn"
const UserMessageOutboundCapabilitiesInjectContextDeliverAtItemNow UserMessageOutboundCapabilitiesInjectContextDeliverAtItem = "now"
func (*UserMessageOutboundCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageOutboundCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesModify ¶
type UserMessageOutboundCapabilitiesModify struct {
Content Optional[UserMessageOutboundCapabilitiesModifyContent]
Input Optional[UserMessageOutboundCapabilitiesModifyInput]
Instructions Optional[UserMessageOutboundCapabilitiesModifyInstructions]
Output Optional[UserMessageOutboundCapabilitiesModifyOutput]
Prompt Optional[UserMessageOutboundCapabilitiesModifyPrompt]
Request Optional[UserMessageOutboundCapabilitiesModifyRequest]
Response Optional[UserMessageOutboundCapabilitiesModifyResponse]
Summary Optional[UserMessageOutboundCapabilitiesModifySummary]
Workspace Optional[UserMessageOutboundCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilitiesModify is a generated nested model.
func (UserMessageOutboundCapabilitiesModify) MarshalJSON ¶
func (value UserMessageOutboundCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilitiesModify) UnmarshalJSON ¶
func (value *UserMessageOutboundCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesModifyContent ¶ added in v0.1.1
type UserMessageOutboundCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilitiesModifyContent is a generated nested model.
func (UserMessageOutboundCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value UserMessageOutboundCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageOutboundCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesModifyInput ¶ added in v0.1.1
type UserMessageOutboundCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilitiesModifyInput is a generated nested model.
func (UserMessageOutboundCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value UserMessageOutboundCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageOutboundCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesModifyInstructions ¶ added in v0.1.1
type UserMessageOutboundCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilitiesModifyInstructions is a generated nested model.
func (UserMessageOutboundCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value UserMessageOutboundCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageOutboundCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesModifyOutput ¶ added in v0.1.1
type UserMessageOutboundCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilitiesModifyOutput is a generated nested model.
func (UserMessageOutboundCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value UserMessageOutboundCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageOutboundCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesModifyPrompt ¶ added in v0.1.1
type UserMessageOutboundCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilitiesModifyPrompt is a generated nested model.
func (UserMessageOutboundCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value UserMessageOutboundCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageOutboundCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesModifyRequest ¶ added in v0.1.1
type UserMessageOutboundCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilitiesModifyRequest is a generated nested model.
func (UserMessageOutboundCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value UserMessageOutboundCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageOutboundCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesModifyResponse ¶ added in v0.1.1
type UserMessageOutboundCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilitiesModifyResponse is a generated nested model.
func (UserMessageOutboundCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value UserMessageOutboundCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageOutboundCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesModifySummary ¶ added in v0.1.1
type UserMessageOutboundCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilitiesModifySummary is a generated nested model.
func (UserMessageOutboundCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value UserMessageOutboundCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageOutboundCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundCapabilitiesModifyWorkspace ¶ added in v0.1.1
type UserMessageOutboundCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundCapabilitiesModifyWorkspace is a generated nested model.
func (UserMessageOutboundCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value UserMessageOutboundCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageOutboundCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundEvent ¶
type UserMessageOutboundEvent struct {
Extensions Optional[*Extensions]
Gaps Optional[[]UserMessageOutboundEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Message UserMessageOutboundEventMessage
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[UserMessageOutboundEventTurn]
Type UserMessageOutboundEventType
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/user.message.outbound.
func (UserMessageOutboundEvent) MarshalJSON ¶
func (value UserMessageOutboundEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundEvent) UnmarshalJSON ¶
func (value *UserMessageOutboundEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundEventGapsItem ¶
type UserMessageOutboundEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundEventGapsItem is a generated nested model.
func (UserMessageOutboundEventGapsItem) MarshalJSON ¶
func (value UserMessageOutboundEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundEventGapsItem) UnmarshalJSON ¶
func (value *UserMessageOutboundEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundEventMessage ¶
type UserMessageOutboundEventMessage struct {
Channel string
Messages []UserMessageOutboundEventMessageMessagesItem
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundEventMessage is a generated nested model.
func (UserMessageOutboundEventMessage) MarshalJSON ¶
func (value UserMessageOutboundEventMessage) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundEventMessage) UnmarshalJSON ¶
func (value *UserMessageOutboundEventMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundEventMessageMessagesItem ¶ added in v0.3.0
type UserMessageOutboundEventMessageMessagesItem struct {
ID string
Parts []*ContentItem
Role UserMessageOutboundEventMessageMessagesItemRole
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundEventMessageMessagesItem is a generated nested model.
func (UserMessageOutboundEventMessageMessagesItem) MarshalJSON ¶ added in v0.3.0
func (value UserMessageOutboundEventMessageMessagesItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundEventMessageMessagesItem) UnmarshalJSON ¶ added in v0.3.0
func (value *UserMessageOutboundEventMessageMessagesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundEventMessageMessagesItemRole ¶ added in v0.3.0
type UserMessageOutboundEventMessageMessagesItemRole UserMessageOutboundEventMessageMessagesItemRoleValue
UserMessageOutboundEventMessageMessagesItemRole is a structurally validated schema value.
func (UserMessageOutboundEventMessageMessagesItemRole) MarshalJSON ¶ added in v0.3.0
func (value UserMessageOutboundEventMessageMessagesItemRole) MarshalJSON() ([]byte, error)
func (*UserMessageOutboundEventMessageMessagesItemRole) UnmarshalJSON ¶ added in v0.3.0
func (value *UserMessageOutboundEventMessageMessagesItemRole) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundEventMessageMessagesItemRoleValue ¶ added in v0.3.0
type UserMessageOutboundEventMessageMessagesItemRoleValue string
UserMessageOutboundEventMessageMessagesItemRoleValue is a generated schema value.
const UserMessageOutboundEventMessageMessagesItemRoleValueAssistant UserMessageOutboundEventMessageMessagesItemRoleValue = "assistant"
const UserMessageOutboundEventMessageMessagesItemRoleValueDeveloper UserMessageOutboundEventMessageMessagesItemRoleValue = "developer"
const UserMessageOutboundEventMessageMessagesItemRoleValueSystem UserMessageOutboundEventMessageMessagesItemRoleValue = "system"
const UserMessageOutboundEventMessageMessagesItemRoleValueTool UserMessageOutboundEventMessageMessagesItemRoleValue = "tool"
const UserMessageOutboundEventMessageMessagesItemRoleValueUser UserMessageOutboundEventMessageMessagesItemRoleValue = "user"
func (*UserMessageOutboundEventMessageMessagesItemRoleValue) UnmarshalJSON ¶ added in v0.3.0
func (value *UserMessageOutboundEventMessageMessagesItemRoleValue) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundEventTurn ¶
type UserMessageOutboundEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
UserMessageOutboundEventTurn is a generated nested model.
func (UserMessageOutboundEventTurn) MarshalJSON ¶
func (value UserMessageOutboundEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*UserMessageOutboundEventTurn) UnmarshalJSON ¶
func (value *UserMessageOutboundEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type UserMessageOutboundEventType ¶
type UserMessageOutboundEventType string
UserMessageOutboundEventType is a generated schema value.
const UserMessageOutboundEventTypeUserMessageOutbound UserMessageOutboundEventType = "user.message.outbound"
func (*UserMessageOutboundEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *UserMessageOutboundEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WireMessage ¶
type WireMessage struct {
InterceptRequest Optional[*InterceptRequest]
InterceptResponse Optional[*InterceptResponse]
JsonRpcErrorResponse Optional[*JsonRpcErrorResponse]
ObserveNotification Optional[*ObserveNotification]
CapabilitiesRequest Optional[*CapabilitiesRequest]
CapabilitiesResponse Optional[*CapabilitiesResponse]
Unknown json.RawMessage
}
WireMessage is generated from schema/draft/schema.json#.
func (WireMessage) MarshalJSON ¶
func (value WireMessage) MarshalJSON() ([]byte, error)
func (*WireMessage) UnmarshalJSON ¶
func (value *WireMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeAfterEvent ¶
type WorkspaceChangeAfterEvent struct {
Extensions Optional[*Extensions]
Gaps Optional[[]WorkspaceChangeAfterEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[WorkspaceChangeAfterEventTurn]
Type WorkspaceChangeAfterEventType
Workspace WorkspaceChangeAfterEventWorkspace
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeAfterEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/workspace.change.after.
func (WorkspaceChangeAfterEvent) MarshalJSON ¶
func (value WorkspaceChangeAfterEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeAfterEvent) UnmarshalJSON ¶
func (value *WorkspaceChangeAfterEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeAfterEventGapsItem ¶
type WorkspaceChangeAfterEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeAfterEventGapsItem is a generated nested model.
func (WorkspaceChangeAfterEventGapsItem) MarshalJSON ¶
func (value WorkspaceChangeAfterEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeAfterEventGapsItem) UnmarshalJSON ¶
func (value *WorkspaceChangeAfterEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeAfterEventTurn ¶
type WorkspaceChangeAfterEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeAfterEventTurn is a generated nested model.
func (WorkspaceChangeAfterEventTurn) MarshalJSON ¶
func (value WorkspaceChangeAfterEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeAfterEventTurn) UnmarshalJSON ¶
func (value *WorkspaceChangeAfterEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeAfterEventType ¶
type WorkspaceChangeAfterEventType string
WorkspaceChangeAfterEventType is a generated schema value.
const WorkspaceChangeAfterEventTypeWorkspaceChangeAfter WorkspaceChangeAfterEventType = "workspace.change.after"
func (*WorkspaceChangeAfterEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeAfterEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeAfterEventWorkspace ¶
type WorkspaceChangeAfterEventWorkspace struct {
Change WorkspaceChangeAfterEventWorkspaceChange
Kind WorkspaceChangeAfterEventWorkspaceKind
Prior Optional[WorkspaceChangeAfterEventWorkspacePrior]
Reason Optional[string]
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeAfterEventWorkspace is a generated nested model.
func (WorkspaceChangeAfterEventWorkspace) MarshalJSON ¶
func (value WorkspaceChangeAfterEventWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeAfterEventWorkspace) UnmarshalJSON ¶
func (value *WorkspaceChangeAfterEventWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeAfterEventWorkspaceChange ¶
type WorkspaceChangeAfterEventWorkspaceChange struct {
CWD Optional[string]
WorkspaceRoots Optional[[]string]
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeAfterEventWorkspaceChange is a generated nested model.
func (WorkspaceChangeAfterEventWorkspaceChange) MarshalJSON ¶
func (value WorkspaceChangeAfterEventWorkspaceChange) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeAfterEventWorkspaceChange) UnmarshalJSON ¶
func (value *WorkspaceChangeAfterEventWorkspaceChange) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeAfterEventWorkspaceKind ¶
type WorkspaceChangeAfterEventWorkspaceKind string
WorkspaceChangeAfterEventWorkspaceKind is a generated schema value.
const WorkspaceChangeAfterEventWorkspaceKindCWD WorkspaceChangeAfterEventWorkspaceKind = "cwd"
const WorkspaceChangeAfterEventWorkspaceKindRoots WorkspaceChangeAfterEventWorkspaceKind = "roots"
const WorkspaceChangeAfterEventWorkspaceKindSwitch WorkspaceChangeAfterEventWorkspaceKind = "switch"
func (*WorkspaceChangeAfterEventWorkspaceKind) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeAfterEventWorkspaceKind) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeAfterEventWorkspacePrior ¶
type WorkspaceChangeAfterEventWorkspacePrior struct {
CWD Optional[string]
WorkspaceRoots Optional[[]string]
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeAfterEventWorkspacePrior is a generated nested model.
func (WorkspaceChangeAfterEventWorkspacePrior) MarshalJSON ¶
func (value WorkspaceChangeAfterEventWorkspacePrior) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeAfterEventWorkspacePrior) UnmarshalJSON ¶
func (value *WorkspaceChangeAfterEventWorkspacePrior) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilities ¶
type WorkspaceChangeBeforeCapabilities struct {
Effects WorkspaceChangeBeforeCapabilitiesEffects
Elicitation Optional[WorkspaceChangeBeforeCapabilitiesElicitation]
Flow Optional[WorkspaceChangeBeforeCapabilitiesFlow]
Inject Optional[WorkspaceChangeBeforeCapabilitiesInject]
Modify Optional[WorkspaceChangeBeforeCapabilitiesModify]
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/workspace.change.before.
func (WorkspaceChangeBeforeCapabilities) MarshalJSON ¶
func (value WorkspaceChangeBeforeCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilities) UnmarshalJSON ¶
func (value *WorkspaceChangeBeforeCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesEffects ¶ added in v0.1.1
type WorkspaceChangeBeforeCapabilitiesEffects []WorkspaceChangeBeforeCapabilitiesEffectsValueItem
WorkspaceChangeBeforeCapabilitiesEffects is a structurally validated schema value.
func (WorkspaceChangeBeforeCapabilitiesEffects) MarshalJSON ¶ added in v0.1.1
func (value WorkspaceChangeBeforeCapabilitiesEffects) MarshalJSON() ([]byte, error)
func (*WorkspaceChangeBeforeCapabilitiesEffects) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeBeforeCapabilitiesEffects) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesEffectsValueItem ¶ added in v0.1.1
type WorkspaceChangeBeforeCapabilitiesEffectsValueItem string
WorkspaceChangeBeforeCapabilitiesEffectsValueItem is a generated schema value.
const WorkspaceChangeBeforeCapabilitiesEffectsValueItemDeny WorkspaceChangeBeforeCapabilitiesEffectsValueItem = "deny"
const WorkspaceChangeBeforeCapabilitiesEffectsValueItemMessage WorkspaceChangeBeforeCapabilitiesEffectsValueItem = "message"
const WorkspaceChangeBeforeCapabilitiesEffectsValueItemModify WorkspaceChangeBeforeCapabilitiesEffectsValueItem = "modify"
func (*WorkspaceChangeBeforeCapabilitiesEffectsValueItem) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeBeforeCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesElicitation ¶
type WorkspaceChangeBeforeCapabilitiesElicitation struct {
Form Optional[WorkspaceChangeBeforeCapabilitiesElicitationForm]
URL Optional[WorkspaceChangeBeforeCapabilitiesElicitationURL]
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilitiesElicitation is a generated nested model.
func (WorkspaceChangeBeforeCapabilitiesElicitation) MarshalJSON ¶
func (value WorkspaceChangeBeforeCapabilitiesElicitation) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilitiesElicitation) UnmarshalJSON ¶
func (value *WorkspaceChangeBeforeCapabilitiesElicitation) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesElicitationForm ¶
type WorkspaceChangeBeforeCapabilitiesElicitationForm struct {
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilitiesElicitationForm is a generated nested model.
func (WorkspaceChangeBeforeCapabilitiesElicitationForm) MarshalJSON ¶
func (value WorkspaceChangeBeforeCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilitiesElicitationForm) UnmarshalJSON ¶
func (value *WorkspaceChangeBeforeCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesElicitationURL ¶
type WorkspaceChangeBeforeCapabilitiesElicitationURL struct {
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilitiesElicitationURL is a generated nested model.
func (WorkspaceChangeBeforeCapabilitiesElicitationURL) MarshalJSON ¶
func (value WorkspaceChangeBeforeCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilitiesElicitationURL) UnmarshalJSON ¶
func (value *WorkspaceChangeBeforeCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesFlow ¶
type WorkspaceChangeBeforeCapabilitiesFlow struct {
ContinuationCount Optional[json.Number]
MaxContinuations Optional[json.Number]
Operations []WorkspaceChangeBeforeCapabilitiesFlowOperationsItem
RemainingContinuations Optional[json.Number]
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilitiesFlow is a generated nested model.
func (WorkspaceChangeBeforeCapabilitiesFlow) MarshalJSON ¶
func (value WorkspaceChangeBeforeCapabilitiesFlow) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilitiesFlow) UnmarshalJSON ¶
func (value *WorkspaceChangeBeforeCapabilitiesFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesFlowOperationsItem ¶
type WorkspaceChangeBeforeCapabilitiesFlowOperationsItem string
WorkspaceChangeBeforeCapabilitiesFlowOperationsItem is a generated schema value.
const WorkspaceChangeBeforeCapabilitiesFlowOperationsItemContinue WorkspaceChangeBeforeCapabilitiesFlowOperationsItem = "continue"
const WorkspaceChangeBeforeCapabilitiesFlowOperationsItemStop WorkspaceChangeBeforeCapabilitiesFlowOperationsItem = "stop"
func (*WorkspaceChangeBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesInject ¶
type WorkspaceChangeBeforeCapabilitiesInject struct {
Context WorkspaceChangeBeforeCapabilitiesInjectContext
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilitiesInject is a generated nested model.
func (WorkspaceChangeBeforeCapabilitiesInject) MarshalJSON ¶
func (value WorkspaceChangeBeforeCapabilitiesInject) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilitiesInject) UnmarshalJSON ¶
func (value *WorkspaceChangeBeforeCapabilitiesInject) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesInjectContext ¶
type WorkspaceChangeBeforeCapabilitiesInjectContext struct {
Append WorkspaceChangeBeforeCapabilitiesInjectContextAppend
DeliverAt []WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilitiesInjectContext is a generated nested model.
func (WorkspaceChangeBeforeCapabilitiesInjectContext) MarshalJSON ¶
func (value WorkspaceChangeBeforeCapabilitiesInjectContext) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilitiesInjectContext) UnmarshalJSON ¶
func (value *WorkspaceChangeBeforeCapabilitiesInjectContext) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesInjectContextAppend ¶
type WorkspaceChangeBeforeCapabilitiesInjectContextAppend bool
WorkspaceChangeBeforeCapabilitiesInjectContextAppend is a generated schema value.
const WorkspaceChangeBeforeCapabilitiesInjectContextAppendTrue WorkspaceChangeBeforeCapabilitiesInjectContextAppend = true
func (*WorkspaceChangeBeforeCapabilitiesInjectContextAppend) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeBeforeCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem ¶
type WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem string
WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.
const WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItemNextTurn WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItemNow WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem = "now"
func (*WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesModify ¶
type WorkspaceChangeBeforeCapabilitiesModify struct {
Content Optional[WorkspaceChangeBeforeCapabilitiesModifyContent]
Input Optional[WorkspaceChangeBeforeCapabilitiesModifyInput]
Instructions Optional[WorkspaceChangeBeforeCapabilitiesModifyInstructions]
Output Optional[WorkspaceChangeBeforeCapabilitiesModifyOutput]
Prompt Optional[WorkspaceChangeBeforeCapabilitiesModifyPrompt]
Request Optional[WorkspaceChangeBeforeCapabilitiesModifyRequest]
Response Optional[WorkspaceChangeBeforeCapabilitiesModifyResponse]
Summary Optional[WorkspaceChangeBeforeCapabilitiesModifySummary]
Workspace Optional[WorkspaceChangeBeforeCapabilitiesModifyWorkspace]
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilitiesModify is a generated nested model.
func (WorkspaceChangeBeforeCapabilitiesModify) MarshalJSON ¶
func (value WorkspaceChangeBeforeCapabilitiesModify) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilitiesModify) UnmarshalJSON ¶
func (value *WorkspaceChangeBeforeCapabilitiesModify) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesModifyContent ¶ added in v0.1.1
type WorkspaceChangeBeforeCapabilitiesModifyContent struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilitiesModifyContent is a generated nested model.
func (WorkspaceChangeBeforeCapabilitiesModifyContent) MarshalJSON ¶ added in v0.1.1
func (value WorkspaceChangeBeforeCapabilitiesModifyContent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilitiesModifyContent) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeBeforeCapabilitiesModifyContent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesModifyInput ¶ added in v0.1.1
type WorkspaceChangeBeforeCapabilitiesModifyInput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilitiesModifyInput is a generated nested model.
func (WorkspaceChangeBeforeCapabilitiesModifyInput) MarshalJSON ¶ added in v0.1.1
func (value WorkspaceChangeBeforeCapabilitiesModifyInput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilitiesModifyInput) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeBeforeCapabilitiesModifyInput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesModifyInstructions ¶ added in v0.1.1
type WorkspaceChangeBeforeCapabilitiesModifyInstructions struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilitiesModifyInstructions is a generated nested model.
func (WorkspaceChangeBeforeCapabilitiesModifyInstructions) MarshalJSON ¶ added in v0.1.1
func (value WorkspaceChangeBeforeCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilitiesModifyInstructions) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeBeforeCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesModifyOutput ¶ added in v0.1.1
type WorkspaceChangeBeforeCapabilitiesModifyOutput struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilitiesModifyOutput is a generated nested model.
func (WorkspaceChangeBeforeCapabilitiesModifyOutput) MarshalJSON ¶ added in v0.1.1
func (value WorkspaceChangeBeforeCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilitiesModifyOutput) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeBeforeCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesModifyPrompt ¶ added in v0.1.1
type WorkspaceChangeBeforeCapabilitiesModifyPrompt struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilitiesModifyPrompt is a generated nested model.
func (WorkspaceChangeBeforeCapabilitiesModifyPrompt) MarshalJSON ¶ added in v0.1.1
func (value WorkspaceChangeBeforeCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilitiesModifyPrompt) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeBeforeCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesModifyRequest ¶ added in v0.1.1
type WorkspaceChangeBeforeCapabilitiesModifyRequest struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilitiesModifyRequest is a generated nested model.
func (WorkspaceChangeBeforeCapabilitiesModifyRequest) MarshalJSON ¶ added in v0.1.1
func (value WorkspaceChangeBeforeCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilitiesModifyRequest) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeBeforeCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesModifyResponse ¶ added in v0.1.1
type WorkspaceChangeBeforeCapabilitiesModifyResponse struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilitiesModifyResponse is a generated nested model.
func (WorkspaceChangeBeforeCapabilitiesModifyResponse) MarshalJSON ¶ added in v0.1.1
func (value WorkspaceChangeBeforeCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilitiesModifyResponse) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeBeforeCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesModifySummary ¶ added in v0.1.1
type WorkspaceChangeBeforeCapabilitiesModifySummary struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilitiesModifySummary is a generated nested model.
func (WorkspaceChangeBeforeCapabilitiesModifySummary) MarshalJSON ¶ added in v0.1.1
func (value WorkspaceChangeBeforeCapabilitiesModifySummary) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilitiesModifySummary) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeBeforeCapabilitiesModifySummary) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeCapabilitiesModifyWorkspace ¶ added in v0.1.1
type WorkspaceChangeBeforeCapabilitiesModifyWorkspace struct {
Merge bool
Replace bool
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeCapabilitiesModifyWorkspace is a generated nested model.
func (WorkspaceChangeBeforeCapabilitiesModifyWorkspace) MarshalJSON ¶ added in v0.1.1
func (value WorkspaceChangeBeforeCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeCapabilitiesModifyWorkspace) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeBeforeCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeEvent ¶
type WorkspaceChangeBeforeEvent struct {
Extensions Optional[*Extensions]
Gaps Optional[[]WorkspaceChangeBeforeEventGapsItem]
ID string
Items Optional[[]*ContentItem]
Native Optional[*NativeEvent]
ParentEventId Optional[string]
Session Optional[*Session]
Source string
Synthesized Optional[bool]
Time string
Turn Optional[WorkspaceChangeBeforeEventTurn]
Type WorkspaceChangeBeforeEventType
Workspace WorkspaceChangeBeforeEventWorkspace
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/workspace.change.before.
func (WorkspaceChangeBeforeEvent) MarshalJSON ¶
func (value WorkspaceChangeBeforeEvent) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeEvent) UnmarshalJSON ¶
func (value *WorkspaceChangeBeforeEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeEventGapsItem ¶
type WorkspaceChangeBeforeEventGapsItem struct {
Path string
Reason string
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeEventGapsItem is a generated nested model.
func (WorkspaceChangeBeforeEventGapsItem) MarshalJSON ¶
func (value WorkspaceChangeBeforeEventGapsItem) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeEventGapsItem) UnmarshalJSON ¶
func (value *WorkspaceChangeBeforeEventGapsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeEventTurn ¶
type WorkspaceChangeBeforeEventTurn struct {
ID string
Synthesized Optional[bool]
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeEventTurn is a generated nested model.
func (WorkspaceChangeBeforeEventTurn) MarshalJSON ¶
func (value WorkspaceChangeBeforeEventTurn) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeEventTurn) UnmarshalJSON ¶
func (value *WorkspaceChangeBeforeEventTurn) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeEventType ¶
type WorkspaceChangeBeforeEventType string
WorkspaceChangeBeforeEventType is a generated schema value.
const WorkspaceChangeBeforeEventTypeWorkspaceChangeBefore WorkspaceChangeBeforeEventType = "workspace.change.before"
func (*WorkspaceChangeBeforeEventType) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeBeforeEventType) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeEventWorkspace ¶
type WorkspaceChangeBeforeEventWorkspace struct {
Change WorkspaceChangeBeforeEventWorkspaceChange
Kind WorkspaceChangeBeforeEventWorkspaceKind
Prior Optional[WorkspaceChangeBeforeEventWorkspacePrior]
Reason Optional[string]
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeEventWorkspace is a generated nested model.
func (WorkspaceChangeBeforeEventWorkspace) MarshalJSON ¶
func (value WorkspaceChangeBeforeEventWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeEventWorkspace) UnmarshalJSON ¶
func (value *WorkspaceChangeBeforeEventWorkspace) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeEventWorkspaceChange ¶
type WorkspaceChangeBeforeEventWorkspaceChange struct {
CWD Optional[string]
WorkspaceRoots Optional[[]string]
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeEventWorkspaceChange is a generated nested model.
func (WorkspaceChangeBeforeEventWorkspaceChange) MarshalJSON ¶
func (value WorkspaceChangeBeforeEventWorkspaceChange) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeEventWorkspaceChange) UnmarshalJSON ¶
func (value *WorkspaceChangeBeforeEventWorkspaceChange) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeEventWorkspaceKind ¶
type WorkspaceChangeBeforeEventWorkspaceKind string
WorkspaceChangeBeforeEventWorkspaceKind is a generated schema value.
const WorkspaceChangeBeforeEventWorkspaceKindCWD WorkspaceChangeBeforeEventWorkspaceKind = "cwd"
const WorkspaceChangeBeforeEventWorkspaceKindRoots WorkspaceChangeBeforeEventWorkspaceKind = "roots"
const WorkspaceChangeBeforeEventWorkspaceKindSwitch WorkspaceChangeBeforeEventWorkspaceKind = "switch"
func (*WorkspaceChangeBeforeEventWorkspaceKind) UnmarshalJSON ¶ added in v0.1.1
func (value *WorkspaceChangeBeforeEventWorkspaceKind) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
type WorkspaceChangeBeforeEventWorkspacePrior ¶
type WorkspaceChangeBeforeEventWorkspacePrior struct {
CWD Optional[string]
WorkspaceRoots Optional[[]string]
AdditionalProperties map[string]json.RawMessage
}
WorkspaceChangeBeforeEventWorkspacePrior is a generated nested model.
func (WorkspaceChangeBeforeEventWorkspacePrior) MarshalJSON ¶
func (value WorkspaceChangeBeforeEventWorkspacePrior) MarshalJSON() ([]byte, error)
MarshalJSON emits known fields together with all retained members.
func (*WorkspaceChangeBeforeEventWorkspacePrior) UnmarshalJSON ¶
func (value *WorkspaceChangeBeforeEventWorkspacePrior) UnmarshalJSON(data []byte) error
UnmarshalJSON enforces generated structural rules and retains supported extensions.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth supplies opt-in, independently scoped outbound HTTP credentials.
|
Package auth supplies opt-in, independently scoped outbound HTTP credentials. |
|
Code generated by ahp-codegen.
|
Code generated by ahp-codegen. |
|
Code generated by ahp-codegen.
|
Code generated by ahp-codegen. |
|
cmd
|
|
|
compaction
command
Offline host fixture.
|
Offline host fixture. |
|
compaction-wire
command
Canonical AHP traffic.
|
Canonical AHP traffic. |
|
elicitation
command
Offline HTTP sender/receiver.
|
Offline HTTP sender/receiver. |
|
interop
command
|
|
|
lifecycle-client
command
|
|
|
lifecycle-server
command
|
|
|
Code generated by ahp-codegen.
|
Code generated by ahp-codegen. |
|
Code generated by ahp-codegen.
|
Code generated by ahp-codegen. |
|
Code generated by ahp-codegen.
|
Code generated by ahp-codegen. |
|
Code generated by ahp-codegen.
|
Code generated by ahp-codegen. |
|
examples
|
|
|
attachments
command
Command attachments sends file metadata to registered hooks and reads the invocation-owned body after shutdown.
|
Command attachments sends file metadata to registered hooks and reads the invocation-owned body after shutdown. |
|
internal
|
|
|
canonical
Package canonical validates protocol documents against bundled draft schemas.
|
Package canonical validates protocol documents against bundled draft schemas. |
|
Package interop implements the synthetic cross-language pending-boundary adapter.
|
Package interop implements the synthetic cross-language pending-boundary adapter. |
|
Code generated by ahp-codegen.
|
Code generated by ahp-codegen. |
|
Code generated by ahp-codegen.
|
Code generated by ahp-codegen. |
|
Package server adapts AHP callbacks to standard HTTP and owned stdio streams.
|
Package server adapts AHP callbacks to standard HTTP and owned stdio streams. |
|
Code generated by ahp-codegen.
|
Code generated by ahp-codegen. |
|
Code generated by ahp-codegen.
|
Code generated by ahp-codegen. |
|
Code generated by ahp-codegen.
|
Code generated by ahp-codegen. |
|
Code generated by ahp-codegen.
|
Code generated by ahp-codegen. |