ahp

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Agent Hooks Protocol SDK for Go

The active draft also provides MCP-aligned elicitation, automatic short-circuit observation delivery, and before/after compaction controls. See the shared boundary API guide for entrypoints, upload binding, trusted-host obligations, and test scope.

Typed Go models and JSON codecs for the Agent Hooks Protocol (AHP).

The SDK follows the current AHP draft schema snapshot and supports Go 1.27 or newer.

Installation

go get github.com/agenthooksprotocol/go-sdk@latest

While the protocol is a working draft, pin a commit SHA for reproducible builds.

Quick start

Every public AHP schema has a Go type plus Parse<Type> and Encode<Type> functions.

package main

import (
    "fmt"
    "log"

    ahp "github.com/agenthooksprotocol/go-sdk"
)

func main() {
    input := []byte(`{"effects":["deny"],"com.example.preview":true}`)
    result := ahp.ParseCapabilities(input)
    if !result.OK {
        log.Fatal(result.Diagnostics)
    }

    fmt.Println(result.Value.Effects)

    encoded, err := ahp.EncodeCapabilities(result.Value)
    if err != nil {
        log.Fatal(err)
    }
    fmt.Println(string(encoded))
}

A successful ParseResult[T] contains the typed Value, the original JSON in Raw, and compatibility diagnostics. A failed result retains Raw when the input was valid JSON and reports diagnostics with a JSON Pointer path and machine-readable code.

API

The package exports:

  • SchemaRevision and ProtocolVersionValue
  • typed models for registrations, JSON-RPC messages, hook events, requests, responses, capabilities, and effects
  • Parse<Type>([]byte) ParseResult[Type] for structural parsing
  • Encode<Type>(Type) ([]byte, error) for JSON encoding
  • ParseDiagnostic, DiagnosticCode, and DiagnosticSeverity

Generated structs preserve unknown object members in AdditionalProperties. Open enums retain unknown string values, and discriminated unions preserve unknown variants. Parsing does not coerce values, insert defaults, or discard extension data.

Public runtime

The client package composes protocol decisions; it does not run tools, validate application argument schemas, grant native permissions, or commit compaction changes. The host remains responsible for those operations.

  • Configure client.Hooks with JSON registration, stable host Source, and explicit event modes/capability grants. A full manifest is an advanced alternative. Registration order, selectors, deadlines, and failure policies govern delivery. Construction performs no network or process I/O.
  • Call the context-first named boundary methods with generated event input projections. ToolBefore preserves the application argument type through its result. Use json.RawMessage as the type for dynamic tool registries.
  • WithInitialState carries a native decision already accumulated for this occurrence. WithCapabilities can only narrow the manifest. Neither option proves execution or grants authority.
  • A protocol denial is a result, not a Go error. Operational failures appear in Result.Diagnostics; fail-closed failures are distinguishable from backend effects. Result.Errors remains a compatibility view of interception failures. Result.Permission is the canonical settled permission: none is not approval, ask requires host approval, and interruption always prevents execution. Each DeliveryError.Code is a typed DeliveryCode: protocol_rejection, remote_rpc, transport, cancelled, deadline_exceeded, preparation, or capacity. Stage still identifies the phase, and FailClosed identifies synthetic denial. Remote RPC codes require a valid, correlated error envelope; backend error messages/data are not exposed. Inspect Code, not error text. Cancellation returns the accepted prefix with Interrupted set and a context error. Never execute interrupted work, including under fail-open policy.
  • A DecodeError means protocol acceptance succeeded but the effective input cannot be represented by the application's type. The non-nil result retains accepted effects and raw EffectiveInput; InputAvailable is false. Do not treat this as a rejected backend response or use the typed zero value.
  • Each boundary call owns its bounded observation deliveries and finishes them before returning. Observation failures appear in Diagnostics but never change the settled decision. Observations remains an already-completed compatibility handle. Hosts own concurrency: run the whole call in a goroutine and retain its result; never execute a gated operation before obtaining its decision.
  • The call's context.Context bounds queue waits, content preparation/uploads, authentication, event delivery, retries and observations with one remaining budget. Backend deadlines can shorten that budget, never reset it. Cancellation stops new work and retires owned I/O; safety cleanup may outlast the deadline.
  • Close rejects new work, cancels active calls, waits for owned resource retirement and reaps subprocesses. Concurrent/repeated calls wait for the same completion and return the same outcome. Await calls before closing for graceful completion. Borrowed HTTP clients and harness-owned auth providers are never closed.

Generated semantic packages (registration, transport, subscription, effect, content, capability, event, and tool) construct the existing wire types. Constructors fill schema literals and annotated defaults; parsers continue to preserve presence and never invent omitted required fields. The API targets the draft wire protocol and may evolve with it.

client.Hooks is the registration-driven harness. Construct it with ordinary JSON registration and explicit event grants; there is no separate initialization step or custom registration-file loader:

data, err := os.ReadFile("hooks.json")
if err != nil { return err }
var reg ahp.Registration
if err := json.Unmarshal(data, &reg); err != nil { return err }

toolCapabilities, err := capability.Intercept(
    capability.Deny(), capability.ModifyInput(capability.Replace))
if err != nil { return err }

hooks, err := client.New(reg, client.Options{
    Source: "urn:example:host",
    Events: map[string]client.EventCapabilities{
        "tool.before": toolCapabilities,
    },
    Content: hostContentPolicy, // Explicit, receiver-scoped host disclosure policy.
})
if err != nil { return err }
defer hooks.Close()

type Arguments struct { Path string `json:"path"` }
result, err := hooks.ToolBefore(ctx, event.ToolBeforeInput[Arguments]{
    CallID: "call-1", Path: "execute",
    Name: "read_file", Origin: ahp.ExecutionEventToolOriginNative,
    Input: Arguments{Path: "notes.txt"},
})
// Check err, result.Interrupted, protocol state, and host policy before execution.
// result.Input has type Arguments when result.InputAvailable is true.

The JSON document uses the unchanged ahp.Registration wire model: backend routes, modes, deadlines, failure policies, content selections, and upload endpoints remain registration data. The event map grants no effects or elicitation support beyond the supplied declaration. capability.Intercept deliberately advertises both intercept and observe modes; capability.Observe advertises only observe. Include capability.ElicitationForm() explicitly when advertising form decisions. Options.Manifest remains available for advanced full-manifest metadata; provide it instead of Events, not together with it. client.Client is a deprecated alias of Hooks, not a second runtime or API.

See the executable JSON registration and typed boundary example, generated constructor examples, and public HTTP tests. The compiled example includes initial state, capability narrowing, decode-error handling, observation drain, shutdown, and a standard owned-stream stdio server. The compiled resolved-content walkthrough shows verified host bytes, explicit receiver authorization, independent upload routes, WithCompactionInstructions, and detached Result.Content retrieval side by side with the receiving HTTP handlers.

Duration constructors preserve exact decimal milliseconds. Canonical admission rejects fractional milliseconds and nonpositive deadlines. Use the generated NewInterceptDuration helper for an eager checked constructor, or NewInterceptMilliseconds for explicit wire values. No timeout or stdio lifecycle default is invented.

Generated event, capability, state, and effect helpers

Generated event.*Input structs are ergonomic boundary inputs, not copies of nested wire envelopes. For tool boundaries, set CallID, Name, Origin, Input, and Path directly instead of constructing Call and Tool wrappers. ToolBeforeInput[T] retains the application's typed input. Other event-specific fields remain typed; optional fields use ahp.Some(value), including ID and ParentEventID. Zero optional values mean absent, not an explicit null. The generated marshaler restores canonical nested wire fields. Use root ahp wire models and parsers for decoding protocol JSON, not ergonomic input structs. Advanced dynamic callers can use Hooks.Dispatch(ctx, eventType, input, options...) with canonical host fields, excluding SDK-owned type, source, and manifest. Canonical fixture adapters use this path instead of duplicating generated mappings. The SDK owns the protocol envelope and fills permitted identity fields; callers still supply required occurrence and application data.

capability.Event is the event declaration used by client.EventCapabilities. capability.Intercept(grants...) returns (capability.Event, error) and requires explicit grants; always handle its error. Available grants are:

  • Allow, Ask, Deny, Message, and Return.
  • ModifyContent, ModifyInput, ModifyInstructions, ModifyOutput, ModifyPrompt, ModifyRequest, ModifyResponse, ModifySummary, and ModifyWorkspace, each with explicit capability.Merge and/or capability.Replace operations.
  • FlowContinue(remaining, count) and FlowStop.
  • InjectContextAppend, with explicit capability.Now and/or capability.NextTurn delivery timing.
  • ElicitationForm and ElicitationURL, independently granted.

Construction is not event admission or execution authorization. Hooks still checks event compatibility, host support, and per-call narrowing. Pass a checked narrower declaration's dereferenced Capabilities to client.WithCapabilities. The lower-level capability.New and event-specific wire constructors remain available for advanced declarations.

state.Initial(permission.None) returns a pointer to state with no candidate. permission.Allow, Ask, Deny, and None represent native decisions already made for this occurrence, not a new authorization. Pass the dereferenced result to client.WithInitialState. state.Candidate(value, provenance...) encodes a candidate and returns an error; state.WithCandidate, WithFlow, WithInjections, and WithInstructions supply explicit accumulated state. state.NoCandidate represents an explicit absent candidate. Initial state never skips host permission, approval, or application-schema validation.

Receiver-side effect.Modify<Target>Merge(value) and effect.Modify<Target>Replace(value) accept typed application values for all nine modification targets above. effect.Return(value) and effect.InjectContextAppend(effect.Now, value) (or effect.NextTurn) likewise encode payloads and return (*ahp.Effect, error); check errors before publishing a response. Simple effects retain NewAllow, NewAsk, NewDeny, NewMessage, NewFlowStop, and NewFlowContinue. Raw NewModify, NewReturn, and NewInjectAppend remain advanced wire helpers. These constructors neither grant capabilities nor establish that a payload satisfies the host application's schema.

Generated content-source companions such as ItemsSources, InstructionsSource, and SummarySource bind owned *content.Source values to their descriptor slots without serializing readers or reading at construction. Sources supplement, not replace, canonical descriptors. Explicit host content authorization, disclosure policy, size limits, and source ownership rules still apply.

Current composition coverage

The client composes input and resolved non-input modifications, protocol permission/candidate decisions, messages, injections, and bounded flow effects. Invalid capability grants and missing target bindings fail before delivery.

Descriptor-backed modifications use verified, occurrence-owned bytes. Each receiver gets its own uploaded reference; logical item identity is preserved. Result.EffectiveValues exposes accepted target values, and Result.Content("/canonical/item/path") returns detached effective body bytes. Compaction instructions and summaries have fixed canonical bindings. When instructions are absent, WithCompactionInstructions supplies a host-owned descriptor template; the SDK does not invent one. A returned compaction summary is only a pending candidate, not installed context.

Ambiguous native targets require WithModificationTarget(target, binding). ModificationTarget.Path selects an allowed canonical descriptor, collection, or model-request /params. Collection effects always contain an array, even for zero or one item; additions require host-owned Templates. These bindings are an SDK mapping contract, not additional protocol wire fields.

Elicitation request results retain an immutable Snapshot of the original exchange. Pass it with WithElicitationRequest(result.Snapshot) for the corresponding result boundary. Answer validation uses the pinned MCP schemas and original requested form schema, without network schema loading. Correlation is checked before body resolution. URL acceptance is consent, not evidence of completion. AHP mode support is independent of effect support: return, deny, and result modify require the matching explicit capabilities.elicitation.form or .url grant. An absent mode or empty AHP elicitation object grants nothing; MCP's legacy empty-object form fallback does not apply. Passive delivery and informational message effects do not decide or alter the interaction and do not require this decision-mode grant. Application schemas for ordinary tools remain the host's concern.

Receiving hooks

server.NewHandler returns an ordinary http.Handler with intercept, observe, and capabilities callbacks. Mount it in an application-owned mux and use normal HTTP authentication middleware. server.ServeStdio adapts owned input/output streams to the same handler; it is not a second protocol engine or backend registry. The application still owns listener startup, admission policy, and shutdown. Callback errors are redacted; notifications never receive JSON-RPC replies.

Content and authentication

Configure one harness-owned Options.AuthProvider implementing auth.Provider. Credential receives the full selected authentication binding, backend identity, exact destination, event/upload purpose, and operation context. Challenge receives actual 401 response headers and the opaque Credential.Attempt identity; secrets never appear in diagnostics. The provider owns discovery/trust, login/consent, exchange, refresh/rotation, coordination and persistence. Hooks neither starts a browser nor closes the provider. Without a provider, only bearer tokenEnv resolution is built in; missing secrets and unsupported configured mechanisms fail closed. An absent binding starts anonymously; an explicitly supplied provider may authorize recovery from an actual challenge according to host trust policy.

Event and upload bindings remain independent: uploads never inherit event credentials. Authenticated interceptor delivery permits one challenge retry with the same request identity/body and remaining context budget. Notifications and uploads are not replayed. Redirects are never followed. Existing separately scoped auth transports and EventTransportResolver remain advanced compatibility paths; deployment-specific TLS/workload mechanisms stay transport-owned. Borrowed HTTP clients are never closed.

Content selection does not grant access. client.ContentOptions supplies receiver-scoped disclosure decisions and host-owned content resolution. The zero value does not disclose bodies or opaque application payloads; provide an explicit projection policy for tool inputs and other opaque fields. Resolver references are opaque handles, not URLs the SDK automatically fetches. Selected uploads complete before delivery and hash the original bytes. Metadata-only delivery does not itself read bodies; preparing advertised descriptor-backed modifications or validating an elicitation exchange can require verified host bodies regardless of receiver selection. Upload credentials are never inferred from event credentials.

For an unread stream, content.NewSource(io.ReadCloser) (also client.NewContentSource) transfers ownership when bound to a boundary. Construction performs no reads. Only an authorized selected body snapshots bytes, within the configured limit, computes actual size/SHA-256 and uploads independently to each receiver before publishing its event. Fan-out reuses the immutable snapshot. Unused, failed and cancelled sources are closed, and a source cannot be reused across occurrences. Reader Close must unblock a pending Read. Original source snapshots and rewritten prepared bodies each have an aggregate MaxContentBytes bound; together they can retain twice that limit, plus bounded delivery copies. Advanced callers may bind canonical slots with client.WithContentSource; wire references/resolvers remain available for already prepared content.

On the receiver, upload parsing verifies declared size and digest only at successful EOF. Early close or a failed read cannot yield a verified reference. The application authorizes scope, stages and commits immutable storage, allocates the receiver reference, and only then writes the upload response. The SDK does not provide a content store or infer publication from verification.

Development

git clone https://github.com/agenthooksprotocol/agent-hooks-protocol.git
git clone https://github.com/agenthooksprotocol/go-sdk.git
cd go-sdk
gofmt -w .
go vet ./...
go test ./...

The interoperability adapters and tests use the sibling protocol checkout's canonical schemas, shared scenarios, and public test certificates. During coordinated changes, AHP_INTEROP_FIXTURE_ROOT can point lifecycle/observation tests at the pinned protocol checkout's interop directory; its expectations are used unchanged. CI pins the generator and fixture revision and checks this SDK's bundled schema snapshot. See the adapter guide and lifecycle guide for transport, authentication, upload, and synthetic-host boundaries.

Generated code lives in generated.go, semantic-package generated.go files, and client/boundaries_generated.go. Its provenance is recorded in ahp-codegen.lock.json; schema changes are made in the protocol repository, not by editing the generated file.

The generator source is protocol commit 7a3353d92c14514215cc092a930685b0947f0bc1. From a protocol checkout at that commit, regenerate and verify with:

python3 tools/generate_sdk.py --go-sdk ../go-sdk
python3 tools/generate_sdk.py --go-sdk ../go-sdk --check

License

Apache-2.0

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

View Source
const CapabilitiesRequestSchemaRevision = SchemaRevision
View Source
const CapabilitiesResponseSchemaRevision = SchemaRevision
View Source
const CapabilitiesSchemaRevision = SchemaRevision
View Source
const CatalogueEventSchemaRevision = SchemaRevision
View Source
const ContentItemSchemaRevision = SchemaRevision
View Source
const ContentReferenceSchemaRevision = SchemaRevision
View Source
const ContentSelectionSchemaRevision = SchemaRevision
View Source
const ContentUploadSchemaRevision = SchemaRevision
View Source
const DenyEffectSchemaRevision = SchemaRevision
View Source
const EffectSchemaRevision = SchemaRevision
View Source
const ExecutionEventSchemaRevision = SchemaRevision
View Source
const ExtensionsSchemaRevision = SchemaRevision
View Source
const InteractionEventSchemaRevision = SchemaRevision
View Source
const InterceptDenyResponseSchemaRevision = SchemaRevision
View Source
const InterceptNoEffectResponseSchemaRevision = SchemaRevision
View Source
const InterceptRequestSchemaRevision = SchemaRevision
View Source
const InterceptResponseSchemaRevision = SchemaRevision
View Source
const JsonRpcMessageSchemaRevision = SchemaRevision
View Source
const ObserveNotificationSchemaRevision = SchemaRevision
View Source
const ProtocolVersionValue = "draft"
View Source
const RegistrationSchemaRevision = SchemaRevision
View Source
const SchemaRevision = "draft"
View Source
const SessionEndEventSchemaRevision = SchemaRevision
View Source
const SessionStartEventSchemaRevision = SchemaRevision
View Source
const TaskWorkspaceEventSchemaRevision = SchemaRevision
View Source
const ToolAfterEventSchemaRevision = SchemaRevision
View Source
const ToolBeforeEventSchemaRevision = SchemaRevision
View Source
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 EncodeDenyEffect

func EncodeDenyEffect(value DenyEffect) ([]byte, error)

EncodeDenyEffect encodes value without applying schema defaults.

func EncodeEffect

func EncodeEffect(value Effect) ([]byte, error)

EncodeEffect 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 Authentication

type Authentication struct {
	Variant1 Optional[json.RawMessage]
	Variant2 Optional[AuthenticationVariant2]
	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

type AuthenticationVariant2

type AuthenticationVariant2 struct {
	ClientId             string
	ClientSecretRef      Optional[string]
	Flow                 AuthenticationVariant2Flow
	Issuer               string
	Resource             string
	Scopes               Optional[[]string]
	Type                 AuthenticationVariant2Type
	AdditionalProperties map[string]json.RawMessage
}

AuthenticationVariant2 is a generated nested model.

func (AuthenticationVariant2) MarshalJSON

func (value AuthenticationVariant2) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*AuthenticationVariant2) UnmarshalJSON

func (value *AuthenticationVariant2) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type AuthenticationVariant2Flow

type AuthenticationVariant2Flow string

AuthenticationVariant2Flow is a generated schema value.

const AuthenticationVariant2FlowAuthorizationCodePkce AuthenticationVariant2Flow = "authorization_code_pkce"
const AuthenticationVariant2FlowClientCredentials AuthenticationVariant2Flow = "client_credentials"

type AuthenticationVariant2Type

type AuthenticationVariant2Type string

AuthenticationVariant2Type is a generated schema value.

const AuthenticationVariant2TypeOauth AuthenticationVariant2Type = "oauth"

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

func (value Backend) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*Backend) UnmarshalJSON

func (value *Backend) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

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

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

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) UnmarshalJSON

func (value *Capabilities) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type CapabilitiesEffectsItem

type CapabilitiesEffectsItem struct {
	Variant1 Optional[CapabilitiesEffectsItemVariant1]
	Variant2 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

type CapabilitiesEffectsItemVariant1

type CapabilitiesEffectsItemVariant1 string

CapabilitiesEffectsItemVariant1 is a generated schema value.

const CapabilitiesEffectsItemVariant1Allow CapabilitiesEffectsItemVariant1 = "allow"
const CapabilitiesEffectsItemVariant1Ask CapabilitiesEffectsItemVariant1 = "ask"
const CapabilitiesEffectsItemVariant1Deny CapabilitiesEffectsItemVariant1 = "deny"
const CapabilitiesEffectsItemVariant1Flow CapabilitiesEffectsItemVariant1 = "flow"
const CapabilitiesEffectsItemVariant1Inject CapabilitiesEffectsItemVariant1 = "inject"
const CapabilitiesEffectsItemVariant1Message CapabilitiesEffectsItemVariant1 = "message"
const CapabilitiesEffectsItemVariant1Modify CapabilitiesEffectsItemVariant1 = "modify"
const CapabilitiesEffectsItemVariant1Return CapabilitiesEffectsItemVariant1 = "return"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type CapabilitiesFlowOperationsItem

type CapabilitiesFlowOperationsItem string

CapabilitiesFlowOperationsItem is a generated schema value.

const CapabilitiesFlowOperationsItemContinue CapabilitiesFlowOperationsItem = "continue"
const CapabilitiesFlowOperationsItemStop CapabilitiesFlowOperationsItem = "stop"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type CapabilitiesInjectContextAppend

type CapabilitiesInjectContextAppend bool

CapabilitiesInjectContextAppend is a generated schema value.

const CapabilitiesInjectContextAppendTrue CapabilitiesInjectContextAppend = true

type CapabilitiesInjectContextDeliverAtItem

type CapabilitiesInjectContextDeliverAtItem string

CapabilitiesInjectContextDeliverAtItem is a generated schema value.

const CapabilitiesInjectContextDeliverAtItemNextTurn CapabilitiesInjectContextDeliverAtItem = "next_turn"
const CapabilitiesInjectContextDeliverAtItemNow CapabilitiesInjectContextDeliverAtItem = "now"

type CapabilitiesModify

type CapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

type CapabilitiesRequest

type CapabilitiesRequest struct {
	ID                   *JsonRpcId
	JSONRPC              CapabilitiesRequestJSONRPC
	Method               json.RawMessage
	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 retains members not known to this schema revision.

type CapabilitiesRequestJSONRPC

type CapabilitiesRequestJSONRPC string

CapabilitiesRequestJSONRPC is a generated schema value.

const CapabilitiesRequestJSONRPCValue20 CapabilitiesRequestJSONRPC = "2.0"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type CapabilitiesResponseJSONRPC

type CapabilitiesResponseJSONRPC string

CapabilitiesResponseJSONRPC is a generated schema value.

const CapabilitiesResponseJSONRPCValue20 CapabilitiesResponseJSONRPC = "2.0"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type CapabilitiesResponseResultManifestAuthenticationItem

type CapabilitiesResponseResultManifestAuthenticationItem string

CapabilitiesResponseResultManifestAuthenticationItem is a generated schema value.

const CapabilitiesResponseResultManifestAuthenticationItemBearer CapabilitiesResponseResultManifestAuthenticationItem = "bearer"
const CapabilitiesResponseResultManifestAuthenticationItemOauth CapabilitiesResponseResultManifestAuthenticationItem = "oauth"

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 retains members not known to this schema revision.

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"

type CapabilitiesResponseResultManifestEventsItemModesItem

type CapabilitiesResponseResultManifestEventsItemModesItem string

CapabilitiesResponseResultManifestEventsItemModesItem is a generated schema value.

const CapabilitiesResponseResultManifestEventsItemModesItemIntercept CapabilitiesResponseResultManifestEventsItemModesItem = "intercept"
const CapabilitiesResponseResultManifestEventsItemModesItemObserve CapabilitiesResponseResultManifestEventsItemModesItem = "observe"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type CapabilitiesResponseResultManifestManagedPolicy

type CapabilitiesResponseResultManifestManagedPolicy struct {
	Disableable          bool
	Scopes               []CapabilitiesResponseResultManifestManagedPolicyScopesItem
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesResponseResultManifestManagedPolicy is a generated nested model.

func (CapabilitiesResponseResultManifestManagedPolicy) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesResponseResultManifestManagedPolicy) UnmarshalJSON

func (value *CapabilitiesResponseResultManifestManagedPolicy) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type CapabilitiesResponseResultManifestManagedPolicyScopesItem

type CapabilitiesResponseResultManifestManagedPolicyScopesItem string

CapabilitiesResponseResultManifestManagedPolicyScopesItem is a generated schema value.

const CapabilitiesResponseResultManifestManagedPolicyScopesItemManaged CapabilitiesResponseResultManifestManagedPolicyScopesItem = "managed"
const CapabilitiesResponseResultManifestManagedPolicyScopesItemProject CapabilitiesResponseResultManifestManagedPolicyScopesItem = "project"
const CapabilitiesResponseResultManifestManagedPolicyScopesItemUser CapabilitiesResponseResultManifestManagedPolicyScopesItem = "user"

type CapabilitiesResponseResultManifestTransportsItem

type CapabilitiesResponseResultManifestTransportsItem string

CapabilitiesResponseResultManifestTransportsItem is a generated schema value.

const CapabilitiesResponseResultManifestTransportsItemHTTP CapabilitiesResponseResultManifestTransportsItem = "http"
const CapabilitiesResponseResultManifestTransportsItemInProcess CapabilitiesResponseResultManifestTransportsItem = "in_process"
const CapabilitiesResponseResultManifestTransportsItemStdio CapabilitiesResponseResultManifestTransportsItem = "stdio"

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

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ConfigChangeAfterEventType

type ConfigChangeAfterEventType string

ConfigChangeAfterEventType is a generated schema value.

const ConfigChangeAfterEventTypeConfigChangeAfter ConfigChangeAfterEventType = "config.change.after"

type ConfigChangeBeforeCapabilities

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ConfigChangeBeforeCapabilitiesFlowOperationsItem

type ConfigChangeBeforeCapabilitiesFlowOperationsItem string

ConfigChangeBeforeCapabilitiesFlowOperationsItem is a generated schema value.

const ConfigChangeBeforeCapabilitiesFlowOperationsItemContinue ConfigChangeBeforeCapabilitiesFlowOperationsItem = "continue"
const ConfigChangeBeforeCapabilitiesFlowOperationsItemStop ConfigChangeBeforeCapabilitiesFlowOperationsItem = "stop"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ConfigChangeBeforeCapabilitiesInjectContextAppend

type ConfigChangeBeforeCapabilitiesInjectContextAppend bool

ConfigChangeBeforeCapabilitiesInjectContextAppend is a generated schema value.

const ConfigChangeBeforeCapabilitiesInjectContextAppendTrue ConfigChangeBeforeCapabilitiesInjectContextAppend = true

type ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem

type ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem string

ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItemNextTurn ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItemNow ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem = "now"

type ConfigChangeBeforeCapabilitiesModify

type ConfigChangeBeforeCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ConfigChangeBeforeEventType

type ConfigChangeBeforeEventType string

ConfigChangeBeforeEventType is a generated schema value.

const ConfigChangeBeforeEventTypeConfigChangeBefore ConfigChangeBeforeEventType = "config.change.before"

type ContentItem

type ContentItem struct {
	Variant1 Optional[ContentItemVariant1]
	Variant2 Optional[ContentItemVariant2]
	Variant3 Optional[ContentItemVariant3]
	Variant4 Optional[ContentItemVariant4]
	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

type ContentItemVariant1

type ContentItemVariant1 struct {
	Body                 *ContentReference
	Category             Optional[string]
	ID                   string
	Kind                 string
	MediaType            string
	ParentItemId         Optional[string]
	Role                 Optional[string]
	Selection            ContentItemVariant1Selection
	Sha256               Optional[string]
	Size                 Optional[json.Number]
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ContentItemVariant1 is a generated nested model.

func (ContentItemVariant1) MarshalJSON

func (value ContentItemVariant1) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ContentItemVariant1) UnmarshalJSON

func (value *ContentItemVariant1) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type ContentItemVariant1Selection

type ContentItemVariant1Selection string

ContentItemVariant1Selection is a generated schema value.

const ContentItemVariant1SelectionBody ContentItemVariant1Selection = "body"

type ContentItemVariant2

type ContentItemVariant2 struct {
	Category             Optional[string]
	Gap                  ContentItemVariant2Gap
	ID                   string
	Kind                 string
	MediaType            string
	ParentItemId         Optional[string]
	Role                 Optional[string]
	Selection            ContentItemVariant2Selection
	Sha256               Optional[string]
	Size                 Optional[json.Number]
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ContentItemVariant2 is a generated nested model.

func (ContentItemVariant2) MarshalJSON

func (value ContentItemVariant2) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ContentItemVariant2) UnmarshalJSON

func (value *ContentItemVariant2) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type ContentItemVariant2Gap

type ContentItemVariant2Gap struct {
	Path                 Optional[string]
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

ContentItemVariant2Gap is a generated nested model.

func (ContentItemVariant2Gap) MarshalJSON

func (value ContentItemVariant2Gap) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ContentItemVariant2Gap) UnmarshalJSON

func (value *ContentItemVariant2Gap) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type ContentItemVariant2Selection

type ContentItemVariant2Selection string

ContentItemVariant2Selection is a generated schema value.

const ContentItemVariant2SelectionBody ContentItemVariant2Selection = "body"

type ContentItemVariant3

type ContentItemVariant3 struct {
	Category             Optional[string]
	ID                   string
	Kind                 string
	MediaType            string
	ParentItemId         Optional[string]
	Role                 Optional[string]
	Selection            ContentItemVariant3Selection
	Sha256               Optional[string]
	Size                 Optional[json.Number]
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ContentItemVariant3 is a generated nested model.

func (ContentItemVariant3) MarshalJSON

func (value ContentItemVariant3) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ContentItemVariant3) UnmarshalJSON

func (value *ContentItemVariant3) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type ContentItemVariant3Selection

type ContentItemVariant3Selection string

ContentItemVariant3Selection is a generated schema value.

const ContentItemVariant3SelectionMetadata ContentItemVariant3Selection = "metadata"

type ContentItemVariant4

type ContentItemVariant4 struct {
	Category             Optional[string]
	ID                   string
	Kind                 string
	MediaType            string
	ParentItemId         Optional[string]
	Role                 Optional[string]
	Selection            ContentItemVariant4Selection
	Sha256               Optional[string]
	Size                 Optional[json.Number]
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ContentItemVariant4 is a generated nested model.

func (ContentItemVariant4) MarshalJSON

func (value ContentItemVariant4) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ContentItemVariant4) UnmarshalJSON

func (value *ContentItemVariant4) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type ContentItemVariant4Selection

type ContentItemVariant4Selection string

ContentItemVariant4Selection is a generated schema value.

const ContentItemVariant4SelectionOmit ContentItemVariant4Selection = "omit"

type ContentReference

type ContentReference struct {
	Ref                  string
	Sha256               string
	Size                 json.Number
	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 retains members not known to this schema revision.

type ContentSelection

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 retains members not known to this schema revision.

type ContentSelectionAudio

type ContentSelectionAudio string

ContentSelectionAudio is a generated schema value.

const ContentSelectionAudioBody ContentSelectionAudio = "body"
const ContentSelectionAudioMetadata ContentSelectionAudio = "metadata"
const ContentSelectionAudioOmit ContentSelectionAudio = "omit"

type ContentSelectionDefault

type ContentSelectionDefault string

ContentSelectionDefault is a generated schema value.

const ContentSelectionDefaultBody ContentSelectionDefault = "body"
const ContentSelectionDefaultMetadata ContentSelectionDefault = "metadata"
const ContentSelectionDefaultOmit ContentSelectionDefault = "omit"

type ContentSelectionFiles

type ContentSelectionFiles string

ContentSelectionFiles is a generated schema value.

const ContentSelectionFilesBody ContentSelectionFiles = "body"
const ContentSelectionFilesMetadata ContentSelectionFiles = "metadata"
const ContentSelectionFilesOmit ContentSelectionFiles = "omit"

type ContentSelectionImages

type ContentSelectionImages string

ContentSelectionImages is a generated schema value.

const ContentSelectionImagesBody ContentSelectionImages = "body"
const ContentSelectionImagesMetadata ContentSelectionImages = "metadata"
const ContentSelectionImagesOmit ContentSelectionImages = "omit"

type ContentSelectionReasoning

type ContentSelectionReasoning string

ContentSelectionReasoning is a generated schema value.

const ContentSelectionReasoningBody ContentSelectionReasoning = "body"
const ContentSelectionReasoningMetadata ContentSelectionReasoning = "metadata"
const ContentSelectionReasoningOmit ContentSelectionReasoning = "omit"

type ContentSelectionText

type ContentSelectionText string

ContentSelectionText is a generated schema value.

const ContentSelectionTextBody ContentSelectionText = "body"
const ContentSelectionTextMetadata ContentSelectionText = "metadata"
const ContentSelectionTextOmit ContentSelectionText = "omit"

type ContentSelectionVideo

type ContentSelectionVideo string

ContentSelectionVideo is a generated schema value.

const ContentSelectionVideoBody ContentSelectionVideo = "body"
const ContentSelectionVideoMetadata ContentSelectionVideo = "metadata"
const ContentSelectionVideoOmit ContentSelectionVideo = "omit"

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 retains members not known to this schema revision.

type ContextCompactAfterCapabilities

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ContextCompactAfterCapabilitiesElicitationForm

type ContextCompactAfterCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactAfterCapabilitiesElicitationForm is a generated nested model.

func (ContextCompactAfterCapabilitiesElicitationForm) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesElicitationForm) UnmarshalJSON

func (value *ContextCompactAfterCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ContextCompactAfterCapabilitiesFlowOperationsItem

type ContextCompactAfterCapabilitiesFlowOperationsItem string

ContextCompactAfterCapabilitiesFlowOperationsItem is a generated schema value.

const ContextCompactAfterCapabilitiesFlowOperationsItemContinue ContextCompactAfterCapabilitiesFlowOperationsItem = "continue"
const ContextCompactAfterCapabilitiesFlowOperationsItemStop ContextCompactAfterCapabilitiesFlowOperationsItem = "stop"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ContextCompactAfterCapabilitiesInjectContextAppend

type ContextCompactAfterCapabilitiesInjectContextAppend bool

ContextCompactAfterCapabilitiesInjectContextAppend is a generated schema value.

const ContextCompactAfterCapabilitiesInjectContextAppendTrue ContextCompactAfterCapabilitiesInjectContextAppend = true

type ContextCompactAfterCapabilitiesInjectContextDeliverAtItem

type ContextCompactAfterCapabilitiesInjectContextDeliverAtItem string

ContextCompactAfterCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ContextCompactAfterCapabilitiesInjectContextDeliverAtItemNextTurn ContextCompactAfterCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ContextCompactAfterCapabilitiesInjectContextDeliverAtItemNow ContextCompactAfterCapabilitiesInjectContextDeliverAtItem = "now"

type ContextCompactAfterCapabilitiesModify

type ContextCompactAfterCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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              *ModelVisibleItem
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ContextCompactAfterEventType

type ContextCompactAfterEventType string

ContextCompactAfterEventType is a generated schema value.

const ContextCompactAfterEventTypeContextCompactAfter ContextCompactAfterEventType = "context.compact.after"

type ContextCompactBeforeCapabilities

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ContextCompactBeforeCapabilitiesElicitationForm

type ContextCompactBeforeCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeCapabilitiesElicitationForm is a generated nested model.

func (ContextCompactBeforeCapabilitiesElicitationForm) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesElicitationForm) UnmarshalJSON

func (value *ContextCompactBeforeCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type ContextCompactBeforeCapabilitiesElicitationURL

type ContextCompactBeforeCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeCapabilitiesElicitationURL is a generated nested model.

func (ContextCompactBeforeCapabilitiesElicitationURL) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesElicitationURL) UnmarshalJSON

func (value *ContextCompactBeforeCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ContextCompactBeforeCapabilitiesFlowOperationsItem

type ContextCompactBeforeCapabilitiesFlowOperationsItem string

ContextCompactBeforeCapabilitiesFlowOperationsItem is a generated schema value.

const ContextCompactBeforeCapabilitiesFlowOperationsItemContinue ContextCompactBeforeCapabilitiesFlowOperationsItem = "continue"
const ContextCompactBeforeCapabilitiesFlowOperationsItemStop ContextCompactBeforeCapabilitiesFlowOperationsItem = "stop"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ContextCompactBeforeCapabilitiesInjectContextAppend

type ContextCompactBeforeCapabilitiesInjectContextAppend bool

ContextCompactBeforeCapabilitiesInjectContextAppend is a generated schema value.

const ContextCompactBeforeCapabilitiesInjectContextAppendTrue ContextCompactBeforeCapabilitiesInjectContextAppend = true

type ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem

type ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem string

ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ContextCompactBeforeCapabilitiesInjectContextDeliverAtItemNextTurn ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ContextCompactBeforeCapabilitiesInjectContextDeliverAtItemNow ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem = "now"

type ContextCompactBeforeCapabilitiesModify

type ContextCompactBeforeCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

type ContextCompactBeforeEvent

type ContextCompactBeforeEvent = *ExecutionEventContextCompactBefore

ContextCompactBeforeEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/context.compact.before.

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 retains members not known to this schema revision.

type DenyEffectType

type DenyEffectType string

DenyEffectType is a generated schema value.

const DenyEffectTypeDeny DenyEffectType = "deny"

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]
	Variant2   Optional[EffectVariant2]
	Variant3   Optional[EffectVariant3]
	Variant4   Optional[EffectVariant4]
	Variant5   Optional[EffectVariant5]
	Variant6   Optional[EffectVariant6]
	Variant7   Optional[EffectVariant7]
	Variant8   Optional[EffectVariant8]
	Variant9   Optional[EffectVariant9]
	Unknown    json.RawMessage
}

Effect is generated from schema/draft/effect.schema.json#.

func (Effect) MarshalJSON

func (value Effect) MarshalJSON() ([]byte, error)

func (*Effect) UnmarshalJSON

func (value *Effect) UnmarshalJSON(data []byte) error

type EffectVariant2

type EffectVariant2 struct {
	Type                 EffectVariant2Type
	AdditionalProperties map[string]json.RawMessage
}

EffectVariant2 is a generated nested model.

func (EffectVariant2) MarshalJSON

func (value EffectVariant2) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*EffectVariant2) UnmarshalJSON

func (value *EffectVariant2) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type EffectVariant2Type

type EffectVariant2Type string

EffectVariant2Type is a generated schema value.

const EffectVariant2TypeAllow EffectVariant2Type = "allow"

type EffectVariant3

type EffectVariant3 struct {
	Type                 EffectVariant3Type
	AdditionalProperties map[string]json.RawMessage
}

EffectVariant3 is a generated nested model.

func (EffectVariant3) MarshalJSON

func (value EffectVariant3) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*EffectVariant3) UnmarshalJSON

func (value *EffectVariant3) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type EffectVariant3Type

type EffectVariant3Type string

EffectVariant3Type is a generated schema value.

const EffectVariant3TypeAsk EffectVariant3Type = "ask"

type EffectVariant4

type EffectVariant4 struct {
	Operation            EffectVariant4Operation
	Target               EffectVariant4Target
	Type                 EffectVariant4Type
	Value                json.RawMessage
	AdditionalProperties map[string]json.RawMessage
}

EffectVariant4 is a generated nested model.

func (EffectVariant4) MarshalJSON

func (value EffectVariant4) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*EffectVariant4) UnmarshalJSON

func (value *EffectVariant4) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type EffectVariant4Operation

type EffectVariant4Operation string

EffectVariant4Operation is a generated schema value.

const EffectVariant4OperationMerge EffectVariant4Operation = "merge"
const EffectVariant4OperationReplace EffectVariant4Operation = "replace"

type EffectVariant4Target

type EffectVariant4Target string

EffectVariant4Target is a generated schema value.

const EffectVariant4TargetContent EffectVariant4Target = "content"
const EffectVariant4TargetInput EffectVariant4Target = "input"
const EffectVariant4TargetInstructions EffectVariant4Target = "instructions"
const EffectVariant4TargetOutput EffectVariant4Target = "output"
const EffectVariant4TargetPrompt EffectVariant4Target = "prompt"
const EffectVariant4TargetRequest EffectVariant4Target = "request"
const EffectVariant4TargetResponse EffectVariant4Target = "response"
const EffectVariant4TargetSummary EffectVariant4Target = "summary"
const EffectVariant4TargetWorkspace EffectVariant4Target = "workspace"

type EffectVariant4Type

type EffectVariant4Type string

EffectVariant4Type is a generated schema value.

const EffectVariant4TypeModify EffectVariant4Type = "modify"

type EffectVariant5

type EffectVariant5 struct {
	Text                 string
	Type                 EffectVariant5Type
	AdditionalProperties map[string]json.RawMessage
}

EffectVariant5 is a generated nested model.

func (EffectVariant5) MarshalJSON

func (value EffectVariant5) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*EffectVariant5) UnmarshalJSON

func (value *EffectVariant5) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type EffectVariant5Type

type EffectVariant5Type string

EffectVariant5Type is a generated schema value.

const EffectVariant5TypeMessage EffectVariant5Type = "message"

type EffectVariant6

type EffectVariant6 struct {
	Type                 EffectVariant6Type
	Value                json.RawMessage
	AdditionalProperties map[string]json.RawMessage
}

EffectVariant6 is a generated nested model.

func (EffectVariant6) MarshalJSON

func (value EffectVariant6) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*EffectVariant6) UnmarshalJSON

func (value *EffectVariant6) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type EffectVariant6Type

type EffectVariant6Type string

EffectVariant6Type is a generated schema value.

const EffectVariant6TypeReturn EffectVariant6Type = "return"

type EffectVariant7

type EffectVariant7 struct {
	Operation            EffectVariant7Operation
	Reason               string
	Type                 EffectVariant7Type
	AdditionalProperties map[string]json.RawMessage
}

EffectVariant7 is a generated nested model.

func (EffectVariant7) MarshalJSON

func (value EffectVariant7) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*EffectVariant7) UnmarshalJSON

func (value *EffectVariant7) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type EffectVariant7Operation

type EffectVariant7Operation string

EffectVariant7Operation is a generated schema value.

const EffectVariant7OperationStop EffectVariant7Operation = "stop"

type EffectVariant7Type

type EffectVariant7Type string

EffectVariant7Type is a generated schema value.

const EffectVariant7TypeFlow EffectVariant7Type = "flow"

type EffectVariant8

type EffectVariant8 struct {
	Instruction          Optional[string]
	Operation            EffectVariant8Operation
	Type                 EffectVariant8Type
	AdditionalProperties map[string]json.RawMessage
}

EffectVariant8 is a generated nested model.

func (EffectVariant8) MarshalJSON

func (value EffectVariant8) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*EffectVariant8) UnmarshalJSON

func (value *EffectVariant8) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type EffectVariant8Operation

type EffectVariant8Operation string

EffectVariant8Operation is a generated schema value.

const EffectVariant8OperationContinue EffectVariant8Operation = "continue"

type EffectVariant8Type

type EffectVariant8Type string

EffectVariant8Type is a generated schema value.

const EffectVariant8TypeFlow EffectVariant8Type = "flow"

type EffectVariant9

type EffectVariant9 struct {
	DeliverAt            EffectVariant9DeliverAt
	Operation            EffectVariant9Operation
	Target               EffectVariant9Target
	Type                 EffectVariant9Type
	Value                json.RawMessage
	AdditionalProperties map[string]json.RawMessage
}

EffectVariant9 is a generated nested model.

func (EffectVariant9) MarshalJSON

func (value EffectVariant9) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*EffectVariant9) UnmarshalJSON

func (value *EffectVariant9) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type EffectVariant9DeliverAt

type EffectVariant9DeliverAt string

EffectVariant9DeliverAt is a generated schema value.

const EffectVariant9DeliverAtNextTurn EffectVariant9DeliverAt = "next_turn"
const EffectVariant9DeliverAtNow EffectVariant9DeliverAt = "now"

type EffectVariant9Operation

type EffectVariant9Operation string

EffectVariant9Operation is a generated schema value.

const EffectVariant9OperationAppend EffectVariant9Operation = "append"

type EffectVariant9Target

type EffectVariant9Target string

EffectVariant9Target is a generated schema value.

const EffectVariant9TargetContext EffectVariant9Target = "context"

type EffectVariant9Type

type EffectVariant9Type string

EffectVariant9Type is a generated schema value.

const EffectVariant9TypeInject EffectVariant9Type = "inject"

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

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 retains members not known to this schema revision.

type ExecutionEventAttemptusage

type ExecutionEventAttemptusage struct {
	CacheReadTokens      Optional[json.Number]
	CacheWriteTokens     Optional[json.Number]
	Completeness         ExecutionEventAttemptusageCompleteness
	Cost                 Optional[ExecutionEventAttemptusageCost]
	InputTokens          Optional[json.Number]
	Kind                 json.RawMessage
	OutputTokens         Optional[json.Number]
	Provenance           json.RawMessage
	Scope                json.RawMessage
	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 retains members not known to this schema revision.

type ExecutionEventAttemptusageCompleteness

type ExecutionEventAttemptusageCompleteness string

ExecutionEventAttemptusageCompleteness is a generated schema value.

const ExecutionEventAttemptusageCompletenessComplete ExecutionEventAttemptusageCompleteness = "complete"
const ExecutionEventAttemptusageCompletenessPartial ExecutionEventAttemptusageCompleteness = "partial"
const ExecutionEventAttemptusageCompletenessUnknown ExecutionEventAttemptusageCompleteness = "unknown"

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 retains members not known to this schema revision.

type ExecutionEventAttemptusageCostBasis

type ExecutionEventAttemptusageCostBasis string

ExecutionEventAttemptusageCostBasis is a generated schema value.

const ExecutionEventAttemptusageCostBasisBilled ExecutionEventAttemptusageCostBasis = "billed"
const ExecutionEventAttemptusageCostBasisEstimated ExecutionEventAttemptusageCostBasis = "estimated"
const ExecutionEventAttemptusageCostBasisReported ExecutionEventAttemptusageCostBasis = "reported"

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 retains members not known to this schema revision.

type ExecutionEventContextCompactAfter

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ExecutionEventContextCompactAfterType

type ExecutionEventContextCompactAfterType string

ExecutionEventContextCompactAfterType is a generated schema value.

const ExecutionEventContextCompactAfterTypeContextCompactAfter ExecutionEventContextCompactAfterType = "context.compact.after"

type ExecutionEventContextCompactBefore

type ExecutionEventContextCompactBefore = json.RawMessage

ExecutionEventContextCompactBefore is generated from schema/draft/execution-event.schema.json#/$defs/context.compact.before.

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 retains members not known to this schema revision.

type ExecutionEventErrorStatus

type ExecutionEventErrorStatus struct {
	Variant1 Optional[string]
	Variant2 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

type ExecutionEventExecution

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

type ExecutionEventExecutionVariant1

type ExecutionEventExecutionVariant1 struct {
	Status               ExecutionEventExecutionVariant1Status
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventExecutionVariant1 is a generated nested model.

func (ExecutionEventExecutionVariant1) MarshalJSON

func (value ExecutionEventExecutionVariant1) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventExecutionVariant1) UnmarshalJSON

func (value *ExecutionEventExecutionVariant1) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type ExecutionEventExecutionVariant1Status

type ExecutionEventExecutionVariant1Status string

ExecutionEventExecutionVariant1Status is a generated schema value.

const ExecutionEventExecutionVariant1StatusExecuted ExecutionEventExecutionVariant1Status = "executed"

type ExecutionEventExecutionVariant2

type ExecutionEventExecutionVariant2 struct {
	Reason               ExecutionEventExecutionVariant2Reason
	Status               ExecutionEventExecutionVariant2Status
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventExecutionVariant2 is a generated nested model.

func (ExecutionEventExecutionVariant2) MarshalJSON

func (value ExecutionEventExecutionVariant2) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventExecutionVariant2) UnmarshalJSON

func (value *ExecutionEventExecutionVariant2) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type ExecutionEventExecutionVariant2Reason

type ExecutionEventExecutionVariant2Reason string

ExecutionEventExecutionVariant2Reason is a generated schema value.

const ExecutionEventExecutionVariant2ReasonSuppliedResult ExecutionEventExecutionVariant2Reason = "supplied_result"

type ExecutionEventExecutionVariant2Status

type ExecutionEventExecutionVariant2Status string

ExecutionEventExecutionVariant2Status is a generated schema value.

const ExecutionEventExecutionVariant2StatusSkipped ExecutionEventExecutionVariant2Status = "skipped"

type ExecutionEventExecutionVariant3

type ExecutionEventExecutionVariant3 struct {
	Detail               Optional[string]
	Reason               ExecutionEventExecutionVariant3Reason
	Status               ExecutionEventExecutionVariant3Status
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventExecutionVariant3 is a generated nested model.

func (ExecutionEventExecutionVariant3) MarshalJSON

func (value ExecutionEventExecutionVariant3) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventExecutionVariant3) UnmarshalJSON

func (value *ExecutionEventExecutionVariant3) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type ExecutionEventExecutionVariant3Reason

type ExecutionEventExecutionVariant3Reason string

ExecutionEventExecutionVariant3Reason is a generated schema value.

const ExecutionEventExecutionVariant3ReasonPolicy ExecutionEventExecutionVariant3Reason = "policy"

type ExecutionEventExecutionVariant3Status

type ExecutionEventExecutionVariant3Status string

ExecutionEventExecutionVariant3Status is a generated schema value.

const ExecutionEventExecutionVariant3StatusSkipped ExecutionEventExecutionVariant3Status = "skipped"

type ExecutionEventExecutionVariant4

type ExecutionEventExecutionVariant4 struct {
	Detail               Optional[string]
	Reason               ExecutionEventExecutionVariant4Reason
	Status               ExecutionEventExecutionVariant4Status
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventExecutionVariant4 is a generated nested model.

func (ExecutionEventExecutionVariant4) MarshalJSON

func (value ExecutionEventExecutionVariant4) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventExecutionVariant4) UnmarshalJSON

func (value *ExecutionEventExecutionVariant4) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type ExecutionEventExecutionVariant4Reason

type ExecutionEventExecutionVariant4Reason string

ExecutionEventExecutionVariant4Reason is a generated schema value.

const ExecutionEventExecutionVariant4ReasonCancelled ExecutionEventExecutionVariant4Reason = "cancelled"

type ExecutionEventExecutionVariant4Status

type ExecutionEventExecutionVariant4Status string

ExecutionEventExecutionVariant4Status is a generated schema value.

const ExecutionEventExecutionVariant4StatusSkipped ExecutionEventExecutionVariant4Status = "skipped"

type ExecutionEventExecutionVariant5

type ExecutionEventExecutionVariant5 struct {
	Detail               Optional[string]
	Reason               ExecutionEventExecutionVariant5Reason
	Status               ExecutionEventExecutionVariant5Status
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventExecutionVariant5 is a generated nested model.

func (ExecutionEventExecutionVariant5) MarshalJSON

func (value ExecutionEventExecutionVariant5) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventExecutionVariant5) UnmarshalJSON

func (value *ExecutionEventExecutionVariant5) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type ExecutionEventExecutionVariant5Reason

type ExecutionEventExecutionVariant5Reason string

ExecutionEventExecutionVariant5Reason is a generated schema value.

const ExecutionEventExecutionVariant5ReasonTimeout ExecutionEventExecutionVariant5Reason = "timeout"

type ExecutionEventExecutionVariant5Status

type ExecutionEventExecutionVariant5Status string

ExecutionEventExecutionVariant5Status is a generated schema value.

const ExecutionEventExecutionVariant5StatusSkipped ExecutionEventExecutionVariant5Status = "skipped"

type ExecutionEventExecutionVariant6

type ExecutionEventExecutionVariant6 struct {
	Detail               Optional[string]
	Reason               ExecutionEventExecutionVariant6Reason
	Status               ExecutionEventExecutionVariant6Status
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventExecutionVariant6 is a generated nested model.

func (ExecutionEventExecutionVariant6) MarshalJSON

func (value ExecutionEventExecutionVariant6) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventExecutionVariant6) UnmarshalJSON

func (value *ExecutionEventExecutionVariant6) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type ExecutionEventExecutionVariant6Reason

type ExecutionEventExecutionVariant6Reason string

ExecutionEventExecutionVariant6Reason is a generated schema value.

const ExecutionEventExecutionVariant6ReasonOther ExecutionEventExecutionVariant6Reason = "other"

type ExecutionEventExecutionVariant6Status

type ExecutionEventExecutionVariant6Status string

ExecutionEventExecutionVariant6Status is a generated schema value.

const ExecutionEventExecutionVariant6StatusSkipped ExecutionEventExecutionVariant6Status = "skipped"

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 retains members not known to this schema revision.

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"

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 retains members not known to this schema revision.

type ExecutionEventMcpConnection

type ExecutionEventMcpConnection struct {
	Variant1 Optional[json.RawMessage]
	Variant2 Optional[json.RawMessage]
	Variant3 Optional[json.RawMessage]
	Variant4 Optional[json.RawMessage]
	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

type ExecutionEventMcpProvenance

type ExecutionEventMcpProvenance string

ExecutionEventMcpProvenance is a generated schema value.

const ExecutionEventMcpProvenanceInferred ExecutionEventMcpProvenance = "inferred"
const ExecutionEventMcpProvenanceRuntime ExecutionEventMcpProvenance = "runtime"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ExecutionEventModelError

type ExecutionEventModelError struct {
	Attempt              *ExecutionEventAttempt
	Error                *ExecutionEventError
	Execution            json.RawMessage
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ExecutionEventModelErrorType

type ExecutionEventModelErrorType string

ExecutionEventModelErrorType is a generated schema value.

const ExecutionEventModelErrorTypeModelError ExecutionEventModelErrorType = "model.error"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ExecutionEventModelRequestBeforeType

type ExecutionEventModelRequestBeforeType string

ExecutionEventModelRequestBeforeType is a generated schema value.

const ExecutionEventModelRequestBeforeTypeModelRequestBefore ExecutionEventModelRequestBeforeType = "model.request.before"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ExecutionEventModelResponseAfterType

type ExecutionEventModelResponseAfterType string

ExecutionEventModelResponseAfterType is a generated schema value.

const ExecutionEventModelResponseAfterTypeModelResponseAfter ExecutionEventModelResponseAfterType = "model.response.after"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ExecutionEventModelSwitchAfterType

type ExecutionEventModelSwitchAfterType string

ExecutionEventModelSwitchAfterType is a generated schema value.

const ExecutionEventModelSwitchAfterTypeModelSwitchAfter ExecutionEventModelSwitchAfterType = "model.switch.after"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ExecutionEventModelSwitchBeforeType

type ExecutionEventModelSwitchBeforeType string

ExecutionEventModelSwitchBeforeType is a generated schema value.

const ExecutionEventModelSwitchBeforeTypeModelSwitchBefore ExecutionEventModelSwitchBeforeType = "model.switch.before"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ExecutionEventToolBatchAfterType

type ExecutionEventToolBatchAfterType string

ExecutionEventToolBatchAfterType is a generated schema value.

const ExecutionEventToolBatchAfterTypeToolBatchAfter ExecutionEventToolBatchAfterType = "tool.batch.after"

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 retains members not known to this schema revision.

type ExecutionEventToolOrigin

type ExecutionEventToolOrigin string

ExecutionEventToolOrigin is a generated schema value.

const ExecutionEventToolOriginMcp ExecutionEventToolOrigin = "mcp"
const ExecutionEventToolOriginNative ExecutionEventToolOrigin = "native"

type ExecutionEventToolPermissionRequest

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ExecutionEventToolPermissionRequestSuggestionsItem

type ExecutionEventToolPermissionRequestSuggestionsItem struct {
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventToolPermissionRequestSuggestionsItem is a generated nested model.

func (ExecutionEventToolPermissionRequestSuggestionsItem) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolPermissionRequestSuggestionsItem) UnmarshalJSON

func (value *ExecutionEventToolPermissionRequestSuggestionsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ExecutionEventToolPermissionRequestType

type ExecutionEventToolPermissionRequestType string

ExecutionEventToolPermissionRequestType is a generated schema value.

const ExecutionEventToolPermissionRequestTypeToolPermissionRequest ExecutionEventToolPermissionRequestType = "tool.permission.request"

type ExecutionEventToolPermissionResolved

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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"

type ExecutionEventToolPermissionResolvedDecision

type ExecutionEventToolPermissionResolvedDecision string

ExecutionEventToolPermissionResolvedDecision is a generated schema value.

const ExecutionEventToolPermissionResolvedDecisionAllow ExecutionEventToolPermissionResolvedDecision = "allow"
const ExecutionEventToolPermissionResolvedDecisionDeny ExecutionEventToolPermissionResolvedDecision = "deny"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ExecutionEventToolPermissionResolvedType

type ExecutionEventToolPermissionResolvedType string

ExecutionEventToolPermissionResolvedType is a generated schema value.

const ExecutionEventToolPermissionResolvedTypeToolPermissionResolved ExecutionEventToolPermissionResolvedType = "tool.permission.resolved"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ExecutionEventToolProgressType

type ExecutionEventToolProgressType string

ExecutionEventToolProgressType is a generated schema value.

const ExecutionEventToolProgressTypeToolProgress ExecutionEventToolProgressType = "tool.progress"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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"

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 retains members not known to this schema revision.

type ExecutionEventTurnEndType

type ExecutionEventTurnEndType string

ExecutionEventTurnEndType is a generated schema value.

const ExecutionEventTurnEndTypeTurnEnd ExecutionEventTurnEndType = "turn.end"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ExecutionEventTurnFinishBeforeLastAssistantItem

type ExecutionEventTurnFinishBeforeLastAssistantItem struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventTurnFinishBeforeLastAssistantItem is a generated nested model.

func (ExecutionEventTurnFinishBeforeLastAssistantItem) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnFinishBeforeLastAssistantItem) UnmarshalJSON

func (value *ExecutionEventTurnFinishBeforeLastAssistantItem) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

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"

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 retains members not known to this schema revision.

type ExecutionEventTurnFinishBeforeType

type ExecutionEventTurnFinishBeforeType string

ExecutionEventTurnFinishBeforeType is a generated schema value.

const ExecutionEventTurnFinishBeforeTypeTurnFinishBefore ExecutionEventTurnFinishBeforeType = "turn.finish.before"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ExecutionEventTurnProgressType

type ExecutionEventTurnProgressType string

ExecutionEventTurnProgressType is a generated schema value.

const ExecutionEventTurnProgressTypeTurnProgress ExecutionEventTurnProgressType = "turn.progress"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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"

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 retains members not known to this schema revision.

type ExecutionEventTurnStartType

type ExecutionEventTurnStartType string

ExecutionEventTurnStartType is a generated schema value.

const ExecutionEventTurnStartTypeTurnStart ExecutionEventTurnStartType = "turn.start"

type ExecutionEventTurnusage

type ExecutionEventTurnusage struct {
	CacheReadTokens      Optional[json.Number]
	CacheWriteTokens     Optional[json.Number]
	Completeness         ExecutionEventTurnusageCompleteness
	Cost                 Optional[ExecutionEventTurnusageCost]
	InputTokens          Optional[json.Number]
	Kind                 json.RawMessage
	OutputTokens         Optional[json.Number]
	Provenance           ExecutionEventTurnusageProvenance
	Scope                json.RawMessage
	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 retains members not known to this schema revision.

type ExecutionEventTurnusageCompleteness

type ExecutionEventTurnusageCompleteness string

ExecutionEventTurnusageCompleteness is a generated schema value.

const ExecutionEventTurnusageCompletenessComplete ExecutionEventTurnusageCompleteness = "complete"
const ExecutionEventTurnusageCompletenessPartial ExecutionEventTurnusageCompleteness = "partial"
const ExecutionEventTurnusageCompletenessUnknown ExecutionEventTurnusageCompleteness = "unknown"

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 retains members not known to this schema revision.

type ExecutionEventTurnusageCostBasis

type ExecutionEventTurnusageCostBasis string

ExecutionEventTurnusageCostBasis is a generated schema value.

const ExecutionEventTurnusageCostBasisBilled ExecutionEventTurnusageCostBasis = "billed"
const ExecutionEventTurnusageCostBasisEstimated ExecutionEventTurnusageCostBasis = "estimated"
const ExecutionEventTurnusageCostBasisReported ExecutionEventTurnusageCostBasis = "reported"

type ExecutionEventTurnusageProvenance

type ExecutionEventTurnusageProvenance string

ExecutionEventTurnusageProvenance is a generated schema value.

const ExecutionEventTurnusageProvenanceEstimate ExecutionEventTurnusageProvenance = "estimate"
const ExecutionEventTurnusageProvenanceMixed ExecutionEventTurnusageProvenance = "mixed"
const ExecutionEventTurnusageProvenanceProvider ExecutionEventTurnusageProvenance = "provider"

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 retains members not known to this schema revision.

type ExecutionEventUsageCompleteness

type ExecutionEventUsageCompleteness string

ExecutionEventUsageCompleteness is a generated schema value.

const ExecutionEventUsageCompletenessComplete ExecutionEventUsageCompleteness = "complete"
const ExecutionEventUsageCompletenessPartial ExecutionEventUsageCompleteness = "partial"
const ExecutionEventUsageCompletenessUnknown ExecutionEventUsageCompleteness = "unknown"

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 retains members not known to this schema revision.

type ExecutionEventUsageCostBasis

type ExecutionEventUsageCostBasis string

ExecutionEventUsageCostBasis is a generated schema value.

const ExecutionEventUsageCostBasisBilled ExecutionEventUsageCostBasis = "billed"
const ExecutionEventUsageCostBasisEstimated ExecutionEventUsageCostBasis = "estimated"
const ExecutionEventUsageCostBasisReported ExecutionEventUsageCostBasis = "reported"

type ExecutionEventUsageKind

type ExecutionEventUsageKind string

ExecutionEventUsageKind is a generated schema value.

const ExecutionEventUsageKindAmount ExecutionEventUsageKind = "amount"
const ExecutionEventUsageKindTotal ExecutionEventUsageKind = "total"

type ExecutionEventUsageProvenance

type ExecutionEventUsageProvenance string

ExecutionEventUsageProvenance is a generated schema value.

const ExecutionEventUsageProvenanceEstimate ExecutionEventUsageProvenance = "estimate"
const ExecutionEventUsageProvenanceMixed ExecutionEventUsageProvenance = "mixed"
const ExecutionEventUsageProvenanceProvider ExecutionEventUsageProvenance = "provider"

type ExecutionEventUsageScope

type ExecutionEventUsageScope string

ExecutionEventUsageScope is a generated schema value.

const ExecutionEventUsageScopeAttempt ExecutionEventUsageScope = "attempt"
const ExecutionEventUsageScopeTurn ExecutionEventUsageScope = "turn"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type FileChangedEventChangesItem

type FileChangedEventChangesItem struct {
	After                Optional[*ContentReference]
	AgentCaused          bool
	Before               Optional[*ContentReference]
	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 retains members not known to this schema revision.

type FileChangedEventChangesItemOperation

type FileChangedEventChangesItemOperation string

FileChangedEventChangesItemOperation is a generated schema value.

const FileChangedEventChangesItemOperationCreate FileChangedEventChangesItemOperation = "create"
const FileChangedEventChangesItemOperationRemove FileChangedEventChangesItemOperation = "remove"
const FileChangedEventChangesItemOperationUpdate FileChangedEventChangesItemOperation = "update"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type FileChangedEventType

type FileChangedEventType string

FileChangedEventType is a generated schema value.

const FileChangedEventTypeFileChanged FileChangedEventType = "file.changed"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type HookFailureEventFailurePolicy

type HookFailureEventFailurePolicy string

HookFailureEventFailurePolicy is a generated schema value.

const HookFailureEventFailurePolicyFailClosed HookFailureEventFailurePolicy = "fail-closed"
const HookFailureEventFailurePolicyFailOpen HookFailureEventFailurePolicy = "fail-open"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type HookFailureEventType

type HookFailureEventType string

HookFailureEventType is a generated schema value.

const HookFailureEventTypeHookFailure HookFailureEventType = "hook.failure"

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 retains members not known to this schema revision.

type HttpTransportType

type HttpTransportType string

HttpTransportType is a generated schema value.

const HttpTransportTypeHTTP HttpTransportType = "http"

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

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type InteractionEventConfigChangeAfterChangeMcpServersItem

type InteractionEventConfigChangeAfterChangeMcpServersItem struct {
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventConfigChangeAfterChangeMcpServersItem is a generated nested model.

func (InteractionEventConfigChangeAfterChangeMcpServersItem) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventConfigChangeAfterChangeMcpServersItem) UnmarshalJSON

UnmarshalJSON retains members not known to this schema revision.

type InteractionEventConfigChangeAfterType

type InteractionEventConfigChangeAfterType string

InteractionEventConfigChangeAfterType is a generated schema value.

const InteractionEventConfigChangeAfterTypeConfigChangeAfter InteractionEventConfigChangeAfterType = "config.change.after"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type InteractionEventConfigChangeBeforeType

type InteractionEventConfigChangeBeforeType string

InteractionEventConfigChangeBeforeType is a generated schema value.

const InteractionEventConfigChangeBeforeTypeConfigChangeBefore InteractionEventConfigChangeBeforeType = "config.change.before"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type InteractionEventHookFailureFailurePolicy

type InteractionEventHookFailureFailurePolicy string

InteractionEventHookFailureFailurePolicy is a generated schema value.

const InteractionEventHookFailureFailurePolicyFailClosed InteractionEventHookFailureFailurePolicy = "fail-closed"
const InteractionEventHookFailureFailurePolicyFailOpen InteractionEventHookFailureFailurePolicy = "fail-open"

type InteractionEventHookFailureType

type InteractionEventHookFailureType string

InteractionEventHookFailureType is a generated schema value.

const InteractionEventHookFailureTypeHookFailure InteractionEventHookFailureType = "hook.failure"

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 retains members not known to this schema revision.

type InteractionEventUserAttentionAttention

type InteractionEventUserAttentionAttention struct {
	Kind                 string
	Message              []*ContentItem
	Title                []*ContentItem
	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 retains members not known to this schema revision.

type InteractionEventUserAttentionType

type InteractionEventUserAttentionType string

InteractionEventUserAttentionType is a generated schema value.

const InteractionEventUserAttentionTypeUserAttention InteractionEventUserAttentionType = "user.attention"

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 retains members not known to this schema revision.

type InteractionEventUserElicitationRequestElicitation

type InteractionEventUserElicitationRequestElicitation struct {
	Mode                 InteractionEventUserElicitationRequestElicitationMode
	Request              Optional[json.RawMessage]
	Server               string
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventUserElicitationRequestElicitation is a generated nested model.

func (InteractionEventUserElicitationRequestElicitation) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventUserElicitationRequestElicitation) UnmarshalJSON

func (value *InteractionEventUserElicitationRequestElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type InteractionEventUserElicitationRequestElicitationMode

type InteractionEventUserElicitationRequestElicitationMode string

InteractionEventUserElicitationRequestElicitationMode is a generated schema value.

const InteractionEventUserElicitationRequestElicitationModeForm InteractionEventUserElicitationRequestElicitationMode = "form"
const InteractionEventUserElicitationRequestElicitationModeURL InteractionEventUserElicitationRequestElicitationMode = "url"

type InteractionEventUserElicitationRequestType

type InteractionEventUserElicitationRequestType string

InteractionEventUserElicitationRequestType is a generated schema value.

const InteractionEventUserElicitationRequestTypeUserElicitationRequest InteractionEventUserElicitationRequestType = "user.elicitation.request"

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 retains members not known to this schema revision.

type InteractionEventUserElicitationResultElicitation

type InteractionEventUserElicitationResultElicitation struct {
	Action               InteractionEventUserElicitationResultElicitationAction
	Mode                 InteractionEventUserElicitationResultElicitationMode
	Result               Optional[json.RawMessage]
	Server               string
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventUserElicitationResultElicitation is a generated nested model.

func (InteractionEventUserElicitationResultElicitation) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventUserElicitationResultElicitation) UnmarshalJSON

func (value *InteractionEventUserElicitationResultElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type InteractionEventUserElicitationResultElicitationAction

type InteractionEventUserElicitationResultElicitationAction string

InteractionEventUserElicitationResultElicitationAction is a generated schema value.

const InteractionEventUserElicitationResultElicitationActionAccept InteractionEventUserElicitationResultElicitationAction = "accept"
const InteractionEventUserElicitationResultElicitationActionCancel InteractionEventUserElicitationResultElicitationAction = "cancel"
const InteractionEventUserElicitationResultElicitationActionDecline InteractionEventUserElicitationResultElicitationAction = "decline"

type InteractionEventUserElicitationResultElicitationMode

type InteractionEventUserElicitationResultElicitationMode string

InteractionEventUserElicitationResultElicitationMode is a generated schema value.

const InteractionEventUserElicitationResultElicitationModeForm InteractionEventUserElicitationResultElicitationMode = "form"
const InteractionEventUserElicitationResultElicitationModeURL InteractionEventUserElicitationResultElicitationMode = "url"

type InteractionEventUserElicitationResultType

type InteractionEventUserElicitationResultType string

InteractionEventUserElicitationResultType is a generated schema value.

const InteractionEventUserElicitationResultTypeUserElicitationResult InteractionEventUserElicitationResultType = "user.elicitation.result"

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 retains members not known to this schema revision.

type InteractionEventUserMessageInboundMessage

type InteractionEventUserMessageInboundMessage struct {
	Channel              string
	Sender               string
	Text                 []*ContentItem
	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 retains members not known to this schema revision.

type InteractionEventUserMessageInboundType

type InteractionEventUserMessageInboundType string

InteractionEventUserMessageInboundType is a generated schema value.

const InteractionEventUserMessageInboundTypeUserMessageInbound InteractionEventUserMessageInboundType = "user.message.inbound"

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 retains members not known to this schema revision.

type InteractionEventUserMessageOutboundMessage

type InteractionEventUserMessageOutboundMessage struct {
	Channel              string
	Payload              []*ContentItem
	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 retains members not known to this schema revision.

type InteractionEventUserMessageOutboundType

type InteractionEventUserMessageOutboundType string

InteractionEventUserMessageOutboundType is a generated schema value.

const InteractionEventUserMessageOutboundTypeUserMessageOutbound InteractionEventUserMessageOutboundType = "user.message.outbound"

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 retains members not known to this schema revision.

type InterceptDenyResponseJSONRPC

type InterceptDenyResponseJSONRPC string

InterceptDenyResponseJSONRPC is a generated schema value.

const InterceptDenyResponseJSONRPCValue20 InterceptDenyResponseJSONRPC = "2.0"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type InterceptNoEffectResponseJSONRPC

type InterceptNoEffectResponseJSONRPC string

InterceptNoEffectResponseJSONRPC is a generated schema value.

const InterceptNoEffectResponseJSONRPCValue20 InterceptNoEffectResponseJSONRPC = "2.0"

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 retains members not known to this schema revision.

type InterceptRequest

type InterceptRequest struct {
	ID                   *JsonRpcId
	JSONRPC              InterceptRequestJSONRPC
	Method               json.RawMessage
	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 retains members not known to this schema revision.

type InterceptRequestJSONRPC

type InterceptRequestJSONRPC string

InterceptRequestJSONRPC is a generated schema value.

const InterceptRequestJSONRPCValue20 InterceptRequestJSONRPC = "2.0"

type InterceptRequestParams

type InterceptRequestParams struct {
	Capabilities         InterceptRequestParamsCapabilities
	Event                InterceptRequestParamsEvent
	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 retains members not known to this schema revision.

type InterceptRequestParamsCapabilities

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) UnmarshalJSON

func (value *InterceptRequestParamsCapabilities) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type InterceptRequestParamsCapabilitiesEffectsItem

type InterceptRequestParamsCapabilitiesEffectsItem struct {
	Variant1 Optional[InterceptRequestParamsCapabilitiesEffectsItemVariant1]
	Variant2 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

type InterceptRequestParamsCapabilitiesEffectsItemVariant1

type InterceptRequestParamsCapabilitiesEffectsItemVariant1 string

InterceptRequestParamsCapabilitiesEffectsItemVariant1 is a generated schema value.

const InterceptRequestParamsCapabilitiesEffectsItemVariant1Allow InterceptRequestParamsCapabilitiesEffectsItemVariant1 = "allow"
const InterceptRequestParamsCapabilitiesEffectsItemVariant1Ask InterceptRequestParamsCapabilitiesEffectsItemVariant1 = "ask"
const InterceptRequestParamsCapabilitiesEffectsItemVariant1Deny InterceptRequestParamsCapabilitiesEffectsItemVariant1 = "deny"
const InterceptRequestParamsCapabilitiesEffectsItemVariant1Flow InterceptRequestParamsCapabilitiesEffectsItemVariant1 = "flow"
const InterceptRequestParamsCapabilitiesEffectsItemVariant1Inject InterceptRequestParamsCapabilitiesEffectsItemVariant1 = "inject"
const InterceptRequestParamsCapabilitiesEffectsItemVariant1Message InterceptRequestParamsCapabilitiesEffectsItemVariant1 = "message"
const InterceptRequestParamsCapabilitiesEffectsItemVariant1Modify InterceptRequestParamsCapabilitiesEffectsItemVariant1 = "modify"
const InterceptRequestParamsCapabilitiesEffectsItemVariant1Return InterceptRequestParamsCapabilitiesEffectsItemVariant1 = "return"

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 retains members not known to this schema revision.

type InterceptRequestParamsCapabilitiesElicitationForm

type InterceptRequestParamsCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesElicitationForm is a generated nested model.

func (InterceptRequestParamsCapabilitiesElicitationForm) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesElicitationForm) UnmarshalJSON

func (value *InterceptRequestParamsCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type InterceptRequestParamsCapabilitiesElicitationURL

type InterceptRequestParamsCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesElicitationURL is a generated nested model.

func (InterceptRequestParamsCapabilitiesElicitationURL) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesElicitationURL) UnmarshalJSON

func (value *InterceptRequestParamsCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

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 retains members not known to this schema revision.

type InterceptRequestParamsCapabilitiesFlowOperationsItem

type InterceptRequestParamsCapabilitiesFlowOperationsItem string

InterceptRequestParamsCapabilitiesFlowOperationsItem is a generated schema value.

const InterceptRequestParamsCapabilitiesFlowOperationsItemContinue InterceptRequestParamsCapabilitiesFlowOperationsItem = "continue"
const InterceptRequestParamsCapabilitiesFlowOperationsItemStop InterceptRequestParamsCapabilitiesFlowOperationsItem = "stop"

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 retains members not known to this schema revision.

type InterceptRequestParamsCapabilitiesInjectContext

type InterceptRequestParamsCapabilitiesInjectContext struct {
	Append               InterceptRequestParamsCapabilitiesInjectContextAppend
	DeliverAt            []InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesInjectContext is a generated nested model.

func (InterceptRequestParamsCapabilitiesInjectContext) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesInjectContext) UnmarshalJSON

func (value *InterceptRequestParamsCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type InterceptRequestParamsCapabilitiesInjectContextAppend

type InterceptRequestParamsCapabilitiesInjectContextAppend bool

InterceptRequestParamsCapabilitiesInjectContextAppend is a generated schema value.

const InterceptRequestParamsCapabilitiesInjectContextAppendTrue InterceptRequestParamsCapabilitiesInjectContextAppend = true

type InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem

type InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem string

InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const InterceptRequestParamsCapabilitiesInjectContextDeliverAtItemNextTurn InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem = "next_turn"
const InterceptRequestParamsCapabilitiesInjectContextDeliverAtItemNow InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem = "now"

type InterceptRequestParamsCapabilitiesModify

type InterceptRequestParamsCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

type InterceptRequestParamsEvent

type InterceptRequestParamsEvent struct {
	ToolBeforeEvent             Optional[*ToolBeforeEvent]
	ToolAfterEvent              Optional[*ToolAfterEvent]
	SessionStartEvent           Optional[*SessionStartEvent]
	ConfigChangeBeforeEvent     Optional[*ConfigChangeBeforeEvent]
	TurnStartEvent              Optional[*TurnStartEvent]
	TurnFinishBeforeEvent       Optional[*TurnFinishBeforeEvent]
	ModelRequestBeforeEvent     Optional[*ModelRequestBeforeEvent]
	ModelSwitchBeforeEvent      Optional[*ModelSwitchBeforeEvent]
	ToolPermissionRequestEvent  Optional[*ToolPermissionRequestEvent]
	ToolBatchAfterEvent         Optional[*ToolBatchAfterEvent]
	ContextCompactBeforeEvent   Optional[*ContextCompactBeforeEvent]
	ContextCompactAfterEvent    Optional[*ContextCompactAfterEvent]
	TaskChangeBeforeEvent       Optional[*TaskChangeBeforeEvent]
	UserElicitationRequestEvent Optional[*UserElicitationRequestEvent]
	UserElicitationResultEvent  Optional[*UserElicitationResultEvent]
	UserMessageInboundEvent     Optional[*UserMessageInboundEvent]
	UserMessageOutboundEvent    Optional[*UserMessageOutboundEvent]
	WorkspaceChangeBeforeEvent  Optional[*WorkspaceChangeBeforeEvent]
	ModelResponseAfterEvent     Optional[*ModelResponseAfterEvent]
	Unknown                     json.RawMessage
}

InterceptRequestParamsEvent is a generated union model.

func (InterceptRequestParamsEvent) MarshalJSON

func (value InterceptRequestParamsEvent) MarshalJSON() ([]byte, error)

func (*InterceptRequestParamsEvent) UnmarshalJSON

func (value *InterceptRequestParamsEvent) UnmarshalJSON(data []byte) error

type InterceptRequestParamsState

type InterceptRequestParamsState struct {
	Candidate            InterceptRequestParamsStateCandidate
	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 retains members not known to this schema revision.

type InterceptRequestParamsStateCandidate

type InterceptRequestParamsStateCandidate struct {
	Variant1 Optional[json.RawMessage]
	Variant2 Optional[InterceptRequestParamsStateCandidateVariant2]
	Unknown  json.RawMessage
}

InterceptRequestParamsStateCandidate is a generated union model.

func (InterceptRequestParamsStateCandidate) MarshalJSON

func (value InterceptRequestParamsStateCandidate) MarshalJSON() ([]byte, error)

func (*InterceptRequestParamsStateCandidate) UnmarshalJSON

func (value *InterceptRequestParamsStateCandidate) UnmarshalJSON(data []byte) error

type InterceptRequestParamsStateCandidateVariant2

type InterceptRequestParamsStateCandidateVariant2 struct {
	Provenance           Optional[InterceptRequestParamsStateCandidateVariant2Provenance]
	Value                json.RawMessage
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsStateCandidateVariant2 is a generated nested model.

func (InterceptRequestParamsStateCandidateVariant2) MarshalJSON

func (value InterceptRequestParamsStateCandidateVariant2) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsStateCandidateVariant2) UnmarshalJSON

func (value *InterceptRequestParamsStateCandidateVariant2) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type InterceptRequestParamsStateCandidateVariant2Provenance

type InterceptRequestParamsStateCandidateVariant2Provenance struct {
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsStateCandidateVariant2Provenance is a generated nested model.

func (InterceptRequestParamsStateCandidateVariant2Provenance) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsStateCandidateVariant2Provenance) UnmarshalJSON

UnmarshalJSON retains members not known to this schema revision.

type InterceptRequestParamsStateFlow

type InterceptRequestParamsStateFlow string

InterceptRequestParamsStateFlow is a generated schema value.

const InterceptRequestParamsStateFlowContinue InterceptRequestParamsStateFlow = "continue"
const InterceptRequestParamsStateFlowNone InterceptRequestParamsStateFlow = "none"
const InterceptRequestParamsStateFlowStop InterceptRequestParamsStateFlow = "stop"

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"

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 retains members not known to this schema revision.

type InterceptResponseJSONRPC

type InterceptResponseJSONRPC string

InterceptResponseJSONRPC is a generated schema value.

const InterceptResponseJSONRPCValue20 InterceptResponseJSONRPC = "2.0"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type InterceptSubscriptionEventsItem

type InterceptSubscriptionEventsItem struct {
	Variant1 Optional[InterceptSubscriptionEventsItemVariant1]
	Variant2 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

type InterceptSubscriptionEventsItemVariant1

type InterceptSubscriptionEventsItemVariant1 string

InterceptSubscriptionEventsItemVariant1 is a generated schema value.

const InterceptSubscriptionEventsItemVariant1ConfigChangeBefore InterceptSubscriptionEventsItemVariant1 = "config.change.before"
const InterceptSubscriptionEventsItemVariant1ContextCompactAfter InterceptSubscriptionEventsItemVariant1 = "context.compact.after"
const InterceptSubscriptionEventsItemVariant1ContextCompactBefore InterceptSubscriptionEventsItemVariant1 = "context.compact.before"
const InterceptSubscriptionEventsItemVariant1ModelRequestBefore InterceptSubscriptionEventsItemVariant1 = "model.request.before"
const InterceptSubscriptionEventsItemVariant1ModelResponseAfter InterceptSubscriptionEventsItemVariant1 = "model.response.after"
const InterceptSubscriptionEventsItemVariant1ModelSwitchBefore InterceptSubscriptionEventsItemVariant1 = "model.switch.before"
const InterceptSubscriptionEventsItemVariant1SessionStart InterceptSubscriptionEventsItemVariant1 = "session.start"
const InterceptSubscriptionEventsItemVariant1TaskChangeBefore InterceptSubscriptionEventsItemVariant1 = "task.change.before"
const InterceptSubscriptionEventsItemVariant1ToolAfter InterceptSubscriptionEventsItemVariant1 = "tool.after"
const InterceptSubscriptionEventsItemVariant1ToolBatchAfter InterceptSubscriptionEventsItemVariant1 = "tool.batch.after"
const InterceptSubscriptionEventsItemVariant1ToolBefore InterceptSubscriptionEventsItemVariant1 = "tool.before"
const InterceptSubscriptionEventsItemVariant1ToolPermissionRequest InterceptSubscriptionEventsItemVariant1 = "tool.permission.request"
const InterceptSubscriptionEventsItemVariant1TurnFinishBefore InterceptSubscriptionEventsItemVariant1 = "turn.finish.before"
const InterceptSubscriptionEventsItemVariant1TurnStart InterceptSubscriptionEventsItemVariant1 = "turn.start"
const InterceptSubscriptionEventsItemVariant1UserElicitationRequest InterceptSubscriptionEventsItemVariant1 = "user.elicitation.request"
const InterceptSubscriptionEventsItemVariant1UserElicitationResult InterceptSubscriptionEventsItemVariant1 = "user.elicitation.result"
const InterceptSubscriptionEventsItemVariant1UserMessageInbound InterceptSubscriptionEventsItemVariant1 = "user.message.inbound"
const InterceptSubscriptionEventsItemVariant1UserMessageOutbound InterceptSubscriptionEventsItemVariant1 = "user.message.outbound"
const InterceptSubscriptionEventsItemVariant1WorkspaceChangeBefore InterceptSubscriptionEventsItemVariant1 = "workspace.change.before"

type InterceptSubscriptionFailurePolicy

type InterceptSubscriptionFailurePolicy string

InterceptSubscriptionFailurePolicy is a generated schema value.

const InterceptSubscriptionFailurePolicyFailClosed InterceptSubscriptionFailurePolicy = "fail-closed"
const InterceptSubscriptionFailurePolicyFailOpen InterceptSubscriptionFailurePolicy = "fail-open"

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 retains members not known to this schema revision.

type InterceptSubscriptionMode

type InterceptSubscriptionMode string

InterceptSubscriptionMode is a generated schema value.

const InterceptSubscriptionModeIntercept InterceptSubscriptionMode = "intercept"

type InterceptSubscriptionScope

type InterceptSubscriptionScope string

InterceptSubscriptionScope is a generated schema value.

const InterceptSubscriptionScopeManaged InterceptSubscriptionScope = "managed"
const InterceptSubscriptionScopeProject InterceptSubscriptionScope = "project"
const InterceptSubscriptionScopeUser InterceptSubscriptionScope = "user"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type JsonRpcErrorResponseJSONRPC

type JsonRpcErrorResponseJSONRPC string

JsonRpcErrorResponseJSONRPC is a generated schema value.

const JsonRpcErrorResponseJSONRPCValue20 JsonRpcErrorResponseJSONRPC = "2.0"

type JsonRpcId

type JsonRpcId struct {
	Variant1 Optional[string]
	Variant2 Optional[json.Number]
	Unknown  json.RawMessage
}

JsonRpcId is generated from schema/draft/common.schema.json#/$defs/jsonRpcId.

func (JsonRpcId) MarshalJSON

func (value JsonRpcId) MarshalJSON() ([]byte, error)

func (*JsonRpcId) UnmarshalJSON

func (value *JsonRpcId) UnmarshalJSON(data []byte) error

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

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 retains members not known to this schema revision.

type JsonRpcNotificationJSONRPC

type JsonRpcNotificationJSONRPC string

JsonRpcNotificationJSONRPC is a generated schema value.

const JsonRpcNotificationJSONRPCValue20 JsonRpcNotificationJSONRPC = "2.0"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type JsonRpcRequestJSONRPC

type JsonRpcRequestJSONRPC string

JsonRpcRequestJSONRPC is a generated schema value.

const JsonRpcRequestJSONRPCValue20 JsonRpcRequestJSONRPC = "2.0"

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 retains members not known to this schema revision.

type JsonRpcResponseId

type JsonRpcResponseId struct {
	JsonRpcId Optional[*JsonRpcId]
	Variant2  Optional[json.RawMessage]
	Unknown   json.RawMessage
}

JsonRpcResponseId is generated from schema/draft/common.schema.json#/$defs/jsonRpcResponseId.

func (JsonRpcResponseId) MarshalJSON

func (value JsonRpcResponseId) MarshalJSON() ([]byte, error)

func (*JsonRpcResponseId) UnmarshalJSON

func (value *JsonRpcResponseId) UnmarshalJSON(data []byte) error

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 retains members not known to this schema revision.

type JsonRpcSuccessResponseJSONRPC

type JsonRpcSuccessResponseJSONRPC string

JsonRpcSuccessResponseJSONRPC is a generated schema value.

const JsonRpcSuccessResponseJSONRPCValue20 JsonRpcSuccessResponseJSONRPC = "2.0"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type McpElicitationBooleanSchemaType

type McpElicitationBooleanSchemaType string

McpElicitationBooleanSchemaType is a generated schema value.

const McpElicitationBooleanSchemaTypeBoolean McpElicitationBooleanSchemaType = "boolean"

type McpElicitationElicitRequestFormParams

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type McpElicitationElicitRequestFormParamsMode

type McpElicitationElicitRequestFormParamsMode string

McpElicitationElicitRequestFormParamsMode is a generated schema value.

const McpElicitationElicitRequestFormParamsModeForm McpElicitationElicitRequestFormParamsMode = "form"

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

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationElicitRequestFormParamsRequestedSchema) UnmarshalJSON

UnmarshalJSON retains members not known to this schema revision.

type McpElicitationElicitRequestFormParamsRequestedSchemaProperties

type McpElicitationElicitRequestFormParamsRequestedSchemaProperties struct {
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationElicitRequestFormParamsRequestedSchemaProperties is a generated nested model.

func (McpElicitationElicitRequestFormParamsRequestedSchemaProperties) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationElicitRequestFormParamsRequestedSchemaProperties) UnmarshalJSON

UnmarshalJSON retains members not known to this schema revision.

type McpElicitationElicitRequestFormParamsRequestedSchemaType

type McpElicitationElicitRequestFormParamsRequestedSchemaType string

McpElicitationElicitRequestFormParamsRequestedSchemaType is a generated schema value.

const McpElicitationElicitRequestFormParamsRequestedSchemaTypeObject McpElicitationElicitRequestFormParamsRequestedSchemaType = "object"

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

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type McpElicitationElicitRequestURLParamsMode

type McpElicitationElicitRequestURLParamsMode string

McpElicitationElicitRequestURLParamsMode is a generated schema value.

const McpElicitationElicitRequestURLParamsModeURL McpElicitationElicitRequestURLParamsMode = "url"

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 retains members not known to this schema revision.

type McpElicitationElicitResultAction

type McpElicitationElicitResultAction string

McpElicitationElicitResultAction is a generated schema value.

const McpElicitationElicitResultActionAccept McpElicitationElicitResultAction = "accept"
const McpElicitationElicitResultActionCancel McpElicitationElicitResultAction = "cancel"
const McpElicitationElicitResultActionDecline McpElicitationElicitResultAction = "decline"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type McpElicitationLegacyTitledEnumSchemaType

type McpElicitationLegacyTitledEnumSchemaType string

McpElicitationLegacyTitledEnumSchemaType is a generated schema value.

const McpElicitationLegacyTitledEnumSchemaTypeString McpElicitationLegacyTitledEnumSchemaType = "string"

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 retains members not known to this schema revision.

type McpElicitationNumberSchemaType

type McpElicitationNumberSchemaType string

McpElicitationNumberSchemaType is a generated schema value.

const McpElicitationNumberSchemaTypeInteger McpElicitationNumberSchemaType = "integer"
const McpElicitationNumberSchemaTypeNumber McpElicitationNumberSchemaType = "number"

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

type McpElicitationProgressToken

type McpElicitationProgressToken struct {
	Variant1 Optional[string]
	Variant2 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

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 retains members not known to this schema revision.

type McpElicitationResultAction

type McpElicitationResultAction string

McpElicitationResultAction is a generated schema value.

const McpElicitationResultActionAccept McpElicitationResultAction = "accept"
const McpElicitationResultActionCancel McpElicitationResultAction = "cancel"
const McpElicitationResultActionDecline McpElicitationResultAction = "decline"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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"

type McpElicitationStringSchemaType

type McpElicitationStringSchemaType string

McpElicitationStringSchemaType is a generated schema value.

const McpElicitationStringSchemaTypeString McpElicitationStringSchemaType = "string"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type McpElicitationTitledMultiSelectEnumSchemaItems

type McpElicitationTitledMultiSelectEnumSchemaItems struct {
	AnyOf                []McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationTitledMultiSelectEnumSchemaItems is a generated nested model.

func (McpElicitationTitledMultiSelectEnumSchemaItems) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationTitledMultiSelectEnumSchemaItems) UnmarshalJSON

func (value *McpElicitationTitledMultiSelectEnumSchemaItems) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem

type McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem struct {
	Const                string
	Title                string
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem is a generated nested model.

func (McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem) UnmarshalJSON

UnmarshalJSON retains members not known to this schema revision.

type McpElicitationTitledMultiSelectEnumSchemaType

type McpElicitationTitledMultiSelectEnumSchemaType string

McpElicitationTitledMultiSelectEnumSchemaType is a generated schema value.

const McpElicitationTitledMultiSelectEnumSchemaTypeArray McpElicitationTitledMultiSelectEnumSchemaType = "array"

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 retains members not known to this schema revision.

type McpElicitationTitledSingleSelectEnumSchemaOneOfItem

type McpElicitationTitledSingleSelectEnumSchemaOneOfItem struct {
	Const                string
	Title                string
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationTitledSingleSelectEnumSchemaOneOfItem is a generated nested model.

func (McpElicitationTitledSingleSelectEnumSchemaOneOfItem) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationTitledSingleSelectEnumSchemaOneOfItem) UnmarshalJSON

func (value *McpElicitationTitledSingleSelectEnumSchemaOneOfItem) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type McpElicitationTitledSingleSelectEnumSchemaType

type McpElicitationTitledSingleSelectEnumSchemaType string

McpElicitationTitledSingleSelectEnumSchemaType is a generated schema value.

const McpElicitationTitledSingleSelectEnumSchemaTypeString McpElicitationTitledSingleSelectEnumSchemaType = "string"

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 retains members not known to this schema revision.

type McpElicitationUntitledMultiSelectEnumSchemaItems

type McpElicitationUntitledMultiSelectEnumSchemaItems struct {
	Enum                 []string
	Type                 McpElicitationUntitledMultiSelectEnumSchemaItemsType
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationUntitledMultiSelectEnumSchemaItems is a generated nested model.

func (McpElicitationUntitledMultiSelectEnumSchemaItems) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationUntitledMultiSelectEnumSchemaItems) UnmarshalJSON

func (value *McpElicitationUntitledMultiSelectEnumSchemaItems) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type McpElicitationUntitledMultiSelectEnumSchemaItemsType

type McpElicitationUntitledMultiSelectEnumSchemaItemsType string

McpElicitationUntitledMultiSelectEnumSchemaItemsType is a generated schema value.

const McpElicitationUntitledMultiSelectEnumSchemaItemsTypeString McpElicitationUntitledMultiSelectEnumSchemaItemsType = "string"

type McpElicitationUntitledMultiSelectEnumSchemaType

type McpElicitationUntitledMultiSelectEnumSchemaType string

McpElicitationUntitledMultiSelectEnumSchemaType is a generated schema value.

const McpElicitationUntitledMultiSelectEnumSchemaTypeArray McpElicitationUntitledMultiSelectEnumSchemaType = "array"

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 retains members not known to this schema revision.

type McpElicitationUntitledSingleSelectEnumSchemaType

type McpElicitationUntitledSingleSelectEnumSchemaType string

McpElicitationUntitledSingleSelectEnumSchemaType is a generated schema value.

const McpElicitationUntitledSingleSelectEnumSchemaTypeString McpElicitationUntitledSingleSelectEnumSchemaType = "string"

type ModelErrorEvent

type ModelErrorEvent struct {
	Attempt              *ExecutionEventAttempt
	Error                *ExecutionEventError
	Execution            json.RawMessage
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ModelErrorEventType

type ModelErrorEventType string

ModelErrorEventType is a generated schema value.

const ModelErrorEventTypeModelError ModelErrorEventType = "model.error"

type ModelRequestBeforeCapabilities

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ModelRequestBeforeCapabilitiesFlow

type ModelRequestBeforeCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             json.RawMessage
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ModelRequestBeforeCapabilitiesInjectContextAppend

type ModelRequestBeforeCapabilitiesInjectContextAppend bool

ModelRequestBeforeCapabilitiesInjectContextAppend is a generated schema value.

const ModelRequestBeforeCapabilitiesInjectContextAppendTrue ModelRequestBeforeCapabilitiesInjectContextAppend = true

type ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem

type ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem string

ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ModelRequestBeforeCapabilitiesInjectContextDeliverAtItemNextTurn ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ModelRequestBeforeCapabilitiesInjectContextDeliverAtItemNow ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem = "now"

type ModelRequestBeforeCapabilitiesModify

type ModelRequestBeforeCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ModelRequestBeforeEventType

type ModelRequestBeforeEventType string

ModelRequestBeforeEventType is a generated schema value.

const ModelRequestBeforeEventTypeModelRequestBefore ModelRequestBeforeEventType = "model.request.before"

type ModelResponseAfterCapabilities

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ModelResponseAfterCapabilitiesFlow

type ModelResponseAfterCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             json.RawMessage
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ModelResponseAfterCapabilitiesInjectContextAppend

type ModelResponseAfterCapabilitiesInjectContextAppend bool

ModelResponseAfterCapabilitiesInjectContextAppend is a generated schema value.

const ModelResponseAfterCapabilitiesInjectContextAppendTrue ModelResponseAfterCapabilitiesInjectContextAppend = true

type ModelResponseAfterCapabilitiesInjectContextDeliverAtItem

type ModelResponseAfterCapabilitiesInjectContextDeliverAtItem string

ModelResponseAfterCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ModelResponseAfterCapabilitiesInjectContextDeliverAtItemNextTurn ModelResponseAfterCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ModelResponseAfterCapabilitiesInjectContextDeliverAtItemNow ModelResponseAfterCapabilitiesInjectContextDeliverAtItem = "now"

type ModelResponseAfterCapabilitiesModify

type ModelResponseAfterCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ModelResponseAfterEventType

type ModelResponseAfterEventType string

ModelResponseAfterEventType is a generated schema value.

const ModelResponseAfterEventTypeModelResponseAfter ModelResponseAfterEventType = "model.response.after"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ModelSwitchAfterEventType

type ModelSwitchAfterEventType string

ModelSwitchAfterEventType is a generated schema value.

const ModelSwitchAfterEventTypeModelSwitchAfter ModelSwitchAfterEventType = "model.switch.after"

type ModelSwitchBeforeCapabilities

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ModelSwitchBeforeCapabilitiesFlow

type ModelSwitchBeforeCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             json.RawMessage
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ModelSwitchBeforeCapabilitiesInjectContextAppend

type ModelSwitchBeforeCapabilitiesInjectContextAppend bool

ModelSwitchBeforeCapabilitiesInjectContextAppend is a generated schema value.

const ModelSwitchBeforeCapabilitiesInjectContextAppendTrue ModelSwitchBeforeCapabilitiesInjectContextAppend = true

type ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem

type ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem string

ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItemNextTurn ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItemNow ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem = "now"

type ModelSwitchBeforeCapabilitiesModify

type ModelSwitchBeforeCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ModelSwitchBeforeEventType

type ModelSwitchBeforeEventType string

ModelSwitchBeforeEventType is a generated schema value.

const ModelSwitchBeforeEventTypeModelSwitchBefore ModelSwitchBeforeEventType = "model.switch.before"

type ModelVisibleItem

type ModelVisibleItem = json.RawMessage

ModelVisibleItem is generated from schema/draft/content-item.schema.json#/$defs/modelVisibleItem.

type NativeEvent

type NativeEvent = json.RawMessage

NativeEvent is generated from schema/draft/common.schema.json#/$defs/native.

type ObserveNotification

type ObserveNotification struct {
	JSONRPC              ObserveNotificationJSONRPC
	Method               json.RawMessage
	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 retains members not known to this schema revision.

type ObserveNotificationJSONRPC

type ObserveNotificationJSONRPC string

ObserveNotificationJSONRPC is a generated schema value.

const ObserveNotificationJSONRPCValue20 ObserveNotificationJSONRPC = "2.0"

type ObserveNotificationParams

type ObserveNotificationParams struct {
	Event                ObserveNotificationParamsEvent
	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 retains members not known to this schema revision.

type ObserveNotificationParamsEvent

type ObserveNotificationParamsEvent 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
}

ObserveNotificationParamsEvent is a generated union model.

func (ObserveNotificationParamsEvent) MarshalJSON

func (value ObserveNotificationParamsEvent) MarshalJSON() ([]byte, error)

func (*ObserveNotificationParamsEvent) UnmarshalJSON

func (value *ObserveNotificationParamsEvent) UnmarshalJSON(data []byte) error

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 retains members not known to this schema revision.

type ObserveSubscriptionEventsItem

type ObserveSubscriptionEventsItem struct {
	Variant1 Optional[ObserveSubscriptionEventsItemVariant1]
	Variant2 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

type ObserveSubscriptionEventsItemVariant1

type ObserveSubscriptionEventsItemVariant1 string

ObserveSubscriptionEventsItemVariant1 is a generated schema value.

const ObserveSubscriptionEventsItemVariant1ConfigChangeAfter ObserveSubscriptionEventsItemVariant1 = "config.change.after"
const ObserveSubscriptionEventsItemVariant1ConfigChangeBefore ObserveSubscriptionEventsItemVariant1 = "config.change.before"
const ObserveSubscriptionEventsItemVariant1ContextCompactAfter ObserveSubscriptionEventsItemVariant1 = "context.compact.after"
const ObserveSubscriptionEventsItemVariant1ContextCompactBefore ObserveSubscriptionEventsItemVariant1 = "context.compact.before"
const ObserveSubscriptionEventsItemVariant1FileChanged ObserveSubscriptionEventsItemVariant1 = "file.changed"
const ObserveSubscriptionEventsItemVariant1HookFailure ObserveSubscriptionEventsItemVariant1 = "hook.failure"
const ObserveSubscriptionEventsItemVariant1ModelError ObserveSubscriptionEventsItemVariant1 = "model.error"
const ObserveSubscriptionEventsItemVariant1ModelRequestBefore ObserveSubscriptionEventsItemVariant1 = "model.request.before"
const ObserveSubscriptionEventsItemVariant1ModelResponseAfter ObserveSubscriptionEventsItemVariant1 = "model.response.after"
const ObserveSubscriptionEventsItemVariant1ModelSwitchAfter ObserveSubscriptionEventsItemVariant1 = "model.switch.after"
const ObserveSubscriptionEventsItemVariant1ModelSwitchBefore ObserveSubscriptionEventsItemVariant1 = "model.switch.before"
const ObserveSubscriptionEventsItemVariant1SessionEnd ObserveSubscriptionEventsItemVariant1 = "session.end"
const ObserveSubscriptionEventsItemVariant1SessionStart ObserveSubscriptionEventsItemVariant1 = "session.start"
const ObserveSubscriptionEventsItemVariant1TaskChangeAfter ObserveSubscriptionEventsItemVariant1 = "task.change.after"
const ObserveSubscriptionEventsItemVariant1TaskChangeBefore ObserveSubscriptionEventsItemVariant1 = "task.change.before"
const ObserveSubscriptionEventsItemVariant1ToolAfter ObserveSubscriptionEventsItemVariant1 = "tool.after"
const ObserveSubscriptionEventsItemVariant1ToolBatchAfter ObserveSubscriptionEventsItemVariant1 = "tool.batch.after"
const ObserveSubscriptionEventsItemVariant1ToolBefore ObserveSubscriptionEventsItemVariant1 = "tool.before"
const ObserveSubscriptionEventsItemVariant1ToolPermissionRequest ObserveSubscriptionEventsItemVariant1 = "tool.permission.request"
const ObserveSubscriptionEventsItemVariant1ToolPermissionResolved ObserveSubscriptionEventsItemVariant1 = "tool.permission.resolved"
const ObserveSubscriptionEventsItemVariant1ToolProgress ObserveSubscriptionEventsItemVariant1 = "tool.progress"
const ObserveSubscriptionEventsItemVariant1TurnEnd ObserveSubscriptionEventsItemVariant1 = "turn.end"
const ObserveSubscriptionEventsItemVariant1TurnFinishBefore ObserveSubscriptionEventsItemVariant1 = "turn.finish.before"
const ObserveSubscriptionEventsItemVariant1TurnProgress ObserveSubscriptionEventsItemVariant1 = "turn.progress"
const ObserveSubscriptionEventsItemVariant1TurnStart ObserveSubscriptionEventsItemVariant1 = "turn.start"
const ObserveSubscriptionEventsItemVariant1UserAttention ObserveSubscriptionEventsItemVariant1 = "user.attention"
const ObserveSubscriptionEventsItemVariant1UserElicitationRequest ObserveSubscriptionEventsItemVariant1 = "user.elicitation.request"
const ObserveSubscriptionEventsItemVariant1UserElicitationResult ObserveSubscriptionEventsItemVariant1 = "user.elicitation.result"
const ObserveSubscriptionEventsItemVariant1UserMessageInbound ObserveSubscriptionEventsItemVariant1 = "user.message.inbound"
const ObserveSubscriptionEventsItemVariant1UserMessageOutbound ObserveSubscriptionEventsItemVariant1 = "user.message.outbound"
const ObserveSubscriptionEventsItemVariant1WorkspaceChangeAfter ObserveSubscriptionEventsItemVariant1 = "workspace.change.after"
const ObserveSubscriptionEventsItemVariant1WorkspaceChangeBefore ObserveSubscriptionEventsItemVariant1 = "workspace.change.before"

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 retains members not known to this schema revision.

type ObserveSubscriptionMode

type ObserveSubscriptionMode string

ObserveSubscriptionMode is a generated schema value.

const ObserveSubscriptionModeObserve ObserveSubscriptionMode = "observe"

type ObserveSubscriptionScope

type ObserveSubscriptionScope string

ObserveSubscriptionScope is a generated schema value.

const ObserveSubscriptionScopeManaged ObserveSubscriptionScope = "managed"
const ObserveSubscriptionScopeProject ObserveSubscriptionScope = "project"
const ObserveSubscriptionScopeUser ObserveSubscriptionScope = "user"

type Optional

type Optional[T any] struct {
	Value   T
	Present bool
}

Optional distinguishes an absent member from a present zero or null value.

func Some

func Some[T any](value T) Optional[T]

Some returns a present optional value.

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 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 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"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ReverseDnsName

type ReverseDnsName = string

ReverseDnsName is generated from schema/draft/registration.schema.json#/$defs/reverseDns.

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

func (value Session) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*Session) UnmarshalJSON

func (value *Session) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type SessionEndEventOutcome

type SessionEndEventOutcome string

SessionEndEventOutcome is a generated schema value.

const SessionEndEventOutcomeCancelled SessionEndEventOutcome = "cancelled"
const SessionEndEventOutcomeCompleted SessionEndEventOutcome = "completed"
const SessionEndEventOutcomeError SessionEndEventOutcome = "error"
const SessionEndEventOutcomeUnknown SessionEndEventOutcome = "unknown"

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 retains members not known to this schema revision.

type SessionEndEventType

type SessionEndEventType string

SessionEndEventType is a generated schema value.

const SessionEndEventTypeSessionEnd SessionEndEventType = "session.end"

type SessionStartCapabilities

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type SessionStartCapabilitiesFlowOperationsItem

type SessionStartCapabilitiesFlowOperationsItem string

SessionStartCapabilitiesFlowOperationsItem is a generated schema value.

const SessionStartCapabilitiesFlowOperationsItemContinue SessionStartCapabilitiesFlowOperationsItem = "continue"
const SessionStartCapabilitiesFlowOperationsItemStop SessionStartCapabilitiesFlowOperationsItem = "stop"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type SessionStartCapabilitiesInjectContextAppend

type SessionStartCapabilitiesInjectContextAppend bool

SessionStartCapabilitiesInjectContextAppend is a generated schema value.

const SessionStartCapabilitiesInjectContextAppendTrue SessionStartCapabilitiesInjectContextAppend = true

type SessionStartCapabilitiesInjectContextDeliverAtItem

type SessionStartCapabilitiesInjectContextDeliverAtItem string

SessionStartCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const SessionStartCapabilitiesInjectContextDeliverAtItemNextTurn SessionStartCapabilitiesInjectContextDeliverAtItem = "next_turn"
const SessionStartCapabilitiesInjectContextDeliverAtItemNow SessionStartCapabilitiesInjectContextDeliverAtItem = "now"

type SessionStartCapabilitiesModify

type SessionStartCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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"

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 retains members not known to this schema revision.

type SessionStartEventType

type SessionStartEventType string

SessionStartEventType is a generated schema value.

const SessionStartEventTypeSessionStart SessionStartEventType = "session.start"

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 retains members not known to this schema revision.

type StaticCapabilityManifestAuthenticationItem

type StaticCapabilityManifestAuthenticationItem string

StaticCapabilityManifestAuthenticationItem is a generated schema value.

const StaticCapabilityManifestAuthenticationItemBearer StaticCapabilityManifestAuthenticationItem = "bearer"
const StaticCapabilityManifestAuthenticationItemOauth StaticCapabilityManifestAuthenticationItem = "oauth"

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 retains members not known to this schema revision.

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"

type StaticCapabilityManifestEventsItemModesItem

type StaticCapabilityManifestEventsItemModesItem string

StaticCapabilityManifestEventsItemModesItem is a generated schema value.

const StaticCapabilityManifestEventsItemModesItemIntercept StaticCapabilityManifestEventsItemModesItem = "intercept"
const StaticCapabilityManifestEventsItemModesItemObserve StaticCapabilityManifestEventsItemModesItem = "observe"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type StaticCapabilityManifestManagedPolicyScopesItem

type StaticCapabilityManifestManagedPolicyScopesItem string

StaticCapabilityManifestManagedPolicyScopesItem is a generated schema value.

const StaticCapabilityManifestManagedPolicyScopesItemManaged StaticCapabilityManifestManagedPolicyScopesItem = "managed"
const StaticCapabilityManifestManagedPolicyScopesItemProject StaticCapabilityManifestManagedPolicyScopesItem = "project"
const StaticCapabilityManifestManagedPolicyScopesItemUser StaticCapabilityManifestManagedPolicyScopesItem = "user"

type StaticCapabilityManifestTransportsItem

type StaticCapabilityManifestTransportsItem string

StaticCapabilityManifestTransportsItem is a generated schema value.

const StaticCapabilityManifestTransportsItemHTTP StaticCapabilityManifestTransportsItem = "http"
const StaticCapabilityManifestTransportsItemInProcess StaticCapabilityManifestTransportsItem = "in_process"
const StaticCapabilityManifestTransportsItemStdio StaticCapabilityManifestTransportsItem = "stdio"

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 retains members not known to this schema revision.

type StdioTransportLifecycle

type StdioTransportLifecycle string

StdioTransportLifecycle is a generated schema value.

const StdioTransportLifecyclePerEvent StdioTransportLifecycle = "per_event"
const StdioTransportLifecyclePersistent StdioTransportLifecycle = "persistent"

type StdioTransportType

type StdioTransportType string

StdioTransportType is a generated schema value.

const StdioTransportTypeStdio StdioTransportType = "stdio"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TaskChangeAfterEventTaskOperation

type TaskChangeAfterEventTaskOperation string

TaskChangeAfterEventTaskOperation is a generated schema value.

const TaskChangeAfterEventTaskOperationCreate TaskChangeAfterEventTaskOperation = "create"
const TaskChangeAfterEventTaskOperationRemove TaskChangeAfterEventTaskOperation = "remove"
const TaskChangeAfterEventTaskOperationUpdate TaskChangeAfterEventTaskOperation = "update"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TaskChangeAfterEventType

type TaskChangeAfterEventType string

TaskChangeAfterEventType is a generated schema value.

const TaskChangeAfterEventTypeTaskChangeAfter TaskChangeAfterEventType = "task.change.after"

type TaskChangeBeforeCapabilities

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TaskChangeBeforeCapabilitiesFlowOperationsItem

type TaskChangeBeforeCapabilitiesFlowOperationsItem string

TaskChangeBeforeCapabilitiesFlowOperationsItem is a generated schema value.

const TaskChangeBeforeCapabilitiesFlowOperationsItemContinue TaskChangeBeforeCapabilitiesFlowOperationsItem = "continue"
const TaskChangeBeforeCapabilitiesFlowOperationsItemStop TaskChangeBeforeCapabilitiesFlowOperationsItem = "stop"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TaskChangeBeforeCapabilitiesInjectContextAppend

type TaskChangeBeforeCapabilitiesInjectContextAppend bool

TaskChangeBeforeCapabilitiesInjectContextAppend is a generated schema value.

const TaskChangeBeforeCapabilitiesInjectContextAppendTrue TaskChangeBeforeCapabilitiesInjectContextAppend = true

type TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem

type TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem string

TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const TaskChangeBeforeCapabilitiesInjectContextDeliverAtItemNextTurn TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const TaskChangeBeforeCapabilitiesInjectContextDeliverAtItemNow TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem = "now"

type TaskChangeBeforeCapabilitiesModify

type TaskChangeBeforeCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TaskChangeBeforeEventTaskOperation

type TaskChangeBeforeEventTaskOperation string

TaskChangeBeforeEventTaskOperation is a generated schema value.

const TaskChangeBeforeEventTaskOperationCreate TaskChangeBeforeEventTaskOperation = "create"
const TaskChangeBeforeEventTaskOperationRemove TaskChangeBeforeEventTaskOperation = "remove"
const TaskChangeBeforeEventTaskOperationUpdate TaskChangeBeforeEventTaskOperation = "update"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TaskChangeBeforeEventType

type TaskChangeBeforeEventType string

TaskChangeBeforeEventType is a generated schema value.

const TaskChangeBeforeEventTypeTaskChangeBefore TaskChangeBeforeEventType = "task.change.before"

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

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 retains members not known to this schema revision.

type TaskWorkspaceEventFileChangedChangesItem

type TaskWorkspaceEventFileChangedChangesItem struct {
	After                Optional[*ContentReference]
	AgentCaused          bool
	Before               Optional[*ContentReference]
	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 retains members not known to this schema revision.

type TaskWorkspaceEventFileChangedChangesItemOperation

type TaskWorkspaceEventFileChangedChangesItemOperation string

TaskWorkspaceEventFileChangedChangesItemOperation is a generated schema value.

const TaskWorkspaceEventFileChangedChangesItemOperationCreate TaskWorkspaceEventFileChangedChangesItemOperation = "create"
const TaskWorkspaceEventFileChangedChangesItemOperationRemove TaskWorkspaceEventFileChangedChangesItemOperation = "remove"
const TaskWorkspaceEventFileChangedChangesItemOperationUpdate TaskWorkspaceEventFileChangedChangesItemOperation = "update"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TaskWorkspaceEventFileChangedType

type TaskWorkspaceEventFileChangedType string

TaskWorkspaceEventFileChangedType is a generated schema value.

const TaskWorkspaceEventFileChangedTypeFileChanged TaskWorkspaceEventFileChangedType = "file.changed"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TaskWorkspaceEventTaskChangeAfterTaskOperation

type TaskWorkspaceEventTaskChangeAfterTaskOperation string

TaskWorkspaceEventTaskChangeAfterTaskOperation is a generated schema value.

const TaskWorkspaceEventTaskChangeAfterTaskOperationCreate TaskWorkspaceEventTaskChangeAfterTaskOperation = "create"
const TaskWorkspaceEventTaskChangeAfterTaskOperationRemove TaskWorkspaceEventTaskChangeAfterTaskOperation = "remove"
const TaskWorkspaceEventTaskChangeAfterTaskOperationUpdate TaskWorkspaceEventTaskChangeAfterTaskOperation = "update"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TaskWorkspaceEventTaskChangeAfterType

type TaskWorkspaceEventTaskChangeAfterType string

TaskWorkspaceEventTaskChangeAfterType is a generated schema value.

const TaskWorkspaceEventTaskChangeAfterTypeTaskChangeAfter TaskWorkspaceEventTaskChangeAfterType = "task.change.after"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TaskWorkspaceEventTaskChangeBeforeTaskOperation

type TaskWorkspaceEventTaskChangeBeforeTaskOperation string

TaskWorkspaceEventTaskChangeBeforeTaskOperation is a generated schema value.

const TaskWorkspaceEventTaskChangeBeforeTaskOperationCreate TaskWorkspaceEventTaskChangeBeforeTaskOperation = "create"
const TaskWorkspaceEventTaskChangeBeforeTaskOperationRemove TaskWorkspaceEventTaskChangeBeforeTaskOperation = "remove"
const TaskWorkspaceEventTaskChangeBeforeTaskOperationUpdate TaskWorkspaceEventTaskChangeBeforeTaskOperation = "update"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TaskWorkspaceEventTaskChangeBeforeType

type TaskWorkspaceEventTaskChangeBeforeType string

TaskWorkspaceEventTaskChangeBeforeType is a generated schema value.

const TaskWorkspaceEventTaskChangeBeforeTypeTaskChangeBefore TaskWorkspaceEventTaskChangeBeforeType = "task.change.before"

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 retains members not known to this schema revision.

type TaskWorkspaceEventWorkspaceChangeAfterGapsItem

type TaskWorkspaceEventWorkspaceChangeAfterGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventWorkspaceChangeAfterGapsItem is a generated nested model.

func (TaskWorkspaceEventWorkspaceChangeAfterGapsItem) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventWorkspaceChangeAfterGapsItem) UnmarshalJSON

func (value *TaskWorkspaceEventWorkspaceChangeAfterGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TaskWorkspaceEventWorkspaceChangeAfterType

type TaskWorkspaceEventWorkspaceChangeAfterType string

TaskWorkspaceEventWorkspaceChangeAfterType is a generated schema value.

const TaskWorkspaceEventWorkspaceChangeAfterTypeWorkspaceChangeAfter TaskWorkspaceEventWorkspaceChangeAfterType = "workspace.change.after"

type TaskWorkspaceEventWorkspaceChangeAfterWorkspace

TaskWorkspaceEventWorkspaceChangeAfterWorkspace is a generated nested model.

func (TaskWorkspaceEventWorkspaceChangeAfterWorkspace) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventWorkspaceChangeAfterWorkspace) UnmarshalJSON

func (value *TaskWorkspaceEventWorkspaceChangeAfterWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

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

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventWorkspaceChangeAfterWorkspaceChange) UnmarshalJSON

UnmarshalJSON retains members not known to this schema revision.

type TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind

type TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind string

TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind is a generated schema value.

const TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKindCWD TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind = "cwd"
const TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKindRoots TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind = "roots"
const TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKindSwitch TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind = "switch"

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

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventWorkspaceChangeAfterWorkspacePrior) UnmarshalJSON

UnmarshalJSON retains members not known to this schema revision.

type TaskWorkspaceEventWorkspaceChangeBefore

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 retains members not known to this schema revision.

type TaskWorkspaceEventWorkspaceChangeBeforeGapsItem

type TaskWorkspaceEventWorkspaceChangeBeforeGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventWorkspaceChangeBeforeGapsItem is a generated nested model.

func (TaskWorkspaceEventWorkspaceChangeBeforeGapsItem) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventWorkspaceChangeBeforeGapsItem) UnmarshalJSON

func (value *TaskWorkspaceEventWorkspaceChangeBeforeGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TaskWorkspaceEventWorkspaceChangeBeforeType

type TaskWorkspaceEventWorkspaceChangeBeforeType string

TaskWorkspaceEventWorkspaceChangeBeforeType is a generated schema value.

const TaskWorkspaceEventWorkspaceChangeBeforeTypeWorkspaceChangeBefore TaskWorkspaceEventWorkspaceChangeBeforeType = "workspace.change.before"

type TaskWorkspaceEventWorkspaceChangeBeforeWorkspace

TaskWorkspaceEventWorkspaceChangeBeforeWorkspace is a generated nested model.

func (TaskWorkspaceEventWorkspaceChangeBeforeWorkspace) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventWorkspaceChangeBeforeWorkspace) UnmarshalJSON

func (value *TaskWorkspaceEventWorkspaceChangeBeforeWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

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

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceChange) UnmarshalJSON

UnmarshalJSON retains members not known to this schema revision.

type TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind

type TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind string

TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind is a generated schema value.

const TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKindCWD TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind = "cwd"
const TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKindRoots TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind = "roots"
const TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKindSwitch TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind = "switch"

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

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventWorkspaceChangeBeforeWorkspacePrior) UnmarshalJSON

UnmarshalJSON retains members not known to this schema revision.

type ToolAfterCapabilities

type ToolAfterCapabilities struct {
	Effects              json.RawMessage
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ToolAfterCapabilitiesFlowOperationsItem

type ToolAfterCapabilitiesFlowOperationsItem string

ToolAfterCapabilitiesFlowOperationsItem is a generated schema value.

const ToolAfterCapabilitiesFlowOperationsItemContinue ToolAfterCapabilitiesFlowOperationsItem = "continue"
const ToolAfterCapabilitiesFlowOperationsItemStop ToolAfterCapabilitiesFlowOperationsItem = "stop"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ToolAfterCapabilitiesInjectContextAppend

type ToolAfterCapabilitiesInjectContextAppend bool

ToolAfterCapabilitiesInjectContextAppend is a generated schema value.

const ToolAfterCapabilitiesInjectContextAppendTrue ToolAfterCapabilitiesInjectContextAppend = true

type ToolAfterCapabilitiesInjectContextDeliverAtItem

type ToolAfterCapabilitiesInjectContextDeliverAtItem string

ToolAfterCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ToolAfterCapabilitiesInjectContextDeliverAtItemNextTurn ToolAfterCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ToolAfterCapabilitiesInjectContextDeliverAtItemNow ToolAfterCapabilitiesInjectContextDeliverAtItem = "now"

type ToolAfterCapabilitiesModify

type ToolAfterCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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"

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 retains members not known to this schema revision.

type ToolAfterEventType

type ToolAfterEventType string

ToolAfterEventType is a generated schema value.

const ToolAfterEventTypeToolAfter ToolAfterEventType = "tool.after"

type ToolBatchAfterCapabilities

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ToolBatchAfterCapabilitiesFlow

type ToolBatchAfterCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             json.RawMessage
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ToolBatchAfterCapabilitiesInjectContextAppend

type ToolBatchAfterCapabilitiesInjectContextAppend bool

ToolBatchAfterCapabilitiesInjectContextAppend is a generated schema value.

const ToolBatchAfterCapabilitiesInjectContextAppendTrue ToolBatchAfterCapabilitiesInjectContextAppend = true

type ToolBatchAfterCapabilitiesInjectContextDeliverAtItem

type ToolBatchAfterCapabilitiesInjectContextDeliverAtItem string

ToolBatchAfterCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ToolBatchAfterCapabilitiesInjectContextDeliverAtItemNextTurn ToolBatchAfterCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ToolBatchAfterCapabilitiesInjectContextDeliverAtItemNow ToolBatchAfterCapabilitiesInjectContextDeliverAtItem = "now"

type ToolBatchAfterCapabilitiesModify

type ToolBatchAfterCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ToolBatchAfterEventType

type ToolBatchAfterEventType string

ToolBatchAfterEventType is a generated schema value.

const ToolBatchAfterEventTypeToolBatchAfter ToolBatchAfterEventType = "tool.batch.after"

type ToolBeforeCapabilities

type ToolBeforeCapabilities struct {
	Effects              json.RawMessage
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ToolBeforeCapabilitiesFlow

type ToolBeforeCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             json.RawMessage
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ToolBeforeCapabilitiesInjectContextAppend

type ToolBeforeCapabilitiesInjectContextAppend bool

ToolBeforeCapabilitiesInjectContextAppend is a generated schema value.

const ToolBeforeCapabilitiesInjectContextAppendTrue ToolBeforeCapabilitiesInjectContextAppend = true

type ToolBeforeCapabilitiesInjectContextDeliverAtItem

type ToolBeforeCapabilitiesInjectContextDeliverAtItem string

ToolBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ToolBeforeCapabilitiesInjectContextDeliverAtItemNextTurn ToolBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ToolBeforeCapabilitiesInjectContextDeliverAtItemNow ToolBeforeCapabilitiesInjectContextDeliverAtItem = "now"

type ToolBeforeCapabilitiesModify

type ToolBeforeCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ToolBeforeEventType

type ToolBeforeEventType string

ToolBeforeEventType is a generated schema value.

const ToolBeforeEventTypeToolBefore ToolBeforeEventType = "tool.before"

type ToolPermissionRequestCapabilities

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ToolPermissionRequestCapabilitiesElicitationForm

type ToolPermissionRequestCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesElicitationForm is a generated nested model.

func (ToolPermissionRequestCapabilitiesElicitationForm) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesElicitationForm) UnmarshalJSON

func (value *ToolPermissionRequestCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type ToolPermissionRequestCapabilitiesElicitationURL

type ToolPermissionRequestCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesElicitationURL is a generated nested model.

func (ToolPermissionRequestCapabilitiesElicitationURL) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesElicitationURL) UnmarshalJSON

func (value *ToolPermissionRequestCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type ToolPermissionRequestCapabilitiesFlow

type ToolPermissionRequestCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             json.RawMessage
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ToolPermissionRequestCapabilitiesInjectContext

type ToolPermissionRequestCapabilitiesInjectContext struct {
	Append               ToolPermissionRequestCapabilitiesInjectContextAppend
	DeliverAt            []ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesInjectContext is a generated nested model.

func (ToolPermissionRequestCapabilitiesInjectContext) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesInjectContext) UnmarshalJSON

func (value *ToolPermissionRequestCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type ToolPermissionRequestCapabilitiesInjectContextAppend

type ToolPermissionRequestCapabilitiesInjectContextAppend bool

ToolPermissionRequestCapabilitiesInjectContextAppend is a generated schema value.

const ToolPermissionRequestCapabilitiesInjectContextAppendTrue ToolPermissionRequestCapabilitiesInjectContextAppend = true

type ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem

type ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem string

ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ToolPermissionRequestCapabilitiesInjectContextDeliverAtItemNextTurn ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ToolPermissionRequestCapabilitiesInjectContextDeliverAtItemNow ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem = "now"

type ToolPermissionRequestCapabilitiesModify

type ToolPermissionRequestCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ToolPermissionRequestEventType

type ToolPermissionRequestEventType string

ToolPermissionRequestEventType is a generated schema value.

const ToolPermissionRequestEventTypeToolPermissionRequest ToolPermissionRequestEventType = "tool.permission.request"

type ToolPermissionResolvedEvent

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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"

type ToolPermissionResolvedEventDecision

type ToolPermissionResolvedEventDecision string

ToolPermissionResolvedEventDecision is a generated schema value.

const ToolPermissionResolvedEventDecisionAllow ToolPermissionResolvedEventDecision = "allow"
const ToolPermissionResolvedEventDecisionDeny ToolPermissionResolvedEventDecision = "deny"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ToolPermissionResolvedEventType

type ToolPermissionResolvedEventType string

ToolPermissionResolvedEventType is a generated schema value.

const ToolPermissionResolvedEventTypeToolPermissionResolved ToolPermissionResolvedEventType = "tool.permission.resolved"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type ToolProgressEventType

type ToolProgressEventType string

ToolProgressEventType is a generated schema value.

const ToolProgressEventTypeToolProgress ToolProgressEventType = "tool.progress"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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"

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 retains members not known to this schema revision.

type TurnEndEventType

type TurnEndEventType string

TurnEndEventType is a generated schema value.

const TurnEndEventTypeTurnEnd TurnEndEventType = "turn.end"

type TurnFinishBeforeCapabilities

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TurnFinishBeforeCapabilitiesFlowOperationsItem

type TurnFinishBeforeCapabilitiesFlowOperationsItem string

TurnFinishBeforeCapabilitiesFlowOperationsItem is a generated schema value.

const TurnFinishBeforeCapabilitiesFlowOperationsItemContinue TurnFinishBeforeCapabilitiesFlowOperationsItem = "continue"
const TurnFinishBeforeCapabilitiesFlowOperationsItemStop TurnFinishBeforeCapabilitiesFlowOperationsItem = "stop"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TurnFinishBeforeCapabilitiesInjectContextAppend

type TurnFinishBeforeCapabilitiesInjectContextAppend bool

TurnFinishBeforeCapabilitiesInjectContextAppend is a generated schema value.

const TurnFinishBeforeCapabilitiesInjectContextAppendTrue TurnFinishBeforeCapabilitiesInjectContextAppend = true

type TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem

type TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem string

TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const TurnFinishBeforeCapabilitiesInjectContextDeliverAtItemNextTurn TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const TurnFinishBeforeCapabilitiesInjectContextDeliverAtItemNow TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem = "now"

type TurnFinishBeforeCapabilitiesModify

type TurnFinishBeforeCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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"

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 retains members not known to this schema revision.

type TurnFinishBeforeEventType

type TurnFinishBeforeEventType string

TurnFinishBeforeEventType is a generated schema value.

const TurnFinishBeforeEventTypeTurnFinishBefore TurnFinishBeforeEventType = "turn.finish.before"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TurnProgressEventType

type TurnProgressEventType string

TurnProgressEventType is a generated schema value.

const TurnProgressEventTypeTurnProgress TurnProgressEventType = "turn.progress"

type TurnStartCapabilities

type TurnStartCapabilities struct {
	Effects              json.RawMessage
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TurnStartCapabilitiesFlow

type TurnStartCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             json.RawMessage
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type TurnStartCapabilitiesInjectContextAppend

type TurnStartCapabilitiesInjectContextAppend bool

TurnStartCapabilitiesInjectContextAppend is a generated schema value.

const TurnStartCapabilitiesInjectContextAppendTrue TurnStartCapabilitiesInjectContextAppend = true

type TurnStartCapabilitiesInjectContextDeliverAtItem

type TurnStartCapabilitiesInjectContextDeliverAtItem string

TurnStartCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const TurnStartCapabilitiesInjectContextDeliverAtItemNextTurn TurnStartCapabilitiesInjectContextDeliverAtItem = "next_turn"
const TurnStartCapabilitiesInjectContextDeliverAtItemNow TurnStartCapabilitiesInjectContextDeliverAtItem = "now"

type TurnStartCapabilitiesModify

type TurnStartCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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"

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 retains members not known to this schema revision.

type TurnStartEventType

type TurnStartEventType string

TurnStartEventType is a generated schema value.

const TurnStartEventTypeTurnStart TurnStartEventType = "turn.start"

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 retains members not known to this schema revision.

type UserAttentionEventAttention

type UserAttentionEventAttention struct {
	Kind                 string
	Message              []*ContentItem
	Title                []*ContentItem
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserAttentionEventType

type UserAttentionEventType string

UserAttentionEventType is a generated schema value.

const UserAttentionEventTypeUserAttention UserAttentionEventType = "user.attention"

type UserElicitationRequestCapabilities

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserElicitationRequestCapabilitiesElicitationForm

type UserElicitationRequestCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesElicitationForm is a generated nested model.

func (UserElicitationRequestCapabilitiesElicitationForm) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesElicitationForm) UnmarshalJSON

func (value *UserElicitationRequestCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type UserElicitationRequestCapabilitiesElicitationURL

type UserElicitationRequestCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesElicitationURL is a generated nested model.

func (UserElicitationRequestCapabilitiesElicitationURL) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesElicitationURL) UnmarshalJSON

func (value *UserElicitationRequestCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserElicitationRequestCapabilitiesFlowOperationsItem

type UserElicitationRequestCapabilitiesFlowOperationsItem string

UserElicitationRequestCapabilitiesFlowOperationsItem is a generated schema value.

const UserElicitationRequestCapabilitiesFlowOperationsItemContinue UserElicitationRequestCapabilitiesFlowOperationsItem = "continue"
const UserElicitationRequestCapabilitiesFlowOperationsItemStop UserElicitationRequestCapabilitiesFlowOperationsItem = "stop"

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 retains members not known to this schema revision.

type UserElicitationRequestCapabilitiesInjectContext

type UserElicitationRequestCapabilitiesInjectContext struct {
	Append               UserElicitationRequestCapabilitiesInjectContextAppend
	DeliverAt            []UserElicitationRequestCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesInjectContext is a generated nested model.

func (UserElicitationRequestCapabilitiesInjectContext) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesInjectContext) UnmarshalJSON

func (value *UserElicitationRequestCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type UserElicitationRequestCapabilitiesInjectContextAppend

type UserElicitationRequestCapabilitiesInjectContextAppend bool

UserElicitationRequestCapabilitiesInjectContextAppend is a generated schema value.

const UserElicitationRequestCapabilitiesInjectContextAppendTrue UserElicitationRequestCapabilitiesInjectContextAppend = true

type UserElicitationRequestCapabilitiesInjectContextDeliverAtItem

type UserElicitationRequestCapabilitiesInjectContextDeliverAtItem string

UserElicitationRequestCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const UserElicitationRequestCapabilitiesInjectContextDeliverAtItemNextTurn UserElicitationRequestCapabilitiesInjectContextDeliverAtItem = "next_turn"
const UserElicitationRequestCapabilitiesInjectContextDeliverAtItemNow UserElicitationRequestCapabilitiesInjectContextDeliverAtItem = "now"

type UserElicitationRequestCapabilitiesModify

type UserElicitationRequestCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserElicitationRequestEventElicitation

type UserElicitationRequestEventElicitation struct {
	Mode                 UserElicitationRequestEventElicitationMode
	Request              Optional[json.RawMessage]
	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 retains members not known to this schema revision.

type UserElicitationRequestEventElicitationMode

type UserElicitationRequestEventElicitationMode string

UserElicitationRequestEventElicitationMode is a generated schema value.

const UserElicitationRequestEventElicitationModeForm UserElicitationRequestEventElicitationMode = "form"
const UserElicitationRequestEventElicitationModeURL UserElicitationRequestEventElicitationMode = "url"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserElicitationRequestEventType

type UserElicitationRequestEventType string

UserElicitationRequestEventType is a generated schema value.

const UserElicitationRequestEventTypeUserElicitationRequest UserElicitationRequestEventType = "user.elicitation.request"

type UserElicitationResultCapabilities

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserElicitationResultCapabilitiesElicitationForm

type UserElicitationResultCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesElicitationForm is a generated nested model.

func (UserElicitationResultCapabilitiesElicitationForm) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesElicitationForm) UnmarshalJSON

func (value *UserElicitationResultCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type UserElicitationResultCapabilitiesElicitationURL

type UserElicitationResultCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesElicitationURL is a generated nested model.

func (UserElicitationResultCapabilitiesElicitationURL) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesElicitationURL) UnmarshalJSON

func (value *UserElicitationResultCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserElicitationResultCapabilitiesFlowOperationsItem

type UserElicitationResultCapabilitiesFlowOperationsItem string

UserElicitationResultCapabilitiesFlowOperationsItem is a generated schema value.

const UserElicitationResultCapabilitiesFlowOperationsItemContinue UserElicitationResultCapabilitiesFlowOperationsItem = "continue"
const UserElicitationResultCapabilitiesFlowOperationsItemStop UserElicitationResultCapabilitiesFlowOperationsItem = "stop"

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 retains members not known to this schema revision.

type UserElicitationResultCapabilitiesInjectContext

type UserElicitationResultCapabilitiesInjectContext struct {
	Append               UserElicitationResultCapabilitiesInjectContextAppend
	DeliverAt            []UserElicitationResultCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesInjectContext is a generated nested model.

func (UserElicitationResultCapabilitiesInjectContext) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesInjectContext) UnmarshalJSON

func (value *UserElicitationResultCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type UserElicitationResultCapabilitiesInjectContextAppend

type UserElicitationResultCapabilitiesInjectContextAppend bool

UserElicitationResultCapabilitiesInjectContextAppend is a generated schema value.

const UserElicitationResultCapabilitiesInjectContextAppendTrue UserElicitationResultCapabilitiesInjectContextAppend = true

type UserElicitationResultCapabilitiesInjectContextDeliverAtItem

type UserElicitationResultCapabilitiesInjectContextDeliverAtItem string

UserElicitationResultCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const UserElicitationResultCapabilitiesInjectContextDeliverAtItemNextTurn UserElicitationResultCapabilitiesInjectContextDeliverAtItem = "next_turn"
const UserElicitationResultCapabilitiesInjectContextDeliverAtItemNow UserElicitationResultCapabilitiesInjectContextDeliverAtItem = "now"

type UserElicitationResultCapabilitiesModify

type UserElicitationResultCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserElicitationResultEventElicitation

type UserElicitationResultEventElicitation struct {
	Action               UserElicitationResultEventElicitationAction
	Mode                 UserElicitationResultEventElicitationMode
	Result               Optional[json.RawMessage]
	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 retains members not known to this schema revision.

type UserElicitationResultEventElicitationAction

type UserElicitationResultEventElicitationAction string

UserElicitationResultEventElicitationAction is a generated schema value.

const UserElicitationResultEventElicitationActionAccept UserElicitationResultEventElicitationAction = "accept"
const UserElicitationResultEventElicitationActionCancel UserElicitationResultEventElicitationAction = "cancel"
const UserElicitationResultEventElicitationActionDecline UserElicitationResultEventElicitationAction = "decline"

type UserElicitationResultEventElicitationMode

type UserElicitationResultEventElicitationMode string

UserElicitationResultEventElicitationMode is a generated schema value.

const UserElicitationResultEventElicitationModeForm UserElicitationResultEventElicitationMode = "form"
const UserElicitationResultEventElicitationModeURL UserElicitationResultEventElicitationMode = "url"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserElicitationResultEventType

type UserElicitationResultEventType string

UserElicitationResultEventType is a generated schema value.

const UserElicitationResultEventTypeUserElicitationResult UserElicitationResultEventType = "user.elicitation.result"

type UserMessageInboundCapabilities

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserMessageInboundCapabilitiesFlowOperationsItem

type UserMessageInboundCapabilitiesFlowOperationsItem string

UserMessageInboundCapabilitiesFlowOperationsItem is a generated schema value.

const UserMessageInboundCapabilitiesFlowOperationsItemContinue UserMessageInboundCapabilitiesFlowOperationsItem = "continue"
const UserMessageInboundCapabilitiesFlowOperationsItemStop UserMessageInboundCapabilitiesFlowOperationsItem = "stop"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserMessageInboundCapabilitiesInjectContextAppend

type UserMessageInboundCapabilitiesInjectContextAppend bool

UserMessageInboundCapabilitiesInjectContextAppend is a generated schema value.

const UserMessageInboundCapabilitiesInjectContextAppendTrue UserMessageInboundCapabilitiesInjectContextAppend = true

type UserMessageInboundCapabilitiesInjectContextDeliverAtItem

type UserMessageInboundCapabilitiesInjectContextDeliverAtItem string

UserMessageInboundCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const UserMessageInboundCapabilitiesInjectContextDeliverAtItemNextTurn UserMessageInboundCapabilitiesInjectContextDeliverAtItem = "next_turn"
const UserMessageInboundCapabilitiesInjectContextDeliverAtItemNow UserMessageInboundCapabilitiesInjectContextDeliverAtItem = "now"

type UserMessageInboundCapabilitiesModify

type UserMessageInboundCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserMessageInboundEventMessage

type UserMessageInboundEventMessage struct {
	Channel              string
	Sender               string
	Text                 []*ContentItem
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserMessageInboundEventType

type UserMessageInboundEventType string

UserMessageInboundEventType is a generated schema value.

const UserMessageInboundEventTypeUserMessageInbound UserMessageInboundEventType = "user.message.inbound"

type UserMessageOutboundCapabilities

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserMessageOutboundCapabilitiesElicitationForm

type UserMessageOutboundCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundCapabilitiesElicitationForm is a generated nested model.

func (UserMessageOutboundCapabilitiesElicitationForm) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesElicitationForm) UnmarshalJSON

func (value *UserMessageOutboundCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserMessageOutboundCapabilitiesFlowOperationsItem

type UserMessageOutboundCapabilitiesFlowOperationsItem string

UserMessageOutboundCapabilitiesFlowOperationsItem is a generated schema value.

const UserMessageOutboundCapabilitiesFlowOperationsItemContinue UserMessageOutboundCapabilitiesFlowOperationsItem = "continue"
const UserMessageOutboundCapabilitiesFlowOperationsItemStop UserMessageOutboundCapabilitiesFlowOperationsItem = "stop"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserMessageOutboundCapabilitiesInjectContextAppend

type UserMessageOutboundCapabilitiesInjectContextAppend bool

UserMessageOutboundCapabilitiesInjectContextAppend is a generated schema value.

const UserMessageOutboundCapabilitiesInjectContextAppendTrue UserMessageOutboundCapabilitiesInjectContextAppend = true

type UserMessageOutboundCapabilitiesInjectContextDeliverAtItem

type UserMessageOutboundCapabilitiesInjectContextDeliverAtItem string

UserMessageOutboundCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const UserMessageOutboundCapabilitiesInjectContextDeliverAtItemNextTurn UserMessageOutboundCapabilitiesInjectContextDeliverAtItem = "next_turn"
const UserMessageOutboundCapabilitiesInjectContextDeliverAtItemNow UserMessageOutboundCapabilitiesInjectContextDeliverAtItem = "now"

type UserMessageOutboundCapabilitiesModify

type UserMessageOutboundCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserMessageOutboundEventMessage

type UserMessageOutboundEventMessage struct {
	Channel              string
	Payload              []*ContentItem
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type UserMessageOutboundEventType

type UserMessageOutboundEventType string

UserMessageOutboundEventType is a generated schema value.

const UserMessageOutboundEventTypeUserMessageOutbound UserMessageOutboundEventType = "user.message.outbound"

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

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type WorkspaceChangeAfterEventType

type WorkspaceChangeAfterEventType string

WorkspaceChangeAfterEventType is a generated schema value.

const WorkspaceChangeAfterEventTypeWorkspaceChangeAfter WorkspaceChangeAfterEventType = "workspace.change.after"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type WorkspaceChangeAfterEventWorkspaceKind

type WorkspaceChangeAfterEventWorkspaceKind string

WorkspaceChangeAfterEventWorkspaceKind is a generated schema value.

const WorkspaceChangeAfterEventWorkspaceKindCWD WorkspaceChangeAfterEventWorkspaceKind = "cwd"
const WorkspaceChangeAfterEventWorkspaceKindRoots WorkspaceChangeAfterEventWorkspaceKind = "roots"
const WorkspaceChangeAfterEventWorkspaceKindSwitch WorkspaceChangeAfterEventWorkspaceKind = "switch"

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 retains members not known to this schema revision.

type WorkspaceChangeBeforeCapabilities

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type WorkspaceChangeBeforeCapabilitiesElicitationForm

type WorkspaceChangeBeforeCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesElicitationForm is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesElicitationForm) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesElicitationForm) UnmarshalJSON

func (value *WorkspaceChangeBeforeCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type WorkspaceChangeBeforeCapabilitiesElicitationURL

type WorkspaceChangeBeforeCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesElicitationURL is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesElicitationURL) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesElicitationURL) UnmarshalJSON

func (value *WorkspaceChangeBeforeCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

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 retains members not known to this schema revision.

type WorkspaceChangeBeforeCapabilitiesFlowOperationsItem

type WorkspaceChangeBeforeCapabilitiesFlowOperationsItem string

WorkspaceChangeBeforeCapabilitiesFlowOperationsItem is a generated schema value.

const WorkspaceChangeBeforeCapabilitiesFlowOperationsItemContinue WorkspaceChangeBeforeCapabilitiesFlowOperationsItem = "continue"
const WorkspaceChangeBeforeCapabilitiesFlowOperationsItemStop WorkspaceChangeBeforeCapabilitiesFlowOperationsItem = "stop"

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 retains members not known to this schema revision.

type WorkspaceChangeBeforeCapabilitiesInjectContext

type WorkspaceChangeBeforeCapabilitiesInjectContext struct {
	Append               WorkspaceChangeBeforeCapabilitiesInjectContextAppend
	DeliverAt            []WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesInjectContext is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesInjectContext) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesInjectContext) UnmarshalJSON

func (value *WorkspaceChangeBeforeCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON retains members not known to this schema revision.

type WorkspaceChangeBeforeCapabilitiesInjectContextAppend

type WorkspaceChangeBeforeCapabilitiesInjectContextAppend bool

WorkspaceChangeBeforeCapabilitiesInjectContextAppend is a generated schema value.

const WorkspaceChangeBeforeCapabilitiesInjectContextAppendTrue WorkspaceChangeBeforeCapabilitiesInjectContextAppend = true

type WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem

type WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem string

WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItemNextTurn WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItemNow WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem = "now"

type WorkspaceChangeBeforeCapabilitiesModify

type WorkspaceChangeBeforeCapabilitiesModify struct {
	Content              Optional[json.RawMessage]
	Input                Optional[json.RawMessage]
	Instructions         Optional[json.RawMessage]
	Output               Optional[json.RawMessage]
	Prompt               Optional[json.RawMessage]
	Request              Optional[json.RawMessage]
	Response             Optional[json.RawMessage]
	Summary              Optional[json.RawMessage]
	Workspace            Optional[json.RawMessage]
	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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type WorkspaceChangeBeforeEventType

type WorkspaceChangeBeforeEventType string

WorkspaceChangeBeforeEventType is a generated schema value.

const WorkspaceChangeBeforeEventTypeWorkspaceChangeBefore WorkspaceChangeBeforeEventType = "workspace.change.before"

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 retains members not known to this schema revision.

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 retains members not known to this schema revision.

type WorkspaceChangeBeforeEventWorkspaceKind

type WorkspaceChangeBeforeEventWorkspaceKind string

WorkspaceChangeBeforeEventWorkspaceKind is a generated schema value.

const WorkspaceChangeBeforeEventWorkspaceKindCWD WorkspaceChangeBeforeEventWorkspaceKind = "cwd"
const WorkspaceChangeBeforeEventWorkspaceKindRoots WorkspaceChangeBeforeEventWorkspaceKind = "roots"
const WorkspaceChangeBeforeEventWorkspaceKindSwitch WorkspaceChangeBeforeEventWorkspaceKind = "switch"

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 retains members not known to this schema revision.

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
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.
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL