ahp

package module
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 8 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 draft 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

For reproducible builds, pin a published release version, for example go get github.com/agenthooksprotocol/go-sdk@v0.1.1.

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 structured 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, define 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 through capability.Host. Optional Metadata customizes non-event advertisement fields. 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.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 diagnostic.Code: protocol_rejection, remote_rpc, transport, cancelled, deadline_exceeded, preparation, or capacity. Stage 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 the typed Event and complete AcceptedResponses; 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. 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 wire types. Constructors fill schema literals and annotated defaults; parsers 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 }

hooks, err := client.New(reg, client.Options{
    Source: "urn:example:host",
    Events: capability.Host{
        ToolBefore: capability.ToolBefore{
            Deny: true, ModifyInput: capability.Replace(), Observe: true,
        },
    },
    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, result.Permission, and host policy before execution.
// result.Input has type Arguments when result.InputAvailable is true.

The JSON document uses the ahp.Registration wire model: backend routes, modes, deadlines, failure policies, content selections, and upload endpoints are registration data. capability.Host grants only the facilities explicitly declared for each event. Set an event declaration's Observe field when both interception and observation are supported; use capability.Observe{} for observation alone. Set ElicitationForm: true on an event that supports form decisions to advertise that mode. Options.Events is the authoritative source of event modes and grants. Options.Metadata accepts metadata-only customization alongside it:

client.Options{
    Source: "urn:example:host",
    Events: capability.Host{
        ContextCompactBefore: capability.ContextCompactBefore{
            ModifyInstructions: capability.Replace(),
        },
    },
    Metadata: &client.ManifestMetadata{
        ContentCategories: ahp.Some([]string{"text"}),
        Limits: ahp.Some(ahp.StaticCapabilityManifestLimits{
            MaxUploadBytes: ahp.Some(json.Number("4096")),
        }),
    },
}

This metadata advertises inline text support and a bounded upload size; it does not enable events or grant effects. Metadata fields also cover transports, authentication, gaps, tool paths, correlation identity fields, and managed policy. Absent fields retain minimal defaults, including registration-derived transports and authentication. Explicit empty arrays stay empty. Construction validates metadata and detaches its slices, maps, and opaque extras from caller-owned data. AdditionalProperties carries opaque non-grant metadata only. Keys that collide with known manifest fields, including events, or known nested limits, managed policy, and gap fields are rejected rather than overriding typed values.

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 inline TextParts instructions, accepted list replacement, verified attachment bytes, explicit receiver authorization, and independent upload routes alongside 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.

Subscription interest

func (h *Hooks) Subscribes(eventType event.Type) bool reports static subscription interest. Call hooks.Subscribes(event.ToolBefore) before expensive hook input preparation; when it returns false, skip that preparation and hook delivery, not the host's permission checks. The synchronous lookup performs no input preparation, transport I/O, authentication, or uploads.

Only configured events with intercept or observe support can match. The lookup uses dispatch's exact, *, and prefix selectors (such as tool.*) and covers both intercept and observe-only interest. Intercept subscriptions can receive observations after settlement, so interest is retained across subscription and host modes rather than requiring an intercept-mode match. Payload filters are ignored conservatively: true means possible interest, not that a particular input passes its filters. It is neither permission nor a guarantee of delivery.

Consumer settlement

Result.Event is the authoritative canonical *ahp.Event. Read its typed boundary variant for effective messages, text parts, and host fields. Result.Candidate is ahp.Nullable[client.Candidate]: the originating boundary selects a messages, text, elicitation-result, or caller-owned opaque envelope. An absent candidate is distinct from a candidate whose value is JSON null. Permission and optional Flow describe the settled protocol controls; Interrupted always gates execution. Presence-aware Instructions and Injections contain the accumulated canonical settlement, including native initial state when no receiver response is accepted. Injection envelopes retain ordered canonical messages and their exact deliverAt value.

AcceptedResponses retains complete contextual receiver envelopes in atomic acceptance order, including injection deliverAt, ordered payloads, provenance, and opaque envelope/result/effect properties. Invalid responses publish no edits, candidates, messages, or injections. Earlier accepted responses remain available; a later edit cannot repair an invalid earlier edit in one response.

StateExtras and generated AdditionalProperties preserve unknown JSON members losslessly without granting authority. Caller-owned argument, result, and provenance types remain generic through the declared-contract APIs. Root wire codecs and Hooks.Dispatch support dynamic protocol integration; ordinary consumer settlement uses the same typed event and candidate models.

Caller value contracts and forms

Use client.ToolBefore when argument and result types need validation before accepted state reaches the next interceptor:

type Arguments struct { Count int `json:"count"` }
type Answer struct { Text string `json:"text"` }
contract := client.ToolContract[Arguments, Answer]{
    Arguments: client.JSONCodec(func(value Arguments) error {
        if value.Count < 1 { return errors.New("positive count required") }
        return nil
    }),
    Result: client.JSONCodec[Answer](nil),
}
decision, err := client.ToolBefore(ctx, hooks,
    event.ToolBeforeInput[Arguments]{
        CallID: "call-1", Path: "execute", Name: "task", Origin: "native",
        Input: Arguments{Count: 1},
    }, contract)
// Check err and host execution policy. decision has type ToolDecision with
// independent argument/result types. Candidate.Present distinguishes absence
// from a candidate whose declared result value is null.

client.ToolBeforeWithProvenance also accepts a caller-defined provenance codec. A replacement candidate does not inherit earlier provenance. Codec defaults to lossless JSON decoding with json.Number; it rejects supplied fields that would be dropped or changed by a round trip. Types with opaque extension bags can retain them in custom codecs. Validators must be deterministic and not mutate values. A failed response publishes none of its effects; earlier accepted responses remain available.

Generic object merge is shallow: omitted fields stay unchanged, null is literal, and nested values replace as a whole. The complete temporary value is decoded and validated before publication, not the partial patch. WithHostValueCodec optionally declares a codec at an explicit event JSON Pointer such as /params, /task/change, /task/prior, or /native. Otherwise host values remain opaque. WithTargetCodec, WithReturnCodec, and WithProvenanceCodec support advanced declared boundary contracts.

For forms, client.NewFormContract[Answer] derives the restricted MCP requestedSchema and decodes answers from the same flat struct declaration. WithFormField supplies enum choices and supported bounds/format metadata. Unsupported nested, nullable, ambiguous, and unconstrained array declarations fail at construction. client.ElicitForm takes that contract plus a generated request input whose inline text descriptor has caller-owned identity. client.ElicitFormResult uses the original request snapshot to validate correlated result edits before publication. Decline and cancel have no answer; form helpers do not accept URL-mode confirmations.

See compiled public contract and form examples.

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 are 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, event.ToolBefore, input, options...) with a generated event.Type constant and canonical host fields, excluding SDK-owned type, source, and manifest. CapabilityAdmissionError.Event uses that same generated event type. Wire registration selectors remain strings and can include exact names, *, and prefixes. Contextual response parsing uses event.ResponseForRequest(event.ToolBefore, responseBytes) or event.StageResponseForRequest(event.ToolBefore, responseBytes, validate); both accept the same generated event.Type. Root ahp models and schema parsers handle protocol wire documents. Canonical fixture adapters use this path instead of duplicating generated mappings. The SDK owns the protocol envelope and fills permitted identity fields; callers supply required occurrence and application data.

client.Options.Events accepts capability.Host, with event-specific fields:

capability.Host{
    SessionStart: capability.Observe{},
    ToolBefore: capability.ToolBefore{
        Allow: true, Deny: true, ReturnResult: true,
        ModifyInput: capability.ReplaceAndMerge(),
        Flow: capability.Stop(),
        InjectContext: capability.InjectNow().WithNextTurn(),
        Observe: true,
    },
}

Each field accepts only its matching event declaration or observation support. Only catalogue-supported facilities are available on each declaration. A nil field or a zero event declaration grants nothing and is omitted. Interception and observation are independent: a nonzero facility enables interception, while Observe: true explicitly enables observation.

  • Boolean fields grant simple controls, including ReturnResult and supported ElicitationForm or ElicitationURL modes.
  • Replace(), Merge(), and ReplaceAndMerge() grant modification operations. Targets restricted to one operation use an event-specific constructor.
  • Stop(), Continue(remaining, count), and ContinueAndStop(remaining, count) grant supported flow operations. Counters are unsigned. Stop-only and continuation-only event fields accept only their matching concrete flow type.
  • InjectNow() and InjectNextTurn() grant context append with an explicit delivery timing. Compose supported timings with WithNextTurn() or WithNow(). Events with restricted timings use event-specific injection constructors.

Host.Wire() renders canonical declarations for manifest tooling. Its wire output types are not host declaration inputs. Zero modification, flow, and injection values grant nothing. Construction is not execution authorization: Hooks checks host support and per-call narrowing. client.WithCapabilities accepts an ahp.Capabilities wire value that can only narrow the manifest.

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.

Nullable[T] represents JSON null independently of property presence. A required nullable property uses Nullable[T]; an optional one uses Optional[Nullable[T]]. Use ahp.Null[T]() for null and ahp.NonNull(value) for a non-null value. Check Valid before reading Value; false, 0, and empty strings remain non-null values. For an optional property, check Present first: absent, explicit null, and a non-null value are three different states.

state.NoCandidate() encodes null, while state.Candidate(nil) encodes {"value":null}. Named nullable models, including response IDs, are values rather than pointers; pass their address to json.Unmarshal. Non-null selections whose payload serializes to null (for example a nil slice or pointer) return an encoding error. Nullable[T] handles null itself and delegates non-null decoding to T.

Generated model UnmarshalJSON methods and named Parse* entrypoints enforce the same generated structural rules: required members, JSON types, literals, closed enums, nested models, forbidden property combinations, and union matching. For example, decoding a candidate {} fails because value is required; null and {"value":null} are distinct valid candidate states. Open string enums and unknown tagged variants are accepted, and supported extension members are retained. Parse* additionally returns structured diagnostics (including warnings) and the original raw JSON; direct decoding returns an error for structural failures without a diagnostics collection.

This is not complete canonical JSON Schema validation. The generated IR does not represent string length/pattern/format, numeric bounds, or all array/object keywords. Structural decoding preserves unknown members even where the canonical schema closes objects. Server-side canonical validation and request-dependent checks are separate. Do not substitute decoding for those checks.

Named primitive models such as ReverseDnsName are defined Go types. Convert string variables explicitly, for example id := ahp.ReverseDnsName(name). registration.NewBackend accepts a string. ContextCompactBeforeEvent and McpElicitationRequest are model values. Use *Model where your API needs a pointer; Go accepts JSON null into pointer variables without invoking the pointed-to model's decoder.

Receiver-side effect.Modify<Target>Merge(value) and effect.Modify<Target>Replace(value) accept typed application values for all schema-supported modification targets. 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 include NewAllow, NewAsk, NewDeny, NewMessage, NewFlowStop, and NewFlowContinue. Raw NewModify, NewReturn, and NewInjectAppend are advanced wire helpers. These constructors neither grant capabilities nor establish that a payload satisfies the host application's schema.

Generated host inputs accept canonical messages with a role and ordered parts. Use event.ContentPartInput.Text for inline text and event.ContentPartInput.Attachment for an owned binary body. Encoding does not read attachment bytes. Explicit host authorization, receiver disclosure policy, size limits, and source ownership rules apply.

Typed composed payloads

Composed MCP transport payloads are typed models. For example, ExecutionEventMcpConnection.HTTP contains Optional[ExecutionEventMcpConnectionHTTP]; its URL and Gaps fields expose strings and typed gap records. Sse, Stdio, and CustomTransport similarly expose their schema-declared location fields. ModelVisibleItem exposes a canonical Role and ordered Parts with typed content variants.

The structural decoder checks presence predicates such as “URL or gaps”; optional Go fields are not permission to omit every alternative. Genuine application JSON, unknown variants, and extension values use raw JSON for round-trip preservation.

Go capability queries

Root ahp.Capabilities and ahp.InterceptRequestParamsCapabilities expose Supports(ahp.EffectNameDeny) and Supports(ahp.EffectName("vendor.custom")). Typed server contexts expose the matching event-specific capabilities model. The generated EffectNameDeny, EffectNameModify, and the other EffectName* constants identify effect families. Queries inspect typed fields without serialization and accept the known and custom string representations. Host declarations render the supported effect families explicitly.

Supports reports only advertised family membership: it does not authorize execution or imply a target, operation, delivery mode, or per-call grant. A nested modify grant without the modify family returns false; a modify family alone does not grant any modification operation. Use event-specific host declarations and host/request validation for operation constraints.

Current composition coverage

The client composes object-valued input and workspace modifications, canonical message and text-part list modifications, protocol permission/candidate decisions, messages, injections, and bounded flow effects. Invalid capability grants fail before delivery. Output modifications operate on tool.after.items as canonical message lists. Application structures are serialized as inline text, not exposed as native JSON output fields.

Attachments remain immutable across edits. Selected receivers receive their own uploaded reference to the exact owned attachment. Read canonical messages and text parts through Result.Event. Result.Content("/canonical/item/path") returns detached available attachment bytes. Canonical message-list modifications use merge to append in order, preserving duplicates, and replace to substitute the list. Text-part lists use the same operations. Compaction instructions and summaries contain inline text parts. Supplied compaction results contain a text-part list; supplied model results contain a canonical message list. A returned summary is a pending candidate, not installed context.

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 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. At user.elicitation.result, content modifications operate on the accepted form MCP answer object and preserve its result wrapper. At user.message.outbound, content modifications operate on canonical message lists.

Receiving hooks

server.NewHandler returns an ordinary http.Handler. Interception and observation use separate event-specific callback maps:

handler, err := server.NewHandler(server.Handlers{
    Intercept: server.InterceptHandlers{
        ToolBefore: func(ctx context.Context,
            request server.InterceptContext[ahp.ToolBeforeEvent, ahp.ToolBeforeCapabilities],
        ) (server.ToolBeforeReply, error) {
            return server.ToolBeforeReply{Effects: []*ahp.ToolBeforeEffect{
                {AllowEffect: ahp.Some(&ahp.AllowEffect{Type: "allow"})},
            }}, nil
        },
    },
    Observe: server.ObserveHandlers{
        ToolBefore: func(ctx context.Context,
            notification server.ObserveContext[ahp.ToolBeforeEvent],
        ) error { return nil },
    },
}, server.Options{})
if err != nil { return err }
mux.Handle("/hooks", handler)

Each intercept context supplies the exact Event and Capabilities, optional State and Extensions, and opaque AdditionalProperties (params extras) and EnvelopeExtras (request extras). Observe contexts supply the event and both extra maps; the observation schema has no state or extensions members. Unknown params members retain future data without granting authority.

Replies contain ordered event-specific Effects, optional Extensions, and opaque result AdditionalProperties. A zero reply is a no-op. The engine supplies protocol version and request correlation and validates effects against the request's grants. Application payloads remain caller-owned: effect helpers encode them losslessly; decode their wire output into the matching ahp.*Effect union before adding it to a reply. server.WithToolBeforeArguments(codec, callback) binds a caller-defined client.Codec[T] and passes decoded arguments alongside the typed tool context without changing the event envelope.

The capabilities discovery callback is independent of the event maps. Mount the handler in an application-owned mux and use normal HTTP authentication middleware. server.ServeStdio adapts owned input/output streams to the same handler. The application 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 are 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. Separately scoped auth transports support custom transport configuration; 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. ContentAuthorization.Subscription is the generated ahp.BackendSubscriptionsItem registered-subscription union. Item is an SDK-owned client.ContentDescriptor with typed metadata and requested selection, not a full selected wire content item: text, body, and gap are absent before disclosure (including write callbacks). Optional metadata uses ahp.Optional; unknown descriptor members remain opaque JSON in AdditionalProperties, and cannot override known fields or add payloads. For example, callbacks inspect scope.Item.ID, scope.Item.Kind, and scope.Item.Category.Value (after checking Present), not map compatibility views. ContentAuthorization.Operation is "read" for disclosure and "write" for new or changed inline text. Authorize these operations explicitly in AuthorizeContent; permitting a read does not permit a write. Incoming canonical text requires body selection for its content category and explicit write authorization. List replacement cannot overwrite receiver-hidden text. 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 hash the original bytes. Before the first interceptor, Hooks plans all matched, authorized attachment-body transfers and waits for their confirmed receipts. client.Options.MaxConcurrentUploads bounds transfers across calls on the same Hooks instance: zero uses the default of 8; negative values are invalid. Interceptors still run in registration order. Upload failures follow the affected subscription's failure policy when its delivery is reached; observation failures do not change the settled decision.

Confirmed references are reused for the same attachment owner, backend, and subscription during serial projection and settled observations. Sharing an upload URL does not share references or credentials between receivers. A later interceptor can remove an attachment after its planned upload; that upload is not undone. Metadata-only delivery does not itself read bodies, and attachment bodies with no authorized body demand remain unread. Inline text is projected without uploads; validating an elicitation exchange can require verified host bodies regardless of receiver selection. Upload credentials are never inferred from event credentials.

Owned attachments

Use content.NewAttachment(data) for a defensive copy of a byte slice, or content.NewLazyAttachment(open, cleanup) for a context-aware reader factory. content.NewSource(reader) takes ownership of an already opened reader. All three construct the same owned body type. Bind it directly through the generated host input API:

attachment := content.NewAttachment(pdfBytes)
messages := []*event.ModelVisibleItemInput{{
    ModelVisibleItem: ahp.ModelVisibleItem{ID: "review-1", Role: ahp.ModelVisibleItemRoleUser},
    Parts: []*event.ContentPartInput{
        {Text: &ahp.TextBodyPart{ID: "request-text", Text: "Review this report."}},
        {Attachment: &event.AttachmentBodyInput{
            AttachmentBodyPart: ahp.AttachmentBodyPart{ID: "report", MediaType: "application/pdf"},
            Body: attachment,
        }},
    },
}}
result, err := hooks.ModelRequestBefore(ctx, event.ModelRequestBeforeInput{
    Attempt: &ahp.ExecutionEventAttempt{ID: "attempt-1", Number: json.Number("1")},
    Model: &ahp.ExecutionEventModel{ID: "model-1", Provider: "example"},
    ItemsInput: &messages,
})
if result != nil { defer result.Close() }
if err != nil { return err }
// Check interruption and the settled decision before sending the model request.

Configure the model.request.before event grant and receiver content selections on hooks. Metadata-only selection does not open a lazy attachment. See the standalone file example. WithContentSource is an advanced binding for a canonical part path, not needed for generated host inputs.

The attachment is the sole byte owner. Selection uploads borrow its immutable buffer; successful results retain the same owner. Lazy factories run at most once on actual body demand. Metadata-only/no-match delivery does not open them. MaxContentBytes bounds materialization and live attachment accounting; per-receiver upload limits are enforced separately. Public reads return defensive copies, never shared mutable backing bytes.

Always defer result.Close() when an invocation returns a non-nil result. result.ReadContent(ctx, path) evaluates unread content and works after invocation completion and Hooks.Close. result.Content(path) reads only an already materialized owner. Closing results disposes unopened sources and interrupts active reads. Factories must honor their context and must not depend on resources owned by Hooks; reader Close must unblock Read. Optional factory cleanup runs once, including when unopened, and waits for active opening to finish. Admission failure, cancellation and timeout retire invocation-owned resources.

An attachment may serve multiple slots and receivers in one invocation, but cannot be reused across invocations. The optional ContentOptions.Resolver converts a supplied external reference into a lazy attachment at its canonical slot. Direct attachment bindings do not require a resolver.

Canonical list modifications preserve existing immutable attachment descriptors; attachment bytes cannot be edited or replaced by an effect. MCP elicitation snapshots retain the parsed original form contract for validating the corresponding result boundary.

Use Result.ReadContent to demand a body and decode caller-owned JSON with an application codec when needed. Call Source.Close to dispose a source that is never submitted.

On the receiver, upload parsing verifies declared size and digest only at successful EOF. Early close or a failed read cannot yield a verified receipt. 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.

upload.Receipt(ref) returns a ContentUploadReceipt with ref, size, and sha256 for server.WriteUploadResponse. Use content.ReferenceFromReceipt(receipt) to explicitly construct the ref-only ContentReference carried by events. Body-selected items do not carry outer size or digest metadata; metadata-only items and gaps may disclose it. Resolve references within authenticated storage scope, not by trusting event-provided lengths or hashes. Upload framing and receipt verification check the exact bytes sent.

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.

Use a protocol checkout at the sourceCommit recorded in ahp-codegen.lock.json to regenerate and verify:

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

Code generated by ahp-codegen. DO NOT EDIT.

Code generated by ahp-codegen. DO NOT EDIT.

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 ContentUploadReceiptSchemaRevision = SchemaRevision
View Source
const ContentUploadSchemaRevision = SchemaRevision
View Source
const DenyEffectSchemaRevision = SchemaRevision
View Source
const EffectDeny = EffectNameDeny

EffectDeny is the shorthand family identifier for deny.

View Source
const EffectSchemaRevision = SchemaRevision
View Source
const EventSchemaRevision = 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 EncodeContentUploadReceipt added in v0.1.1

func EncodeContentUploadReceipt(value ContentUploadReceipt) ([]byte, error)

EncodeContentUploadReceipt encodes value without applying schema defaults.

func EncodeDenyEffect

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

EncodeDenyEffect encodes value without applying schema defaults.

func EncodeEffect

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

EncodeEffect encodes value without applying schema defaults.

func EncodeEvent added in v0.1.1

func EncodeEvent(value Event) ([]byte, error)

EncodeEvent encodes value without applying schema defaults.

func EncodeExecutionEvent

func EncodeExecutionEvent(value ExecutionEvent) ([]byte, error)

EncodeExecutionEvent encodes value without applying schema defaults.

func EncodeExtensions

func EncodeExtensions(value Extensions) ([]byte, error)

EncodeExtensions encodes value without applying schema defaults.

func EncodeInteractionEvent

func EncodeInteractionEvent(value InteractionEvent) ([]byte, error)

EncodeInteractionEvent encodes value without applying schema defaults.

func EncodeInterceptDenyResponse

func EncodeInterceptDenyResponse(value InterceptDenyResponse) ([]byte, error)

EncodeInterceptDenyResponse encodes value without applying schema defaults.

func EncodeInterceptNoEffectResponse

func EncodeInterceptNoEffectResponse(value InterceptNoEffectResponse) ([]byte, error)

EncodeInterceptNoEffectResponse encodes value without applying schema defaults.

func EncodeInterceptRequest

func EncodeInterceptRequest(value InterceptRequest) ([]byte, error)

EncodeInterceptRequest encodes value without applying schema defaults.

func EncodeInterceptResponse

func EncodeInterceptResponse(value InterceptResponse) ([]byte, error)

EncodeInterceptResponse encodes value without applying schema defaults.

func EncodeJsonRpcMessage

func EncodeJsonRpcMessage(value JsonRpcMessage) ([]byte, error)

EncodeJsonRpcMessage encodes value without applying schema defaults.

func EncodeObserveNotification

func EncodeObserveNotification(value ObserveNotification) ([]byte, error)

EncodeObserveNotification encodes value without applying schema defaults.

func EncodeRegistration

func EncodeRegistration(value Registration) ([]byte, error)

EncodeRegistration encodes value without applying schema defaults.

func EncodeSessionEndEvent

func EncodeSessionEndEvent(value SessionEndEvent) ([]byte, error)

EncodeSessionEndEvent encodes value without applying schema defaults.

func EncodeSessionStartEvent

func EncodeSessionStartEvent(value SessionStartEvent) ([]byte, error)

EncodeSessionStartEvent encodes value without applying schema defaults.

func EncodeTaskWorkspaceEvent

func EncodeTaskWorkspaceEvent(value TaskWorkspaceEvent) ([]byte, error)

EncodeTaskWorkspaceEvent encodes value without applying schema defaults.

func EncodeToolAfterEvent

func EncodeToolAfterEvent(value ToolAfterEvent) ([]byte, error)

EncodeToolAfterEvent encodes value without applying schema defaults.

func EncodeToolBeforeEvent

func EncodeToolBeforeEvent(value ToolBeforeEvent) ([]byte, error)

EncodeToolBeforeEvent encodes value without applying schema defaults.

func EncodeWireMessage

func EncodeWireMessage(value WireMessage) ([]byte, error)

EncodeWireMessage encodes value without applying schema defaults.

Types

type AllowEffect added in v0.4.0

type AllowEffect struct {
	Type                 AllowEffectType
	AdditionalProperties map[string]json.RawMessage
}

AllowEffect is generated from schema/draft/effect.schema.json#/$defs/AllowEffect.

func (AllowEffect) MarshalJSON added in v0.4.0

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

MarshalJSON emits known fields together with all retained members.

func (*AllowEffect) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AllowEffectType added in v0.4.0

type AllowEffectType string

AllowEffectType is a generated schema value.

const AllowEffectTypeAllow AllowEffectType = "allow"

func (*AllowEffectType) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AskEffect added in v0.4.0

type AskEffect struct {
	Type                 AskEffectType
	AdditionalProperties map[string]json.RawMessage
}

AskEffect is generated from schema/draft/effect.schema.json#/$defs/AskEffect.

func (AskEffect) MarshalJSON added in v0.4.0

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

MarshalJSON emits known fields together with all retained members.

func (*AskEffect) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AskEffectType added in v0.4.0

type AskEffectType string

AskEffectType is a generated schema value.

const AskEffectTypeAsk AskEffectType = "ask"

func (*AskEffectType) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AttachmentBodyPart added in v0.3.0

type AttachmentBodyPart struct {
	Body                 *ContentReference
	Category             Optional[string]
	ID                   string
	Kind                 AttachmentBodyPartKind
	MediaType            string
	Selection            AttachmentBodyPartSelection
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

AttachmentBodyPart is generated from schema/draft/content-item.schema.json#/$defs/attachmentBodyPart.

func (AttachmentBodyPart) MarshalJSON added in v0.3.0

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

MarshalJSON emits known fields together with all retained members.

func (*AttachmentBodyPart) UnmarshalJSON added in v0.3.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AttachmentBodyPartKind added in v0.3.0

type AttachmentBodyPartKind string

AttachmentBodyPartKind is a generated schema value.

const AttachmentBodyPartKindAttachment AttachmentBodyPartKind = "attachment"

func (*AttachmentBodyPartKind) UnmarshalJSON added in v0.3.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AttachmentBodyPartSelection added in v0.3.0

type AttachmentBodyPartSelection string

AttachmentBodyPartSelection is a generated schema value.

const AttachmentBodyPartSelectionBody AttachmentBodyPartSelection = "body"

func (*AttachmentBodyPartSelection) UnmarshalJSON added in v0.3.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AttachmentGapPart added in v0.3.0

type AttachmentGapPart struct {
	Category             Optional[string]
	Gap                  AttachmentGapPartGap
	ID                   string
	Kind                 AttachmentGapPartKind
	MediaType            string
	Selection            AttachmentGapPartSelection
	Sha256               Optional[string]
	Size                 Optional[json.Number]
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

AttachmentGapPart is generated from schema/draft/content-item.schema.json#/$defs/attachmentGapPart.

func (AttachmentGapPart) MarshalJSON added in v0.3.0

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

MarshalJSON emits known fields together with all retained members.

func (*AttachmentGapPart) UnmarshalJSON added in v0.3.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AttachmentGapPartGap added in v0.3.0

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

AttachmentGapPartGap is a generated nested model.

func (AttachmentGapPartGap) MarshalJSON added in v0.3.0

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

MarshalJSON emits known fields together with all retained members.

func (*AttachmentGapPartGap) UnmarshalJSON added in v0.3.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AttachmentGapPartKind added in v0.3.0

type AttachmentGapPartKind string

AttachmentGapPartKind is a generated schema value.

const AttachmentGapPartKindAttachment AttachmentGapPartKind = "attachment"

func (*AttachmentGapPartKind) UnmarshalJSON added in v0.3.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AttachmentGapPartSelection added in v0.3.0

type AttachmentGapPartSelection string

AttachmentGapPartSelection is a generated schema value.

const AttachmentGapPartSelectionBody AttachmentGapPartSelection = "body"

func (*AttachmentGapPartSelection) UnmarshalJSON added in v0.3.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AttachmentMetadataPart added in v0.3.0

type AttachmentMetadataPart struct {
	Category             Optional[string]
	ID                   string
	Kind                 AttachmentMetadataPartKind
	MediaType            string
	Selection            AttachmentMetadataPartSelection
	Sha256               Optional[string]
	Size                 Optional[json.Number]
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

AttachmentMetadataPart is generated from schema/draft/content-item.schema.json#/$defs/attachmentMetadataPart.

func (AttachmentMetadataPart) MarshalJSON added in v0.3.0

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

MarshalJSON emits known fields together with all retained members.

func (*AttachmentMetadataPart) UnmarshalJSON added in v0.3.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AttachmentMetadataPartKind added in v0.3.0

type AttachmentMetadataPartKind string

AttachmentMetadataPartKind is a generated schema value.

const AttachmentMetadataPartKindAttachment AttachmentMetadataPartKind = "attachment"

func (*AttachmentMetadataPartKind) UnmarshalJSON added in v0.3.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AttachmentMetadataPartSelection added in v0.3.0

type AttachmentMetadataPartSelection string

AttachmentMetadataPartSelection is a generated schema value.

const AttachmentMetadataPartSelectionMetadata AttachmentMetadataPartSelection = "metadata"

func (*AttachmentMetadataPartSelection) UnmarshalJSON added in v0.3.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AttachmentOmittedPart added in v0.3.0

type AttachmentOmittedPart struct {
	Category             Optional[string]
	ID                   string
	Kind                 AttachmentOmittedPartKind
	MediaType            string
	Selection            AttachmentOmittedPartSelection
	Sha256               Optional[string]
	Size                 Optional[json.Number]
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

AttachmentOmittedPart is generated from schema/draft/content-item.schema.json#/$defs/attachmentOmittedPart.

func (AttachmentOmittedPart) MarshalJSON added in v0.3.0

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

MarshalJSON emits known fields together with all retained members.

func (*AttachmentOmittedPart) UnmarshalJSON added in v0.3.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AttachmentOmittedPartKind added in v0.3.0

type AttachmentOmittedPartKind string

AttachmentOmittedPartKind is a generated schema value.

const AttachmentOmittedPartKindAttachment AttachmentOmittedPartKind = "attachment"

func (*AttachmentOmittedPartKind) UnmarshalJSON added in v0.3.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AttachmentOmittedPartSelection added in v0.3.0

type AttachmentOmittedPartSelection string

AttachmentOmittedPartSelection is a generated schema value.

const AttachmentOmittedPartSelectionOmit AttachmentOmittedPartSelection = "omit"

func (*AttachmentOmittedPartSelection) UnmarshalJSON added in v0.3.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type Authentication

type Authentication struct {
	Bearer  Optional[AuthenticationBearer]
	Oauth   Optional[AuthenticationOauth]
	Unknown json.RawMessage
}

Authentication is generated from schema/draft/registration.schema.json#/$defs/authentication.

func (Authentication) MarshalJSON

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

func (*Authentication) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AuthenticationBearer added in v0.1.1

type AuthenticationBearer struct {
	TokenEnv             Optional[string]
	TokenRef             Optional[string]
	Type                 AuthenticationBearerType
	AdditionalProperties map[string]json.RawMessage
}

AuthenticationBearer is a generated nested model.

func (AuthenticationBearer) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*AuthenticationBearer) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AuthenticationBearerType added in v0.1.1

type AuthenticationBearerType string

AuthenticationBearerType is a generated schema value.

const AuthenticationBearerTypeBearer AuthenticationBearerType = "bearer"

func (*AuthenticationBearerType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AuthenticationOauth added in v0.1.1

type AuthenticationOauth struct {
	ClientId             string
	ClientSecretRef      Optional[string]
	Flow                 AuthenticationOauthFlow
	Issuer               string
	Resource             string
	Scopes               Optional[[]string]
	Type                 AuthenticationOauthType
	AdditionalProperties map[string]json.RawMessage
}

AuthenticationOauth is a generated nested model.

func (AuthenticationOauth) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*AuthenticationOauth) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AuthenticationOauthFlow added in v0.1.1

type AuthenticationOauthFlow string

AuthenticationOauthFlow is a generated schema value.

const AuthenticationOauthFlowAuthorizationCodePkce AuthenticationOauthFlow = "authorization_code_pkce"
const AuthenticationOauthFlowClientCredentials AuthenticationOauthFlow = "client_credentials"

func (*AuthenticationOauthFlow) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type AuthenticationOauthType added in v0.1.1

type AuthenticationOauthType string

AuthenticationOauthType is a generated schema value.

const AuthenticationOauthTypeOauth AuthenticationOauthType = "oauth"

func (*AuthenticationOauthType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type Backend

type Backend struct {
	Authentication       Optional[*Authentication]
	ID                   *ReverseDnsName
	Subscriptions        []BackendSubscriptionsItem
	Transport            BackendTransport
	AdditionalProperties map[string]json.RawMessage
}

Backend is generated from schema/draft/registration.schema.json#/$defs/backend.

func (Backend) MarshalJSON

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 enforces generated structural rules and retains supported extensions.

type BackendSubscriptionsItem

type BackendSubscriptionsItem struct {
	InterceptSubscription Optional[*InterceptSubscription]
	ObserveSubscription   Optional[*ObserveSubscription]
	Unknown               json.RawMessage
}

BackendSubscriptionsItem is a generated union model.

func (BackendSubscriptionsItem) MarshalJSON

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

func (*BackendSubscriptionsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type BackendTransport

type BackendTransport struct {
	StdioTransport Optional[*StdioTransport]
	HttpTransport  Optional[*HttpTransport]
	Unknown        json.RawMessage
}

BackendTransport is a generated union model.

func (BackendTransport) MarshalJSON

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

func (*BackendTransport) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type Candidate added in v0.4.0

type Candidate[T, P any] struct {
	Provenance           Optional[P]                `json:"provenance"`
	Value                T                          `json:"value"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

Candidate projects ToolCandidate; unknown members are retained.

func (Candidate[T, P]) MarshalJSON added in v0.4.0

func (value Candidate[T, P]) MarshalJSON() ([]byte, error)

func (*Candidate[T, P]) UnmarshalJSON added in v0.4.0

func (value *Candidate[T, P]) UnmarshalJSON(data []byte) error

type CanonicalMessage added in v0.3.0

type CanonicalMessage struct {
	ID                   string
	Parts                []*ContentItem
	Role                 CanonicalMessageRole
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

CanonicalMessage is generated from schema/draft/content-item.schema.json#/$defs/message.

func (CanonicalMessage) MarshalJSON added in v0.3.0

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

MarshalJSON emits known fields together with all retained members.

func (*CanonicalMessage) UnmarshalJSON added in v0.3.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CanonicalMessageRole added in v0.3.0

type CanonicalMessageRole string

CanonicalMessageRole is a generated schema value.

const CanonicalMessageRoleAssistant CanonicalMessageRole = "assistant"
const CanonicalMessageRoleDeveloper CanonicalMessageRole = "developer"
const CanonicalMessageRoleSystem CanonicalMessageRole = "system"
const CanonicalMessageRoleTool CanonicalMessageRole = "tool"
const CanonicalMessageRoleUser CanonicalMessageRole = "user"

func (*CanonicalMessageRole) UnmarshalJSON added in v0.3.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CanonicalMessages added in v0.3.0

type CanonicalMessages []*CanonicalMessage

CanonicalMessages is a structurally validated schema value.

func (CanonicalMessages) MarshalJSON added in v0.3.0

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

func (*CanonicalMessages) UnmarshalJSON added in v0.3.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type Capabilities

type Capabilities struct {
	Effects              []CapabilitiesEffectsItem
	Elicitation          Optional[CapabilitiesElicitation]
	Flow                 Optional[CapabilitiesFlow]
	Inject               Optional[CapabilitiesInject]
	Modify               Optional[CapabilitiesModify]
	AdditionalProperties map[string]json.RawMessage
}

Capabilities is generated from schema/draft/capabilities.schema.json#.

func (Capabilities) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (Capabilities) Supports added in v0.1.1

func (value Capabilities) Supports(effect EffectName) bool

Supports reports advertised effect-family membership only. It does not grant execution permission or check target, operation, mode, or per-call restrictions. Nested grants alone never imply family support.

func (*Capabilities) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesEffectsItem

type CapabilitiesEffectsItem struct {
	Known   Optional[CapabilitiesEffectsItemKnown]
	Custom  Optional[string]
	Unknown json.RawMessage
}

CapabilitiesEffectsItem is a generated union model.

func (CapabilitiesEffectsItem) MarshalJSON

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

func (*CapabilitiesEffectsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesEffectsItemKnown added in v0.1.1

type CapabilitiesEffectsItemKnown string

CapabilitiesEffectsItemKnown is a generated schema value.

const CapabilitiesEffectsItemKnownAllow CapabilitiesEffectsItemKnown = "allow"
const CapabilitiesEffectsItemKnownAsk CapabilitiesEffectsItemKnown = "ask"
const CapabilitiesEffectsItemKnownDeny CapabilitiesEffectsItemKnown = "deny"
const CapabilitiesEffectsItemKnownFlow CapabilitiesEffectsItemKnown = "flow"
const CapabilitiesEffectsItemKnownInject CapabilitiesEffectsItemKnown = "inject"
const CapabilitiesEffectsItemKnownMessage CapabilitiesEffectsItemKnown = "message"
const CapabilitiesEffectsItemKnownModify CapabilitiesEffectsItemKnown = "modify"
const CapabilitiesEffectsItemKnownReturn CapabilitiesEffectsItemKnown = "return"

func (*CapabilitiesEffectsItemKnown) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesElicitation

type CapabilitiesElicitation struct {
	Form                 Optional[CapabilitiesElicitationForm]
	URL                  Optional[CapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesElicitation is a generated nested model.

func (CapabilitiesElicitation) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesElicitation) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesElicitationForm

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

CapabilitiesElicitationForm is a generated nested model.

func (CapabilitiesElicitationForm) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesElicitationForm) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesElicitationURL

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

CapabilitiesElicitationURL is a generated nested model.

func (CapabilitiesElicitationURL) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesElicitationURL) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesFlow

type CapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             []CapabilitiesFlowOperationsItem
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

CapabilitiesFlow is a generated nested model.

func (CapabilitiesFlow) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesFlow) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesFlowOperationsItem

type CapabilitiesFlowOperationsItem string

CapabilitiesFlowOperationsItem is a generated schema value.

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

func (*CapabilitiesFlowOperationsItem) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesInject

type CapabilitiesInject struct {
	Context              CapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesInject is a generated nested model.

func (CapabilitiesInject) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesInject) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesInjectContext

type CapabilitiesInjectContext struct {
	Append               CapabilitiesInjectContextAppend
	DeliverAt            []CapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesInjectContext is a generated nested model.

func (CapabilitiesInjectContext) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesInjectContext) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesInjectContextAppend

type CapabilitiesInjectContextAppend bool

CapabilitiesInjectContextAppend is a generated schema value.

const CapabilitiesInjectContextAppendTrue CapabilitiesInjectContextAppend = true

func (*CapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesInjectContextDeliverAtItem

type CapabilitiesInjectContextDeliverAtItem string

CapabilitiesInjectContextDeliverAtItem is a generated schema value.

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

func (*CapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesModify

CapabilitiesModify is a generated nested model.

func (CapabilitiesModify) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesModify) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesModifyContent added in v0.1.1

type CapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesModifyContent is a generated nested model.

func (CapabilitiesModifyContent) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesModifyInput added in v0.1.1

type CapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesModifyInput is a generated nested model.

func (CapabilitiesModifyInput) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesModifyInstructions added in v0.1.1

type CapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesModifyInstructions is a generated nested model.

func (CapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesModifyOutput added in v0.1.1

type CapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesModifyOutput is a generated nested model.

func (CapabilitiesModifyOutput) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesModifyPrompt added in v0.1.1

type CapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesModifyPrompt is a generated nested model.

func (CapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesModifyRequest added in v0.1.1

type CapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesModifyRequest is a generated nested model.

func (CapabilitiesModifyRequest) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesModifyResponse added in v0.1.1

type CapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesModifyResponse is a generated nested model.

func (CapabilitiesModifyResponse) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesModifySummary added in v0.1.1

type CapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesModifySummary is a generated nested model.

func (CapabilitiesModifySummary) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesModifyWorkspace added in v0.1.1

type CapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesModifyWorkspace is a generated nested model.

func (CapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesRequest

type CapabilitiesRequest struct {
	ID                   *JsonRpcId
	JSONRPC              CapabilitiesRequestJSONRPC
	Method               CapabilitiesRequestMethod
	Params               CapabilitiesRequestParams
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesRequest is generated from schema/draft/capabilities-request.schema.json#.

func (CapabilitiesRequest) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesRequest) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesRequestJSONRPC

type CapabilitiesRequestJSONRPC string

CapabilitiesRequestJSONRPC is a generated schema value.

const CapabilitiesRequestJSONRPCValue20 CapabilitiesRequestJSONRPC = "2.0"

func (*CapabilitiesRequestJSONRPC) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesRequestMethod added in v0.1.1

type CapabilitiesRequestMethod CapabilitiesRequestMethodValue

CapabilitiesRequestMethod is a structurally validated schema value.

func (CapabilitiesRequestMethod) MarshalJSON added in v0.1.1

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

func (*CapabilitiesRequestMethod) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesRequestMethodValue added in v0.1.1

type CapabilitiesRequestMethodValue string

CapabilitiesRequestMethodValue is a generated schema value.

const CapabilitiesRequestMethodValueHooksCapabilities CapabilitiesRequestMethodValue = "hooks/capabilities"

func (*CapabilitiesRequestMethodValue) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesRequestParams

type CapabilitiesRequestParams struct {
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesRequestParams is a generated nested model.

func (CapabilitiesRequestParams) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesRequestParams) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesResponse

type CapabilitiesResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              CapabilitiesResponseJSONRPC
	Result               CapabilitiesResponseResult
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesResponse is generated from schema/draft/capabilities-response.schema.json#.

func (CapabilitiesResponse) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesResponse) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesResponseJSONRPC

type CapabilitiesResponseJSONRPC string

CapabilitiesResponseJSONRPC is a generated schema value.

const CapabilitiesResponseJSONRPCValue20 CapabilitiesResponseJSONRPC = "2.0"

func (*CapabilitiesResponseJSONRPC) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesResponseResult

type CapabilitiesResponseResult struct {
	Manifest             CapabilitiesResponseResultManifest
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesResponseResult is a generated nested model.

func (CapabilitiesResponseResult) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesResponseResult) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesResponseResultManifest

type CapabilitiesResponseResultManifest struct {
	Authentication            []CapabilitiesResponseResultManifestAuthenticationItem
	ContentCategories         []string
	CorrelationIdentityFields []string
	Events                    []CapabilitiesResponseResultManifestEventsItem
	Gaps                      []CapabilitiesResponseResultManifestGapsItem
	Limits                    CapabilitiesResponseResultManifestLimits
	ManagedPolicy             CapabilitiesResponseResultManifestManagedPolicy
	ToolPaths                 []string
	Transports                []CapabilitiesResponseResultManifestTransportsItem
	AdditionalProperties      map[string]json.RawMessage
}

CapabilitiesResponseResultManifest is a generated nested model.

func (CapabilitiesResponseResultManifest) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesResponseResultManifest) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesResponseResultManifestAuthenticationItem

type CapabilitiesResponseResultManifestAuthenticationItem string

CapabilitiesResponseResultManifestAuthenticationItem is a generated schema value.

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

func (*CapabilitiesResponseResultManifestAuthenticationItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesResponseResultManifestEventsItem

type CapabilitiesResponseResultManifestEventsItem struct {
	Capabilities         Optional[*Capabilities]
	Event                CapabilitiesResponseResultManifestEventsItemEvent
	Modes                []CapabilitiesResponseResultManifestEventsItemModesItem
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesResponseResultManifestEventsItem is a generated nested model.

func (CapabilitiesResponseResultManifestEventsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesResponseResultManifestEventsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesResponseResultManifestEventsItemEvent

type CapabilitiesResponseResultManifestEventsItemEvent string

CapabilitiesResponseResultManifestEventsItemEvent is a generated schema value.

const CapabilitiesResponseResultManifestEventsItemEventConfigChangeAfter CapabilitiesResponseResultManifestEventsItemEvent = "config.change.after"
const CapabilitiesResponseResultManifestEventsItemEventConfigChangeBefore CapabilitiesResponseResultManifestEventsItemEvent = "config.change.before"
const CapabilitiesResponseResultManifestEventsItemEventContextCompactAfter CapabilitiesResponseResultManifestEventsItemEvent = "context.compact.after"
const CapabilitiesResponseResultManifestEventsItemEventContextCompactBefore CapabilitiesResponseResultManifestEventsItemEvent = "context.compact.before"
const CapabilitiesResponseResultManifestEventsItemEventFileChanged CapabilitiesResponseResultManifestEventsItemEvent = "file.changed"
const CapabilitiesResponseResultManifestEventsItemEventHookFailure CapabilitiesResponseResultManifestEventsItemEvent = "hook.failure"
const CapabilitiesResponseResultManifestEventsItemEventModelError CapabilitiesResponseResultManifestEventsItemEvent = "model.error"
const CapabilitiesResponseResultManifestEventsItemEventModelRequestBefore CapabilitiesResponseResultManifestEventsItemEvent = "model.request.before"
const CapabilitiesResponseResultManifestEventsItemEventModelResponseAfter CapabilitiesResponseResultManifestEventsItemEvent = "model.response.after"
const CapabilitiesResponseResultManifestEventsItemEventModelSwitchAfter CapabilitiesResponseResultManifestEventsItemEvent = "model.switch.after"
const CapabilitiesResponseResultManifestEventsItemEventModelSwitchBefore CapabilitiesResponseResultManifestEventsItemEvent = "model.switch.before"
const CapabilitiesResponseResultManifestEventsItemEventSessionEnd CapabilitiesResponseResultManifestEventsItemEvent = "session.end"
const CapabilitiesResponseResultManifestEventsItemEventSessionStart CapabilitiesResponseResultManifestEventsItemEvent = "session.start"
const CapabilitiesResponseResultManifestEventsItemEventTaskChangeAfter CapabilitiesResponseResultManifestEventsItemEvent = "task.change.after"
const CapabilitiesResponseResultManifestEventsItemEventTaskChangeBefore CapabilitiesResponseResultManifestEventsItemEvent = "task.change.before"
const CapabilitiesResponseResultManifestEventsItemEventToolAfter CapabilitiesResponseResultManifestEventsItemEvent = "tool.after"
const CapabilitiesResponseResultManifestEventsItemEventToolBatchAfter CapabilitiesResponseResultManifestEventsItemEvent = "tool.batch.after"
const CapabilitiesResponseResultManifestEventsItemEventToolBefore CapabilitiesResponseResultManifestEventsItemEvent = "tool.before"
const CapabilitiesResponseResultManifestEventsItemEventToolPermissionRequest CapabilitiesResponseResultManifestEventsItemEvent = "tool.permission.request"
const CapabilitiesResponseResultManifestEventsItemEventToolPermissionResolved CapabilitiesResponseResultManifestEventsItemEvent = "tool.permission.resolved"
const CapabilitiesResponseResultManifestEventsItemEventToolProgress CapabilitiesResponseResultManifestEventsItemEvent = "tool.progress"
const CapabilitiesResponseResultManifestEventsItemEventTurnEnd CapabilitiesResponseResultManifestEventsItemEvent = "turn.end"
const CapabilitiesResponseResultManifestEventsItemEventTurnFinishBefore CapabilitiesResponseResultManifestEventsItemEvent = "turn.finish.before"
const CapabilitiesResponseResultManifestEventsItemEventTurnProgress CapabilitiesResponseResultManifestEventsItemEvent = "turn.progress"
const CapabilitiesResponseResultManifestEventsItemEventTurnStart CapabilitiesResponseResultManifestEventsItemEvent = "turn.start"
const CapabilitiesResponseResultManifestEventsItemEventUserAttention CapabilitiesResponseResultManifestEventsItemEvent = "user.attention"
const CapabilitiesResponseResultManifestEventsItemEventUserElicitationRequest CapabilitiesResponseResultManifestEventsItemEvent = "user.elicitation.request"
const CapabilitiesResponseResultManifestEventsItemEventUserElicitationResult CapabilitiesResponseResultManifestEventsItemEvent = "user.elicitation.result"
const CapabilitiesResponseResultManifestEventsItemEventUserMessageInbound CapabilitiesResponseResultManifestEventsItemEvent = "user.message.inbound"
const CapabilitiesResponseResultManifestEventsItemEventUserMessageOutbound CapabilitiesResponseResultManifestEventsItemEvent = "user.message.outbound"
const CapabilitiesResponseResultManifestEventsItemEventWorkspaceChangeAfter CapabilitiesResponseResultManifestEventsItemEvent = "workspace.change.after"
const CapabilitiesResponseResultManifestEventsItemEventWorkspaceChangeBefore CapabilitiesResponseResultManifestEventsItemEvent = "workspace.change.before"

func (*CapabilitiesResponseResultManifestEventsItemEvent) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesResponseResultManifestEventsItemModesItem

type CapabilitiesResponseResultManifestEventsItemModesItem string

CapabilitiesResponseResultManifestEventsItemModesItem is a generated schema value.

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

func (*CapabilitiesResponseResultManifestEventsItemModesItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesResponseResultManifestGapsItem

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

CapabilitiesResponseResultManifestGapsItem is a generated nested model.

func (CapabilitiesResponseResultManifestGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesResponseResultManifestGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesResponseResultManifestLimits

type CapabilitiesResponseResultManifestLimits struct {
	MaxContinuations     Optional[json.Number]
	MaxTimeoutMs         Optional[json.Number]
	MaxUploadBytes       Optional[json.Number]
	MinTimeoutMs         Optional[json.Number]
	AdditionalProperties map[string]json.RawMessage
}

CapabilitiesResponseResultManifestLimits is a generated nested model.

func (CapabilitiesResponseResultManifestLimits) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesResponseResultManifestLimits) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesResponseResultManifestManagedPolicy

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

CapabilitiesResponseResultManifestManagedPolicy is a generated nested model.

func (CapabilitiesResponseResultManifestManagedPolicy) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*CapabilitiesResponseResultManifestManagedPolicy) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesResponseResultManifestManagedPolicyScopesItem

type CapabilitiesResponseResultManifestManagedPolicyScopesItem string

CapabilitiesResponseResultManifestManagedPolicyScopesItem is a generated schema value.

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

func (*CapabilitiesResponseResultManifestManagedPolicyScopesItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CapabilitiesResponseResultManifestTransportsItem

type CapabilitiesResponseResultManifestTransportsItem string

CapabilitiesResponseResultManifestTransportsItem is a generated schema value.

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

func (*CapabilitiesResponseResultManifestTransportsItem) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type CatalogueEvent

type CatalogueEvent struct {
	ConfigChangeBeforeEvent     Optional[*ConfigChangeBeforeEvent]
	ConfigChangeAfterEvent      Optional[*ConfigChangeAfterEvent]
	TurnStartEvent              Optional[*TurnStartEvent]
	TurnFinishBeforeEvent       Optional[*TurnFinishBeforeEvent]
	TurnEndEvent                Optional[*TurnEndEvent]
	TurnProgressEvent           Optional[*TurnProgressEvent]
	ModelRequestBeforeEvent     Optional[*ModelRequestBeforeEvent]
	ModelResponseAfterEvent     Optional[*ModelResponseAfterEvent]
	ModelErrorEvent             Optional[*ModelErrorEvent]
	ModelSwitchBeforeEvent      Optional[*ModelSwitchBeforeEvent]
	ModelSwitchAfterEvent       Optional[*ModelSwitchAfterEvent]
	ToolPermissionRequestEvent  Optional[*ToolPermissionRequestEvent]
	ToolPermissionResolvedEvent Optional[*ToolPermissionResolvedEvent]
	ToolProgressEvent           Optional[*ToolProgressEvent]
	ToolBatchAfterEvent         Optional[*ToolBatchAfterEvent]
	ContextCompactBeforeEvent   Optional[*ContextCompactBeforeEvent]
	ContextCompactAfterEvent    Optional[*ContextCompactAfterEvent]
	TaskChangeBeforeEvent       Optional[*TaskChangeBeforeEvent]
	TaskChangeAfterEvent        Optional[*TaskChangeAfterEvent]
	UserAttentionEvent          Optional[*UserAttentionEvent]
	UserElicitationRequestEvent Optional[*UserElicitationRequestEvent]
	UserElicitationResultEvent  Optional[*UserElicitationResultEvent]
	UserMessageInboundEvent     Optional[*UserMessageInboundEvent]
	UserMessageOutboundEvent    Optional[*UserMessageOutboundEvent]
	WorkspaceChangeBeforeEvent  Optional[*WorkspaceChangeBeforeEvent]
	WorkspaceChangeAfterEvent   Optional[*WorkspaceChangeAfterEvent]
	FileChangedEvent            Optional[*FileChangedEvent]
	HookFailureEvent            Optional[*HookFailureEvent]
	Unknown                     json.RawMessage
}

CatalogueEvent is generated from schema/draft/catalogue-event.schema.json#.

func (CatalogueEvent) MarshalJSON

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

func (*CatalogueEvent) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeAfterEvent

type ConfigChangeAfterEvent struct {
	Change               ConfigChangeAfterEventChange
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ConfigChangeAfterEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[ConfigChangeAfterEventTurn]
	Type                 ConfigChangeAfterEventType
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeAfterEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/config.change.after.

func (ConfigChangeAfterEvent) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeAfterEvent) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeAfterEventChange

type ConfigChangeAfterEventChange struct {
	McpServers           Optional[[]ConfigChangeAfterEventChangeMcpServersItem]
	Path                 Optional[string]
	Scope                string
	Settings             []string
	Source               string
	Summary              string
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeAfterEventChange is a generated nested model.

func (ConfigChangeAfterEventChange) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeAfterEventChange) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeAfterEventChangeMcpServersItem

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

ConfigChangeAfterEventChangeMcpServersItem is a generated nested model.

func (ConfigChangeAfterEventChangeMcpServersItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeAfterEventChangeMcpServersItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeAfterEventGapsItem

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

ConfigChangeAfterEventGapsItem is a generated nested model.

func (ConfigChangeAfterEventGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeAfterEventGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeAfterEventTurn

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

ConfigChangeAfterEventTurn is a generated nested model.

func (ConfigChangeAfterEventTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeAfterEventTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeAfterEventType

type ConfigChangeAfterEventType string

ConfigChangeAfterEventType is a generated schema value.

const ConfigChangeAfterEventTypeConfigChangeAfter ConfigChangeAfterEventType = "config.change.after"

func (*ConfigChangeAfterEventType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilities

ConfigChangeBeforeCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/config.change.before.

func (ConfigChangeBeforeCapabilities) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilities) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesEffects added in v0.1.1

type ConfigChangeBeforeCapabilitiesEffects []ConfigChangeBeforeCapabilitiesEffectsValueItem

ConfigChangeBeforeCapabilitiesEffects is a structurally validated schema value.

func (ConfigChangeBeforeCapabilitiesEffects) MarshalJSON added in v0.1.1

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

func (*ConfigChangeBeforeCapabilitiesEffects) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesEffectsValueItem added in v0.1.1

type ConfigChangeBeforeCapabilitiesEffectsValueItem string

ConfigChangeBeforeCapabilitiesEffectsValueItem is a generated schema value.

const ConfigChangeBeforeCapabilitiesEffectsValueItemDeny ConfigChangeBeforeCapabilitiesEffectsValueItem = "deny"
const ConfigChangeBeforeCapabilitiesEffectsValueItemMessage ConfigChangeBeforeCapabilitiesEffectsValueItem = "message"

func (*ConfigChangeBeforeCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesElicitation

type ConfigChangeBeforeCapabilitiesElicitation struct {
	Form                 Optional[ConfigChangeBeforeCapabilitiesElicitationForm]
	URL                  Optional[ConfigChangeBeforeCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeBeforeCapabilitiesElicitation is a generated nested model.

func (ConfigChangeBeforeCapabilitiesElicitation) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilitiesElicitation) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesElicitationForm

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

ConfigChangeBeforeCapabilitiesElicitationForm is a generated nested model.

func (ConfigChangeBeforeCapabilitiesElicitationForm) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilitiesElicitationForm) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesElicitationURL

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

ConfigChangeBeforeCapabilitiesElicitationURL is a generated nested model.

func (ConfigChangeBeforeCapabilitiesElicitationURL) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilitiesElicitationURL) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesFlow

type ConfigChangeBeforeCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             []ConfigChangeBeforeCapabilitiesFlowOperationsItem
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

ConfigChangeBeforeCapabilitiesFlow is a generated nested model.

func (ConfigChangeBeforeCapabilitiesFlow) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilitiesFlow) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesFlowOperationsItem

type ConfigChangeBeforeCapabilitiesFlowOperationsItem string

ConfigChangeBeforeCapabilitiesFlowOperationsItem is a generated schema value.

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

func (*ConfigChangeBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesInject

type ConfigChangeBeforeCapabilitiesInject struct {
	Context              ConfigChangeBeforeCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeBeforeCapabilitiesInject is a generated nested model.

func (ConfigChangeBeforeCapabilitiesInject) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilitiesInject) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesInjectContext

type ConfigChangeBeforeCapabilitiesInjectContext struct {
	Append               ConfigChangeBeforeCapabilitiesInjectContextAppend
	DeliverAt            []ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeBeforeCapabilitiesInjectContext is a generated nested model.

func (ConfigChangeBeforeCapabilitiesInjectContext) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilitiesInjectContext) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesInjectContextAppend

type ConfigChangeBeforeCapabilitiesInjectContextAppend bool

ConfigChangeBeforeCapabilitiesInjectContextAppend is a generated schema value.

const ConfigChangeBeforeCapabilitiesInjectContextAppendTrue ConfigChangeBeforeCapabilitiesInjectContextAppend = true

func (*ConfigChangeBeforeCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem

type ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem string

ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.

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

func (*ConfigChangeBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesModify

ConfigChangeBeforeCapabilitiesModify is a generated nested model.

func (ConfigChangeBeforeCapabilitiesModify) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilitiesModify) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesModifyContent added in v0.1.1

type ConfigChangeBeforeCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeBeforeCapabilitiesModifyContent is a generated nested model.

func (ConfigChangeBeforeCapabilitiesModifyContent) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesModifyInput added in v0.1.1

type ConfigChangeBeforeCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeBeforeCapabilitiesModifyInput is a generated nested model.

func (ConfigChangeBeforeCapabilitiesModifyInput) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesModifyInstructions added in v0.1.1

type ConfigChangeBeforeCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeBeforeCapabilitiesModifyInstructions is a generated nested model.

func (ConfigChangeBeforeCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesModifyOutput added in v0.1.1

type ConfigChangeBeforeCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeBeforeCapabilitiesModifyOutput is a generated nested model.

func (ConfigChangeBeforeCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesModifyPrompt added in v0.1.1

type ConfigChangeBeforeCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeBeforeCapabilitiesModifyPrompt is a generated nested model.

func (ConfigChangeBeforeCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesModifyRequest added in v0.1.1

type ConfigChangeBeforeCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeBeforeCapabilitiesModifyRequest is a generated nested model.

func (ConfigChangeBeforeCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesModifyResponse added in v0.1.1

type ConfigChangeBeforeCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeBeforeCapabilitiesModifyResponse is a generated nested model.

func (ConfigChangeBeforeCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesModifySummary added in v0.1.1

type ConfigChangeBeforeCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeBeforeCapabilitiesModifySummary is a generated nested model.

func (ConfigChangeBeforeCapabilitiesModifySummary) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeCapabilitiesModifyWorkspace added in v0.1.1

type ConfigChangeBeforeCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeBeforeCapabilitiesModifyWorkspace is a generated nested model.

func (ConfigChangeBeforeCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeEffect added in v0.4.0

type ConfigChangeBeforeEffect struct {
	DenyEffect    Optional[*DenyEffect]
	MessageEffect Optional[*MessageEffect]
	Unknown       json.RawMessage
}

ConfigChangeBeforeEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ConfigChangeBeforeEffect.

func (ConfigChangeBeforeEffect) MarshalJSON added in v0.4.0

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

func (*ConfigChangeBeforeEffect) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeEvent

type ConfigChangeBeforeEvent struct {
	Change               ConfigChangeBeforeEventChange
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ConfigChangeBeforeEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[ConfigChangeBeforeEventTurn]
	Type                 ConfigChangeBeforeEventType
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeBeforeEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/config.change.before.

func (ConfigChangeBeforeEvent) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeEvent) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeEventChange

type ConfigChangeBeforeEventChange struct {
	Path                 Optional[string]
	Scope                string
	Settings             []string
	Source               string
	Summary              string
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeBeforeEventChange is a generated nested model.

func (ConfigChangeBeforeEventChange) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeEventChange) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeEventGapsItem

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

ConfigChangeBeforeEventGapsItem is a generated nested model.

func (ConfigChangeBeforeEventGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeEventGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeEventTurn

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

ConfigChangeBeforeEventTurn is a generated nested model.

func (ConfigChangeBeforeEventTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeEventTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeEventType

type ConfigChangeBeforeEventType string

ConfigChangeBeforeEventType is a generated schema value.

const ConfigChangeBeforeEventTypeConfigChangeBefore ConfigChangeBeforeEventType = "config.change.before"

func (*ConfigChangeBeforeEventType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeInterceptResponse added in v0.4.0

type ConfigChangeBeforeInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              ConfigChangeBeforeInterceptResponseJSONRPC
	Result               ConfigChangeBeforeInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeBeforeInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/ConfigChangeBeforeInterceptResponse.

func (ConfigChangeBeforeInterceptResponse) MarshalJSON added in v0.4.0

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeInterceptResponse) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeInterceptResponseJSONRPC added in v0.4.0

type ConfigChangeBeforeInterceptResponseJSONRPC string

ConfigChangeBeforeInterceptResponseJSONRPC is a generated schema value.

const ConfigChangeBeforeInterceptResponseJSONRPCValue20 ConfigChangeBeforeInterceptResponseJSONRPC = "2.0"

func (*ConfigChangeBeforeInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ConfigChangeBeforeInterceptResponseResult added in v0.4.0

type ConfigChangeBeforeInterceptResponseResult struct {
	Effects              Optional[[]*ConfigChangeBeforeEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

ConfigChangeBeforeInterceptResponseResult is a generated nested model.

func (ConfigChangeBeforeInterceptResponseResult) MarshalJSON added in v0.4.0

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

MarshalJSON emits known fields together with all retained members.

func (*ConfigChangeBeforeInterceptResponseResult) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContentItem

type ContentItem struct {
	TextBodyPart           Optional[*TextBodyPart]
	TextGapPart            Optional[*TextGapPart]
	TextMetadataPart       Optional[*TextMetadataPart]
	TextOmittedPart        Optional[*TextOmittedPart]
	AttachmentBodyPart     Optional[*AttachmentBodyPart]
	AttachmentGapPart      Optional[*AttachmentGapPart]
	AttachmentMetadataPart Optional[*AttachmentMetadataPart]
	AttachmentOmittedPart  Optional[*AttachmentOmittedPart]
	Unknown                json.RawMessage
}

ContentItem is generated from schema/draft/content-item.schema.json#.

func (ContentItem) MarshalJSON

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

func (*ContentItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContentReference

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

ContentReference is generated from schema/draft/content-reference.schema.json#.

func (ContentReference) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContentReference) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContentSelection

ContentSelection is generated from schema/draft/content-selection.schema.json#.

func (ContentSelection) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContentSelection) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContentSelectionAdditionalValue added in v0.4.0

type ContentSelectionAdditionalValue string

ContentSelectionAdditionalValue is a generated schema value.

const ContentSelectionAdditionalValueBody ContentSelectionAdditionalValue = "body"
const ContentSelectionAdditionalValueMetadata ContentSelectionAdditionalValue = "metadata"
const ContentSelectionAdditionalValueOmit ContentSelectionAdditionalValue = "omit"

func (*ContentSelectionAdditionalValue) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContentSelectionAudio

type ContentSelectionAudio string

ContentSelectionAudio is a generated schema value.

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

func (*ContentSelectionAudio) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContentSelectionDefault

type ContentSelectionDefault string

ContentSelectionDefault is a generated schema value.

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

func (*ContentSelectionDefault) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContentSelectionFiles

type ContentSelectionFiles string

ContentSelectionFiles is a generated schema value.

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

func (*ContentSelectionFiles) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContentSelectionImages

type ContentSelectionImages string

ContentSelectionImages is a generated schema value.

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

func (*ContentSelectionImages) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContentSelectionReasoning

type ContentSelectionReasoning string

ContentSelectionReasoning is a generated schema value.

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

func (*ContentSelectionReasoning) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContentSelectionText

type ContentSelectionText string

ContentSelectionText is a generated schema value.

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

func (*ContentSelectionText) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContentSelectionVideo

type ContentSelectionVideo string

ContentSelectionVideo is a generated schema value.

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

func (*ContentSelectionVideo) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContentUpload

type ContentUpload struct {
	Auth                 Optional[*Authentication]
	Endpoint             string
	MaxBytes             json.Number
	TimeoutMs            json.Number
	AdditionalProperties map[string]json.RawMessage
}

ContentUpload is generated from schema/draft/content-upload.schema.json#.

func (ContentUpload) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContentUpload) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContentUploadReceipt added in v0.1.1

type ContentUploadReceipt struct {
	Ref                  string
	Sha256               string
	Size                 json.Number
	AdditionalProperties map[string]json.RawMessage
}

ContentUploadReceipt is generated from schema/draft/content-upload-receipt.schema.json#.

func (ContentUploadReceipt) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContentUploadReceipt) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilities

ContextCompactAfterCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/context.compact.after.

func (ContextCompactAfterCapabilities) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilities) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesEffects added in v0.1.1

type ContextCompactAfterCapabilitiesEffects []ContextCompactAfterCapabilitiesEffectsValueItem

ContextCompactAfterCapabilitiesEffects is a structurally validated schema value.

func (ContextCompactAfterCapabilitiesEffects) MarshalJSON added in v0.1.1

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

func (*ContextCompactAfterCapabilitiesEffects) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesEffectsValueItem added in v0.1.1

type ContextCompactAfterCapabilitiesEffectsValueItem string

ContextCompactAfterCapabilitiesEffectsValueItem is a generated schema value.

const ContextCompactAfterCapabilitiesEffectsValueItemInject ContextCompactAfterCapabilitiesEffectsValueItem = "inject"
const ContextCompactAfterCapabilitiesEffectsValueItemMessage ContextCompactAfterCapabilitiesEffectsValueItem = "message"
const ContextCompactAfterCapabilitiesEffectsValueItemModify ContextCompactAfterCapabilitiesEffectsValueItem = "modify"

func (*ContextCompactAfterCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesElicitation

type ContextCompactAfterCapabilitiesElicitation struct {
	Form                 Optional[ContextCompactAfterCapabilitiesElicitationForm]
	URL                  Optional[ContextCompactAfterCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactAfterCapabilitiesElicitation is a generated nested model.

func (ContextCompactAfterCapabilitiesElicitation) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesElicitation) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesElicitationForm

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

ContextCompactAfterCapabilitiesElicitationForm is a generated nested model.

func (ContextCompactAfterCapabilitiesElicitationForm) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesElicitationForm) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesElicitationURL

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

ContextCompactAfterCapabilitiesElicitationURL is a generated nested model.

func (ContextCompactAfterCapabilitiesElicitationURL) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesElicitationURL) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesFlow

type ContextCompactAfterCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             []ContextCompactAfterCapabilitiesFlowOperationsItem
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

ContextCompactAfterCapabilitiesFlow is a generated nested model.

func (ContextCompactAfterCapabilitiesFlow) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesFlow) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesFlowOperationsItem

type ContextCompactAfterCapabilitiesFlowOperationsItem string

ContextCompactAfterCapabilitiesFlowOperationsItem is a generated schema value.

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

func (*ContextCompactAfterCapabilitiesFlowOperationsItem) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesInject

type ContextCompactAfterCapabilitiesInject struct {
	Context              ContextCompactAfterCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactAfterCapabilitiesInject is a generated nested model.

func (ContextCompactAfterCapabilitiesInject) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesInject) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesInjectContext

type ContextCompactAfterCapabilitiesInjectContext struct {
	Append               ContextCompactAfterCapabilitiesInjectContextAppend
	DeliverAt            []ContextCompactAfterCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactAfterCapabilitiesInjectContext is a generated nested model.

func (ContextCompactAfterCapabilitiesInjectContext) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesInjectContext) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesInjectContextAppend

type ContextCompactAfterCapabilitiesInjectContextAppend bool

ContextCompactAfterCapabilitiesInjectContextAppend is a generated schema value.

const ContextCompactAfterCapabilitiesInjectContextAppendTrue ContextCompactAfterCapabilitiesInjectContextAppend = true

func (*ContextCompactAfterCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesInjectContextDeliverAtItem

type ContextCompactAfterCapabilitiesInjectContextDeliverAtItem string

ContextCompactAfterCapabilitiesInjectContextDeliverAtItem is a generated schema value.

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

func (*ContextCompactAfterCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesModify

ContextCompactAfterCapabilitiesModify is a generated nested model.

func (ContextCompactAfterCapabilitiesModify) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesModify) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesModifyContent added in v0.1.1

type ContextCompactAfterCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactAfterCapabilitiesModifyContent is a generated nested model.

func (ContextCompactAfterCapabilitiesModifyContent) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesModifyInput added in v0.1.1

type ContextCompactAfterCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactAfterCapabilitiesModifyInput is a generated nested model.

func (ContextCompactAfterCapabilitiesModifyInput) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesModifyInstructions added in v0.1.1

type ContextCompactAfterCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactAfterCapabilitiesModifyInstructions is a generated nested model.

func (ContextCompactAfterCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesModifyOutput added in v0.1.1

type ContextCompactAfterCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactAfterCapabilitiesModifyOutput is a generated nested model.

func (ContextCompactAfterCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesModifyPrompt added in v0.1.1

type ContextCompactAfterCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactAfterCapabilitiesModifyPrompt is a generated nested model.

func (ContextCompactAfterCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesModifyRequest added in v0.1.1

type ContextCompactAfterCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactAfterCapabilitiesModifyRequest is a generated nested model.

func (ContextCompactAfterCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesModifyResponse added in v0.1.1

type ContextCompactAfterCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactAfterCapabilitiesModifyResponse is a generated nested model.

func (ContextCompactAfterCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesModifySummary added in v0.1.1

type ContextCompactAfterCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactAfterCapabilitiesModifySummary is a generated nested model.

func (ContextCompactAfterCapabilitiesModifySummary) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterCapabilitiesModifyWorkspace added in v0.1.1

type ContextCompactAfterCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactAfterCapabilitiesModifyWorkspace is a generated nested model.

func (ContextCompactAfterCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterEffect added in v0.4.0

type ContextCompactAfterEffect struct {
	InjectEffect                    Optional[*InjectEffect]
	ContextCompactAfterModifyEffect Optional[*ContextCompactAfterModifyEffect]
	MessageEffect                   Optional[*MessageEffect]
	Unknown                         json.RawMessage
}

ContextCompactAfterEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ContextCompactAfterEffect.

func (ContextCompactAfterEffect) MarshalJSON added in v0.4.0

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

func (*ContextCompactAfterEffect) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterEvent

type ContextCompactAfterEvent struct {
	Execution            *ExecutionEventExecution
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ContextCompactAfterEventGapsItem]
	ID                   string
	Items                Optional[[]*ModelVisibleItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Removed              []ContextCompactAfterEventRemovedItem
	Session              Optional[*Session]
	Source               string
	Summary              *TextParts
	Synthesized          Optional[bool]
	Time                 string
	TokenCounts          Optional[*ExecutionEventTokencounts]
	Turn                 Optional[ContextCompactAfterEventTurn]
	Type                 ContextCompactAfterEventType
	AdditionalProperties map[string]json.RawMessage
}

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

func (ContextCompactAfterEvent) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterEvent) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterEventGapsItem

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

ContextCompactAfterEventGapsItem is a generated nested model.

func (ContextCompactAfterEventGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterEventGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterEventRemovedItem

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

ContextCompactAfterEventRemovedItem is a generated nested model.

func (ContextCompactAfterEventRemovedItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterEventRemovedItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterEventTurn

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

ContextCompactAfterEventTurn is a generated nested model.

func (ContextCompactAfterEventTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterEventTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterEventType

type ContextCompactAfterEventType string

ContextCompactAfterEventType is a generated schema value.

const ContextCompactAfterEventTypeContextCompactAfter ContextCompactAfterEventType = "context.compact.after"

func (*ContextCompactAfterEventType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterInterceptResponse added in v0.4.0

type ContextCompactAfterInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              ContextCompactAfterInterceptResponseJSONRPC
	Result               ContextCompactAfterInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactAfterInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/ContextCompactAfterInterceptResponse.

func (ContextCompactAfterInterceptResponse) MarshalJSON added in v0.4.0

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterInterceptResponse) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterInterceptResponseJSONRPC added in v0.4.0

type ContextCompactAfterInterceptResponseJSONRPC string

ContextCompactAfterInterceptResponseJSONRPC is a generated schema value.

const ContextCompactAfterInterceptResponseJSONRPCValue20 ContextCompactAfterInterceptResponseJSONRPC = "2.0"

func (*ContextCompactAfterInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterInterceptResponseResult added in v0.4.0

type ContextCompactAfterInterceptResponseResult struct {
	Effects              Optional[[]*ContextCompactAfterEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactAfterInterceptResponseResult is a generated nested model.

func (ContextCompactAfterInterceptResponseResult) MarshalJSON added in v0.4.0

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterInterceptResponseResult) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterModifyEffect added in v0.4.0

type ContextCompactAfterModifyEffect struct {
	Operation            ContextCompactAfterModifyEffectOperation
	Target               ContextCompactAfterModifyEffectTarget
	Type                 ContextCompactAfterModifyEffectType
	Value                *TextParts
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactAfterModifyEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ContextCompactAfterModifyEffect.

func (ContextCompactAfterModifyEffect) MarshalJSON added in v0.4.0

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactAfterModifyEffect) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterModifyEffectOperation added in v0.4.0

type ContextCompactAfterModifyEffectOperation struct {
	Replace Optional[ContextCompactAfterModifyEffectOperationReplace]
	Merge   Optional[ContextCompactAfterModifyEffectOperationMerge]
	Unknown json.RawMessage
}

ContextCompactAfterModifyEffectOperation is a generated union model.

func (ContextCompactAfterModifyEffectOperation) MarshalJSON added in v0.4.0

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

func (*ContextCompactAfterModifyEffectOperation) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterModifyEffectOperationMerge added in v0.4.0

type ContextCompactAfterModifyEffectOperationMerge string

ContextCompactAfterModifyEffectOperationMerge is a generated schema value.

const ContextCompactAfterModifyEffectOperationMergeMerge ContextCompactAfterModifyEffectOperationMerge = "merge"

func (*ContextCompactAfterModifyEffectOperationMerge) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterModifyEffectOperationReplace added in v0.4.0

type ContextCompactAfterModifyEffectOperationReplace string

ContextCompactAfterModifyEffectOperationReplace is a generated schema value.

const ContextCompactAfterModifyEffectOperationReplaceReplace ContextCompactAfterModifyEffectOperationReplace = "replace"

func (*ContextCompactAfterModifyEffectOperationReplace) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterModifyEffectTarget added in v0.4.0

type ContextCompactAfterModifyEffectTarget string

ContextCompactAfterModifyEffectTarget is a generated schema value.

const ContextCompactAfterModifyEffectTargetSummary ContextCompactAfterModifyEffectTarget = "summary"

func (*ContextCompactAfterModifyEffectTarget) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactAfterModifyEffectType added in v0.4.0

type ContextCompactAfterModifyEffectType string

ContextCompactAfterModifyEffectType is a generated schema value.

const ContextCompactAfterModifyEffectTypeModify ContextCompactAfterModifyEffectType = "modify"

func (*ContextCompactAfterModifyEffectType) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

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 enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesEffects added in v0.1.1

type ContextCompactBeforeCapabilitiesEffects []ContextCompactBeforeCapabilitiesEffectsValueItem

ContextCompactBeforeCapabilitiesEffects is a structurally validated schema value.

func (ContextCompactBeforeCapabilitiesEffects) MarshalJSON added in v0.1.1

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

func (*ContextCompactBeforeCapabilitiesEffects) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesEffectsValueItem added in v0.1.1

type ContextCompactBeforeCapabilitiesEffectsValueItem string

ContextCompactBeforeCapabilitiesEffectsValueItem is a generated schema value.

const ContextCompactBeforeCapabilitiesEffectsValueItemDeny ContextCompactBeforeCapabilitiesEffectsValueItem = "deny"
const ContextCompactBeforeCapabilitiesEffectsValueItemInject ContextCompactBeforeCapabilitiesEffectsValueItem = "inject"
const ContextCompactBeforeCapabilitiesEffectsValueItemMessage ContextCompactBeforeCapabilitiesEffectsValueItem = "message"
const ContextCompactBeforeCapabilitiesEffectsValueItemModify ContextCompactBeforeCapabilitiesEffectsValueItem = "modify"
const ContextCompactBeforeCapabilitiesEffectsValueItemReturn ContextCompactBeforeCapabilitiesEffectsValueItem = "return"

func (*ContextCompactBeforeCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesElicitation

type ContextCompactBeforeCapabilitiesElicitation struct {
	Form                 Optional[ContextCompactBeforeCapabilitiesElicitationForm]
	URL                  Optional[ContextCompactBeforeCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeCapabilitiesElicitation is a generated nested model.

func (ContextCompactBeforeCapabilitiesElicitation) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesElicitation) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesElicitationForm

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

ContextCompactBeforeCapabilitiesElicitationForm is a generated nested model.

func (ContextCompactBeforeCapabilitiesElicitationForm) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesElicitationForm) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesElicitationURL

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

ContextCompactBeforeCapabilitiesElicitationURL is a generated nested model.

func (ContextCompactBeforeCapabilitiesElicitationURL) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesElicitationURL) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesFlow

type ContextCompactBeforeCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             []ContextCompactBeforeCapabilitiesFlowOperationsItem
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

ContextCompactBeforeCapabilitiesFlow is a generated nested model.

func (ContextCompactBeforeCapabilitiesFlow) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesFlow) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesFlowOperationsItem

type ContextCompactBeforeCapabilitiesFlowOperationsItem string

ContextCompactBeforeCapabilitiesFlowOperationsItem is a generated schema value.

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

func (*ContextCompactBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesInject

type ContextCompactBeforeCapabilitiesInject struct {
	Context              ContextCompactBeforeCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeCapabilitiesInject is a generated nested model.

func (ContextCompactBeforeCapabilitiesInject) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesInject) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesInjectContext

type ContextCompactBeforeCapabilitiesInjectContext struct {
	Append               ContextCompactBeforeCapabilitiesInjectContextAppend
	DeliverAt            []ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeCapabilitiesInjectContext is a generated nested model.

func (ContextCompactBeforeCapabilitiesInjectContext) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesInjectContext) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesInjectContextAppend

type ContextCompactBeforeCapabilitiesInjectContextAppend bool

ContextCompactBeforeCapabilitiesInjectContextAppend is a generated schema value.

const ContextCompactBeforeCapabilitiesInjectContextAppendTrue ContextCompactBeforeCapabilitiesInjectContextAppend = true

func (*ContextCompactBeforeCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem

type ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem string

ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.

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

func (*ContextCompactBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesModify

ContextCompactBeforeCapabilitiesModify is a generated nested model.

func (ContextCompactBeforeCapabilitiesModify) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesModify) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesModifyContent added in v0.1.1

type ContextCompactBeforeCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeCapabilitiesModifyContent is a generated nested model.

func (ContextCompactBeforeCapabilitiesModifyContent) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesModifyInput added in v0.1.1

type ContextCompactBeforeCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeCapabilitiesModifyInput is a generated nested model.

func (ContextCompactBeforeCapabilitiesModifyInput) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesModifyInstructions added in v0.1.1

type ContextCompactBeforeCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeCapabilitiesModifyInstructions is a generated nested model.

func (ContextCompactBeforeCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesModifyOutput added in v0.1.1

type ContextCompactBeforeCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeCapabilitiesModifyOutput is a generated nested model.

func (ContextCompactBeforeCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesModifyPrompt added in v0.1.1

type ContextCompactBeforeCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeCapabilitiesModifyPrompt is a generated nested model.

func (ContextCompactBeforeCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesModifyRequest added in v0.1.1

type ContextCompactBeforeCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeCapabilitiesModifyRequest is a generated nested model.

func (ContextCompactBeforeCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesModifyResponse added in v0.1.1

type ContextCompactBeforeCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeCapabilitiesModifyResponse is a generated nested model.

func (ContextCompactBeforeCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesModifySummary added in v0.1.1

type ContextCompactBeforeCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeCapabilitiesModifySummary is a generated nested model.

func (ContextCompactBeforeCapabilitiesModifySummary) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeCapabilitiesModifyWorkspace added in v0.1.1

type ContextCompactBeforeCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeCapabilitiesModifyWorkspace is a generated nested model.

func (ContextCompactBeforeCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeEffect added in v0.4.0

type ContextCompactBeforeEffect struct {
	DenyEffect                       Optional[*DenyEffect]
	ContextCompactBeforeModifyEffect Optional[*ContextCompactBeforeModifyEffect]
	ReturnTextEffect                 Optional[*ReturnTextEffect]
	InjectEffect                     Optional[*InjectEffect]
	MessageEffect                    Optional[*MessageEffect]
	Unknown                          json.RawMessage
}

ContextCompactBeforeEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ContextCompactBeforeEffect.

func (ContextCompactBeforeEffect) MarshalJSON added in v0.4.0

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

func (*ContextCompactBeforeEffect) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeEvent

type ContextCompactBeforeEvent struct {
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ContextCompactBeforeEventGapsItem]
	ID                   string
	Instructions         Optional[*TextParts]
	Items                []*ModelVisibleItem
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	TokenCounts          Optional[*ExecutionEventTokencounts]
	Trigger              ContextCompactBeforeEventTrigger
	Turn                 Optional[ContextCompactBeforeEventTurn]
	Type                 ContextCompactBeforeEventType
	AdditionalProperties map[string]json.RawMessage
}

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

func (ContextCompactBeforeEvent) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeEvent) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeEventGapsItem added in v0.1.1

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

ContextCompactBeforeEventGapsItem is a generated nested model.

func (ContextCompactBeforeEventGapsItem) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeEventGapsItem) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeEventTrigger added in v0.1.1

type ContextCompactBeforeEventTrigger string

ContextCompactBeforeEventTrigger is a generated schema value.

const ContextCompactBeforeEventTriggerAuto ContextCompactBeforeEventTrigger = "auto"
const ContextCompactBeforeEventTriggerHook ContextCompactBeforeEventTrigger = "hook"
const ContextCompactBeforeEventTriggerManual ContextCompactBeforeEventTrigger = "manual"

func (*ContextCompactBeforeEventTrigger) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeEventTurn added in v0.1.1

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

ContextCompactBeforeEventTurn is a generated nested model.

func (ContextCompactBeforeEventTurn) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeEventTurn) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeEventType added in v0.1.1

type ContextCompactBeforeEventType string

ContextCompactBeforeEventType is a generated schema value.

const ContextCompactBeforeEventTypeContextCompactBefore ContextCompactBeforeEventType = "context.compact.before"

func (*ContextCompactBeforeEventType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeInterceptResponse added in v0.4.0

type ContextCompactBeforeInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              ContextCompactBeforeInterceptResponseJSONRPC
	Result               ContextCompactBeforeInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/ContextCompactBeforeInterceptResponse.

func (ContextCompactBeforeInterceptResponse) MarshalJSON added in v0.4.0

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeInterceptResponse) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeInterceptResponseJSONRPC added in v0.4.0

type ContextCompactBeforeInterceptResponseJSONRPC string

ContextCompactBeforeInterceptResponseJSONRPC is a generated schema value.

const ContextCompactBeforeInterceptResponseJSONRPCValue20 ContextCompactBeforeInterceptResponseJSONRPC = "2.0"

func (*ContextCompactBeforeInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeInterceptResponseResult added in v0.4.0

type ContextCompactBeforeInterceptResponseResult struct {
	Effects              Optional[[]*ContextCompactBeforeEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeInterceptResponseResult is a generated nested model.

func (ContextCompactBeforeInterceptResponseResult) MarshalJSON added in v0.4.0

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeInterceptResponseResult) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeModifyEffect added in v0.4.0

type ContextCompactBeforeModifyEffect struct {
	Operation            ContextCompactBeforeModifyEffectOperation
	Target               ContextCompactBeforeModifyEffectTarget
	Type                 ContextCompactBeforeModifyEffectType
	Value                *TextParts
	AdditionalProperties map[string]json.RawMessage
}

ContextCompactBeforeModifyEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ContextCompactBeforeModifyEffect.

func (ContextCompactBeforeModifyEffect) MarshalJSON added in v0.4.0

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

MarshalJSON emits known fields together with all retained members.

func (*ContextCompactBeforeModifyEffect) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeModifyEffectOperation added in v0.4.0

type ContextCompactBeforeModifyEffectOperation struct {
	Replace Optional[ContextCompactBeforeModifyEffectOperationReplace]
	Merge   Optional[ContextCompactBeforeModifyEffectOperationMerge]
	Unknown json.RawMessage
}

ContextCompactBeforeModifyEffectOperation is a generated union model.

func (ContextCompactBeforeModifyEffectOperation) MarshalJSON added in v0.4.0

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

func (*ContextCompactBeforeModifyEffectOperation) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeModifyEffectOperationMerge added in v0.4.0

type ContextCompactBeforeModifyEffectOperationMerge string

ContextCompactBeforeModifyEffectOperationMerge is a generated schema value.

const ContextCompactBeforeModifyEffectOperationMergeMerge ContextCompactBeforeModifyEffectOperationMerge = "merge"

func (*ContextCompactBeforeModifyEffectOperationMerge) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeModifyEffectOperationReplace added in v0.4.0

type ContextCompactBeforeModifyEffectOperationReplace string

ContextCompactBeforeModifyEffectOperationReplace is a generated schema value.

const ContextCompactBeforeModifyEffectOperationReplaceReplace ContextCompactBeforeModifyEffectOperationReplace = "replace"

func (*ContextCompactBeforeModifyEffectOperationReplace) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeModifyEffectTarget added in v0.4.0

type ContextCompactBeforeModifyEffectTarget string

ContextCompactBeforeModifyEffectTarget is a generated schema value.

const ContextCompactBeforeModifyEffectTargetInstructions ContextCompactBeforeModifyEffectTarget = "instructions"

func (*ContextCompactBeforeModifyEffectTarget) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextCompactBeforeModifyEffectType added in v0.4.0

type ContextCompactBeforeModifyEffectType string

ContextCompactBeforeModifyEffectType is a generated schema value.

const ContextCompactBeforeModifyEffectTypeModify ContextCompactBeforeModifyEffectType = "modify"

func (*ContextCompactBeforeModifyEffectType) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContextualResponse added in v0.4.0

type ContextualResponse interface {
	// contains filtered or unexported methods
}

ContextualResponse is admitted by the response schema for a known request event.

type ContinueFlowEffect added in v0.4.0

type ContinueFlowEffect struct {
	Instruction          Optional[string]
	Operation            ContinueFlowEffectOperation
	Type                 ContinueFlowEffectType
	AdditionalProperties map[string]json.RawMessage
}

ContinueFlowEffect is generated from schema/draft/effect.schema.json#/$defs/ContinueFlowEffect.

func (ContinueFlowEffect) MarshalJSON added in v0.4.0

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

MarshalJSON emits known fields together with all retained members.

func (*ContinueFlowEffect) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContinueFlowEffectOperation added in v0.4.0

type ContinueFlowEffectOperation string

ContinueFlowEffectOperation is a generated schema value.

const ContinueFlowEffectOperationContinue ContinueFlowEffectOperation = "continue"

func (*ContinueFlowEffectOperation) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ContinueFlowEffectType added in v0.4.0

type ContinueFlowEffectType string

ContinueFlowEffectType is a generated schema value.

const ContinueFlowEffectTypeFlow ContinueFlowEffectType = "flow"

func (*ContinueFlowEffectType) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type DenyEffect

type DenyEffect struct {
	Code                 Optional[string]
	Extensions           Optional[*Extensions]
	Reason               string
	Type                 DenyEffectType
	AdditionalProperties map[string]json.RawMessage
}

DenyEffect is generated from schema/draft/deny-effect.schema.json#.

func (DenyEffect) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*DenyEffect) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type DenyEffectType

type DenyEffectType string

DenyEffectType is a generated schema value.

const DenyEffectTypeDeny DenyEffectType = "deny"

func (*DenyEffectType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type DiagnosticCode

type DiagnosticCode string

DiagnosticCode identifies a structural parse diagnostic.

const (
	DiagnosticInvalidType         DiagnosticCode = "invalid_type"
	DiagnosticMissingRequired     DiagnosticCode = "missing_required"
	DiagnosticLiteralMismatch     DiagnosticCode = "literal_mismatch"
	DiagnosticUnknownEnum         DiagnosticCode = "unknown_enum"
	DiagnosticUnknownVariant      DiagnosticCode = "unknown_variant"
	DiagnosticInvalidKnownVariant DiagnosticCode = "invalid_known_variant"
	DiagnosticNoUnionMatch        DiagnosticCode = "no_union_match"
	DiagnosticAmbiguousUnion      DiagnosticCode = "ambiguous_union"
	DiagnosticInvalidJSON         DiagnosticCode = "invalid_json"
)

type DiagnosticSeverity

type DiagnosticSeverity string

DiagnosticSeverity indicates whether a diagnostic prevents a typed result.

const (
	SeverityError   DiagnosticSeverity = "error"
	SeverityWarning DiagnosticSeverity = "warning"
)

type Effect

type Effect struct {
	DenyEffect            Optional[*DenyEffect]
	AllowEffect           Optional[*AllowEffect]
	AskEffect             Optional[*AskEffect]
	ModifyMessagesEffect  Optional[*ModifyMessagesEffect]
	ModifyTextEffect      Optional[*ModifyTextEffect]
	ModifyWorkspaceEffect Optional[*ModifyWorkspaceEffect]
	ModifyFormEffect      Optional[*ModifyFormEffect]
	ModifyInputEffect     Optional[*ModifyInputEffect]
	MessageEffect         Optional[*MessageEffect]
	ReturnToolEffect      Optional[*ReturnToolEffect]
	StopFlowEffect        Optional[*StopFlowEffect]
	ContinueFlowEffect    Optional[*ContinueFlowEffect]
	InjectEffect          Optional[*InjectEffect]
	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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type EffectName added in v0.1.1

type EffectName string

EffectName identifies an advertised effect family, including extension names.

const EffectNameAllow EffectName = "allow"
const EffectNameAsk EffectName = "ask"
const EffectNameDeny EffectName = "deny"
const EffectNameFlow EffectName = "flow"
const EffectNameInject EffectName = "inject"
const EffectNameMessage EffectName = "message"
const EffectNameModify EffectName = "modify"
const EffectNameReturn EffectName = "return"

type ElicitResult added in v0.4.0

type ElicitResult[T any] struct {
	Meta                 Optional[map[string]json.RawMessage] `json:"_meta"`
	Action               McpElicitationElicitResultAction     `json:"action"`
	Content              Optional[T]                          `json:"content"`
	AdditionalProperties map[string]json.RawMessage           `json:"-"`
}

ElicitResult projects McpElicitationElicitResult; unknown members are retained.

func (ElicitResult[T]) MarshalJSON added in v0.4.0

func (value ElicitResult[T]) MarshalJSON() ([]byte, error)

func (*ElicitResult[T]) UnmarshalJSON added in v0.4.0

func (value *ElicitResult[T]) UnmarshalJSON(data []byte) error

type ElicitResultCandidate added in v0.4.0

type ElicitResultCandidate struct {
	Provenance           Optional[ElicitResultCandidateProvenance]
	Value                *McpElicitationElicitResult
	AdditionalProperties map[string]json.RawMessage
}

ElicitResultCandidate is generated from schema/draft/intercept-request.schema.json#/$defs/ElicitResultCandidate.

func (ElicitResultCandidate) MarshalJSON added in v0.4.0

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

MarshalJSON emits known fields together with all retained members.

func (*ElicitResultCandidate) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ElicitResultCandidateProvenance added in v0.4.0

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

ElicitResultCandidateProvenance is a generated nested model.

func (ElicitResultCandidateProvenance) MarshalJSON added in v0.4.0

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

MarshalJSON emits known fields together with all retained members.

func (*ElicitResultCandidateProvenance) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ElicitResultState added in v0.4.0

type ElicitResultState struct {
	Candidate            Nullable[*ElicitResultCandidate]
	Flow                 Optional[ElicitResultStateFlow]
	Injections           Optional[[]*InjectEffect]
	Instructions         Optional[[]string]
	Permission           ElicitResultStatePermission
	AdditionalProperties map[string]json.RawMessage
}

ElicitResultState is generated from schema/draft/intercept-request.schema.json#/$defs/ElicitResultState.

func (ElicitResultState) MarshalJSON added in v0.4.0

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

MarshalJSON emits known fields together with all retained members.

func (*ElicitResultState) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ElicitResultStateFlow added in v0.4.0

type ElicitResultStateFlow string

ElicitResultStateFlow is a generated schema value.

const ElicitResultStateFlowContinue ElicitResultStateFlow = "continue"
const ElicitResultStateFlowNone ElicitResultStateFlow = "none"
const ElicitResultStateFlowStop ElicitResultStateFlow = "stop"

func (*ElicitResultStateFlow) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ElicitResultStatePermission added in v0.4.0

type ElicitResultStatePermission string

ElicitResultStatePermission is a generated schema value.

const ElicitResultStatePermissionAllow ElicitResultStatePermission = "allow"
const ElicitResultStatePermissionAsk ElicitResultStatePermission = "ask"
const ElicitResultStatePermissionDeny ElicitResultStatePermission = "deny"
const ElicitResultStatePermissionNone ElicitResultStatePermission = "none"

func (*ElicitResultStatePermission) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type Event added in v0.1.1

type Event struct {
	ToolBeforeEvent             Optional[*ToolBeforeEvent]
	ToolAfterEvent              Optional[*ToolAfterEvent]
	SessionStartEvent           Optional[*SessionStartEvent]
	SessionEndEvent             Optional[*SessionEndEvent]
	ConfigChangeBeforeEvent     Optional[*ConfigChangeBeforeEvent]
	ConfigChangeAfterEvent      Optional[*ConfigChangeAfterEvent]
	TurnStartEvent              Optional[*TurnStartEvent]
	TurnFinishBeforeEvent       Optional[*TurnFinishBeforeEvent]
	TurnEndEvent                Optional[*TurnEndEvent]
	TurnProgressEvent           Optional[*TurnProgressEvent]
	ModelRequestBeforeEvent     Optional[*ModelRequestBeforeEvent]
	ModelResponseAfterEvent     Optional[*ModelResponseAfterEvent]
	ModelErrorEvent             Optional[*ModelErrorEvent]
	ModelSwitchBeforeEvent      Optional[*ModelSwitchBeforeEvent]
	ModelSwitchAfterEvent       Optional[*ModelSwitchAfterEvent]
	ToolPermissionRequestEvent  Optional[*ToolPermissionRequestEvent]
	ToolPermissionResolvedEvent Optional[*ToolPermissionResolvedEvent]
	ToolProgressEvent           Optional[*ToolProgressEvent]
	ToolBatchAfterEvent         Optional[*ToolBatchAfterEvent]
	ContextCompactBeforeEvent   Optional[*ContextCompactBeforeEvent]
	ContextCompactAfterEvent    Optional[*ContextCompactAfterEvent]
	TaskChangeBeforeEvent       Optional[*TaskChangeBeforeEvent]
	TaskChangeAfterEvent        Optional[*TaskChangeAfterEvent]
	UserAttentionEvent          Optional[*UserAttentionEvent]
	UserElicitationRequestEvent Optional[*UserElicitationRequestEvent]
	UserElicitationResultEvent  Optional[*UserElicitationResultEvent]
	UserMessageInboundEvent     Optional[*UserMessageInboundEvent]
	UserMessageOutboundEvent    Optional[*UserMessageOutboundEvent]
	WorkspaceChangeBeforeEvent  Optional[*WorkspaceChangeBeforeEvent]
	WorkspaceChangeAfterEvent   Optional[*WorkspaceChangeAfterEvent]
	FileChangedEvent            Optional[*FileChangedEvent]
	HookFailureEvent            Optional[*HookFailureEvent]
	Unknown                     json.RawMessage
}

Event is generated from schema/draft/event.schema.json#.

func (Event) MarshalJSON added in v0.1.1

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

func (*Event) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEvent

type ExecutionEvent struct {
	ExecutionEventTurnStart              Optional[*ExecutionEventTurnStart]
	ExecutionEventTurnFinishBefore       Optional[*ExecutionEventTurnFinishBefore]
	ExecutionEventTurnEnd                Optional[*ExecutionEventTurnEnd]
	ExecutionEventTurnProgress           Optional[*ExecutionEventTurnProgress]
	ExecutionEventModelRequestBefore     Optional[*ExecutionEventModelRequestBefore]
	ExecutionEventModelResponseAfter     Optional[*ExecutionEventModelResponseAfter]
	ExecutionEventModelError             Optional[*ExecutionEventModelError]
	ExecutionEventModelSwitchBefore      Optional[*ExecutionEventModelSwitchBefore]
	ExecutionEventModelSwitchAfter       Optional[*ExecutionEventModelSwitchAfter]
	ExecutionEventToolPermissionRequest  Optional[*ExecutionEventToolPermissionRequest]
	ExecutionEventToolPermissionResolved Optional[*ExecutionEventToolPermissionResolved]
	ExecutionEventToolProgress           Optional[*ExecutionEventToolProgress]
	ExecutionEventToolBatchAfter         Optional[*ExecutionEventToolBatchAfter]
	ExecutionEventContextCompactBefore   Optional[*ExecutionEventContextCompactBefore]
	ExecutionEventContextCompactAfter    Optional[*ExecutionEventContextCompactAfter]
	Unknown                              json.RawMessage
}

ExecutionEvent is generated from schema/draft/execution-event.schema.json#.

func (ExecutionEvent) MarshalJSON

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

func (*ExecutionEvent) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventAttempt

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

ExecutionEventAttempt is generated from schema/draft/execution-event.schema.json#/$defs/attempt.

func (ExecutionEventAttempt) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventAttempt) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventAttemptusage

type ExecutionEventAttemptusage struct {
	CacheReadTokens      Optional[json.Number]
	CacheWriteTokens     Optional[json.Number]
	Completeness         ExecutionEventAttemptusageCompleteness
	Cost                 Optional[ExecutionEventAttemptusageCost]
	InputTokens          Optional[json.Number]
	Kind                 ExecutionEventAttemptusageKind
	OutputTokens         Optional[json.Number]
	Provenance           ExecutionEventAttemptusageProvenance
	Scope                ExecutionEventAttemptusageScope
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventAttemptusage is generated from schema/draft/execution-event.schema.json#/$defs/attemptUsage.

func (ExecutionEventAttemptusage) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventAttemptusage) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventAttemptusageCompleteness

type ExecutionEventAttemptusageCompleteness string

ExecutionEventAttemptusageCompleteness is a generated schema value.

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

func (*ExecutionEventAttemptusageCompleteness) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventAttemptusageCost

type ExecutionEventAttemptusageCost struct {
	Amount               json.Number
	Basis                ExecutionEventAttemptusageCostBasis
	Currency             string
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventAttemptusageCost is a generated nested model.

func (ExecutionEventAttemptusageCost) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventAttemptusageCost) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventAttemptusageCostBasis

type ExecutionEventAttemptusageCostBasis string

ExecutionEventAttemptusageCostBasis is a generated schema value.

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

func (*ExecutionEventAttemptusageCostBasis) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventAttemptusageKind added in v0.1.1

type ExecutionEventAttemptusageKind ExecutionEventAttemptusageKindValue

ExecutionEventAttemptusageKind is a structurally validated schema value.

func (ExecutionEventAttemptusageKind) MarshalJSON added in v0.1.1

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

func (*ExecutionEventAttemptusageKind) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventAttemptusageKindValue added in v0.1.1

type ExecutionEventAttemptusageKindValue string

ExecutionEventAttemptusageKindValue is a generated schema value.

const ExecutionEventAttemptusageKindValueAmount ExecutionEventAttemptusageKindValue = "amount"
const ExecutionEventAttemptusageKindValueTotal ExecutionEventAttemptusageKindValue = "total"

func (*ExecutionEventAttemptusageKindValue) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventAttemptusageProvenance added in v0.1.1

type ExecutionEventAttemptusageProvenance ExecutionEventAttemptusageProvenanceValue

ExecutionEventAttemptusageProvenance is a structurally validated schema value.

func (ExecutionEventAttemptusageProvenance) MarshalJSON added in v0.1.1

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

func (*ExecutionEventAttemptusageProvenance) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventAttemptusageProvenanceValue added in v0.1.1

type ExecutionEventAttemptusageProvenanceValue string

ExecutionEventAttemptusageProvenanceValue is a generated schema value.

const ExecutionEventAttemptusageProvenanceValueEstimate ExecutionEventAttemptusageProvenanceValue = "estimate"
const ExecutionEventAttemptusageProvenanceValueMixed ExecutionEventAttemptusageProvenanceValue = "mixed"
const ExecutionEventAttemptusageProvenanceValueProvider ExecutionEventAttemptusageProvenanceValue = "provider"

func (*ExecutionEventAttemptusageProvenanceValue) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventAttemptusageScope added in v0.1.1

type ExecutionEventAttemptusageScope ExecutionEventAttemptusageScopeValue

ExecutionEventAttemptusageScope is a structurally validated schema value.

func (ExecutionEventAttemptusageScope) MarshalJSON added in v0.1.1

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

func (*ExecutionEventAttemptusageScope) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventAttemptusageScopeValue added in v0.1.1

type ExecutionEventAttemptusageScopeValue string

ExecutionEventAttemptusageScopeValue is a generated schema value.

const ExecutionEventAttemptusageScopeValueAttempt ExecutionEventAttemptusageScopeValue = "attempt"
const ExecutionEventAttemptusageScopeValueTurn ExecutionEventAttemptusageScopeValue = "turn"

func (*ExecutionEventAttemptusageScopeValue) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventBatch

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

ExecutionEventBatch is generated from schema/draft/execution-event.schema.json#/$defs/batch.

func (ExecutionEventBatch) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventBatch) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventContextCompactAfter

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

func (ExecutionEventContextCompactAfter) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventContextCompactAfter) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventContextCompactAfterGapsItem

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

ExecutionEventContextCompactAfterGapsItem is a generated nested model.

func (ExecutionEventContextCompactAfterGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventContextCompactAfterGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventContextCompactAfterRemovedItem

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

ExecutionEventContextCompactAfterRemovedItem is a generated nested model.

func (ExecutionEventContextCompactAfterRemovedItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventContextCompactAfterRemovedItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventContextCompactAfterTurn

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

ExecutionEventContextCompactAfterTurn is a generated nested model.

func (ExecutionEventContextCompactAfterTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventContextCompactAfterTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventContextCompactAfterType

type ExecutionEventContextCompactAfterType string

ExecutionEventContextCompactAfterType is a generated schema value.

const ExecutionEventContextCompactAfterTypeContextCompactAfter ExecutionEventContextCompactAfterType = "context.compact.after"

func (*ExecutionEventContextCompactAfterType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventContextCompactBefore

type ExecutionEventContextCompactBefore struct {
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ExecutionEventContextCompactBeforeGapsItem]
	ID                   string
	Instructions         Optional[*TextParts]
	Items                []*ModelVisibleItem
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	TokenCounts          Optional[*ExecutionEventTokencounts]
	Trigger              ExecutionEventContextCompactBeforeTrigger
	Turn                 Optional[ExecutionEventContextCompactBeforeTurn]
	Type                 ExecutionEventContextCompactBeforeType
	AdditionalProperties map[string]json.RawMessage
}

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

func (ExecutionEventContextCompactBefore) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventContextCompactBefore) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventContextCompactBeforeGapsItem added in v0.1.1

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

ExecutionEventContextCompactBeforeGapsItem is a generated nested model.

func (ExecutionEventContextCompactBeforeGapsItem) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventContextCompactBeforeGapsItem) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventContextCompactBeforeTrigger added in v0.1.1

type ExecutionEventContextCompactBeforeTrigger string

ExecutionEventContextCompactBeforeTrigger is a generated schema value.

const ExecutionEventContextCompactBeforeTriggerAuto ExecutionEventContextCompactBeforeTrigger = "auto"
const ExecutionEventContextCompactBeforeTriggerHook ExecutionEventContextCompactBeforeTrigger = "hook"
const ExecutionEventContextCompactBeforeTriggerManual ExecutionEventContextCompactBeforeTrigger = "manual"

func (*ExecutionEventContextCompactBeforeTrigger) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventContextCompactBeforeTurn added in v0.1.1

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

ExecutionEventContextCompactBeforeTurn is a generated nested model.

func (ExecutionEventContextCompactBeforeTurn) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventContextCompactBeforeTurn) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventContextCompactBeforeType added in v0.1.1

type ExecutionEventContextCompactBeforeType string

ExecutionEventContextCompactBeforeType is a generated schema value.

const ExecutionEventContextCompactBeforeTypeContextCompactBefore ExecutionEventContextCompactBeforeType = "context.compact.before"

func (*ExecutionEventContextCompactBeforeType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventError

type ExecutionEventError struct {
	Class                string
	Code                 Optional[string]
	Message              string
	Native               Optional[*NativeEvent]
	Status               Optional[ExecutionEventErrorStatus]
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventError is generated from schema/draft/execution-event.schema.json#/$defs/error.

func (ExecutionEventError) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventError) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventErrorStatus

type ExecutionEventErrorStatus struct {
	String  Optional[string]
	Integer Optional[json.Number]
	Unknown json.RawMessage
}

ExecutionEventErrorStatus is a generated union model.

func (ExecutionEventErrorStatus) MarshalJSON

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

func (*ExecutionEventErrorStatus) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecution

ExecutionEventExecution is generated from schema/draft/execution-event.schema.json#/$defs/execution.

func (ExecutionEventExecution) MarshalJSON

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

func (*ExecutionEventExecution) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionExecuted added in v0.1.1

type ExecutionEventExecutionExecuted struct {
	Status               ExecutionEventExecutionExecutedStatus
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventExecutionExecuted is a generated nested model.

func (ExecutionEventExecutionExecuted) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventExecutionExecuted) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionExecutedStatus added in v0.1.1

type ExecutionEventExecutionExecutedStatus string

ExecutionEventExecutionExecutedStatus is a generated schema value.

const ExecutionEventExecutionExecutedStatusExecuted ExecutionEventExecutionExecutedStatus = "executed"

func (*ExecutionEventExecutionExecutedStatus) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionSkippedCancelled added in v0.1.1

type ExecutionEventExecutionSkippedCancelled struct {
	Detail               Optional[string]
	Reason               ExecutionEventExecutionSkippedCancelledReason
	Status               ExecutionEventExecutionSkippedCancelledStatus
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventExecutionSkippedCancelled is a generated nested model.

func (ExecutionEventExecutionSkippedCancelled) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventExecutionSkippedCancelled) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionSkippedCancelledReason added in v0.1.1

type ExecutionEventExecutionSkippedCancelledReason string

ExecutionEventExecutionSkippedCancelledReason is a generated schema value.

const ExecutionEventExecutionSkippedCancelledReasonCancelled ExecutionEventExecutionSkippedCancelledReason = "cancelled"

func (*ExecutionEventExecutionSkippedCancelledReason) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionSkippedCancelledStatus added in v0.1.1

type ExecutionEventExecutionSkippedCancelledStatus string

ExecutionEventExecutionSkippedCancelledStatus is a generated schema value.

const ExecutionEventExecutionSkippedCancelledStatusSkipped ExecutionEventExecutionSkippedCancelledStatus = "skipped"

func (*ExecutionEventExecutionSkippedCancelledStatus) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionSkippedOther added in v0.1.1

type ExecutionEventExecutionSkippedOther struct {
	Detail               Optional[string]
	Reason               ExecutionEventExecutionSkippedOtherReason
	Status               ExecutionEventExecutionSkippedOtherStatus
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventExecutionSkippedOther is a generated nested model.

func (ExecutionEventExecutionSkippedOther) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventExecutionSkippedOther) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionSkippedOtherReason added in v0.1.1

type ExecutionEventExecutionSkippedOtherReason string

ExecutionEventExecutionSkippedOtherReason is a generated schema value.

const ExecutionEventExecutionSkippedOtherReasonOther ExecutionEventExecutionSkippedOtherReason = "other"

func (*ExecutionEventExecutionSkippedOtherReason) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionSkippedOtherStatus added in v0.1.1

type ExecutionEventExecutionSkippedOtherStatus string

ExecutionEventExecutionSkippedOtherStatus is a generated schema value.

const ExecutionEventExecutionSkippedOtherStatusSkipped ExecutionEventExecutionSkippedOtherStatus = "skipped"

func (*ExecutionEventExecutionSkippedOtherStatus) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionSkippedPolicy added in v0.1.1

type ExecutionEventExecutionSkippedPolicy struct {
	Detail               Optional[string]
	Reason               ExecutionEventExecutionSkippedPolicyReason
	Status               ExecutionEventExecutionSkippedPolicyStatus
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventExecutionSkippedPolicy is a generated nested model.

func (ExecutionEventExecutionSkippedPolicy) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventExecutionSkippedPolicy) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionSkippedPolicyReason added in v0.1.1

type ExecutionEventExecutionSkippedPolicyReason string

ExecutionEventExecutionSkippedPolicyReason is a generated schema value.

const ExecutionEventExecutionSkippedPolicyReasonPolicy ExecutionEventExecutionSkippedPolicyReason = "policy"

func (*ExecutionEventExecutionSkippedPolicyReason) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionSkippedPolicyStatus added in v0.1.1

type ExecutionEventExecutionSkippedPolicyStatus string

ExecutionEventExecutionSkippedPolicyStatus is a generated schema value.

const ExecutionEventExecutionSkippedPolicyStatusSkipped ExecutionEventExecutionSkippedPolicyStatus = "skipped"

func (*ExecutionEventExecutionSkippedPolicyStatus) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionSkippedSuppliedResult added in v0.1.1

type ExecutionEventExecutionSkippedSuppliedResult struct {
	Reason               ExecutionEventExecutionSkippedSuppliedResultReason
	Status               ExecutionEventExecutionSkippedSuppliedResultStatus
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventExecutionSkippedSuppliedResult is a generated nested model.

func (ExecutionEventExecutionSkippedSuppliedResult) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventExecutionSkippedSuppliedResult) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionSkippedSuppliedResultReason added in v0.1.1

type ExecutionEventExecutionSkippedSuppliedResultReason string

ExecutionEventExecutionSkippedSuppliedResultReason is a generated schema value.

const ExecutionEventExecutionSkippedSuppliedResultReasonSuppliedResult ExecutionEventExecutionSkippedSuppliedResultReason = "supplied_result"

func (*ExecutionEventExecutionSkippedSuppliedResultReason) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionSkippedSuppliedResultStatus added in v0.1.1

type ExecutionEventExecutionSkippedSuppliedResultStatus string

ExecutionEventExecutionSkippedSuppliedResultStatus is a generated schema value.

const ExecutionEventExecutionSkippedSuppliedResultStatusSkipped ExecutionEventExecutionSkippedSuppliedResultStatus = "skipped"

func (*ExecutionEventExecutionSkippedSuppliedResultStatus) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionSkippedTimeout added in v0.1.1

type ExecutionEventExecutionSkippedTimeout struct {
	Detail               Optional[string]
	Reason               ExecutionEventExecutionSkippedTimeoutReason
	Status               ExecutionEventExecutionSkippedTimeoutStatus
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventExecutionSkippedTimeout is a generated nested model.

func (ExecutionEventExecutionSkippedTimeout) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventExecutionSkippedTimeout) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionSkippedTimeoutReason added in v0.1.1

type ExecutionEventExecutionSkippedTimeoutReason string

ExecutionEventExecutionSkippedTimeoutReason is a generated schema value.

const ExecutionEventExecutionSkippedTimeoutReasonTimeout ExecutionEventExecutionSkippedTimeoutReason = "timeout"

func (*ExecutionEventExecutionSkippedTimeoutReason) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventExecutionSkippedTimeoutStatus added in v0.1.1

type ExecutionEventExecutionSkippedTimeoutStatus string

ExecutionEventExecutionSkippedTimeoutStatus is a generated schema value.

const ExecutionEventExecutionSkippedTimeoutStatusSkipped ExecutionEventExecutionSkippedTimeoutStatus = "skipped"

func (*ExecutionEventExecutionSkippedTimeoutStatus) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventFilechange

type ExecutionEventFilechange struct {
	After                Optional[*ContentItem]
	Before               Optional[*ContentItem]
	Change               ExecutionEventFilechangeChange
	Path                 string
	PreviousPath         Optional[string]
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventFilechange is generated from schema/draft/execution-event.schema.json#/$defs/fileChange.

func (ExecutionEventFilechange) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventFilechange) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventFilechangeChange

type ExecutionEventFilechangeChange string

ExecutionEventFilechangeChange is a generated schema value.

const ExecutionEventFilechangeChangeCreated ExecutionEventFilechangeChange = "created"
const ExecutionEventFilechangeChangeDeleted ExecutionEventFilechangeChange = "deleted"
const ExecutionEventFilechangeChangeModified ExecutionEventFilechangeChange = "modified"
const ExecutionEventFilechangeChangeMoved ExecutionEventFilechangeChange = "moved"

func (*ExecutionEventFilechangeChange) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventMcp

type ExecutionEventMcp struct {
	Connection           ExecutionEventMcpConnection
	Provenance           ExecutionEventMcpProvenance
	Server               ExecutionEventMcpServer
	ToolName             string
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventMcp is generated from schema/draft/execution-event.schema.json#/$defs/mcp.

func (ExecutionEventMcp) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventMcp) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventMcpConnection

ExecutionEventMcpConnection is a generated union model.

func (ExecutionEventMcpConnection) MarshalJSON

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

func (*ExecutionEventMcpConnection) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventMcpConnectionCustomTransport added in v0.1.1

type ExecutionEventMcpConnectionCustomTransport struct {
	Address              Optional[string]
	AddressForm          Optional[string]
	Gaps                 Optional[[]ExecutionEventMcpConnectionCustomTransportGapsItem]
	Transport            string
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventMcpConnectionCustomTransport is a generated nested model.

func (ExecutionEventMcpConnectionCustomTransport) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventMcpConnectionCustomTransport) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventMcpConnectionCustomTransportGapsItem added in v0.1.1

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

ExecutionEventMcpConnectionCustomTransportGapsItem is a generated nested model.

func (ExecutionEventMcpConnectionCustomTransportGapsItem) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventMcpConnectionCustomTransportGapsItem) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventMcpConnectionHTTP added in v0.1.1

type ExecutionEventMcpConnectionHTTP struct {
	Gaps                 Optional[[]ExecutionEventMcpConnectionHTTPGapsItem]
	Transport            ExecutionEventMcpConnectionHTTPTransport
	URL                  Optional[string]
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventMcpConnectionHTTP is a generated nested model.

func (ExecutionEventMcpConnectionHTTP) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventMcpConnectionHTTP) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventMcpConnectionHTTPGapsItem added in v0.1.1

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

ExecutionEventMcpConnectionHTTPGapsItem is a generated nested model.

func (ExecutionEventMcpConnectionHTTPGapsItem) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventMcpConnectionHTTPGapsItem) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventMcpConnectionHTTPTransport added in v0.1.1

type ExecutionEventMcpConnectionHTTPTransport string

ExecutionEventMcpConnectionHTTPTransport is a generated schema value.

const ExecutionEventMcpConnectionHTTPTransportHTTP ExecutionEventMcpConnectionHTTPTransport = "http"

func (*ExecutionEventMcpConnectionHTTPTransport) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventMcpConnectionSse added in v0.1.1

type ExecutionEventMcpConnectionSse struct {
	Gaps                 Optional[[]ExecutionEventMcpConnectionSseGapsItem]
	Transport            ExecutionEventMcpConnectionSseTransport
	URL                  Optional[string]
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventMcpConnectionSse is a generated nested model.

func (ExecutionEventMcpConnectionSse) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventMcpConnectionSse) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventMcpConnectionSseGapsItem added in v0.1.1

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

ExecutionEventMcpConnectionSseGapsItem is a generated nested model.

func (ExecutionEventMcpConnectionSseGapsItem) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventMcpConnectionSseGapsItem) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventMcpConnectionSseTransport added in v0.1.1

type ExecutionEventMcpConnectionSseTransport string

ExecutionEventMcpConnectionSseTransport is a generated schema value.

const ExecutionEventMcpConnectionSseTransportSse ExecutionEventMcpConnectionSseTransport = "sse"

func (*ExecutionEventMcpConnectionSseTransport) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventMcpConnectionStdio added in v0.1.1

type ExecutionEventMcpConnectionStdio struct {
	Args                 Optional[[]string]
	Command              Optional[string]
	CWD                  Optional[string]
	Gaps                 Optional[[]ExecutionEventMcpConnectionStdioGapsItem]
	Transport            ExecutionEventMcpConnectionStdioTransport
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventMcpConnectionStdio is a generated nested model.

func (ExecutionEventMcpConnectionStdio) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventMcpConnectionStdio) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventMcpConnectionStdioGapsItem added in v0.1.1

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

ExecutionEventMcpConnectionStdioGapsItem is a generated nested model.

func (ExecutionEventMcpConnectionStdioGapsItem) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventMcpConnectionStdioGapsItem) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventMcpConnectionStdioTransport added in v0.1.1

type ExecutionEventMcpConnectionStdioTransport string

ExecutionEventMcpConnectionStdioTransport is a generated schema value.

const ExecutionEventMcpConnectionStdioTransportStdio ExecutionEventMcpConnectionStdioTransport = "stdio"

func (*ExecutionEventMcpConnectionStdioTransport) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventMcpProvenance

type ExecutionEventMcpProvenance string

ExecutionEventMcpProvenance is a generated schema value.

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

func (*ExecutionEventMcpProvenance) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventMcpServer

type ExecutionEventMcpServer struct {
	ID                   string
	Name                 Optional[string]
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventMcpServer is a generated nested model.

func (ExecutionEventMcpServer) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventMcpServer) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModel

type ExecutionEventModel struct {
	ID                   string
	Provider             string
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventModel is generated from schema/draft/execution-event.schema.json#/$defs/model.

func (ExecutionEventModel) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModel) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelError

type ExecutionEventModelError struct {
	Attempt              *ExecutionEventAttempt
	Error                *ExecutionEventError
	Execution            ExecutionEventModelErrorExecution
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ExecutionEventModelErrorGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	LatencyMs            Optional[json.Number]
	Model                *ExecutionEventModel
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Recovery             Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[ExecutionEventModelErrorTurn]
	Type                 ExecutionEventModelErrorType
	Usage                Optional[*ExecutionEventAttemptusage]
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventModelError is generated from schema/draft/execution-event.schema.json#/$defs/model.error.

func (ExecutionEventModelError) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelError) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecution added in v0.1.1

ExecutionEventModelErrorExecution is a generated union model.

func (ExecutionEventModelErrorExecution) MarshalJSON added in v0.1.1

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

func (*ExecutionEventModelErrorExecution) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionExecuted added in v0.1.1

type ExecutionEventModelErrorExecutionExecuted struct {
	Status               ExecutionEventModelErrorExecutionExecutedStatus
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventModelErrorExecutionExecuted is a generated nested model.

func (ExecutionEventModelErrorExecutionExecuted) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelErrorExecutionExecuted) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionExecutedStatus added in v0.1.1

type ExecutionEventModelErrorExecutionExecutedStatus string

ExecutionEventModelErrorExecutionExecutedStatus is a generated schema value.

const ExecutionEventModelErrorExecutionExecutedStatusExecuted ExecutionEventModelErrorExecutionExecutedStatus = "executed"

func (*ExecutionEventModelErrorExecutionExecutedStatus) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedCancelled added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedCancelled struct {
	Detail               Optional[string]
	Reason               ExecutionEventModelErrorExecutionSkippedCancelledReason
	Status               ExecutionEventModelErrorExecutionSkippedCancelledStatus
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventModelErrorExecutionSkippedCancelled is a generated nested model.

func (ExecutionEventModelErrorExecutionSkippedCancelled) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelErrorExecutionSkippedCancelled) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedCancelledReason added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedCancelledReason string

ExecutionEventModelErrorExecutionSkippedCancelledReason is a generated schema value.

const ExecutionEventModelErrorExecutionSkippedCancelledReasonCancelled ExecutionEventModelErrorExecutionSkippedCancelledReason = "cancelled"

func (*ExecutionEventModelErrorExecutionSkippedCancelledReason) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedCancelledStatus added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedCancelledStatus ExecutionEventModelErrorExecutionSkippedCancelledStatusValue

ExecutionEventModelErrorExecutionSkippedCancelledStatus is a structurally validated schema value.

func (ExecutionEventModelErrorExecutionSkippedCancelledStatus) MarshalJSON added in v0.1.1

func (*ExecutionEventModelErrorExecutionSkippedCancelledStatus) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedCancelledStatusValue added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedCancelledStatusValue string

ExecutionEventModelErrorExecutionSkippedCancelledStatusValue is a generated schema value.

const ExecutionEventModelErrorExecutionSkippedCancelledStatusValueExecuted ExecutionEventModelErrorExecutionSkippedCancelledStatusValue = "executed"

func (*ExecutionEventModelErrorExecutionSkippedCancelledStatusValue) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedOther added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedOther struct {
	Detail               Optional[string]
	Reason               ExecutionEventModelErrorExecutionSkippedOtherReason
	Status               ExecutionEventModelErrorExecutionSkippedOtherStatus
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventModelErrorExecutionSkippedOther is a generated nested model.

func (ExecutionEventModelErrorExecutionSkippedOther) MarshalJSON added in v0.1.1

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelErrorExecutionSkippedOther) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedOtherReason added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedOtherReason string

ExecutionEventModelErrorExecutionSkippedOtherReason is a generated schema value.

const ExecutionEventModelErrorExecutionSkippedOtherReasonOther ExecutionEventModelErrorExecutionSkippedOtherReason = "other"

func (*ExecutionEventModelErrorExecutionSkippedOtherReason) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedOtherStatus added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedOtherStatus ExecutionEventModelErrorExecutionSkippedOtherStatusValue

ExecutionEventModelErrorExecutionSkippedOtherStatus is a structurally validated schema value.

func (ExecutionEventModelErrorExecutionSkippedOtherStatus) MarshalJSON added in v0.1.1

func (*ExecutionEventModelErrorExecutionSkippedOtherStatus) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedOtherStatusValue added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedOtherStatusValue string

ExecutionEventModelErrorExecutionSkippedOtherStatusValue is a generated schema value.

const ExecutionEventModelErrorExecutionSkippedOtherStatusValueExecuted ExecutionEventModelErrorExecutionSkippedOtherStatusValue = "executed"

func (*ExecutionEventModelErrorExecutionSkippedOtherStatusValue) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedPolicy added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedPolicy struct {
	Detail               Optional[string]
	Reason               ExecutionEventModelErrorExecutionSkippedPolicyReason
	Status               ExecutionEventModelErrorExecutionSkippedPolicyStatus
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventModelErrorExecutionSkippedPolicy is a generated nested model.

func (ExecutionEventModelErrorExecutionSkippedPolicy) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelErrorExecutionSkippedPolicy) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedPolicyReason added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedPolicyReason string

ExecutionEventModelErrorExecutionSkippedPolicyReason is a generated schema value.

const ExecutionEventModelErrorExecutionSkippedPolicyReasonPolicy ExecutionEventModelErrorExecutionSkippedPolicyReason = "policy"

func (*ExecutionEventModelErrorExecutionSkippedPolicyReason) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedPolicyStatus added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedPolicyStatus ExecutionEventModelErrorExecutionSkippedPolicyStatusValue

ExecutionEventModelErrorExecutionSkippedPolicyStatus is a structurally validated schema value.

func (ExecutionEventModelErrorExecutionSkippedPolicyStatus) MarshalJSON added in v0.1.1

func (*ExecutionEventModelErrorExecutionSkippedPolicyStatus) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedPolicyStatusValue added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedPolicyStatusValue string

ExecutionEventModelErrorExecutionSkippedPolicyStatusValue is a generated schema value.

const ExecutionEventModelErrorExecutionSkippedPolicyStatusValueExecuted ExecutionEventModelErrorExecutionSkippedPolicyStatusValue = "executed"

func (*ExecutionEventModelErrorExecutionSkippedPolicyStatusValue) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedSuppliedResult added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedSuppliedResult struct {
	Reason               ExecutionEventModelErrorExecutionSkippedSuppliedResultReason
	Status               ExecutionEventModelErrorExecutionSkippedSuppliedResultStatus
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventModelErrorExecutionSkippedSuppliedResult is a generated nested model.

func (ExecutionEventModelErrorExecutionSkippedSuppliedResult) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelErrorExecutionSkippedSuppliedResult) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedSuppliedResultReason added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedSuppliedResultReason string

ExecutionEventModelErrorExecutionSkippedSuppliedResultReason is a generated schema value.

const ExecutionEventModelErrorExecutionSkippedSuppliedResultReasonSuppliedResult ExecutionEventModelErrorExecutionSkippedSuppliedResultReason = "supplied_result"

func (*ExecutionEventModelErrorExecutionSkippedSuppliedResultReason) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedSuppliedResultStatus added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedSuppliedResultStatus ExecutionEventModelErrorExecutionSkippedSuppliedResultStatusValue

ExecutionEventModelErrorExecutionSkippedSuppliedResultStatus is a structurally validated schema value.

func (ExecutionEventModelErrorExecutionSkippedSuppliedResultStatus) MarshalJSON added in v0.1.1

func (*ExecutionEventModelErrorExecutionSkippedSuppliedResultStatus) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedSuppliedResultStatusValue added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedSuppliedResultStatusValue string

ExecutionEventModelErrorExecutionSkippedSuppliedResultStatusValue is a generated schema value.

const ExecutionEventModelErrorExecutionSkippedSuppliedResultStatusValueExecuted ExecutionEventModelErrorExecutionSkippedSuppliedResultStatusValue = "executed"

func (*ExecutionEventModelErrorExecutionSkippedSuppliedResultStatusValue) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedTimeout added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedTimeout struct {
	Detail               Optional[string]
	Reason               ExecutionEventModelErrorExecutionSkippedTimeoutReason
	Status               ExecutionEventModelErrorExecutionSkippedTimeoutStatus
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventModelErrorExecutionSkippedTimeout is a generated nested model.

func (ExecutionEventModelErrorExecutionSkippedTimeout) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelErrorExecutionSkippedTimeout) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedTimeoutReason added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedTimeoutReason string

ExecutionEventModelErrorExecutionSkippedTimeoutReason is a generated schema value.

const ExecutionEventModelErrorExecutionSkippedTimeoutReasonTimeout ExecutionEventModelErrorExecutionSkippedTimeoutReason = "timeout"

func (*ExecutionEventModelErrorExecutionSkippedTimeoutReason) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedTimeoutStatus added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedTimeoutStatus ExecutionEventModelErrorExecutionSkippedTimeoutStatusValue

ExecutionEventModelErrorExecutionSkippedTimeoutStatus is a structurally validated schema value.

func (ExecutionEventModelErrorExecutionSkippedTimeoutStatus) MarshalJSON added in v0.1.1

func (*ExecutionEventModelErrorExecutionSkippedTimeoutStatus) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorExecutionSkippedTimeoutStatusValue added in v0.1.1

type ExecutionEventModelErrorExecutionSkippedTimeoutStatusValue string

ExecutionEventModelErrorExecutionSkippedTimeoutStatusValue is a generated schema value.

const ExecutionEventModelErrorExecutionSkippedTimeoutStatusValueExecuted ExecutionEventModelErrorExecutionSkippedTimeoutStatusValue = "executed"

func (*ExecutionEventModelErrorExecutionSkippedTimeoutStatusValue) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorGapsItem

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

ExecutionEventModelErrorGapsItem is a generated nested model.

func (ExecutionEventModelErrorGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelErrorGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorTurn

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

ExecutionEventModelErrorTurn is a generated nested model.

func (ExecutionEventModelErrorTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelErrorTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelErrorType

type ExecutionEventModelErrorType string

ExecutionEventModelErrorType is a generated schema value.

const ExecutionEventModelErrorTypeModelError ExecutionEventModelErrorType = "model.error"

func (*ExecutionEventModelErrorType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelRequestBefore

type ExecutionEventModelRequestBefore struct {
	Attempt              *ExecutionEventAttempt
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ExecutionEventModelRequestBeforeGapsItem]
	ID                   string
	Items                []*ModelVisibleItem
	Model                *ExecutionEventModel
	Native               Optional[*NativeEvent]
	Params               ExecutionEventModelRequestBeforeParams
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[ExecutionEventModelRequestBeforeTurn]
	Type                 ExecutionEventModelRequestBeforeType
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventModelRequestBefore is generated from schema/draft/execution-event.schema.json#/$defs/model.request.before.

func (ExecutionEventModelRequestBefore) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelRequestBefore) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelRequestBeforeGapsItem

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

ExecutionEventModelRequestBeforeGapsItem is a generated nested model.

func (ExecutionEventModelRequestBeforeGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelRequestBeforeGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelRequestBeforeParams

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

ExecutionEventModelRequestBeforeParams is a generated nested model.

func (ExecutionEventModelRequestBeforeParams) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelRequestBeforeParams) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelRequestBeforeTurn

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

ExecutionEventModelRequestBeforeTurn is a generated nested model.

func (ExecutionEventModelRequestBeforeTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelRequestBeforeTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelRequestBeforeType

type ExecutionEventModelRequestBeforeType string

ExecutionEventModelRequestBeforeType is a generated schema value.

const ExecutionEventModelRequestBeforeTypeModelRequestBefore ExecutionEventModelRequestBeforeType = "model.request.before"

func (*ExecutionEventModelRequestBeforeType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelResponseAfter

type ExecutionEventModelResponseAfter struct {
	Attempt              *ExecutionEventAttempt
	Execution            *ExecutionEventExecution
	Extensions           Optional[*Extensions]
	FinishReason         string
	Gaps                 Optional[[]ExecutionEventModelResponseAfterGapsItem]
	ID                   string
	Items                []*ModelVisibleItem
	LatencyMs            Optional[json.Number]
	Model                *ExecutionEventModel
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[ExecutionEventModelResponseAfterTurn]
	Type                 ExecutionEventModelResponseAfterType
	Usage                Optional[*ExecutionEventAttemptusage]
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventModelResponseAfter is generated from schema/draft/execution-event.schema.json#/$defs/model.response.after.

func (ExecutionEventModelResponseAfter) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelResponseAfter) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelResponseAfterGapsItem

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

ExecutionEventModelResponseAfterGapsItem is a generated nested model.

func (ExecutionEventModelResponseAfterGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelResponseAfterGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelResponseAfterTurn

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

ExecutionEventModelResponseAfterTurn is a generated nested model.

func (ExecutionEventModelResponseAfterTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelResponseAfterTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelResponseAfterType

type ExecutionEventModelResponseAfterType string

ExecutionEventModelResponseAfterType is a generated schema value.

const ExecutionEventModelResponseAfterTypeModelResponseAfter ExecutionEventModelResponseAfterType = "model.response.after"

func (*ExecutionEventModelResponseAfterType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelSwitchAfter

type ExecutionEventModelSwitchAfter struct {
	Current              *ExecutionEventModel
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ExecutionEventModelSwitchAfterGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Previous             *ExecutionEventModel
	Reason               string
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[ExecutionEventModelSwitchAfterTurn]
	Type                 ExecutionEventModelSwitchAfterType
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventModelSwitchAfter is generated from schema/draft/execution-event.schema.json#/$defs/model.switch.after.

func (ExecutionEventModelSwitchAfter) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelSwitchAfter) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelSwitchAfterGapsItem

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

ExecutionEventModelSwitchAfterGapsItem is a generated nested model.

func (ExecutionEventModelSwitchAfterGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelSwitchAfterGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelSwitchAfterTurn

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

ExecutionEventModelSwitchAfterTurn is a generated nested model.

func (ExecutionEventModelSwitchAfterTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelSwitchAfterTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelSwitchAfterType

type ExecutionEventModelSwitchAfterType string

ExecutionEventModelSwitchAfterType is a generated schema value.

const ExecutionEventModelSwitchAfterTypeModelSwitchAfter ExecutionEventModelSwitchAfterType = "model.switch.after"

func (*ExecutionEventModelSwitchAfterType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelSwitchBefore

type ExecutionEventModelSwitchBefore struct {
	Current              *ExecutionEventModel
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ExecutionEventModelSwitchBeforeGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Pricing              Optional[ExecutionEventModelSwitchBeforePricing]
	Proposed             *ExecutionEventModel
	Reason               string
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[ExecutionEventModelSwitchBeforeTurn]
	Type                 ExecutionEventModelSwitchBeforeType
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventModelSwitchBefore is generated from schema/draft/execution-event.schema.json#/$defs/model.switch.before.

func (ExecutionEventModelSwitchBefore) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelSwitchBefore) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelSwitchBeforeGapsItem

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

ExecutionEventModelSwitchBeforeGapsItem is a generated nested model.

func (ExecutionEventModelSwitchBeforeGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelSwitchBeforeGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelSwitchBeforePricing

type ExecutionEventModelSwitchBeforePricing struct {
	Currency               string
	InputPerMillionTokens  Optional[json.Number]
	OutputPerMillionTokens Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

ExecutionEventModelSwitchBeforePricing is a generated nested model.

func (ExecutionEventModelSwitchBeforePricing) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelSwitchBeforePricing) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelSwitchBeforeTurn

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

ExecutionEventModelSwitchBeforeTurn is a generated nested model.

func (ExecutionEventModelSwitchBeforeTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventModelSwitchBeforeTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventModelSwitchBeforeType

type ExecutionEventModelSwitchBeforeType string

ExecutionEventModelSwitchBeforeType is a generated schema value.

const ExecutionEventModelSwitchBeforeTypeModelSwitchBefore ExecutionEventModelSwitchBeforeType = "model.switch.before"

func (*ExecutionEventModelSwitchBeforeType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTokencounts

type ExecutionEventTokencounts struct {
	After                Optional[json.Number]
	Before               Optional[json.Number]
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventTokencounts is generated from schema/draft/execution-event.schema.json#/$defs/tokenCounts.

func (ExecutionEventTokencounts) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTokencounts) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTool

type ExecutionEventTool struct {
	Input                ExecutionEventToolInput
	Kind                 Optional[string]
	Mcp                  Optional[*ExecutionEventMcp]
	Name                 string
	Origin               ExecutionEventToolOrigin
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventTool is generated from schema/draft/execution-event.schema.json#/$defs/tool.

func (ExecutionEventTool) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTool) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolBatchAfter

type ExecutionEventToolBatchAfter struct {
	Batch                ExecutionEventToolBatchAfterBatch
	Calls                []ExecutionEventToolBatchAfterCallsItem
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ExecutionEventToolBatchAfterGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[ExecutionEventToolBatchAfterTurn]
	Type                 ExecutionEventToolBatchAfterType
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventToolBatchAfter is generated from schema/draft/execution-event.schema.json#/$defs/tool.batch.after.

func (ExecutionEventToolBatchAfter) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolBatchAfter) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolBatchAfterBatch

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

ExecutionEventToolBatchAfterBatch is a generated nested model.

func (ExecutionEventToolBatchAfterBatch) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolBatchAfterBatch) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolBatchAfterCallsItem

type ExecutionEventToolBatchAfterCallsItem struct {
	Batch                Optional[*ExecutionEventBatch]
	Call                 ExecutionEventToolBatchAfterCallsItemCall
	Execution            *ExecutionEventExecution
	Outcome              ExecutionEventToolBatchAfterCallsItemOutcome
	Path                 string
	Tool                 *ExecutionEventTool
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventToolBatchAfterCallsItem is a generated nested model.

func (ExecutionEventToolBatchAfterCallsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolBatchAfterCallsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolBatchAfterCallsItemCall

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

ExecutionEventToolBatchAfterCallsItemCall is a generated nested model.

func (ExecutionEventToolBatchAfterCallsItemCall) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolBatchAfterCallsItemCall) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolBatchAfterCallsItemOutcome

type ExecutionEventToolBatchAfterCallsItemOutcome string

ExecutionEventToolBatchAfterCallsItemOutcome is a generated schema value.

const ExecutionEventToolBatchAfterCallsItemOutcomeCancelled ExecutionEventToolBatchAfterCallsItemOutcome = "cancelled"
const ExecutionEventToolBatchAfterCallsItemOutcomeDenied ExecutionEventToolBatchAfterCallsItemOutcome = "denied"
const ExecutionEventToolBatchAfterCallsItemOutcomeError ExecutionEventToolBatchAfterCallsItemOutcome = "error"
const ExecutionEventToolBatchAfterCallsItemOutcomeOk ExecutionEventToolBatchAfterCallsItemOutcome = "ok"
const ExecutionEventToolBatchAfterCallsItemOutcomeTimeout ExecutionEventToolBatchAfterCallsItemOutcome = "timeout"

func (*ExecutionEventToolBatchAfterCallsItemOutcome) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolBatchAfterGapsItem

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

ExecutionEventToolBatchAfterGapsItem is a generated nested model.

func (ExecutionEventToolBatchAfterGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolBatchAfterGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolBatchAfterTurn

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

ExecutionEventToolBatchAfterTurn is a generated nested model.

func (ExecutionEventToolBatchAfterTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolBatchAfterTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolBatchAfterType

type ExecutionEventToolBatchAfterType string

ExecutionEventToolBatchAfterType is a generated schema value.

const ExecutionEventToolBatchAfterTypeToolBatchAfter ExecutionEventToolBatchAfterType = "tool.batch.after"

func (*ExecutionEventToolBatchAfterType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolInput

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

ExecutionEventToolInput is a generated nested model.

func (ExecutionEventToolInput) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolInput) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolOrigin

type ExecutionEventToolOrigin string

ExecutionEventToolOrigin is a generated schema value.

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

func (*ExecutionEventToolOrigin) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolPermissionRequest

ExecutionEventToolPermissionRequest is generated from schema/draft/execution-event.schema.json#/$defs/tool.permission.request.

func (ExecutionEventToolPermissionRequest) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolPermissionRequest) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolPermissionRequestCall

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

ExecutionEventToolPermissionRequestCall is a generated nested model.

func (ExecutionEventToolPermissionRequestCall) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolPermissionRequestCall) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolPermissionRequestGapsItem

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

ExecutionEventToolPermissionRequestGapsItem is a generated nested model.

func (ExecutionEventToolPermissionRequestGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolPermissionRequestGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolPermissionRequestSuggestionsItem

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

ExecutionEventToolPermissionRequestSuggestionsItem is a generated nested model.

func (ExecutionEventToolPermissionRequestSuggestionsItem) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolPermissionRequestSuggestionsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolPermissionRequestTurn

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

ExecutionEventToolPermissionRequestTurn is a generated nested model.

func (ExecutionEventToolPermissionRequestTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolPermissionRequestTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolPermissionRequestType

type ExecutionEventToolPermissionRequestType string

ExecutionEventToolPermissionRequestType is a generated schema value.

const ExecutionEventToolPermissionRequestTypeToolPermissionRequest ExecutionEventToolPermissionRequestType = "tool.permission.request"

func (*ExecutionEventToolPermissionRequestType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolPermissionResolved

ExecutionEventToolPermissionResolved is generated from schema/draft/execution-event.schema.json#/$defs/tool.permission.resolved.

func (ExecutionEventToolPermissionResolved) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolPermissionResolved) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolPermissionResolvedCall

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

ExecutionEventToolPermissionResolvedCall is a generated nested model.

func (ExecutionEventToolPermissionResolvedCall) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolPermissionResolvedCall) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolPermissionResolvedDecidedBy

type ExecutionEventToolPermissionResolvedDecidedBy string

ExecutionEventToolPermissionResolvedDecidedBy is a generated schema value.

const ExecutionEventToolPermissionResolvedDecidedByAuto ExecutionEventToolPermissionResolvedDecidedBy = "auto"
const ExecutionEventToolPermissionResolvedDecidedByClassifier ExecutionEventToolPermissionResolvedDecidedBy = "classifier"
const ExecutionEventToolPermissionResolvedDecidedByHook ExecutionEventToolPermissionResolvedDecidedBy = "hook"
const ExecutionEventToolPermissionResolvedDecidedByPolicy ExecutionEventToolPermissionResolvedDecidedBy = "policy"
const ExecutionEventToolPermissionResolvedDecidedByUser ExecutionEventToolPermissionResolvedDecidedBy = "user"

func (*ExecutionEventToolPermissionResolvedDecidedBy) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolPermissionResolvedDecision

type ExecutionEventToolPermissionResolvedDecision string

ExecutionEventToolPermissionResolvedDecision is a generated schema value.

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

func (*ExecutionEventToolPermissionResolvedDecision) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolPermissionResolvedGapsItem

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

ExecutionEventToolPermissionResolvedGapsItem is a generated nested model.

func (ExecutionEventToolPermissionResolvedGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolPermissionResolvedGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolPermissionResolvedTurn

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

ExecutionEventToolPermissionResolvedTurn is a generated nested model.

func (ExecutionEventToolPermissionResolvedTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolPermissionResolvedTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolPermissionResolvedType

type ExecutionEventToolPermissionResolvedType string

ExecutionEventToolPermissionResolvedType is a generated schema value.

const ExecutionEventToolPermissionResolvedTypeToolPermissionResolved ExecutionEventToolPermissionResolvedType = "tool.permission.resolved"

func (*ExecutionEventToolPermissionResolvedType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolProgress

type ExecutionEventToolProgress struct {
	Backgrounded         bool
	Batch                Optional[*ExecutionEventBatch]
	Call                 ExecutionEventToolProgressCall
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ExecutionEventToolProgressGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	PartialOutput        *ModelVisibleItem
	Path                 string
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Tool                 *ExecutionEventTool
	Turn                 Optional[ExecutionEventToolProgressTurn]
	Type                 ExecutionEventToolProgressType
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventToolProgress is generated from schema/draft/execution-event.schema.json#/$defs/tool.progress.

func (ExecutionEventToolProgress) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolProgress) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolProgressCall

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

ExecutionEventToolProgressCall is a generated nested model.

func (ExecutionEventToolProgressCall) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolProgressCall) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolProgressGapsItem

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

ExecutionEventToolProgressGapsItem is a generated nested model.

func (ExecutionEventToolProgressGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolProgressGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolProgressTurn

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

ExecutionEventToolProgressTurn is a generated nested model.

func (ExecutionEventToolProgressTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventToolProgressTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventToolProgressType

type ExecutionEventToolProgressType string

ExecutionEventToolProgressType is a generated schema value.

const ExecutionEventToolProgressTypeToolProgress ExecutionEventToolProgressType = "tool.progress"

func (*ExecutionEventToolProgressType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnEnd

type ExecutionEventTurnEnd struct {
	ContinuationCount    json.Number
	Error                Optional[*ExecutionEventError]
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ExecutionEventTurnEndGapsItem]
	ID                   string
	Items                []*ModelVisibleItem
	LastAssistantItem    Optional[ExecutionEventTurnEndLastAssistantItem]
	Native               Optional[*NativeEvent]
	Outcome              ExecutionEventTurnEndOutcome
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 ExecutionEventTurnEndTurn
	Type                 ExecutionEventTurnEndType
	Usage                Optional[*ExecutionEventTurnusage]
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventTurnEnd is generated from schema/draft/execution-event.schema.json#/$defs/turn.end.

func (ExecutionEventTurnEnd) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnEnd) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnEndGapsItem

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

ExecutionEventTurnEndGapsItem is a generated nested model.

func (ExecutionEventTurnEndGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnEndGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnEndLastAssistantItem

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

ExecutionEventTurnEndLastAssistantItem is a generated nested model.

func (ExecutionEventTurnEndLastAssistantItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnEndLastAssistantItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnEndOutcome

type ExecutionEventTurnEndOutcome string

ExecutionEventTurnEndOutcome is a generated schema value.

const ExecutionEventTurnEndOutcomeCancelled ExecutionEventTurnEndOutcome = "cancelled"
const ExecutionEventTurnEndOutcomeCompleted ExecutionEventTurnEndOutcome = "completed"
const ExecutionEventTurnEndOutcomeFailed ExecutionEventTurnEndOutcome = "failed"
const ExecutionEventTurnEndOutcomeMaxIterations ExecutionEventTurnEndOutcome = "max_iterations"

func (*ExecutionEventTurnEndOutcome) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnEndTurn

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

ExecutionEventTurnEndTurn is a generated nested model.

func (ExecutionEventTurnEndTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnEndTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnEndType

type ExecutionEventTurnEndType string

ExecutionEventTurnEndType is a generated schema value.

const ExecutionEventTurnEndTypeTurnEnd ExecutionEventTurnEndType = "turn.end"

func (*ExecutionEventTurnEndType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnFinishBefore

type ExecutionEventTurnFinishBefore struct {
	ContinuationCount    json.Number
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ExecutionEventTurnFinishBeforeGapsItem]
	ID                   string
	Items                []*ModelVisibleItem
	LastAssistantItem    Optional[ExecutionEventTurnFinishBeforeLastAssistantItem]
	Native               Optional[*NativeEvent]
	Outcome              ExecutionEventTurnFinishBeforeOutcome
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 ExecutionEventTurnFinishBeforeTurn
	Type                 ExecutionEventTurnFinishBeforeType
	Usage                Optional[*ExecutionEventTurnusage]
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventTurnFinishBefore is generated from schema/draft/execution-event.schema.json#/$defs/turn.finish.before.

func (ExecutionEventTurnFinishBefore) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnFinishBefore) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnFinishBeforeGapsItem

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

ExecutionEventTurnFinishBeforeGapsItem is a generated nested model.

func (ExecutionEventTurnFinishBeforeGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnFinishBeforeGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnFinishBeforeLastAssistantItem

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

ExecutionEventTurnFinishBeforeLastAssistantItem is a generated nested model.

func (ExecutionEventTurnFinishBeforeLastAssistantItem) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnFinishBeforeLastAssistantItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnFinishBeforeOutcome

type ExecutionEventTurnFinishBeforeOutcome string

ExecutionEventTurnFinishBeforeOutcome is a generated schema value.

const ExecutionEventTurnFinishBeforeOutcomeCancelled ExecutionEventTurnFinishBeforeOutcome = "cancelled"
const ExecutionEventTurnFinishBeforeOutcomeCompleted ExecutionEventTurnFinishBeforeOutcome = "completed"
const ExecutionEventTurnFinishBeforeOutcomeFailed ExecutionEventTurnFinishBeforeOutcome = "failed"
const ExecutionEventTurnFinishBeforeOutcomeMaxIterations ExecutionEventTurnFinishBeforeOutcome = "max_iterations"

func (*ExecutionEventTurnFinishBeforeOutcome) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnFinishBeforeTurn

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

ExecutionEventTurnFinishBeforeTurn is a generated nested model.

func (ExecutionEventTurnFinishBeforeTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnFinishBeforeTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnFinishBeforeType

type ExecutionEventTurnFinishBeforeType string

ExecutionEventTurnFinishBeforeType is a generated schema value.

const ExecutionEventTurnFinishBeforeTypeTurnFinishBefore ExecutionEventTurnFinishBeforeType = "turn.finish.before"

func (*ExecutionEventTurnFinishBeforeType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnProgress

type ExecutionEventTurnProgress struct {
	Delta                *ModelVisibleItem
	Extensions           Optional[*Extensions]
	Final                bool
	Gaps                 Optional[[]ExecutionEventTurnProgressGapsItem]
	ID                   string
	Item                 ExecutionEventTurnProgressItem
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 ExecutionEventTurnProgressTurn
	Type                 ExecutionEventTurnProgressType
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventTurnProgress is generated from schema/draft/execution-event.schema.json#/$defs/turn.progress.

func (ExecutionEventTurnProgress) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnProgress) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnProgressGapsItem

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

ExecutionEventTurnProgressGapsItem is a generated nested model.

func (ExecutionEventTurnProgressGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnProgressGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnProgressItem

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

ExecutionEventTurnProgressItem is a generated nested model.

func (ExecutionEventTurnProgressItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnProgressItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnProgressTurn

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

ExecutionEventTurnProgressTurn is a generated nested model.

func (ExecutionEventTurnProgressTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnProgressTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnProgressType

type ExecutionEventTurnProgressType string

ExecutionEventTurnProgressType is a generated schema value.

const ExecutionEventTurnProgressTypeTurnProgress ExecutionEventTurnProgressType = "turn.progress"

func (*ExecutionEventTurnProgressType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnStart

type ExecutionEventTurnStart struct {
	ExpandedFrom         Optional[string]
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ExecutionEventTurnStartGapsItem]
	ID                   string
	Items                []*ModelVisibleItem
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Trigger              ExecutionEventTurnStartTrigger
	Turn                 ExecutionEventTurnStartTurn
	Type                 ExecutionEventTurnStartType
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventTurnStart is generated from schema/draft/execution-event.schema.json#/$defs/turn.start.

func (ExecutionEventTurnStart) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnStart) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnStartGapsItem

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

ExecutionEventTurnStartGapsItem is a generated nested model.

func (ExecutionEventTurnStartGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnStartGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnStartTrigger

type ExecutionEventTurnStartTrigger string

ExecutionEventTurnStartTrigger is a generated schema value.

const ExecutionEventTurnStartTriggerContinuation ExecutionEventTurnStartTrigger = "continuation"
const ExecutionEventTurnStartTriggerExternal ExecutionEventTurnStartTrigger = "external"
const ExecutionEventTurnStartTriggerHook ExecutionEventTurnStartTrigger = "hook"
const ExecutionEventTurnStartTriggerUser ExecutionEventTurnStartTrigger = "user"

func (*ExecutionEventTurnStartTrigger) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnStartTurn

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

ExecutionEventTurnStartTurn is a generated nested model.

func (ExecutionEventTurnStartTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnStartTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnStartType

type ExecutionEventTurnStartType string

ExecutionEventTurnStartType is a generated schema value.

const ExecutionEventTurnStartTypeTurnStart ExecutionEventTurnStartType = "turn.start"

func (*ExecutionEventTurnStartType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnusage

type ExecutionEventTurnusage struct {
	CacheReadTokens      Optional[json.Number]
	CacheWriteTokens     Optional[json.Number]
	Completeness         ExecutionEventTurnusageCompleteness
	Cost                 Optional[ExecutionEventTurnusageCost]
	InputTokens          Optional[json.Number]
	Kind                 ExecutionEventTurnusageKind
	OutputTokens         Optional[json.Number]
	Provenance           ExecutionEventTurnusageProvenance
	Scope                ExecutionEventTurnusageScope
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventTurnusage is generated from schema/draft/execution-event.schema.json#/$defs/turnUsage.

func (ExecutionEventTurnusage) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnusage) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnusageCompleteness

type ExecutionEventTurnusageCompleteness string

ExecutionEventTurnusageCompleteness is a generated schema value.

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

func (*ExecutionEventTurnusageCompleteness) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnusageCost

type ExecutionEventTurnusageCost struct {
	Amount               json.Number
	Basis                ExecutionEventTurnusageCostBasis
	Currency             string
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventTurnusageCost is a generated nested model.

func (ExecutionEventTurnusageCost) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventTurnusageCost) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnusageCostBasis

type ExecutionEventTurnusageCostBasis string

ExecutionEventTurnusageCostBasis is a generated schema value.

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

func (*ExecutionEventTurnusageCostBasis) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnusageKind added in v0.1.1

type ExecutionEventTurnusageKind ExecutionEventTurnusageKindValue

ExecutionEventTurnusageKind is a structurally validated schema value.

func (ExecutionEventTurnusageKind) MarshalJSON added in v0.1.1

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

func (*ExecutionEventTurnusageKind) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnusageKindValue added in v0.1.1

type ExecutionEventTurnusageKindValue string

ExecutionEventTurnusageKindValue is a generated schema value.

const ExecutionEventTurnusageKindValueAmount ExecutionEventTurnusageKindValue = "amount"
const ExecutionEventTurnusageKindValueTotal ExecutionEventTurnusageKindValue = "total"

func (*ExecutionEventTurnusageKindValue) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnusageProvenance

type ExecutionEventTurnusageProvenance string

ExecutionEventTurnusageProvenance is a generated schema value.

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

func (*ExecutionEventTurnusageProvenance) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnusageScope added in v0.1.1

type ExecutionEventTurnusageScope ExecutionEventTurnusageScopeValue

ExecutionEventTurnusageScope is a structurally validated schema value.

func (ExecutionEventTurnusageScope) MarshalJSON added in v0.1.1

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

func (*ExecutionEventTurnusageScope) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventTurnusageScopeValue added in v0.1.1

type ExecutionEventTurnusageScopeValue string

ExecutionEventTurnusageScopeValue is a generated schema value.

const ExecutionEventTurnusageScopeValueAttempt ExecutionEventTurnusageScopeValue = "attempt"
const ExecutionEventTurnusageScopeValueTurn ExecutionEventTurnusageScopeValue = "turn"

func (*ExecutionEventTurnusageScopeValue) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventUsage

type ExecutionEventUsage struct {
	CacheReadTokens      Optional[json.Number]
	CacheWriteTokens     Optional[json.Number]
	Completeness         ExecutionEventUsageCompleteness
	Cost                 Optional[ExecutionEventUsageCost]
	InputTokens          Optional[json.Number]
	Kind                 ExecutionEventUsageKind
	OutputTokens         Optional[json.Number]
	Provenance           ExecutionEventUsageProvenance
	Scope                ExecutionEventUsageScope
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventUsage is generated from schema/draft/execution-event.schema.json#/$defs/usage.

func (ExecutionEventUsage) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventUsage) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventUsageCompleteness

type ExecutionEventUsageCompleteness string

ExecutionEventUsageCompleteness is a generated schema value.

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

func (*ExecutionEventUsageCompleteness) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventUsageCost

type ExecutionEventUsageCost struct {
	Amount               json.Number
	Basis                ExecutionEventUsageCostBasis
	Currency             string
	AdditionalProperties map[string]json.RawMessage
}

ExecutionEventUsageCost is a generated nested model.

func (ExecutionEventUsageCost) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*ExecutionEventUsageCost) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventUsageCostBasis

type ExecutionEventUsageCostBasis string

ExecutionEventUsageCostBasis is a generated schema value.

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

func (*ExecutionEventUsageCostBasis) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventUsageKind

type ExecutionEventUsageKind string

ExecutionEventUsageKind is a generated schema value.

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

func (*ExecutionEventUsageKind) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventUsageProvenance

type ExecutionEventUsageProvenance string

ExecutionEventUsageProvenance is a generated schema value.

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

func (*ExecutionEventUsageProvenance) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ExecutionEventUsageScope

type ExecutionEventUsageScope string

ExecutionEventUsageScope is a generated schema value.

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

func (*ExecutionEventUsageScope) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type Extensions

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

Extensions is generated from schema/draft/extensions.schema.json#.

func (Extensions) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*Extensions) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type FileChangedEvent

type FileChangedEvent struct {
	Changes              []FileChangedEventChangesItem
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]FileChangedEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[FileChangedEventTurn]
	Type                 FileChangedEventType
	AdditionalProperties map[string]json.RawMessage
}

FileChangedEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/file.changed.

func (FileChangedEvent) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*FileChangedEvent) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type FileChangedEventChangesItem

type FileChangedEventChangesItem struct {
	After                Optional[*ContentItem]
	AgentCaused          bool
	Before               Optional[*ContentItem]
	Operation            FileChangedEventChangesItemOperation
	Path                 string
	AdditionalProperties map[string]json.RawMessage
}

FileChangedEventChangesItem is a generated nested model.

func (FileChangedEventChangesItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*FileChangedEventChangesItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type FileChangedEventChangesItemOperation

type FileChangedEventChangesItemOperation string

FileChangedEventChangesItemOperation is a generated schema value.

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

func (*FileChangedEventChangesItemOperation) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type FileChangedEventGapsItem

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

FileChangedEventGapsItem is a generated nested model.

func (FileChangedEventGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*FileChangedEventGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type FileChangedEventTurn

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

FileChangedEventTurn is a generated nested model.

func (FileChangedEventTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*FileChangedEventTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type FileChangedEventType

type FileChangedEventType string

FileChangedEventType is a generated schema value.

const FileChangedEventTypeFileChanged FileChangedEventType = "file.changed"

func (*FileChangedEventType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type FormAnswerValue added in v0.4.0

type FormAnswerValue struct {
	String      Optional[string]
	Number      Optional[json.Number]
	Boolean     Optional[bool]
	StringArray Optional[[]string]
	Unknown     json.RawMessage
}

FormAnswerValue is generated from schema/draft/mcp-elicitation.schema.json#/$defs/FormAnswerValue.

func (FormAnswerValue) MarshalJSON added in v0.4.0

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

func (*FormAnswerValue) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type FormAnswers added in v0.4.0

type FormAnswers map[string]*FormAnswerValue

FormAnswers is a structurally validated schema value.

func (FormAnswers) MarshalJSON added in v0.4.0

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

func (*FormAnswers) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type HookFailureEvent

type HookFailureEvent struct {
	Extensions           Optional[*Extensions]
	Failure              HookFailureEventFailure
	Gaps                 Optional[[]HookFailureEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        string
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[HookFailureEventTurn]
	Type                 HookFailureEventType
	AdditionalProperties map[string]json.RawMessage
}

HookFailureEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/hook.failure.

func (HookFailureEvent) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*HookFailureEvent) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type HookFailureEventFailure

type HookFailureEventFailure struct {
	BackendId            string
	Policy               HookFailureEventFailurePolicy
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

HookFailureEventFailure is a generated nested model.

func (HookFailureEventFailure) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*HookFailureEventFailure) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type HookFailureEventFailurePolicy

type HookFailureEventFailurePolicy string

HookFailureEventFailurePolicy is a generated schema value.

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

func (*HookFailureEventFailurePolicy) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type HookFailureEventGapsItem

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

HookFailureEventGapsItem is a generated nested model.

func (HookFailureEventGapsItem) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*HookFailureEventGapsItem) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type HookFailureEventTurn

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

HookFailureEventTurn is a generated nested model.

func (HookFailureEventTurn) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*HookFailureEventTurn) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type HookFailureEventType

type HookFailureEventType string

HookFailureEventType is a generated schema value.

const HookFailureEventTypeHookFailure HookFailureEventType = "hook.failure"

func (*HookFailureEventType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type HttpTransport

type HttpTransport struct {
	Type                 HttpTransportType
	URL                  string
	AdditionalProperties map[string]json.RawMessage
}

HttpTransport is generated from schema/draft/registration.schema.json#/$defs/httpTransport.

func (HttpTransport) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*HttpTransport) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type HttpTransportType

type HttpTransportType string

HttpTransportType is a generated schema value.

const HttpTransportTypeHTTP HttpTransportType = "http"

func (*HttpTransportType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InjectEffect added in v0.4.0

type InjectEffect struct {
	DeliverAt            InjectEffectDeliverAt
	Operation            InjectEffectOperation
	Target               InjectEffectTarget
	Type                 InjectEffectType
	Value                *CanonicalMessages
	AdditionalProperties map[string]json.RawMessage
}

InjectEffect is generated from schema/draft/effect.schema.json#/$defs/InjectEffect.

func (InjectEffect) MarshalJSON added in v0.4.0

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

MarshalJSON emits known fields together with all retained members.

func (*InjectEffect) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InjectEffectDeliverAt added in v0.4.0

type InjectEffectDeliverAt string

InjectEffectDeliverAt is a generated schema value.

const InjectEffectDeliverAtNextTurn InjectEffectDeliverAt = "next_turn"
const InjectEffectDeliverAtNow InjectEffectDeliverAt = "now"

func (*InjectEffectDeliverAt) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InjectEffectOperation added in v0.4.0

type InjectEffectOperation string

InjectEffectOperation is a generated schema value.

const InjectEffectOperationAppend InjectEffectOperation = "append"

func (*InjectEffectOperation) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InjectEffectTarget added in v0.4.0

type InjectEffectTarget string

InjectEffectTarget is a generated schema value.

const InjectEffectTargetContext InjectEffectTarget = "context"

func (*InjectEffectTarget) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InjectEffectType added in v0.4.0

type InjectEffectType string

InjectEffectType is a generated schema value.

const InjectEffectTypeInject InjectEffectType = "inject"

func (*InjectEffectType) UnmarshalJSON added in v0.4.0

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEvent

type InteractionEvent struct {
	InteractionEventConfigChangeBefore     Optional[*InteractionEventConfigChangeBefore]
	InteractionEventConfigChangeAfter      Optional[*InteractionEventConfigChangeAfter]
	InteractionEventUserAttention          Optional[*InteractionEventUserAttention]
	InteractionEventUserElicitationRequest Optional[*InteractionEventUserElicitationRequest]
	InteractionEventUserElicitationResult  Optional[*InteractionEventUserElicitationResult]
	InteractionEventUserMessageInbound     Optional[*InteractionEventUserMessageInbound]
	InteractionEventUserMessageOutbound    Optional[*InteractionEventUserMessageOutbound]
	InteractionEventHookFailure            Optional[*InteractionEventHookFailure]
	Unknown                                json.RawMessage
}

InteractionEvent is generated from schema/draft/interaction-event.schema.json#.

func (InteractionEvent) MarshalJSON

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

func (*InteractionEvent) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventConfigChangeAfter

type InteractionEventConfigChangeAfter struct {
	Change               InteractionEventConfigChangeAfterChange
	Type                 InteractionEventConfigChangeAfterType
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventConfigChangeAfter is generated from schema/draft/interaction-event.schema.json#/$defs/config.change.after.

func (InteractionEventConfigChangeAfter) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventConfigChangeAfter) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventConfigChangeAfterChange

type InteractionEventConfigChangeAfterChange struct {
	McpServers           Optional[[]InteractionEventConfigChangeAfterChangeMcpServersItem]
	Path                 Optional[string]
	Scope                string
	Settings             []string
	Source               string
	Summary              string
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventConfigChangeAfterChange is a generated nested model.

func (InteractionEventConfigChangeAfterChange) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventConfigChangeAfterChange) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventConfigChangeAfterChangeMcpServersItem

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

InteractionEventConfigChangeAfterChangeMcpServersItem is a generated nested model.

func (InteractionEventConfigChangeAfterChangeMcpServersItem) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventConfigChangeAfterChangeMcpServersItem) UnmarshalJSON

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventConfigChangeAfterType

type InteractionEventConfigChangeAfterType string

InteractionEventConfigChangeAfterType is a generated schema value.

const InteractionEventConfigChangeAfterTypeConfigChangeAfter InteractionEventConfigChangeAfterType = "config.change.after"

func (*InteractionEventConfigChangeAfterType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventConfigChangeBefore

type InteractionEventConfigChangeBefore struct {
	Change               InteractionEventConfigChangeBeforeChange
	Type                 InteractionEventConfigChangeBeforeType
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventConfigChangeBefore is generated from schema/draft/interaction-event.schema.json#/$defs/config.change.before.

func (InteractionEventConfigChangeBefore) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventConfigChangeBefore) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventConfigChangeBeforeChange

type InteractionEventConfigChangeBeforeChange struct {
	Path                 Optional[string]
	Scope                string
	Settings             []string
	Source               string
	Summary              string
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventConfigChangeBeforeChange is a generated nested model.

func (InteractionEventConfigChangeBeforeChange) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventConfigChangeBeforeChange) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventConfigChangeBeforeType

type InteractionEventConfigChangeBeforeType string

InteractionEventConfigChangeBeforeType is a generated schema value.

const InteractionEventConfigChangeBeforeTypeConfigChangeBefore InteractionEventConfigChangeBeforeType = "config.change.before"

func (*InteractionEventConfigChangeBeforeType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventHookFailure

type InteractionEventHookFailure struct {
	Failure              InteractionEventHookFailureFailure
	ParentEventId        string
	Type                 InteractionEventHookFailureType
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventHookFailure is generated from schema/draft/interaction-event.schema.json#/$defs/hook.failure.

func (InteractionEventHookFailure) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventHookFailure) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventHookFailureFailure

type InteractionEventHookFailureFailure struct {
	BackendId            string
	Policy               InteractionEventHookFailureFailurePolicy
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventHookFailureFailure is a generated nested model.

func (InteractionEventHookFailureFailure) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventHookFailureFailure) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventHookFailureFailurePolicy

type InteractionEventHookFailureFailurePolicy string

InteractionEventHookFailureFailurePolicy is a generated schema value.

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

func (*InteractionEventHookFailureFailurePolicy) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventHookFailureType

type InteractionEventHookFailureType string

InteractionEventHookFailureType is a generated schema value.

const InteractionEventHookFailureTypeHookFailure InteractionEventHookFailureType = "hook.failure"

func (*InteractionEventHookFailureType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserAttention

type InteractionEventUserAttention struct {
	Attention            InteractionEventUserAttentionAttention
	Type                 InteractionEventUserAttentionType
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventUserAttention is generated from schema/draft/interaction-event.schema.json#/$defs/user.attention.

func (InteractionEventUserAttention) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventUserAttention) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserAttentionAttention

type InteractionEventUserAttentionAttention struct {
	Kind                 string
	Message              *TextParts
	Title                *TextParts
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventUserAttentionAttention is a generated nested model.

func (InteractionEventUserAttentionAttention) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventUserAttentionAttention) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserAttentionType

type InteractionEventUserAttentionType string

InteractionEventUserAttentionType is a generated schema value.

const InteractionEventUserAttentionTypeUserAttention InteractionEventUserAttentionType = "user.attention"

func (*InteractionEventUserAttentionType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserElicitationRequest

type InteractionEventUserElicitationRequest struct {
	Elicitation          InteractionEventUserElicitationRequestElicitation
	Type                 InteractionEventUserElicitationRequestType
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventUserElicitationRequest is generated from schema/draft/interaction-event.schema.json#/$defs/user.elicitation.request.

func (InteractionEventUserElicitationRequest) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventUserElicitationRequest) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserElicitationRequestElicitation

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

InteractionEventUserElicitationRequestElicitation is a generated nested model.

func (InteractionEventUserElicitationRequestElicitation) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventUserElicitationRequestElicitation) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserElicitationRequestElicitationMode

type InteractionEventUserElicitationRequestElicitationMode string

InteractionEventUserElicitationRequestElicitationMode is a generated schema value.

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

func (*InteractionEventUserElicitationRequestElicitationMode) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserElicitationRequestType

type InteractionEventUserElicitationRequestType string

InteractionEventUserElicitationRequestType is a generated schema value.

const InteractionEventUserElicitationRequestTypeUserElicitationRequest InteractionEventUserElicitationRequestType = "user.elicitation.request"

func (*InteractionEventUserElicitationRequestType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserElicitationResult

type InteractionEventUserElicitationResult struct {
	Elicitation          InteractionEventUserElicitationResultElicitation
	Type                 InteractionEventUserElicitationResultType
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventUserElicitationResult is generated from schema/draft/interaction-event.schema.json#/$defs/user.elicitation.result.

func (InteractionEventUserElicitationResult) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventUserElicitationResult) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserElicitationResultElicitation

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

InteractionEventUserElicitationResultElicitation is a generated nested model.

func (InteractionEventUserElicitationResultElicitation) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventUserElicitationResultElicitation) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserElicitationResultElicitationAction

type InteractionEventUserElicitationResultElicitationAction string

InteractionEventUserElicitationResultElicitationAction is a generated schema value.

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

func (*InteractionEventUserElicitationResultElicitationAction) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserElicitationResultElicitationMode

type InteractionEventUserElicitationResultElicitationMode string

InteractionEventUserElicitationResultElicitationMode is a generated schema value.

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

func (*InteractionEventUserElicitationResultElicitationMode) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserElicitationResultType

type InteractionEventUserElicitationResultType string

InteractionEventUserElicitationResultType is a generated schema value.

const InteractionEventUserElicitationResultTypeUserElicitationResult InteractionEventUserElicitationResultType = "user.elicitation.result"

func (*InteractionEventUserElicitationResultType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserMessageInbound

type InteractionEventUserMessageInbound struct {
	Message              InteractionEventUserMessageInboundMessage
	Type                 InteractionEventUserMessageInboundType
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventUserMessageInbound is generated from schema/draft/interaction-event.schema.json#/$defs/user.message.inbound.

func (InteractionEventUserMessageInbound) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventUserMessageInbound) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserMessageInboundMessage

type InteractionEventUserMessageInboundMessage struct {
	Channel              string
	Messages             []InteractionEventUserMessageInboundMessageMessagesItem
	Sender               string
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventUserMessageInboundMessage is a generated nested model.

func (InteractionEventUserMessageInboundMessage) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventUserMessageInboundMessage) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserMessageInboundMessageMessagesItem added in v0.3.0

type InteractionEventUserMessageInboundMessageMessagesItem struct {
	ID                   string
	Parts                []*ContentItem
	Role                 InteractionEventUserMessageInboundMessageMessagesItemRole
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventUserMessageInboundMessageMessagesItem is a generated nested model.

func (InteractionEventUserMessageInboundMessageMessagesItem) MarshalJSON added in v0.3.0

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventUserMessageInboundMessageMessagesItem) UnmarshalJSON added in v0.3.0

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserMessageInboundMessageMessagesItemRole added in v0.3.0

type InteractionEventUserMessageInboundMessageMessagesItemRole InteractionEventUserMessageInboundMessageMessagesItemRoleValue

InteractionEventUserMessageInboundMessageMessagesItemRole is a structurally validated schema value.

func (InteractionEventUserMessageInboundMessageMessagesItemRole) MarshalJSON added in v0.3.0

func (*InteractionEventUserMessageInboundMessageMessagesItemRole) UnmarshalJSON added in v0.3.0

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserMessageInboundMessageMessagesItemRoleValue added in v0.3.0

type InteractionEventUserMessageInboundMessageMessagesItemRoleValue string

InteractionEventUserMessageInboundMessageMessagesItemRoleValue is a generated schema value.

const InteractionEventUserMessageInboundMessageMessagesItemRoleValueAssistant InteractionEventUserMessageInboundMessageMessagesItemRoleValue = "assistant"
const InteractionEventUserMessageInboundMessageMessagesItemRoleValueDeveloper InteractionEventUserMessageInboundMessageMessagesItemRoleValue = "developer"
const InteractionEventUserMessageInboundMessageMessagesItemRoleValueSystem InteractionEventUserMessageInboundMessageMessagesItemRoleValue = "system"
const InteractionEventUserMessageInboundMessageMessagesItemRoleValueTool InteractionEventUserMessageInboundMessageMessagesItemRoleValue = "tool"
const InteractionEventUserMessageInboundMessageMessagesItemRoleValueUser InteractionEventUserMessageInboundMessageMessagesItemRoleValue = "user"

func (*InteractionEventUserMessageInboundMessageMessagesItemRoleValue) UnmarshalJSON added in v0.3.0

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserMessageInboundType

type InteractionEventUserMessageInboundType string

InteractionEventUserMessageInboundType is a generated schema value.

const InteractionEventUserMessageInboundTypeUserMessageInbound InteractionEventUserMessageInboundType = "user.message.inbound"

func (*InteractionEventUserMessageInboundType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserMessageOutbound

type InteractionEventUserMessageOutbound struct {
	Message              InteractionEventUserMessageOutboundMessage
	Type                 InteractionEventUserMessageOutboundType
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventUserMessageOutbound is generated from schema/draft/interaction-event.schema.json#/$defs/user.message.outbound.

func (InteractionEventUserMessageOutbound) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventUserMessageOutbound) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserMessageOutboundMessage

type InteractionEventUserMessageOutboundMessage struct {
	Channel              string
	Messages             []InteractionEventUserMessageOutboundMessageMessagesItem
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventUserMessageOutboundMessage is a generated nested model.

func (InteractionEventUserMessageOutboundMessage) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventUserMessageOutboundMessage) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserMessageOutboundMessageMessagesItem added in v0.3.0

type InteractionEventUserMessageOutboundMessageMessagesItem struct {
	ID                   string
	Parts                []*ContentItem
	Role                 InteractionEventUserMessageOutboundMessageMessagesItemRole
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

InteractionEventUserMessageOutboundMessageMessagesItem is a generated nested model.

func (InteractionEventUserMessageOutboundMessageMessagesItem) MarshalJSON added in v0.3.0

MarshalJSON emits known fields together with all retained members.

func (*InteractionEventUserMessageOutboundMessageMessagesItem) UnmarshalJSON added in v0.3.0

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserMessageOutboundMessageMessagesItemRole added in v0.3.0

type InteractionEventUserMessageOutboundMessageMessagesItemRole InteractionEventUserMessageOutboundMessageMessagesItemRoleValue

InteractionEventUserMessageOutboundMessageMessagesItemRole is a structurally validated schema value.

func (InteractionEventUserMessageOutboundMessageMessagesItemRole) MarshalJSON added in v0.3.0

func (*InteractionEventUserMessageOutboundMessageMessagesItemRole) UnmarshalJSON added in v0.3.0

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserMessageOutboundMessageMessagesItemRoleValue added in v0.3.0

type InteractionEventUserMessageOutboundMessageMessagesItemRoleValue string

InteractionEventUserMessageOutboundMessageMessagesItemRoleValue is a generated schema value.

const InteractionEventUserMessageOutboundMessageMessagesItemRoleValueAssistant InteractionEventUserMessageOutboundMessageMessagesItemRoleValue = "assistant"
const InteractionEventUserMessageOutboundMessageMessagesItemRoleValueDeveloper InteractionEventUserMessageOutboundMessageMessagesItemRoleValue = "developer"
const InteractionEventUserMessageOutboundMessageMessagesItemRoleValueSystem InteractionEventUserMessageOutboundMessageMessagesItemRoleValue = "system"
const InteractionEventUserMessageOutboundMessageMessagesItemRoleValueTool InteractionEventUserMessageOutboundMessageMessagesItemRoleValue = "tool"
const InteractionEventUserMessageOutboundMessageMessagesItemRoleValueUser InteractionEventUserMessageOutboundMessageMessagesItemRoleValue = "user"

func (*InteractionEventUserMessageOutboundMessageMessagesItemRoleValue) UnmarshalJSON added in v0.3.0

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InteractionEventUserMessageOutboundType

type InteractionEventUserMessageOutboundType string

InteractionEventUserMessageOutboundType is a generated schema value.

const InteractionEventUserMessageOutboundTypeUserMessageOutbound InteractionEventUserMessageOutboundType = "user.message.outbound"

func (*InteractionEventUserMessageOutboundType) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptDenyResponse

type InterceptDenyResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              InterceptDenyResponseJSONRPC
	Result               InterceptDenyResponseResult
	AdditionalProperties map[string]json.RawMessage
}

InterceptDenyResponse is generated from schema/draft/intercept-deny-response.schema.json#.

func (InterceptDenyResponse) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InterceptDenyResponse) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptDenyResponseJSONRPC

type InterceptDenyResponseJSONRPC string

InterceptDenyResponseJSONRPC is a generated schema value.

const InterceptDenyResponseJSONRPCValue20 InterceptDenyResponseJSONRPC = "2.0"

func (*InterceptDenyResponseJSONRPC) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptDenyResponseResult

type InterceptDenyResponseResult struct {
	Effects              Optional[[]*Effect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

InterceptDenyResponseResult is a generated nested model.

func (InterceptDenyResponseResult) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InterceptDenyResponseResult) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptNoEffectResponse

type InterceptNoEffectResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              InterceptNoEffectResponseJSONRPC
	Result               InterceptNoEffectResponseResult
	AdditionalProperties map[string]json.RawMessage
}

InterceptNoEffectResponse is generated from schema/draft/intercept-no-effect-response.schema.json#.

func (InterceptNoEffectResponse) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InterceptNoEffectResponse) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptNoEffectResponseJSONRPC

type InterceptNoEffectResponseJSONRPC string

InterceptNoEffectResponseJSONRPC is a generated schema value.

const InterceptNoEffectResponseJSONRPCValue20 InterceptNoEffectResponseJSONRPC = "2.0"

func (*InterceptNoEffectResponseJSONRPC) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptNoEffectResponseResult

type InterceptNoEffectResponseResult struct {
	Effects              Optional[[]*Effect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

InterceptNoEffectResponseResult is a generated nested model.

func (InterceptNoEffectResponseResult) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InterceptNoEffectResponseResult) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequest

type InterceptRequest struct {
	ID                   *JsonRpcId
	JSONRPC              InterceptRequestJSONRPC
	Method               InterceptRequestMethod
	Params               InterceptRequestParams
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequest is generated from schema/draft/intercept-request.schema.json#.

func (InterceptRequest) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequest) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestJSONRPC

type InterceptRequestJSONRPC string

InterceptRequestJSONRPC is a generated schema value.

const InterceptRequestJSONRPCValue20 InterceptRequestJSONRPC = "2.0"

func (*InterceptRequestJSONRPC) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestMethod added in v0.1.1

type InterceptRequestMethod InterceptRequestMethodValue

InterceptRequestMethod is a structurally validated schema value.

func (InterceptRequestMethod) MarshalJSON added in v0.1.1

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

func (*InterceptRequestMethod) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestMethodValue added in v0.1.1

type InterceptRequestMethodValue string

InterceptRequestMethodValue is a generated schema value.

const InterceptRequestMethodValueHooksIntercept InterceptRequestMethodValue = "hooks/intercept"

func (*InterceptRequestMethodValue) UnmarshalJSON added in v0.1.1

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParams

type InterceptRequestParams struct {
	Capabilities         InterceptRequestParamsCapabilities
	Event                *Event
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	State                Optional[InterceptRequestParamsState]
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParams is a generated nested model.

func (InterceptRequestParams) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParams) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilities

InterceptRequestParamsCapabilities is a generated nested model.

func (InterceptRequestParamsCapabilities) MarshalJSON

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

MarshalJSON emits known fields together with all retained members.

func (InterceptRequestParamsCapabilities) Supports added in v0.1.1

func (value InterceptRequestParamsCapabilities) Supports(effect EffectName) bool

Supports reports advertised effect-family membership only. It does not grant execution permission or check target, operation, mode, or per-call restrictions. Nested grants alone never imply family support.

func (*InterceptRequestParamsCapabilities) UnmarshalJSON

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

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesEffectsItem

type InterceptRequestParamsCapabilitiesEffectsItem struct {
	Known   Optional[InterceptRequestParamsCapabilitiesEffectsItemKnown]
	Custom  Optional[string]
	Unknown json.RawMessage
}

InterceptRequestParamsCapabilitiesEffectsItem is a generated union model.

func (InterceptRequestParamsCapabilitiesEffectsItem) MarshalJSON

func (value InterceptRequestParamsCapabilitiesEffectsItem) MarshalJSON() ([]byte, error)

func (*InterceptRequestParamsCapabilitiesEffectsItem) UnmarshalJSON

func (value *InterceptRequestParamsCapabilitiesEffectsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesEffectsItemKnown added in v0.1.1

type InterceptRequestParamsCapabilitiesEffectsItemKnown string

InterceptRequestParamsCapabilitiesEffectsItemKnown is a generated schema value.

const InterceptRequestParamsCapabilitiesEffectsItemKnownAllow InterceptRequestParamsCapabilitiesEffectsItemKnown = "allow"
const InterceptRequestParamsCapabilitiesEffectsItemKnownAsk InterceptRequestParamsCapabilitiesEffectsItemKnown = "ask"
const InterceptRequestParamsCapabilitiesEffectsItemKnownDeny InterceptRequestParamsCapabilitiesEffectsItemKnown = "deny"
const InterceptRequestParamsCapabilitiesEffectsItemKnownFlow InterceptRequestParamsCapabilitiesEffectsItemKnown = "flow"
const InterceptRequestParamsCapabilitiesEffectsItemKnownInject InterceptRequestParamsCapabilitiesEffectsItemKnown = "inject"
const InterceptRequestParamsCapabilitiesEffectsItemKnownMessage InterceptRequestParamsCapabilitiesEffectsItemKnown = "message"
const InterceptRequestParamsCapabilitiesEffectsItemKnownModify InterceptRequestParamsCapabilitiesEffectsItemKnown = "modify"
const InterceptRequestParamsCapabilitiesEffectsItemKnownReturn InterceptRequestParamsCapabilitiesEffectsItemKnown = "return"

func (*InterceptRequestParamsCapabilitiesEffectsItemKnown) UnmarshalJSON added in v0.1.1

func (value *InterceptRequestParamsCapabilitiesEffectsItemKnown) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesElicitation

type InterceptRequestParamsCapabilitiesElicitation struct {
	Form                 Optional[InterceptRequestParamsCapabilitiesElicitationForm]
	URL                  Optional[InterceptRequestParamsCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesElicitation is a generated nested model.

func (InterceptRequestParamsCapabilitiesElicitation) MarshalJSON

func (value InterceptRequestParamsCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesElicitation) UnmarshalJSON

func (value *InterceptRequestParamsCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesElicitationForm

type InterceptRequestParamsCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesElicitationForm is a generated nested model.

func (InterceptRequestParamsCapabilitiesElicitationForm) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesElicitationForm) UnmarshalJSON

func (value *InterceptRequestParamsCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesElicitationURL

type InterceptRequestParamsCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesElicitationURL is a generated nested model.

func (InterceptRequestParamsCapabilitiesElicitationURL) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesElicitationURL) UnmarshalJSON

func (value *InterceptRequestParamsCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesFlow

type InterceptRequestParamsCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             []InterceptRequestParamsCapabilitiesFlowOperationsItem
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesFlow is a generated nested model.

func (InterceptRequestParamsCapabilitiesFlow) MarshalJSON

func (value InterceptRequestParamsCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesFlow) UnmarshalJSON

func (value *InterceptRequestParamsCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesFlowOperationsItem

type InterceptRequestParamsCapabilitiesFlowOperationsItem string

InterceptRequestParamsCapabilitiesFlowOperationsItem is a generated schema value.

const InterceptRequestParamsCapabilitiesFlowOperationsItemContinue InterceptRequestParamsCapabilitiesFlowOperationsItem = "continue"
const InterceptRequestParamsCapabilitiesFlowOperationsItemStop InterceptRequestParamsCapabilitiesFlowOperationsItem = "stop"

func (*InterceptRequestParamsCapabilitiesFlowOperationsItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesInject

type InterceptRequestParamsCapabilitiesInject struct {
	Context              InterceptRequestParamsCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesInject is a generated nested model.

func (InterceptRequestParamsCapabilitiesInject) MarshalJSON

func (value InterceptRequestParamsCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesInject) UnmarshalJSON

func (value *InterceptRequestParamsCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesInjectContext

type InterceptRequestParamsCapabilitiesInjectContext struct {
	Append               InterceptRequestParamsCapabilitiesInjectContextAppend
	DeliverAt            []InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesInjectContext is a generated nested model.

func (InterceptRequestParamsCapabilitiesInjectContext) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesInjectContext) UnmarshalJSON

func (value *InterceptRequestParamsCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesInjectContextAppend

type InterceptRequestParamsCapabilitiesInjectContextAppend bool

InterceptRequestParamsCapabilitiesInjectContextAppend is a generated schema value.

const InterceptRequestParamsCapabilitiesInjectContextAppendTrue InterceptRequestParamsCapabilitiesInjectContextAppend = true

func (*InterceptRequestParamsCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem

type InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem string

InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const InterceptRequestParamsCapabilitiesInjectContextDeliverAtItemNextTurn InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem = "next_turn"
const InterceptRequestParamsCapabilitiesInjectContextDeliverAtItemNow InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem = "now"

func (*InterceptRequestParamsCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesModify

InterceptRequestParamsCapabilitiesModify is a generated nested model.

func (InterceptRequestParamsCapabilitiesModify) MarshalJSON

func (value InterceptRequestParamsCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesModify) UnmarshalJSON

func (value *InterceptRequestParamsCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesModifyContent added in v0.1.1

type InterceptRequestParamsCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesModifyContent is a generated nested model.

func (InterceptRequestParamsCapabilitiesModifyContent) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *InterceptRequestParamsCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesModifyInput added in v0.1.1

type InterceptRequestParamsCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesModifyInput is a generated nested model.

func (InterceptRequestParamsCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value InterceptRequestParamsCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *InterceptRequestParamsCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesModifyInstructions added in v0.1.1

type InterceptRequestParamsCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesModifyInstructions is a generated nested model.

func (InterceptRequestParamsCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesModifyOutput added in v0.1.1

type InterceptRequestParamsCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesModifyOutput is a generated nested model.

func (InterceptRequestParamsCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *InterceptRequestParamsCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesModifyPrompt added in v0.1.1

type InterceptRequestParamsCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesModifyPrompt is a generated nested model.

func (InterceptRequestParamsCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *InterceptRequestParamsCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesModifyRequest added in v0.1.1

type InterceptRequestParamsCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesModifyRequest is a generated nested model.

func (InterceptRequestParamsCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *InterceptRequestParamsCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesModifyResponse added in v0.1.1

type InterceptRequestParamsCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesModifyResponse is a generated nested model.

func (InterceptRequestParamsCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *InterceptRequestParamsCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesModifySummary added in v0.1.1

type InterceptRequestParamsCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesModifySummary is a generated nested model.

func (InterceptRequestParamsCapabilitiesModifySummary) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *InterceptRequestParamsCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsCapabilitiesModifyWorkspace added in v0.1.1

type InterceptRequestParamsCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsCapabilitiesModifyWorkspace is a generated nested model.

func (InterceptRequestParamsCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *InterceptRequestParamsCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsState

type InterceptRequestParamsState struct {
	Candidate            Nullable[InterceptRequestParamsStateCandidateValue]
	Flow                 Optional[InterceptRequestParamsStateFlow]
	Injections           Optional[[]*InjectEffect]
	Instructions         Optional[[]string]
	Permission           InterceptRequestParamsStatePermission
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsState is a generated nested model.

func (InterceptRequestParamsState) MarshalJSON

func (value InterceptRequestParamsState) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsState) UnmarshalJSON

func (value *InterceptRequestParamsState) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsStateCandidateValue added in v0.1.1

type InterceptRequestParamsStateCandidateValue struct {
	Provenance           Optional[InterceptRequestParamsStateCandidateValueProvenance]
	Value                json.RawMessage
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsStateCandidateValue is a generated nested model.

func (InterceptRequestParamsStateCandidateValue) MarshalJSON added in v0.1.1

func (value InterceptRequestParamsStateCandidateValue) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsStateCandidateValue) UnmarshalJSON added in v0.1.1

func (value *InterceptRequestParamsStateCandidateValue) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsStateCandidateValueProvenance added in v0.1.1

type InterceptRequestParamsStateCandidateValueProvenance struct {
	AdditionalProperties map[string]json.RawMessage
}

InterceptRequestParamsStateCandidateValueProvenance is a generated nested model.

func (InterceptRequestParamsStateCandidateValueProvenance) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*InterceptRequestParamsStateCandidateValueProvenance) UnmarshalJSON added in v0.1.1

func (value *InterceptRequestParamsStateCandidateValueProvenance) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsStateFlow

type InterceptRequestParamsStateFlow string

InterceptRequestParamsStateFlow is a generated schema value.

const InterceptRequestParamsStateFlowContinue InterceptRequestParamsStateFlow = "continue"
const InterceptRequestParamsStateFlowNone InterceptRequestParamsStateFlow = "none"
const InterceptRequestParamsStateFlowStop InterceptRequestParamsStateFlow = "stop"

func (*InterceptRequestParamsStateFlow) UnmarshalJSON added in v0.1.1

func (value *InterceptRequestParamsStateFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptRequestParamsStatePermission

type InterceptRequestParamsStatePermission string

InterceptRequestParamsStatePermission is a generated schema value.

const InterceptRequestParamsStatePermissionAllow InterceptRequestParamsStatePermission = "allow"
const InterceptRequestParamsStatePermissionAsk InterceptRequestParamsStatePermission = "ask"
const InterceptRequestParamsStatePermissionDeny InterceptRequestParamsStatePermission = "deny"
const InterceptRequestParamsStatePermissionNone InterceptRequestParamsStatePermission = "none"

func (*InterceptRequestParamsStatePermission) UnmarshalJSON added in v0.1.1

func (value *InterceptRequestParamsStatePermission) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptResponse

type InterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              InterceptResponseJSONRPC
	Result               InterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

InterceptResponse is generated from schema/draft/intercept-response.schema.json#.

func (InterceptResponse) MarshalJSON

func (value InterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*InterceptResponse) UnmarshalJSON

func (value *InterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptResponseJSONRPC

type InterceptResponseJSONRPC string

InterceptResponseJSONRPC is a generated schema value.

const InterceptResponseJSONRPCValue20 InterceptResponseJSONRPC = "2.0"

func (*InterceptResponseJSONRPC) UnmarshalJSON added in v0.1.1

func (value *InterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptResponseResult

type InterceptResponseResult struct {
	Effects              Optional[[]*Effect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

InterceptResponseResult is a generated nested model.

func (InterceptResponseResult) MarshalJSON

func (value InterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*InterceptResponseResult) UnmarshalJSON

func (value *InterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptSubscription

type InterceptSubscription struct {
	Content              *ContentSelection
	Disableable          Optional[bool]
	Events               []InterceptSubscriptionEventsItem
	FailurePolicy        InterceptSubscriptionFailurePolicy
	Filters              Optional[InterceptSubscriptionFilters]
	IncludeNative        Optional[bool]
	Mode                 InterceptSubscriptionMode
	Scope                Optional[InterceptSubscriptionScope]
	TimeoutMs            json.Number
	Upload               Optional[*ContentUpload]
	AdditionalProperties map[string]json.RawMessage
}

InterceptSubscription is generated from schema/draft/registration.schema.json#/$defs/interceptSubscription.

func (InterceptSubscription) MarshalJSON

func (value InterceptSubscription) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*InterceptSubscription) UnmarshalJSON

func (value *InterceptSubscription) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptSubscriptionEventsItem

type InterceptSubscriptionEventsItem struct {
	Known   Optional[InterceptSubscriptionEventsItemKnown]
	Custom  Optional[string]
	Unknown json.RawMessage
}

InterceptSubscriptionEventsItem is a generated union model.

func (InterceptSubscriptionEventsItem) MarshalJSON

func (value InterceptSubscriptionEventsItem) MarshalJSON() ([]byte, error)

func (*InterceptSubscriptionEventsItem) UnmarshalJSON

func (value *InterceptSubscriptionEventsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptSubscriptionEventsItemKnown added in v0.1.1

type InterceptSubscriptionEventsItemKnown string

InterceptSubscriptionEventsItemKnown is a generated schema value.

const InterceptSubscriptionEventsItemKnownConfigChangeBefore InterceptSubscriptionEventsItemKnown = "config.change.before"
const InterceptSubscriptionEventsItemKnownContextCompactAfter InterceptSubscriptionEventsItemKnown = "context.compact.after"
const InterceptSubscriptionEventsItemKnownContextCompactBefore InterceptSubscriptionEventsItemKnown = "context.compact.before"
const InterceptSubscriptionEventsItemKnownModelRequestBefore InterceptSubscriptionEventsItemKnown = "model.request.before"
const InterceptSubscriptionEventsItemKnownModelResponseAfter InterceptSubscriptionEventsItemKnown = "model.response.after"
const InterceptSubscriptionEventsItemKnownModelSwitchBefore InterceptSubscriptionEventsItemKnown = "model.switch.before"
const InterceptSubscriptionEventsItemKnownSessionStart InterceptSubscriptionEventsItemKnown = "session.start"
const InterceptSubscriptionEventsItemKnownTaskChangeBefore InterceptSubscriptionEventsItemKnown = "task.change.before"
const InterceptSubscriptionEventsItemKnownToolAfter InterceptSubscriptionEventsItemKnown = "tool.after"
const InterceptSubscriptionEventsItemKnownToolBatchAfter InterceptSubscriptionEventsItemKnown = "tool.batch.after"
const InterceptSubscriptionEventsItemKnownToolBefore InterceptSubscriptionEventsItemKnown = "tool.before"
const InterceptSubscriptionEventsItemKnownToolPermissionRequest InterceptSubscriptionEventsItemKnown = "tool.permission.request"
const InterceptSubscriptionEventsItemKnownTurnFinishBefore InterceptSubscriptionEventsItemKnown = "turn.finish.before"
const InterceptSubscriptionEventsItemKnownTurnStart InterceptSubscriptionEventsItemKnown = "turn.start"
const InterceptSubscriptionEventsItemKnownUserElicitationRequest InterceptSubscriptionEventsItemKnown = "user.elicitation.request"
const InterceptSubscriptionEventsItemKnownUserElicitationResult InterceptSubscriptionEventsItemKnown = "user.elicitation.result"
const InterceptSubscriptionEventsItemKnownUserMessageInbound InterceptSubscriptionEventsItemKnown = "user.message.inbound"
const InterceptSubscriptionEventsItemKnownUserMessageOutbound InterceptSubscriptionEventsItemKnown = "user.message.outbound"
const InterceptSubscriptionEventsItemKnownWorkspaceChangeBefore InterceptSubscriptionEventsItemKnown = "workspace.change.before"

func (*InterceptSubscriptionEventsItemKnown) UnmarshalJSON added in v0.1.1

func (value *InterceptSubscriptionEventsItemKnown) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptSubscriptionFailurePolicy

type InterceptSubscriptionFailurePolicy string

InterceptSubscriptionFailurePolicy is a generated schema value.

const InterceptSubscriptionFailurePolicyFailClosed InterceptSubscriptionFailurePolicy = "fail-closed"
const InterceptSubscriptionFailurePolicyFailOpen InterceptSubscriptionFailurePolicy = "fail-open"

func (*InterceptSubscriptionFailurePolicy) UnmarshalJSON added in v0.1.1

func (value *InterceptSubscriptionFailurePolicy) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptSubscriptionFilters

type InterceptSubscriptionFilters struct {
	Paths                Optional[[]string]
	ToolKinds            Optional[[]string]
	AdditionalProperties map[string]json.RawMessage
}

InterceptSubscriptionFilters is a generated nested model.

func (InterceptSubscriptionFilters) MarshalJSON

func (value InterceptSubscriptionFilters) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*InterceptSubscriptionFilters) UnmarshalJSON

func (value *InterceptSubscriptionFilters) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptSubscriptionMode

type InterceptSubscriptionMode string

InterceptSubscriptionMode is a generated schema value.

const InterceptSubscriptionModeIntercept InterceptSubscriptionMode = "intercept"

func (*InterceptSubscriptionMode) UnmarshalJSON added in v0.1.1

func (value *InterceptSubscriptionMode) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type InterceptSubscriptionScope

type InterceptSubscriptionScope string

InterceptSubscriptionScope is a generated schema value.

const InterceptSubscriptionScopeManaged InterceptSubscriptionScope = "managed"
const InterceptSubscriptionScopeProject InterceptSubscriptionScope = "project"
const InterceptSubscriptionScopeUser InterceptSubscriptionScope = "user"

func (*InterceptSubscriptionScope) UnmarshalJSON added in v0.1.1

func (value *InterceptSubscriptionScope) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type JsonRpcErrorResponse

type JsonRpcErrorResponse struct {
	Error                JsonRpcErrorResponseError
	ID                   JsonRpcResponseId
	JSONRPC              JsonRpcErrorResponseJSONRPC
	AdditionalProperties map[string]json.RawMessage
}

JsonRpcErrorResponse is generated from schema/draft/common.schema.json#/$defs/errorResponse.

func (JsonRpcErrorResponse) MarshalJSON

func (value JsonRpcErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*JsonRpcErrorResponse) UnmarshalJSON

func (value *JsonRpcErrorResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type JsonRpcErrorResponseError

type JsonRpcErrorResponseError struct {
	Code                 json.Number
	Data                 Optional[json.RawMessage]
	Message              string
	AdditionalProperties map[string]json.RawMessage
}

JsonRpcErrorResponseError is a generated nested model.

func (JsonRpcErrorResponseError) MarshalJSON

func (value JsonRpcErrorResponseError) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*JsonRpcErrorResponseError) UnmarshalJSON

func (value *JsonRpcErrorResponseError) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type JsonRpcErrorResponseJSONRPC

type JsonRpcErrorResponseJSONRPC string

JsonRpcErrorResponseJSONRPC is a generated schema value.

const JsonRpcErrorResponseJSONRPCValue20 JsonRpcErrorResponseJSONRPC = "2.0"

func (*JsonRpcErrorResponseJSONRPC) UnmarshalJSON added in v0.1.1

func (value *JsonRpcErrorResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type JsonRpcId

type JsonRpcId struct {
	String  Optional[string]
	Integer Optional[json.Number]
	Unknown json.RawMessage
}

JsonRpcId is generated from schema/draft/common.schema.json#/$defs/jsonRpcId.

func (JsonRpcId) MarshalJSON

func (value JsonRpcId) MarshalJSON() ([]byte, error)

func (*JsonRpcId) UnmarshalJSON

func (value *JsonRpcId) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type JsonRpcMessage

type JsonRpcMessage struct {
	JsonRpcRequest         Optional[*JsonRpcRequest]
	JsonRpcNotification    Optional[*JsonRpcNotification]
	JsonRpcSuccessResponse Optional[*JsonRpcSuccessResponse]
	JsonRpcErrorResponse   Optional[*JsonRpcErrorResponse]
	Unknown                json.RawMessage
}

JsonRpcMessage is generated from schema/draft/json-rpc-message.schema.json#.

func (JsonRpcMessage) MarshalJSON

func (value JsonRpcMessage) MarshalJSON() ([]byte, error)

func (*JsonRpcMessage) UnmarshalJSON

func (value *JsonRpcMessage) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type JsonRpcNotification

type JsonRpcNotification struct {
	JSONRPC              JsonRpcNotificationJSONRPC
	Method               string
	Params               JsonRpcNotificationParams
	AdditionalProperties map[string]json.RawMessage
}

JsonRpcNotification is generated from schema/draft/common.schema.json#/$defs/notification.

func (JsonRpcNotification) MarshalJSON

func (value JsonRpcNotification) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*JsonRpcNotification) UnmarshalJSON

func (value *JsonRpcNotification) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type JsonRpcNotificationJSONRPC

type JsonRpcNotificationJSONRPC string

JsonRpcNotificationJSONRPC is a generated schema value.

const JsonRpcNotificationJSONRPCValue20 JsonRpcNotificationJSONRPC = "2.0"

func (*JsonRpcNotificationJSONRPC) UnmarshalJSON added in v0.1.1

func (value *JsonRpcNotificationJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type JsonRpcNotificationParams

type JsonRpcNotificationParams struct {
	AdditionalProperties map[string]json.RawMessage
}

JsonRpcNotificationParams is a generated nested model.

func (JsonRpcNotificationParams) MarshalJSON

func (value JsonRpcNotificationParams) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*JsonRpcNotificationParams) UnmarshalJSON

func (value *JsonRpcNotificationParams) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type JsonRpcRequest

type JsonRpcRequest struct {
	ID                   *JsonRpcId
	JSONRPC              JsonRpcRequestJSONRPC
	Method               string
	Params               JsonRpcRequestParams
	AdditionalProperties map[string]json.RawMessage
}

JsonRpcRequest is generated from schema/draft/common.schema.json#/$defs/request.

func (JsonRpcRequest) MarshalJSON

func (value JsonRpcRequest) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*JsonRpcRequest) UnmarshalJSON

func (value *JsonRpcRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type JsonRpcRequestJSONRPC

type JsonRpcRequestJSONRPC string

JsonRpcRequestJSONRPC is a generated schema value.

const JsonRpcRequestJSONRPCValue20 JsonRpcRequestJSONRPC = "2.0"

func (*JsonRpcRequestJSONRPC) UnmarshalJSON added in v0.1.1

func (value *JsonRpcRequestJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type JsonRpcRequestParams

type JsonRpcRequestParams struct {
	AdditionalProperties map[string]json.RawMessage
}

JsonRpcRequestParams is a generated nested model.

func (JsonRpcRequestParams) MarshalJSON

func (value JsonRpcRequestParams) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*JsonRpcRequestParams) UnmarshalJSON

func (value *JsonRpcRequestParams) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type JsonRpcResponseId

type JsonRpcResponseId = Nullable[*JsonRpcId]

JsonRpcResponseId distinguishes null from a non-null value.

type JsonRpcSuccessResponse

type JsonRpcSuccessResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              JsonRpcSuccessResponseJSONRPC
	Result               JsonRpcSuccessResponseResult
	AdditionalProperties map[string]json.RawMessage
}

JsonRpcSuccessResponse is generated from schema/draft/common.schema.json#/$defs/successResponse.

func (JsonRpcSuccessResponse) MarshalJSON

func (value JsonRpcSuccessResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*JsonRpcSuccessResponse) UnmarshalJSON

func (value *JsonRpcSuccessResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type JsonRpcSuccessResponseJSONRPC

type JsonRpcSuccessResponseJSONRPC string

JsonRpcSuccessResponseJSONRPC is a generated schema value.

const JsonRpcSuccessResponseJSONRPCValue20 JsonRpcSuccessResponseJSONRPC = "2.0"

func (*JsonRpcSuccessResponseJSONRPC) UnmarshalJSON added in v0.1.1

func (value *JsonRpcSuccessResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type JsonRpcSuccessResponseResult

type JsonRpcSuccessResponseResult struct {
	AdditionalProperties map[string]json.RawMessage
}

JsonRpcSuccessResponseResult is a generated nested model.

func (JsonRpcSuccessResponseResult) MarshalJSON

func (value JsonRpcSuccessResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*JsonRpcSuccessResponseResult) UnmarshalJSON

func (value *JsonRpcSuccessResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationBooleanSchema

type McpElicitationBooleanSchema struct {
	Default              Optional[bool]
	Description          Optional[string]
	Title                Optional[string]
	Type                 McpElicitationBooleanSchemaType
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationBooleanSchema is generated from schema/draft/mcp-elicitation.schema.json#/$defs/BooleanSchema.

func (McpElicitationBooleanSchema) MarshalJSON

func (value McpElicitationBooleanSchema) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationBooleanSchema) UnmarshalJSON

func (value *McpElicitationBooleanSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationBooleanSchemaType

type McpElicitationBooleanSchemaType string

McpElicitationBooleanSchemaType is a generated schema value.

const McpElicitationBooleanSchemaTypeBoolean McpElicitationBooleanSchemaType = "boolean"

func (*McpElicitationBooleanSchemaType) UnmarshalJSON added in v0.1.1

func (value *McpElicitationBooleanSchemaType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationElicitRequestFormParams

McpElicitationElicitRequestFormParams is generated from schema/draft/mcp-elicitation.schema.json#/$defs/ElicitRequestFormParams.

func (McpElicitationElicitRequestFormParams) MarshalJSON

func (value McpElicitationElicitRequestFormParams) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationElicitRequestFormParams) UnmarshalJSON

func (value *McpElicitationElicitRequestFormParams) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationElicitRequestFormParamsMeta

type McpElicitationElicitRequestFormParamsMeta struct {
	ProgressToken        Optional[*McpElicitationProgressToken]
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationElicitRequestFormParamsMeta is a generated nested model.

func (McpElicitationElicitRequestFormParamsMeta) MarshalJSON

func (value McpElicitationElicitRequestFormParamsMeta) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationElicitRequestFormParamsMeta) UnmarshalJSON

func (value *McpElicitationElicitRequestFormParamsMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationElicitRequestFormParamsMode

type McpElicitationElicitRequestFormParamsMode string

McpElicitationElicitRequestFormParamsMode is a generated schema value.

const McpElicitationElicitRequestFormParamsModeForm McpElicitationElicitRequestFormParamsMode = "form"

func (*McpElicitationElicitRequestFormParamsMode) UnmarshalJSON added in v0.1.1

func (value *McpElicitationElicitRequestFormParamsMode) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationElicitRequestFormParamsRequestedSchema

type McpElicitationElicitRequestFormParamsRequestedSchema struct {
	Schema               Optional[string]
	Properties           map[string]*McpElicitationPrimitiveSchemaDefinition
	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 enforces generated structural rules and retains supported extensions.

type McpElicitationElicitRequestFormParamsRequestedSchemaType

type McpElicitationElicitRequestFormParamsRequestedSchemaType string

McpElicitationElicitRequestFormParamsRequestedSchemaType is a generated schema value.

const McpElicitationElicitRequestFormParamsRequestedSchemaTypeObject McpElicitationElicitRequestFormParamsRequestedSchemaType = "object"

func (*McpElicitationElicitRequestFormParamsRequestedSchemaType) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationElicitRequestParams

type McpElicitationElicitRequestParams struct {
	McpElicitationElicitRequestUrlParams  Optional[*McpElicitationElicitRequestURLParams]
	McpElicitationElicitRequestFormParams Optional[*McpElicitationElicitRequestFormParams]
	Unknown                               json.RawMessage
}

McpElicitationElicitRequestParams is generated from schema/draft/mcp-elicitation.schema.json#/$defs/ElicitRequestParams.

func (McpElicitationElicitRequestParams) MarshalJSON

func (value McpElicitationElicitRequestParams) MarshalJSON() ([]byte, error)

func (*McpElicitationElicitRequestParams) UnmarshalJSON

func (value *McpElicitationElicitRequestParams) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationElicitRequestURLParams

type McpElicitationElicitRequestURLParams struct {
	Meta                 Optional[McpElicitationElicitRequestURLParamsMeta]
	ElicitationId        string
	Message              string
	Mode                 McpElicitationElicitRequestURLParamsMode
	Task                 Optional[*McpElicitationTaskMetadata]
	URL                  string
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationElicitRequestURLParams is generated from schema/draft/mcp-elicitation.schema.json#/$defs/ElicitRequestURLParams.

func (McpElicitationElicitRequestURLParams) MarshalJSON

func (value McpElicitationElicitRequestURLParams) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationElicitRequestURLParams) UnmarshalJSON

func (value *McpElicitationElicitRequestURLParams) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationElicitRequestURLParamsMeta

type McpElicitationElicitRequestURLParamsMeta struct {
	ProgressToken        Optional[*McpElicitationProgressToken]
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationElicitRequestURLParamsMeta is a generated nested model.

func (McpElicitationElicitRequestURLParamsMeta) MarshalJSON

func (value McpElicitationElicitRequestURLParamsMeta) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationElicitRequestURLParamsMeta) UnmarshalJSON

func (value *McpElicitationElicitRequestURLParamsMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationElicitRequestURLParamsMode

type McpElicitationElicitRequestURLParamsMode string

McpElicitationElicitRequestURLParamsMode is a generated schema value.

const McpElicitationElicitRequestURLParamsModeURL McpElicitationElicitRequestURLParamsMode = "url"

func (*McpElicitationElicitRequestURLParamsMode) UnmarshalJSON added in v0.1.1

func (value *McpElicitationElicitRequestURLParamsMode) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationElicitResult

type McpElicitationElicitResult struct {
	Meta                 Optional[map[string]json.RawMessage]
	Action               McpElicitationElicitResultAction
	Content              Optional[*FormAnswers]
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationElicitResult is generated from schema/draft/mcp-elicitation.schema.json#/$defs/ElicitResult.

func (McpElicitationElicitResult) MarshalJSON

func (value McpElicitationElicitResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationElicitResult) UnmarshalJSON

func (value *McpElicitationElicitResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationElicitResultAction

type McpElicitationElicitResultAction string

McpElicitationElicitResultAction is a generated schema value.

const McpElicitationElicitResultActionAccept McpElicitationElicitResultAction = "accept"
const McpElicitationElicitResultActionCancel McpElicitationElicitResultAction = "cancel"
const McpElicitationElicitResultActionDecline McpElicitationElicitResultAction = "decline"

func (*McpElicitationElicitResultAction) UnmarshalJSON added in v0.1.1

func (value *McpElicitationElicitResultAction) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationLegacyTitledEnumSchema

type McpElicitationLegacyTitledEnumSchema struct {
	Default              Optional[string]
	Description          Optional[string]
	Enum                 []string
	EnumNames            Optional[[]string]
	Title                Optional[string]
	Type                 McpElicitationLegacyTitledEnumSchemaType
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationLegacyTitledEnumSchema is generated from schema/draft/mcp-elicitation.schema.json#/$defs/LegacyTitledEnumSchema.

func (McpElicitationLegacyTitledEnumSchema) MarshalJSON

func (value McpElicitationLegacyTitledEnumSchema) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationLegacyTitledEnumSchema) UnmarshalJSON

func (value *McpElicitationLegacyTitledEnumSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationLegacyTitledEnumSchemaType

type McpElicitationLegacyTitledEnumSchemaType string

McpElicitationLegacyTitledEnumSchemaType is a generated schema value.

const McpElicitationLegacyTitledEnumSchemaTypeString McpElicitationLegacyTitledEnumSchemaType = "string"

func (*McpElicitationLegacyTitledEnumSchemaType) UnmarshalJSON added in v0.1.1

func (value *McpElicitationLegacyTitledEnumSchemaType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationNumberSchema

type McpElicitationNumberSchema struct {
	Default              Optional[json.Number]
	Description          Optional[string]
	Maximum              Optional[json.Number]
	Minimum              Optional[json.Number]
	Title                Optional[string]
	Type                 McpElicitationNumberSchemaType
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationNumberSchema is generated from schema/draft/mcp-elicitation.schema.json#/$defs/NumberSchema.

func (McpElicitationNumberSchema) MarshalJSON

func (value McpElicitationNumberSchema) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationNumberSchema) UnmarshalJSON

func (value *McpElicitationNumberSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationNumberSchemaType

type McpElicitationNumberSchemaType string

McpElicitationNumberSchemaType is a generated schema value.

const McpElicitationNumberSchemaTypeInteger McpElicitationNumberSchemaType = "integer"
const McpElicitationNumberSchemaTypeNumber McpElicitationNumberSchemaType = "number"

func (*McpElicitationNumberSchemaType) UnmarshalJSON added in v0.1.1

func (value *McpElicitationNumberSchemaType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationPrimitiveSchemaDefinition

type McpElicitationPrimitiveSchemaDefinition struct {
	McpElicitationStringSchema                   Optional[*McpElicitationStringSchema]
	McpElicitationNumberSchema                   Optional[*McpElicitationNumberSchema]
	McpElicitationBooleanSchema                  Optional[*McpElicitationBooleanSchema]
	McpElicitationUntitledSingleSelectEnumSchema Optional[*McpElicitationUntitledSingleSelectEnumSchema]
	McpElicitationTitledSingleSelectEnumSchema   Optional[*McpElicitationTitledSingleSelectEnumSchema]
	McpElicitationUntitledMultiSelectEnumSchema  Optional[*McpElicitationUntitledMultiSelectEnumSchema]
	McpElicitationTitledMultiSelectEnumSchema    Optional[*McpElicitationTitledMultiSelectEnumSchema]
	McpElicitationLegacyTitledEnumSchema         Optional[*McpElicitationLegacyTitledEnumSchema]
	Unknown                                      json.RawMessage
}

McpElicitationPrimitiveSchemaDefinition is generated from schema/draft/mcp-elicitation.schema.json#/$defs/PrimitiveSchemaDefinition.

func (McpElicitationPrimitiveSchemaDefinition) MarshalJSON

func (value McpElicitationPrimitiveSchemaDefinition) MarshalJSON() ([]byte, error)

func (*McpElicitationPrimitiveSchemaDefinition) UnmarshalJSON

func (value *McpElicitationPrimitiveSchemaDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationProgressToken

type McpElicitationProgressToken struct {
	String  Optional[string]
	Number  Optional[json.Number]
	Unknown json.RawMessage
}

McpElicitationProgressToken is generated from schema/draft/mcp-elicitation.schema.json#/$defs/ProgressToken.

func (McpElicitationProgressToken) MarshalJSON

func (value McpElicitationProgressToken) MarshalJSON() ([]byte, error)

func (*McpElicitationProgressToken) UnmarshalJSON

func (value *McpElicitationProgressToken) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationRequest

type McpElicitationRequest = McpElicitationElicitRequestParams

McpElicitationRequest is generated from schema/draft/mcp-elicitation.schema.json#/$defs/request.

type McpElicitationResult

type McpElicitationResult struct {
	Meta                 Optional[map[string]json.RawMessage]
	Action               McpElicitationResultAction
	Content              Optional[*FormAnswers]
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationResult is generated from schema/draft/mcp-elicitation.schema.json#/$defs/result.

func (McpElicitationResult) MarshalJSON

func (value McpElicitationResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationResult) UnmarshalJSON

func (value *McpElicitationResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationResultAction

type McpElicitationResultAction string

McpElicitationResultAction is a generated schema value.

const McpElicitationResultActionAccept McpElicitationResultAction = "accept"
const McpElicitationResultActionCancel McpElicitationResultAction = "cancel"
const McpElicitationResultActionDecline McpElicitationResultAction = "decline"

func (*McpElicitationResultAction) UnmarshalJSON added in v0.1.1

func (value *McpElicitationResultAction) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationStringSchema

type McpElicitationStringSchema struct {
	Default              Optional[string]
	Description          Optional[string]
	Format               Optional[McpElicitationStringSchemaFormat]
	MaxLength            Optional[json.Number]
	MinLength            Optional[json.Number]
	Title                Optional[string]
	Type                 McpElicitationStringSchemaType
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationStringSchema is generated from schema/draft/mcp-elicitation.schema.json#/$defs/StringSchema.

func (McpElicitationStringSchema) MarshalJSON

func (value McpElicitationStringSchema) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationStringSchema) UnmarshalJSON

func (value *McpElicitationStringSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationStringSchemaFormat

type McpElicitationStringSchemaFormat string

McpElicitationStringSchemaFormat is a generated schema value.

const McpElicitationStringSchemaFormatDate McpElicitationStringSchemaFormat = "date"
const McpElicitationStringSchemaFormatDateTime McpElicitationStringSchemaFormat = "date-time"
const McpElicitationStringSchemaFormatEmail McpElicitationStringSchemaFormat = "email"
const McpElicitationStringSchemaFormatURI McpElicitationStringSchemaFormat = "uri"

func (*McpElicitationStringSchemaFormat) UnmarshalJSON added in v0.1.1

func (value *McpElicitationStringSchemaFormat) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationStringSchemaType

type McpElicitationStringSchemaType string

McpElicitationStringSchemaType is a generated schema value.

const McpElicitationStringSchemaTypeString McpElicitationStringSchemaType = "string"

func (*McpElicitationStringSchemaType) UnmarshalJSON added in v0.1.1

func (value *McpElicitationStringSchemaType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationTaskMetadata

type McpElicitationTaskMetadata struct {
	Ttl                  Optional[json.Number]
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationTaskMetadata is generated from schema/draft/mcp-elicitation.schema.json#/$defs/TaskMetadata.

func (McpElicitationTaskMetadata) MarshalJSON

func (value McpElicitationTaskMetadata) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationTaskMetadata) UnmarshalJSON

func (value *McpElicitationTaskMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationTitledMultiSelectEnumSchema

type McpElicitationTitledMultiSelectEnumSchema struct {
	Default              Optional[[]string]
	Description          Optional[string]
	Items                McpElicitationTitledMultiSelectEnumSchemaItems
	MaxItems             Optional[json.Number]
	MinItems             Optional[json.Number]
	Title                Optional[string]
	Type                 McpElicitationTitledMultiSelectEnumSchemaType
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationTitledMultiSelectEnumSchema is generated from schema/draft/mcp-elicitation.schema.json#/$defs/TitledMultiSelectEnumSchema.

func (McpElicitationTitledMultiSelectEnumSchema) MarshalJSON

func (value McpElicitationTitledMultiSelectEnumSchema) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationTitledMultiSelectEnumSchema) UnmarshalJSON

func (value *McpElicitationTitledMultiSelectEnumSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationTitledMultiSelectEnumSchemaItems

type McpElicitationTitledMultiSelectEnumSchemaItems struct {
	AnyOf                []McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationTitledMultiSelectEnumSchemaItems is a generated nested model.

func (McpElicitationTitledMultiSelectEnumSchemaItems) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationTitledMultiSelectEnumSchemaItems) UnmarshalJSON

func (value *McpElicitationTitledMultiSelectEnumSchemaItems) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem

type McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem struct {
	Const                string
	Title                string
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem is a generated nested model.

func (McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationTitledMultiSelectEnumSchemaItemsAnyOfItem) UnmarshalJSON

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationTitledMultiSelectEnumSchemaType

type McpElicitationTitledMultiSelectEnumSchemaType string

McpElicitationTitledMultiSelectEnumSchemaType is a generated schema value.

const McpElicitationTitledMultiSelectEnumSchemaTypeArray McpElicitationTitledMultiSelectEnumSchemaType = "array"

func (*McpElicitationTitledMultiSelectEnumSchemaType) UnmarshalJSON added in v0.1.1

func (value *McpElicitationTitledMultiSelectEnumSchemaType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationTitledSingleSelectEnumSchema

type McpElicitationTitledSingleSelectEnumSchema struct {
	Default              Optional[string]
	Description          Optional[string]
	OneOf                []McpElicitationTitledSingleSelectEnumSchemaOneOfItem
	Title                Optional[string]
	Type                 McpElicitationTitledSingleSelectEnumSchemaType
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationTitledSingleSelectEnumSchema is generated from schema/draft/mcp-elicitation.schema.json#/$defs/TitledSingleSelectEnumSchema.

func (McpElicitationTitledSingleSelectEnumSchema) MarshalJSON

func (value McpElicitationTitledSingleSelectEnumSchema) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationTitledSingleSelectEnumSchema) UnmarshalJSON

func (value *McpElicitationTitledSingleSelectEnumSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationTitledSingleSelectEnumSchemaOneOfItem

type McpElicitationTitledSingleSelectEnumSchemaOneOfItem struct {
	Const                string
	Title                string
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationTitledSingleSelectEnumSchemaOneOfItem is a generated nested model.

func (McpElicitationTitledSingleSelectEnumSchemaOneOfItem) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationTitledSingleSelectEnumSchemaOneOfItem) UnmarshalJSON

func (value *McpElicitationTitledSingleSelectEnumSchemaOneOfItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationTitledSingleSelectEnumSchemaType

type McpElicitationTitledSingleSelectEnumSchemaType string

McpElicitationTitledSingleSelectEnumSchemaType is a generated schema value.

const McpElicitationTitledSingleSelectEnumSchemaTypeString McpElicitationTitledSingleSelectEnumSchemaType = "string"

func (*McpElicitationTitledSingleSelectEnumSchemaType) UnmarshalJSON added in v0.1.1

func (value *McpElicitationTitledSingleSelectEnumSchemaType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationUntitledMultiSelectEnumSchema

type McpElicitationUntitledMultiSelectEnumSchema struct {
	Default              Optional[[]string]
	Description          Optional[string]
	Items                McpElicitationUntitledMultiSelectEnumSchemaItems
	MaxItems             Optional[json.Number]
	MinItems             Optional[json.Number]
	Title                Optional[string]
	Type                 McpElicitationUntitledMultiSelectEnumSchemaType
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationUntitledMultiSelectEnumSchema is generated from schema/draft/mcp-elicitation.schema.json#/$defs/UntitledMultiSelectEnumSchema.

func (McpElicitationUntitledMultiSelectEnumSchema) MarshalJSON

func (value McpElicitationUntitledMultiSelectEnumSchema) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationUntitledMultiSelectEnumSchema) UnmarshalJSON

func (value *McpElicitationUntitledMultiSelectEnumSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationUntitledMultiSelectEnumSchemaItems

type McpElicitationUntitledMultiSelectEnumSchemaItems struct {
	Enum                 []string
	Type                 McpElicitationUntitledMultiSelectEnumSchemaItemsType
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationUntitledMultiSelectEnumSchemaItems is a generated nested model.

func (McpElicitationUntitledMultiSelectEnumSchemaItems) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationUntitledMultiSelectEnumSchemaItems) UnmarshalJSON

func (value *McpElicitationUntitledMultiSelectEnumSchemaItems) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationUntitledMultiSelectEnumSchemaItemsType

type McpElicitationUntitledMultiSelectEnumSchemaItemsType string

McpElicitationUntitledMultiSelectEnumSchemaItemsType is a generated schema value.

const McpElicitationUntitledMultiSelectEnumSchemaItemsTypeString McpElicitationUntitledMultiSelectEnumSchemaItemsType = "string"

func (*McpElicitationUntitledMultiSelectEnumSchemaItemsType) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationUntitledMultiSelectEnumSchemaType

type McpElicitationUntitledMultiSelectEnumSchemaType string

McpElicitationUntitledMultiSelectEnumSchemaType is a generated schema value.

const McpElicitationUntitledMultiSelectEnumSchemaTypeArray McpElicitationUntitledMultiSelectEnumSchemaType = "array"

func (*McpElicitationUntitledMultiSelectEnumSchemaType) UnmarshalJSON added in v0.1.1

func (value *McpElicitationUntitledMultiSelectEnumSchemaType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationUntitledSingleSelectEnumSchema

type McpElicitationUntitledSingleSelectEnumSchema struct {
	Default              Optional[string]
	Description          Optional[string]
	Enum                 []string
	Title                Optional[string]
	Type                 McpElicitationUntitledSingleSelectEnumSchemaType
	AdditionalProperties map[string]json.RawMessage
}

McpElicitationUntitledSingleSelectEnumSchema is generated from schema/draft/mcp-elicitation.schema.json#/$defs/UntitledSingleSelectEnumSchema.

func (McpElicitationUntitledSingleSelectEnumSchema) MarshalJSON

func (value McpElicitationUntitledSingleSelectEnumSchema) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*McpElicitationUntitledSingleSelectEnumSchema) UnmarshalJSON

func (value *McpElicitationUntitledSingleSelectEnumSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type McpElicitationUntitledSingleSelectEnumSchemaType

type McpElicitationUntitledSingleSelectEnumSchemaType string

McpElicitationUntitledSingleSelectEnumSchemaType is a generated schema value.

const McpElicitationUntitledSingleSelectEnumSchemaTypeString McpElicitationUntitledSingleSelectEnumSchemaType = "string"

func (*McpElicitationUntitledSingleSelectEnumSchemaType) UnmarshalJSON added in v0.1.1

func (value *McpElicitationUntitledSingleSelectEnumSchemaType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type MessageEffect added in v0.4.0

type MessageEffect struct {
	Text                 string
	Type                 MessageEffectType
	AdditionalProperties map[string]json.RawMessage
}

MessageEffect is generated from schema/draft/effect.schema.json#/$defs/MessageEffect.

func (MessageEffect) MarshalJSON added in v0.4.0

func (value MessageEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*MessageEffect) UnmarshalJSON added in v0.4.0

func (value *MessageEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type MessageEffectType added in v0.4.0

type MessageEffectType string

MessageEffectType is a generated schema value.

const MessageEffectTypeMessage MessageEffectType = "message"

func (*MessageEffectType) UnmarshalJSON added in v0.4.0

func (value *MessageEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type MessagesCandidate added in v0.4.0

type MessagesCandidate struct {
	Provenance           Optional[MessagesCandidateProvenance]
	Value                *CanonicalMessages
	AdditionalProperties map[string]json.RawMessage
}

MessagesCandidate is generated from schema/draft/intercept-request.schema.json#/$defs/MessagesCandidate.

func (MessagesCandidate) MarshalJSON added in v0.4.0

func (value MessagesCandidate) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*MessagesCandidate) UnmarshalJSON added in v0.4.0

func (value *MessagesCandidate) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type MessagesCandidateProvenance added in v0.4.0

type MessagesCandidateProvenance struct {
	AdditionalProperties map[string]json.RawMessage
}

MessagesCandidateProvenance is a generated nested model.

func (MessagesCandidateProvenance) MarshalJSON added in v0.4.0

func (value MessagesCandidateProvenance) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*MessagesCandidateProvenance) UnmarshalJSON added in v0.4.0

func (value *MessagesCandidateProvenance) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type MessagesState added in v0.4.0

type MessagesState struct {
	Candidate            Nullable[*MessagesCandidate]
	Flow                 Optional[MessagesStateFlow]
	Injections           Optional[[]*InjectEffect]
	Instructions         Optional[[]string]
	Permission           MessagesStatePermission
	AdditionalProperties map[string]json.RawMessage
}

MessagesState is generated from schema/draft/intercept-request.schema.json#/$defs/MessagesState.

func (MessagesState) MarshalJSON added in v0.4.0

func (value MessagesState) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*MessagesState) UnmarshalJSON added in v0.4.0

func (value *MessagesState) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type MessagesStateFlow added in v0.4.0

type MessagesStateFlow string

MessagesStateFlow is a generated schema value.

const MessagesStateFlowContinue MessagesStateFlow = "continue"
const MessagesStateFlowNone MessagesStateFlow = "none"
const MessagesStateFlowStop MessagesStateFlow = "stop"

func (*MessagesStateFlow) UnmarshalJSON added in v0.4.0

func (value *MessagesStateFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type MessagesStatePermission added in v0.4.0

type MessagesStatePermission string

MessagesStatePermission is a generated schema value.

const MessagesStatePermissionAllow MessagesStatePermission = "allow"
const MessagesStatePermissionAsk MessagesStatePermission = "ask"
const MessagesStatePermissionDeny MessagesStatePermission = "deny"
const MessagesStatePermissionNone MessagesStatePermission = "none"

func (*MessagesStatePermission) UnmarshalJSON added in v0.4.0

func (value *MessagesStatePermission) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEvent

type ModelErrorEvent struct {
	Attempt              *ExecutionEventAttempt
	Error                *ExecutionEventError
	Execution            ModelErrorEventExecution
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ModelErrorEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	LatencyMs            Optional[json.Number]
	Model                *ExecutionEventModel
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Recovery             Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[ModelErrorEventTurn]
	Type                 ModelErrorEventType
	Usage                Optional[*ExecutionEventAttemptusage]
	AdditionalProperties map[string]json.RawMessage
}

ModelErrorEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/model.error.

func (ModelErrorEvent) MarshalJSON

func (value ModelErrorEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelErrorEvent) UnmarshalJSON

func (value *ModelErrorEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecution added in v0.1.1

ModelErrorEventExecution is a generated union model.

func (ModelErrorEventExecution) MarshalJSON added in v0.1.1

func (value ModelErrorEventExecution) MarshalJSON() ([]byte, error)

func (*ModelErrorEventExecution) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecution) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionExecuted added in v0.1.1

type ModelErrorEventExecutionExecuted struct {
	Status               ModelErrorEventExecutionExecutedStatus
	AdditionalProperties map[string]json.RawMessage
}

ModelErrorEventExecutionExecuted is a generated nested model.

func (ModelErrorEventExecutionExecuted) MarshalJSON added in v0.1.1

func (value ModelErrorEventExecutionExecuted) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelErrorEventExecutionExecuted) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionExecuted) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionExecutedStatus added in v0.1.1

type ModelErrorEventExecutionExecutedStatus string

ModelErrorEventExecutionExecutedStatus is a generated schema value.

const ModelErrorEventExecutionExecutedStatusExecuted ModelErrorEventExecutionExecutedStatus = "executed"

func (*ModelErrorEventExecutionExecutedStatus) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionExecutedStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedCancelled added in v0.1.1

type ModelErrorEventExecutionSkippedCancelled struct {
	Detail               Optional[string]
	Reason               ModelErrorEventExecutionSkippedCancelledReason
	Status               ModelErrorEventExecutionSkippedCancelledStatus
	AdditionalProperties map[string]json.RawMessage
}

ModelErrorEventExecutionSkippedCancelled is a generated nested model.

func (ModelErrorEventExecutionSkippedCancelled) MarshalJSON added in v0.1.1

func (value ModelErrorEventExecutionSkippedCancelled) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelErrorEventExecutionSkippedCancelled) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedCancelled) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedCancelledReason added in v0.1.1

type ModelErrorEventExecutionSkippedCancelledReason string

ModelErrorEventExecutionSkippedCancelledReason is a generated schema value.

const ModelErrorEventExecutionSkippedCancelledReasonCancelled ModelErrorEventExecutionSkippedCancelledReason = "cancelled"

func (*ModelErrorEventExecutionSkippedCancelledReason) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedCancelledReason) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedCancelledStatus added in v0.1.1

type ModelErrorEventExecutionSkippedCancelledStatus ModelErrorEventExecutionSkippedCancelledStatusValue

ModelErrorEventExecutionSkippedCancelledStatus is a structurally validated schema value.

func (ModelErrorEventExecutionSkippedCancelledStatus) MarshalJSON added in v0.1.1

func (*ModelErrorEventExecutionSkippedCancelledStatus) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedCancelledStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedCancelledStatusValue added in v0.1.1

type ModelErrorEventExecutionSkippedCancelledStatusValue string

ModelErrorEventExecutionSkippedCancelledStatusValue is a generated schema value.

const ModelErrorEventExecutionSkippedCancelledStatusValueExecuted ModelErrorEventExecutionSkippedCancelledStatusValue = "executed"

func (*ModelErrorEventExecutionSkippedCancelledStatusValue) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedCancelledStatusValue) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedOther added in v0.1.1

type ModelErrorEventExecutionSkippedOther struct {
	Detail               Optional[string]
	Reason               ModelErrorEventExecutionSkippedOtherReason
	Status               ModelErrorEventExecutionSkippedOtherStatus
	AdditionalProperties map[string]json.RawMessage
}

ModelErrorEventExecutionSkippedOther is a generated nested model.

func (ModelErrorEventExecutionSkippedOther) MarshalJSON added in v0.1.1

func (value ModelErrorEventExecutionSkippedOther) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelErrorEventExecutionSkippedOther) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedOther) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedOtherReason added in v0.1.1

type ModelErrorEventExecutionSkippedOtherReason string

ModelErrorEventExecutionSkippedOtherReason is a generated schema value.

const ModelErrorEventExecutionSkippedOtherReasonOther ModelErrorEventExecutionSkippedOtherReason = "other"

func (*ModelErrorEventExecutionSkippedOtherReason) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedOtherReason) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedOtherStatus added in v0.1.1

type ModelErrorEventExecutionSkippedOtherStatus ModelErrorEventExecutionSkippedOtherStatusValue

ModelErrorEventExecutionSkippedOtherStatus is a structurally validated schema value.

func (ModelErrorEventExecutionSkippedOtherStatus) MarshalJSON added in v0.1.1

func (value ModelErrorEventExecutionSkippedOtherStatus) MarshalJSON() ([]byte, error)

func (*ModelErrorEventExecutionSkippedOtherStatus) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedOtherStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedOtherStatusValue added in v0.1.1

type ModelErrorEventExecutionSkippedOtherStatusValue string

ModelErrorEventExecutionSkippedOtherStatusValue is a generated schema value.

const ModelErrorEventExecutionSkippedOtherStatusValueExecuted ModelErrorEventExecutionSkippedOtherStatusValue = "executed"

func (*ModelErrorEventExecutionSkippedOtherStatusValue) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedOtherStatusValue) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedPolicy added in v0.1.1

type ModelErrorEventExecutionSkippedPolicy struct {
	Detail               Optional[string]
	Reason               ModelErrorEventExecutionSkippedPolicyReason
	Status               ModelErrorEventExecutionSkippedPolicyStatus
	AdditionalProperties map[string]json.RawMessage
}

ModelErrorEventExecutionSkippedPolicy is a generated nested model.

func (ModelErrorEventExecutionSkippedPolicy) MarshalJSON added in v0.1.1

func (value ModelErrorEventExecutionSkippedPolicy) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelErrorEventExecutionSkippedPolicy) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedPolicy) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedPolicyReason added in v0.1.1

type ModelErrorEventExecutionSkippedPolicyReason string

ModelErrorEventExecutionSkippedPolicyReason is a generated schema value.

const ModelErrorEventExecutionSkippedPolicyReasonPolicy ModelErrorEventExecutionSkippedPolicyReason = "policy"

func (*ModelErrorEventExecutionSkippedPolicyReason) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedPolicyReason) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedPolicyStatus added in v0.1.1

type ModelErrorEventExecutionSkippedPolicyStatus ModelErrorEventExecutionSkippedPolicyStatusValue

ModelErrorEventExecutionSkippedPolicyStatus is a structurally validated schema value.

func (ModelErrorEventExecutionSkippedPolicyStatus) MarshalJSON added in v0.1.1

func (value ModelErrorEventExecutionSkippedPolicyStatus) MarshalJSON() ([]byte, error)

func (*ModelErrorEventExecutionSkippedPolicyStatus) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedPolicyStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedPolicyStatusValue added in v0.1.1

type ModelErrorEventExecutionSkippedPolicyStatusValue string

ModelErrorEventExecutionSkippedPolicyStatusValue is a generated schema value.

const ModelErrorEventExecutionSkippedPolicyStatusValueExecuted ModelErrorEventExecutionSkippedPolicyStatusValue = "executed"

func (*ModelErrorEventExecutionSkippedPolicyStatusValue) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedPolicyStatusValue) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedSuppliedResult added in v0.1.1

type ModelErrorEventExecutionSkippedSuppliedResult struct {
	Reason               ModelErrorEventExecutionSkippedSuppliedResultReason
	Status               ModelErrorEventExecutionSkippedSuppliedResultStatus
	AdditionalProperties map[string]json.RawMessage
}

ModelErrorEventExecutionSkippedSuppliedResult is a generated nested model.

func (ModelErrorEventExecutionSkippedSuppliedResult) MarshalJSON added in v0.1.1

func (value ModelErrorEventExecutionSkippedSuppliedResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelErrorEventExecutionSkippedSuppliedResult) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedSuppliedResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedSuppliedResultReason added in v0.1.1

type ModelErrorEventExecutionSkippedSuppliedResultReason string

ModelErrorEventExecutionSkippedSuppliedResultReason is a generated schema value.

const ModelErrorEventExecutionSkippedSuppliedResultReasonSuppliedResult ModelErrorEventExecutionSkippedSuppliedResultReason = "supplied_result"

func (*ModelErrorEventExecutionSkippedSuppliedResultReason) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedSuppliedResultReason) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedSuppliedResultStatus added in v0.1.1

type ModelErrorEventExecutionSkippedSuppliedResultStatus ModelErrorEventExecutionSkippedSuppliedResultStatusValue

ModelErrorEventExecutionSkippedSuppliedResultStatus is a structurally validated schema value.

func (ModelErrorEventExecutionSkippedSuppliedResultStatus) MarshalJSON added in v0.1.1

func (*ModelErrorEventExecutionSkippedSuppliedResultStatus) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedSuppliedResultStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedSuppliedResultStatusValue added in v0.1.1

type ModelErrorEventExecutionSkippedSuppliedResultStatusValue string

ModelErrorEventExecutionSkippedSuppliedResultStatusValue is a generated schema value.

const ModelErrorEventExecutionSkippedSuppliedResultStatusValueExecuted ModelErrorEventExecutionSkippedSuppliedResultStatusValue = "executed"

func (*ModelErrorEventExecutionSkippedSuppliedResultStatusValue) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedTimeout added in v0.1.1

type ModelErrorEventExecutionSkippedTimeout struct {
	Detail               Optional[string]
	Reason               ModelErrorEventExecutionSkippedTimeoutReason
	Status               ModelErrorEventExecutionSkippedTimeoutStatus
	AdditionalProperties map[string]json.RawMessage
}

ModelErrorEventExecutionSkippedTimeout is a generated nested model.

func (ModelErrorEventExecutionSkippedTimeout) MarshalJSON added in v0.1.1

func (value ModelErrorEventExecutionSkippedTimeout) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelErrorEventExecutionSkippedTimeout) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedTimeout) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedTimeoutReason added in v0.1.1

type ModelErrorEventExecutionSkippedTimeoutReason string

ModelErrorEventExecutionSkippedTimeoutReason is a generated schema value.

const ModelErrorEventExecutionSkippedTimeoutReasonTimeout ModelErrorEventExecutionSkippedTimeoutReason = "timeout"

func (*ModelErrorEventExecutionSkippedTimeoutReason) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedTimeoutReason) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedTimeoutStatus added in v0.1.1

type ModelErrorEventExecutionSkippedTimeoutStatus ModelErrorEventExecutionSkippedTimeoutStatusValue

ModelErrorEventExecutionSkippedTimeoutStatus is a structurally validated schema value.

func (ModelErrorEventExecutionSkippedTimeoutStatus) MarshalJSON added in v0.1.1

func (value ModelErrorEventExecutionSkippedTimeoutStatus) MarshalJSON() ([]byte, error)

func (*ModelErrorEventExecutionSkippedTimeoutStatus) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedTimeoutStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventExecutionSkippedTimeoutStatusValue added in v0.1.1

type ModelErrorEventExecutionSkippedTimeoutStatusValue string

ModelErrorEventExecutionSkippedTimeoutStatusValue is a generated schema value.

const ModelErrorEventExecutionSkippedTimeoutStatusValueExecuted ModelErrorEventExecutionSkippedTimeoutStatusValue = "executed"

func (*ModelErrorEventExecutionSkippedTimeoutStatusValue) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventExecutionSkippedTimeoutStatusValue) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventGapsItem

type ModelErrorEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

ModelErrorEventGapsItem is a generated nested model.

func (ModelErrorEventGapsItem) MarshalJSON

func (value ModelErrorEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelErrorEventGapsItem) UnmarshalJSON

func (value *ModelErrorEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventTurn

type ModelErrorEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ModelErrorEventTurn is a generated nested model.

func (ModelErrorEventTurn) MarshalJSON

func (value ModelErrorEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelErrorEventTurn) UnmarshalJSON

func (value *ModelErrorEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelErrorEventType

type ModelErrorEventType string

ModelErrorEventType is a generated schema value.

const ModelErrorEventTypeModelError ModelErrorEventType = "model.error"

func (*ModelErrorEventType) UnmarshalJSON added in v0.1.1

func (value *ModelErrorEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilities

ModelRequestBeforeCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/model.request.before.

func (ModelRequestBeforeCapabilities) MarshalJSON

func (value ModelRequestBeforeCapabilities) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilities) UnmarshalJSON

func (value *ModelRequestBeforeCapabilities) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesEffects added in v0.1.1

type ModelRequestBeforeCapabilitiesEffects []ModelRequestBeforeCapabilitiesEffectsValueItem

ModelRequestBeforeCapabilitiesEffects is a structurally validated schema value.

func (ModelRequestBeforeCapabilitiesEffects) MarshalJSON added in v0.1.1

func (value ModelRequestBeforeCapabilitiesEffects) MarshalJSON() ([]byte, error)

func (*ModelRequestBeforeCapabilitiesEffects) UnmarshalJSON added in v0.1.1

func (value *ModelRequestBeforeCapabilitiesEffects) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesEffectsValueItem added in v0.1.1

type ModelRequestBeforeCapabilitiesEffectsValueItem string

ModelRequestBeforeCapabilitiesEffectsValueItem is a generated schema value.

const ModelRequestBeforeCapabilitiesEffectsValueItemDeny ModelRequestBeforeCapabilitiesEffectsValueItem = "deny"
const ModelRequestBeforeCapabilitiesEffectsValueItemFlow ModelRequestBeforeCapabilitiesEffectsValueItem = "flow"
const ModelRequestBeforeCapabilitiesEffectsValueItemInject ModelRequestBeforeCapabilitiesEffectsValueItem = "inject"
const ModelRequestBeforeCapabilitiesEffectsValueItemMessage ModelRequestBeforeCapabilitiesEffectsValueItem = "message"
const ModelRequestBeforeCapabilitiesEffectsValueItemModify ModelRequestBeforeCapabilitiesEffectsValueItem = "modify"
const ModelRequestBeforeCapabilitiesEffectsValueItemReturn ModelRequestBeforeCapabilitiesEffectsValueItem = "return"

func (*ModelRequestBeforeCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

func (value *ModelRequestBeforeCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesElicitation

type ModelRequestBeforeCapabilitiesElicitation struct {
	Form                 Optional[ModelRequestBeforeCapabilitiesElicitationForm]
	URL                  Optional[ModelRequestBeforeCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeCapabilitiesElicitation is a generated nested model.

func (ModelRequestBeforeCapabilitiesElicitation) MarshalJSON

func (value ModelRequestBeforeCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilitiesElicitation) UnmarshalJSON

func (value *ModelRequestBeforeCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesElicitationForm

type ModelRequestBeforeCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeCapabilitiesElicitationForm is a generated nested model.

func (ModelRequestBeforeCapabilitiesElicitationForm) MarshalJSON

func (value ModelRequestBeforeCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilitiesElicitationForm) UnmarshalJSON

func (value *ModelRequestBeforeCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesElicitationURL

type ModelRequestBeforeCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeCapabilitiesElicitationURL is a generated nested model.

func (ModelRequestBeforeCapabilitiesElicitationURL) MarshalJSON

func (value ModelRequestBeforeCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilitiesElicitationURL) UnmarshalJSON

func (value *ModelRequestBeforeCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesFlow

type ModelRequestBeforeCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             ModelRequestBeforeCapabilitiesFlowOperations
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

ModelRequestBeforeCapabilitiesFlow is a generated nested model.

func (ModelRequestBeforeCapabilitiesFlow) MarshalJSON

func (value ModelRequestBeforeCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilitiesFlow) UnmarshalJSON

func (value *ModelRequestBeforeCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesFlowOperations added in v0.1.1

type ModelRequestBeforeCapabilitiesFlowOperations []ModelRequestBeforeCapabilitiesFlowOperationsValueItem

ModelRequestBeforeCapabilitiesFlowOperations is a structurally validated schema value.

func (ModelRequestBeforeCapabilitiesFlowOperations) MarshalJSON added in v0.1.1

func (value ModelRequestBeforeCapabilitiesFlowOperations) MarshalJSON() ([]byte, error)

func (*ModelRequestBeforeCapabilitiesFlowOperations) UnmarshalJSON added in v0.1.1

func (value *ModelRequestBeforeCapabilitiesFlowOperations) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesFlowOperationsValueItem added in v0.1.1

type ModelRequestBeforeCapabilitiesFlowOperationsValueItem string

ModelRequestBeforeCapabilitiesFlowOperationsValueItem is a generated schema value.

const ModelRequestBeforeCapabilitiesFlowOperationsValueItemContinue ModelRequestBeforeCapabilitiesFlowOperationsValueItem = "continue"
const ModelRequestBeforeCapabilitiesFlowOperationsValueItemStop ModelRequestBeforeCapabilitiesFlowOperationsValueItem = "stop"

func (*ModelRequestBeforeCapabilitiesFlowOperationsValueItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesInject

type ModelRequestBeforeCapabilitiesInject struct {
	Context              ModelRequestBeforeCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeCapabilitiesInject is a generated nested model.

func (ModelRequestBeforeCapabilitiesInject) MarshalJSON

func (value ModelRequestBeforeCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilitiesInject) UnmarshalJSON

func (value *ModelRequestBeforeCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesInjectContext

type ModelRequestBeforeCapabilitiesInjectContext struct {
	Append               ModelRequestBeforeCapabilitiesInjectContextAppend
	DeliverAt            []ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeCapabilitiesInjectContext is a generated nested model.

func (ModelRequestBeforeCapabilitiesInjectContext) MarshalJSON

func (value ModelRequestBeforeCapabilitiesInjectContext) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilitiesInjectContext) UnmarshalJSON

func (value *ModelRequestBeforeCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesInjectContextAppend

type ModelRequestBeforeCapabilitiesInjectContextAppend bool

ModelRequestBeforeCapabilitiesInjectContextAppend is a generated schema value.

const ModelRequestBeforeCapabilitiesInjectContextAppendTrue ModelRequestBeforeCapabilitiesInjectContextAppend = true

func (*ModelRequestBeforeCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

func (value *ModelRequestBeforeCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem

type ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem string

ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ModelRequestBeforeCapabilitiesInjectContextDeliverAtItemNextTurn ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ModelRequestBeforeCapabilitiesInjectContextDeliverAtItemNow ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem = "now"

func (*ModelRequestBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesModify

ModelRequestBeforeCapabilitiesModify is a generated nested model.

func (ModelRequestBeforeCapabilitiesModify) MarshalJSON

func (value ModelRequestBeforeCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilitiesModify) UnmarshalJSON

func (value *ModelRequestBeforeCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesModifyContent added in v0.1.1

type ModelRequestBeforeCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeCapabilitiesModifyContent is a generated nested model.

func (ModelRequestBeforeCapabilitiesModifyContent) MarshalJSON added in v0.1.1

func (value ModelRequestBeforeCapabilitiesModifyContent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *ModelRequestBeforeCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesModifyInput added in v0.1.1

type ModelRequestBeforeCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeCapabilitiesModifyInput is a generated nested model.

func (ModelRequestBeforeCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value ModelRequestBeforeCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *ModelRequestBeforeCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesModifyInstructions added in v0.1.1

type ModelRequestBeforeCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeCapabilitiesModifyInstructions is a generated nested model.

func (ModelRequestBeforeCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

func (value *ModelRequestBeforeCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesModifyOutput added in v0.1.1

type ModelRequestBeforeCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeCapabilitiesModifyOutput is a generated nested model.

func (ModelRequestBeforeCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

func (value ModelRequestBeforeCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *ModelRequestBeforeCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesModifyPrompt added in v0.1.1

type ModelRequestBeforeCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeCapabilitiesModifyPrompt is a generated nested model.

func (ModelRequestBeforeCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

func (value ModelRequestBeforeCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *ModelRequestBeforeCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesModifyRequest added in v0.1.1

type ModelRequestBeforeCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeCapabilitiesModifyRequest is a generated nested model.

func (ModelRequestBeforeCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

func (value ModelRequestBeforeCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *ModelRequestBeforeCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesModifyResponse added in v0.1.1

type ModelRequestBeforeCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeCapabilitiesModifyResponse is a generated nested model.

func (ModelRequestBeforeCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

func (value ModelRequestBeforeCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *ModelRequestBeforeCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesModifySummary added in v0.1.1

type ModelRequestBeforeCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeCapabilitiesModifySummary is a generated nested model.

func (ModelRequestBeforeCapabilitiesModifySummary) MarshalJSON added in v0.1.1

func (value ModelRequestBeforeCapabilitiesModifySummary) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *ModelRequestBeforeCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeCapabilitiesModifyWorkspace added in v0.1.1

type ModelRequestBeforeCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeCapabilitiesModifyWorkspace is a generated nested model.

func (ModelRequestBeforeCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

func (value ModelRequestBeforeCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *ModelRequestBeforeCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeEffect added in v0.4.0

type ModelRequestBeforeEffect struct {
	DenyEffect                     Optional[*DenyEffect]
	ModelRequestBeforeModifyEffect Optional[*ModelRequestBeforeModifyEffect]
	InjectEffect                   Optional[*InjectEffect]
	ReturnMessagesEffect           Optional[*ReturnMessagesEffect]
	StopFlowEffect                 Optional[*StopFlowEffect]
	MessageEffect                  Optional[*MessageEffect]
	Unknown                        json.RawMessage
}

ModelRequestBeforeEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ModelRequestBeforeEffect.

func (ModelRequestBeforeEffect) MarshalJSON added in v0.4.0

func (value ModelRequestBeforeEffect) MarshalJSON() ([]byte, error)

func (*ModelRequestBeforeEffect) UnmarshalJSON added in v0.4.0

func (value *ModelRequestBeforeEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeEvent

type ModelRequestBeforeEvent struct {
	Attempt              *ExecutionEventAttempt
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ModelRequestBeforeEventGapsItem]
	ID                   string
	Items                []*ModelVisibleItem
	Model                *ExecutionEventModel
	Native               Optional[*NativeEvent]
	Params               ModelRequestBeforeEventParams
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[ModelRequestBeforeEventTurn]
	Type                 ModelRequestBeforeEventType
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/model.request.before.

func (ModelRequestBeforeEvent) MarshalJSON

func (value ModelRequestBeforeEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeEvent) UnmarshalJSON

func (value *ModelRequestBeforeEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeEventGapsItem

type ModelRequestBeforeEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeEventGapsItem is a generated nested model.

func (ModelRequestBeforeEventGapsItem) MarshalJSON

func (value ModelRequestBeforeEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeEventGapsItem) UnmarshalJSON

func (value *ModelRequestBeforeEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeEventParams

type ModelRequestBeforeEventParams struct {
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeEventParams is a generated nested model.

func (ModelRequestBeforeEventParams) MarshalJSON

func (value ModelRequestBeforeEventParams) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeEventParams) UnmarshalJSON

func (value *ModelRequestBeforeEventParams) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeEventTurn

type ModelRequestBeforeEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeEventTurn is a generated nested model.

func (ModelRequestBeforeEventTurn) MarshalJSON

func (value ModelRequestBeforeEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeEventTurn) UnmarshalJSON

func (value *ModelRequestBeforeEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeEventType

type ModelRequestBeforeEventType string

ModelRequestBeforeEventType is a generated schema value.

const ModelRequestBeforeEventTypeModelRequestBefore ModelRequestBeforeEventType = "model.request.before"

func (*ModelRequestBeforeEventType) UnmarshalJSON added in v0.1.1

func (value *ModelRequestBeforeEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeInterceptResponse added in v0.4.0

type ModelRequestBeforeInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              ModelRequestBeforeInterceptResponseJSONRPC
	Result               ModelRequestBeforeInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/ModelRequestBeforeInterceptResponse.

func (ModelRequestBeforeInterceptResponse) MarshalJSON added in v0.4.0

func (value ModelRequestBeforeInterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeInterceptResponse) UnmarshalJSON added in v0.4.0

func (value *ModelRequestBeforeInterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeInterceptResponseJSONRPC added in v0.4.0

type ModelRequestBeforeInterceptResponseJSONRPC string

ModelRequestBeforeInterceptResponseJSONRPC is a generated schema value.

const ModelRequestBeforeInterceptResponseJSONRPCValue20 ModelRequestBeforeInterceptResponseJSONRPC = "2.0"

func (*ModelRequestBeforeInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

func (value *ModelRequestBeforeInterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeInterceptResponseResult added in v0.4.0

type ModelRequestBeforeInterceptResponseResult struct {
	Effects              Optional[[]*ModelRequestBeforeEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeInterceptResponseResult is a generated nested model.

func (ModelRequestBeforeInterceptResponseResult) MarshalJSON added in v0.4.0

func (value ModelRequestBeforeInterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeInterceptResponseResult) UnmarshalJSON added in v0.4.0

func (value *ModelRequestBeforeInterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeModifyEffect added in v0.4.0

type ModelRequestBeforeModifyEffect struct {
	Operation            ModelRequestBeforeModifyEffectOperation
	Target               ModelRequestBeforeModifyEffectTarget
	Type                 ModelRequestBeforeModifyEffectType
	Value                *CanonicalMessages
	AdditionalProperties map[string]json.RawMessage
}

ModelRequestBeforeModifyEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ModelRequestBeforeModifyEffect.

func (ModelRequestBeforeModifyEffect) MarshalJSON added in v0.4.0

func (value ModelRequestBeforeModifyEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelRequestBeforeModifyEffect) UnmarshalJSON added in v0.4.0

func (value *ModelRequestBeforeModifyEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeModifyEffectOperation added in v0.4.0

type ModelRequestBeforeModifyEffectOperation struct {
	Replace Optional[ModelRequestBeforeModifyEffectOperationReplace]
	Merge   Optional[ModelRequestBeforeModifyEffectOperationMerge]
	Unknown json.RawMessage
}

ModelRequestBeforeModifyEffectOperation is a generated union model.

func (ModelRequestBeforeModifyEffectOperation) MarshalJSON added in v0.4.0

func (value ModelRequestBeforeModifyEffectOperation) MarshalJSON() ([]byte, error)

func (*ModelRequestBeforeModifyEffectOperation) UnmarshalJSON added in v0.4.0

func (value *ModelRequestBeforeModifyEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeModifyEffectOperationMerge added in v0.4.0

type ModelRequestBeforeModifyEffectOperationMerge string

ModelRequestBeforeModifyEffectOperationMerge is a generated schema value.

const ModelRequestBeforeModifyEffectOperationMergeMerge ModelRequestBeforeModifyEffectOperationMerge = "merge"

func (*ModelRequestBeforeModifyEffectOperationMerge) UnmarshalJSON added in v0.4.0

func (value *ModelRequestBeforeModifyEffectOperationMerge) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeModifyEffectOperationReplace added in v0.4.0

type ModelRequestBeforeModifyEffectOperationReplace string

ModelRequestBeforeModifyEffectOperationReplace is a generated schema value.

const ModelRequestBeforeModifyEffectOperationReplaceReplace ModelRequestBeforeModifyEffectOperationReplace = "replace"

func (*ModelRequestBeforeModifyEffectOperationReplace) UnmarshalJSON added in v0.4.0

func (value *ModelRequestBeforeModifyEffectOperationReplace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeModifyEffectTarget added in v0.4.0

type ModelRequestBeforeModifyEffectTarget string

ModelRequestBeforeModifyEffectTarget is a generated schema value.

const ModelRequestBeforeModifyEffectTargetRequest ModelRequestBeforeModifyEffectTarget = "request"

func (*ModelRequestBeforeModifyEffectTarget) UnmarshalJSON added in v0.4.0

func (value *ModelRequestBeforeModifyEffectTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelRequestBeforeModifyEffectType added in v0.4.0

type ModelRequestBeforeModifyEffectType string

ModelRequestBeforeModifyEffectType is a generated schema value.

const ModelRequestBeforeModifyEffectTypeModify ModelRequestBeforeModifyEffectType = "modify"

func (*ModelRequestBeforeModifyEffectType) UnmarshalJSON added in v0.4.0

func (value *ModelRequestBeforeModifyEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

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 enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesEffects added in v0.1.1

type ModelResponseAfterCapabilitiesEffects []ModelResponseAfterCapabilitiesEffectsValueItem

ModelResponseAfterCapabilitiesEffects is a structurally validated schema value.

func (ModelResponseAfterCapabilitiesEffects) MarshalJSON added in v0.1.1

func (value ModelResponseAfterCapabilitiesEffects) MarshalJSON() ([]byte, error)

func (*ModelResponseAfterCapabilitiesEffects) UnmarshalJSON added in v0.1.1

func (value *ModelResponseAfterCapabilitiesEffects) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesEffectsValueItem added in v0.1.1

type ModelResponseAfterCapabilitiesEffectsValueItem string

ModelResponseAfterCapabilitiesEffectsValueItem is a generated schema value.

const ModelResponseAfterCapabilitiesEffectsValueItemFlow ModelResponseAfterCapabilitiesEffectsValueItem = "flow"
const ModelResponseAfterCapabilitiesEffectsValueItemMessage ModelResponseAfterCapabilitiesEffectsValueItem = "message"
const ModelResponseAfterCapabilitiesEffectsValueItemModify ModelResponseAfterCapabilitiesEffectsValueItem = "modify"

func (*ModelResponseAfterCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

func (value *ModelResponseAfterCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesElicitation

type ModelResponseAfterCapabilitiesElicitation struct {
	Form                 Optional[ModelResponseAfterCapabilitiesElicitationForm]
	URL                  Optional[ModelResponseAfterCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterCapabilitiesElicitation is a generated nested model.

func (ModelResponseAfterCapabilitiesElicitation) MarshalJSON

func (value ModelResponseAfterCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterCapabilitiesElicitation) UnmarshalJSON

func (value *ModelResponseAfterCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesElicitationForm

type ModelResponseAfterCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterCapabilitiesElicitationForm is a generated nested model.

func (ModelResponseAfterCapabilitiesElicitationForm) MarshalJSON

func (value ModelResponseAfterCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterCapabilitiesElicitationForm) UnmarshalJSON

func (value *ModelResponseAfterCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesElicitationURL

type ModelResponseAfterCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterCapabilitiesElicitationURL is a generated nested model.

func (ModelResponseAfterCapabilitiesElicitationURL) MarshalJSON

func (value ModelResponseAfterCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterCapabilitiesElicitationURL) UnmarshalJSON

func (value *ModelResponseAfterCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesFlow

type ModelResponseAfterCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             ModelResponseAfterCapabilitiesFlowOperations
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

ModelResponseAfterCapabilitiesFlow is a generated nested model.

func (ModelResponseAfterCapabilitiesFlow) MarshalJSON

func (value ModelResponseAfterCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterCapabilitiesFlow) UnmarshalJSON

func (value *ModelResponseAfterCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesFlowOperations added in v0.1.1

type ModelResponseAfterCapabilitiesFlowOperations []ModelResponseAfterCapabilitiesFlowOperationsValueItem

ModelResponseAfterCapabilitiesFlowOperations is a structurally validated schema value.

func (ModelResponseAfterCapabilitiesFlowOperations) MarshalJSON added in v0.1.1

func (value ModelResponseAfterCapabilitiesFlowOperations) MarshalJSON() ([]byte, error)

func (*ModelResponseAfterCapabilitiesFlowOperations) UnmarshalJSON added in v0.1.1

func (value *ModelResponseAfterCapabilitiesFlowOperations) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesFlowOperationsValueItem added in v0.1.1

type ModelResponseAfterCapabilitiesFlowOperationsValueItem string

ModelResponseAfterCapabilitiesFlowOperationsValueItem is a generated schema value.

const ModelResponseAfterCapabilitiesFlowOperationsValueItemContinue ModelResponseAfterCapabilitiesFlowOperationsValueItem = "continue"
const ModelResponseAfterCapabilitiesFlowOperationsValueItemStop ModelResponseAfterCapabilitiesFlowOperationsValueItem = "stop"

func (*ModelResponseAfterCapabilitiesFlowOperationsValueItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesInject

type ModelResponseAfterCapabilitiesInject struct {
	Context              ModelResponseAfterCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterCapabilitiesInject is a generated nested model.

func (ModelResponseAfterCapabilitiesInject) MarshalJSON

func (value ModelResponseAfterCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterCapabilitiesInject) UnmarshalJSON

func (value *ModelResponseAfterCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesInjectContext

type ModelResponseAfterCapabilitiesInjectContext struct {
	Append               ModelResponseAfterCapabilitiesInjectContextAppend
	DeliverAt            []ModelResponseAfterCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterCapabilitiesInjectContext is a generated nested model.

func (ModelResponseAfterCapabilitiesInjectContext) MarshalJSON

func (value ModelResponseAfterCapabilitiesInjectContext) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterCapabilitiesInjectContext) UnmarshalJSON

func (value *ModelResponseAfterCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesInjectContextAppend

type ModelResponseAfterCapabilitiesInjectContextAppend bool

ModelResponseAfterCapabilitiesInjectContextAppend is a generated schema value.

const ModelResponseAfterCapabilitiesInjectContextAppendTrue ModelResponseAfterCapabilitiesInjectContextAppend = true

func (*ModelResponseAfterCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

func (value *ModelResponseAfterCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesInjectContextDeliverAtItem

type ModelResponseAfterCapabilitiesInjectContextDeliverAtItem string

ModelResponseAfterCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ModelResponseAfterCapabilitiesInjectContextDeliverAtItemNextTurn ModelResponseAfterCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ModelResponseAfterCapabilitiesInjectContextDeliverAtItemNow ModelResponseAfterCapabilitiesInjectContextDeliverAtItem = "now"

func (*ModelResponseAfterCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesModify

ModelResponseAfterCapabilitiesModify is a generated nested model.

func (ModelResponseAfterCapabilitiesModify) MarshalJSON

func (value ModelResponseAfterCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterCapabilitiesModify) UnmarshalJSON

func (value *ModelResponseAfterCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesModifyContent added in v0.1.1

type ModelResponseAfterCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterCapabilitiesModifyContent is a generated nested model.

func (ModelResponseAfterCapabilitiesModifyContent) MarshalJSON added in v0.1.1

func (value ModelResponseAfterCapabilitiesModifyContent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *ModelResponseAfterCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesModifyInput added in v0.1.1

type ModelResponseAfterCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterCapabilitiesModifyInput is a generated nested model.

func (ModelResponseAfterCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value ModelResponseAfterCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *ModelResponseAfterCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesModifyInstructions added in v0.1.1

type ModelResponseAfterCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterCapabilitiesModifyInstructions is a generated nested model.

func (ModelResponseAfterCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

func (value *ModelResponseAfterCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesModifyOutput added in v0.1.1

type ModelResponseAfterCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterCapabilitiesModifyOutput is a generated nested model.

func (ModelResponseAfterCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

func (value ModelResponseAfterCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *ModelResponseAfterCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesModifyPrompt added in v0.1.1

type ModelResponseAfterCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterCapabilitiesModifyPrompt is a generated nested model.

func (ModelResponseAfterCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

func (value ModelResponseAfterCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *ModelResponseAfterCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesModifyRequest added in v0.1.1

type ModelResponseAfterCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterCapabilitiesModifyRequest is a generated nested model.

func (ModelResponseAfterCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

func (value ModelResponseAfterCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *ModelResponseAfterCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesModifyResponse added in v0.1.1

type ModelResponseAfterCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterCapabilitiesModifyResponse is a generated nested model.

func (ModelResponseAfterCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

func (value ModelResponseAfterCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *ModelResponseAfterCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesModifySummary added in v0.1.1

type ModelResponseAfterCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterCapabilitiesModifySummary is a generated nested model.

func (ModelResponseAfterCapabilitiesModifySummary) MarshalJSON added in v0.1.1

func (value ModelResponseAfterCapabilitiesModifySummary) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *ModelResponseAfterCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterCapabilitiesModifyWorkspace added in v0.1.1

type ModelResponseAfterCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterCapabilitiesModifyWorkspace is a generated nested model.

func (ModelResponseAfterCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

func (value ModelResponseAfterCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *ModelResponseAfterCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterEffect added in v0.4.0

type ModelResponseAfterEffect struct {
	ModelResponseAfterModifyEffect Optional[*ModelResponseAfterModifyEffect]
	StopFlowEffect                 Optional[*StopFlowEffect]
	MessageEffect                  Optional[*MessageEffect]
	Unknown                        json.RawMessage
}

ModelResponseAfterEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ModelResponseAfterEffect.

func (ModelResponseAfterEffect) MarshalJSON added in v0.4.0

func (value ModelResponseAfterEffect) MarshalJSON() ([]byte, error)

func (*ModelResponseAfterEffect) UnmarshalJSON added in v0.4.0

func (value *ModelResponseAfterEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterEvent

type ModelResponseAfterEvent struct {
	Attempt              *ExecutionEventAttempt
	Execution            *ExecutionEventExecution
	Extensions           Optional[*Extensions]
	FinishReason         string
	Gaps                 Optional[[]ModelResponseAfterEventGapsItem]
	ID                   string
	Items                []*ModelVisibleItem
	LatencyMs            Optional[json.Number]
	Model                *ExecutionEventModel
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[ModelResponseAfterEventTurn]
	Type                 ModelResponseAfterEventType
	Usage                Optional[*ExecutionEventAttemptusage]
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/model.response.after.

func (ModelResponseAfterEvent) MarshalJSON

func (value ModelResponseAfterEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterEvent) UnmarshalJSON

func (value *ModelResponseAfterEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterEventGapsItem

type ModelResponseAfterEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterEventGapsItem is a generated nested model.

func (ModelResponseAfterEventGapsItem) MarshalJSON

func (value ModelResponseAfterEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterEventGapsItem) UnmarshalJSON

func (value *ModelResponseAfterEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterEventTurn

type ModelResponseAfterEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterEventTurn is a generated nested model.

func (ModelResponseAfterEventTurn) MarshalJSON

func (value ModelResponseAfterEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterEventTurn) UnmarshalJSON

func (value *ModelResponseAfterEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterEventType

type ModelResponseAfterEventType string

ModelResponseAfterEventType is a generated schema value.

const ModelResponseAfterEventTypeModelResponseAfter ModelResponseAfterEventType = "model.response.after"

func (*ModelResponseAfterEventType) UnmarshalJSON added in v0.1.1

func (value *ModelResponseAfterEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterInterceptResponse added in v0.4.0

type ModelResponseAfterInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              ModelResponseAfterInterceptResponseJSONRPC
	Result               ModelResponseAfterInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/ModelResponseAfterInterceptResponse.

func (ModelResponseAfterInterceptResponse) MarshalJSON added in v0.4.0

func (value ModelResponseAfterInterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterInterceptResponse) UnmarshalJSON added in v0.4.0

func (value *ModelResponseAfterInterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterInterceptResponseJSONRPC added in v0.4.0

type ModelResponseAfterInterceptResponseJSONRPC string

ModelResponseAfterInterceptResponseJSONRPC is a generated schema value.

const ModelResponseAfterInterceptResponseJSONRPCValue20 ModelResponseAfterInterceptResponseJSONRPC = "2.0"

func (*ModelResponseAfterInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

func (value *ModelResponseAfterInterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterInterceptResponseResult added in v0.4.0

type ModelResponseAfterInterceptResponseResult struct {
	Effects              Optional[[]*ModelResponseAfterEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterInterceptResponseResult is a generated nested model.

func (ModelResponseAfterInterceptResponseResult) MarshalJSON added in v0.4.0

func (value ModelResponseAfterInterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterInterceptResponseResult) UnmarshalJSON added in v0.4.0

func (value *ModelResponseAfterInterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterModifyEffect added in v0.4.0

type ModelResponseAfterModifyEffect struct {
	Operation            ModelResponseAfterModifyEffectOperation
	Target               ModelResponseAfterModifyEffectTarget
	Type                 ModelResponseAfterModifyEffectType
	Value                *CanonicalMessages
	AdditionalProperties map[string]json.RawMessage
}

ModelResponseAfterModifyEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ModelResponseAfterModifyEffect.

func (ModelResponseAfterModifyEffect) MarshalJSON added in v0.4.0

func (value ModelResponseAfterModifyEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelResponseAfterModifyEffect) UnmarshalJSON added in v0.4.0

func (value *ModelResponseAfterModifyEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterModifyEffectOperation added in v0.4.0

type ModelResponseAfterModifyEffectOperation struct {
	Replace Optional[ModelResponseAfterModifyEffectOperationReplace]
	Merge   Optional[ModelResponseAfterModifyEffectOperationMerge]
	Unknown json.RawMessage
}

ModelResponseAfterModifyEffectOperation is a generated union model.

func (ModelResponseAfterModifyEffectOperation) MarshalJSON added in v0.4.0

func (value ModelResponseAfterModifyEffectOperation) MarshalJSON() ([]byte, error)

func (*ModelResponseAfterModifyEffectOperation) UnmarshalJSON added in v0.4.0

func (value *ModelResponseAfterModifyEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterModifyEffectOperationMerge added in v0.4.0

type ModelResponseAfterModifyEffectOperationMerge string

ModelResponseAfterModifyEffectOperationMerge is a generated schema value.

const ModelResponseAfterModifyEffectOperationMergeMerge ModelResponseAfterModifyEffectOperationMerge = "merge"

func (*ModelResponseAfterModifyEffectOperationMerge) UnmarshalJSON added in v0.4.0

func (value *ModelResponseAfterModifyEffectOperationMerge) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterModifyEffectOperationReplace added in v0.4.0

type ModelResponseAfterModifyEffectOperationReplace string

ModelResponseAfterModifyEffectOperationReplace is a generated schema value.

const ModelResponseAfterModifyEffectOperationReplaceReplace ModelResponseAfterModifyEffectOperationReplace = "replace"

func (*ModelResponseAfterModifyEffectOperationReplace) UnmarshalJSON added in v0.4.0

func (value *ModelResponseAfterModifyEffectOperationReplace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterModifyEffectTarget added in v0.4.0

type ModelResponseAfterModifyEffectTarget string

ModelResponseAfterModifyEffectTarget is a generated schema value.

const ModelResponseAfterModifyEffectTargetResponse ModelResponseAfterModifyEffectTarget = "response"

func (*ModelResponseAfterModifyEffectTarget) UnmarshalJSON added in v0.4.0

func (value *ModelResponseAfterModifyEffectTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelResponseAfterModifyEffectType added in v0.4.0

type ModelResponseAfterModifyEffectType string

ModelResponseAfterModifyEffectType is a generated schema value.

const ModelResponseAfterModifyEffectTypeModify ModelResponseAfterModifyEffectType = "modify"

func (*ModelResponseAfterModifyEffectType) UnmarshalJSON added in v0.4.0

func (value *ModelResponseAfterModifyEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchAfterEvent

type ModelSwitchAfterEvent struct {
	Current              *ExecutionEventModel
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ModelSwitchAfterEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Previous             *ExecutionEventModel
	Reason               string
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[ModelSwitchAfterEventTurn]
	Type                 ModelSwitchAfterEventType
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchAfterEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/model.switch.after.

func (ModelSwitchAfterEvent) MarshalJSON

func (value ModelSwitchAfterEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchAfterEvent) UnmarshalJSON

func (value *ModelSwitchAfterEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchAfterEventGapsItem

type ModelSwitchAfterEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchAfterEventGapsItem is a generated nested model.

func (ModelSwitchAfterEventGapsItem) MarshalJSON

func (value ModelSwitchAfterEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchAfterEventGapsItem) UnmarshalJSON

func (value *ModelSwitchAfterEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchAfterEventTurn

type ModelSwitchAfterEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchAfterEventTurn is a generated nested model.

func (ModelSwitchAfterEventTurn) MarshalJSON

func (value ModelSwitchAfterEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchAfterEventTurn) UnmarshalJSON

func (value *ModelSwitchAfterEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchAfterEventType

type ModelSwitchAfterEventType string

ModelSwitchAfterEventType is a generated schema value.

const ModelSwitchAfterEventTypeModelSwitchAfter ModelSwitchAfterEventType = "model.switch.after"

func (*ModelSwitchAfterEventType) UnmarshalJSON added in v0.1.1

func (value *ModelSwitchAfterEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilities

ModelSwitchBeforeCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/model.switch.before.

func (ModelSwitchBeforeCapabilities) MarshalJSON

func (value ModelSwitchBeforeCapabilities) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilities) UnmarshalJSON

func (value *ModelSwitchBeforeCapabilities) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesEffects added in v0.1.1

type ModelSwitchBeforeCapabilitiesEffects []ModelSwitchBeforeCapabilitiesEffectsValueItem

ModelSwitchBeforeCapabilitiesEffects is a structurally validated schema value.

func (ModelSwitchBeforeCapabilitiesEffects) MarshalJSON added in v0.1.1

func (value ModelSwitchBeforeCapabilitiesEffects) MarshalJSON() ([]byte, error)

func (*ModelSwitchBeforeCapabilitiesEffects) UnmarshalJSON added in v0.1.1

func (value *ModelSwitchBeforeCapabilitiesEffects) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesEffectsValueItem added in v0.1.1

type ModelSwitchBeforeCapabilitiesEffectsValueItem string

ModelSwitchBeforeCapabilitiesEffectsValueItem is a generated schema value.

const ModelSwitchBeforeCapabilitiesEffectsValueItemDeny ModelSwitchBeforeCapabilitiesEffectsValueItem = "deny"
const ModelSwitchBeforeCapabilitiesEffectsValueItemFlow ModelSwitchBeforeCapabilitiesEffectsValueItem = "flow"
const ModelSwitchBeforeCapabilitiesEffectsValueItemMessage ModelSwitchBeforeCapabilitiesEffectsValueItem = "message"

func (*ModelSwitchBeforeCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

func (value *ModelSwitchBeforeCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesElicitation

type ModelSwitchBeforeCapabilitiesElicitation struct {
	Form                 Optional[ModelSwitchBeforeCapabilitiesElicitationForm]
	URL                  Optional[ModelSwitchBeforeCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeCapabilitiesElicitation is a generated nested model.

func (ModelSwitchBeforeCapabilitiesElicitation) MarshalJSON

func (value ModelSwitchBeforeCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilitiesElicitation) UnmarshalJSON

func (value *ModelSwitchBeforeCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesElicitationForm

type ModelSwitchBeforeCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeCapabilitiesElicitationForm is a generated nested model.

func (ModelSwitchBeforeCapabilitiesElicitationForm) MarshalJSON

func (value ModelSwitchBeforeCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilitiesElicitationForm) UnmarshalJSON

func (value *ModelSwitchBeforeCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesElicitationURL

type ModelSwitchBeforeCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeCapabilitiesElicitationURL is a generated nested model.

func (ModelSwitchBeforeCapabilitiesElicitationURL) MarshalJSON

func (value ModelSwitchBeforeCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilitiesElicitationURL) UnmarshalJSON

func (value *ModelSwitchBeforeCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesFlow

type ModelSwitchBeforeCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             ModelSwitchBeforeCapabilitiesFlowOperations
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

ModelSwitchBeforeCapabilitiesFlow is a generated nested model.

func (ModelSwitchBeforeCapabilitiesFlow) MarshalJSON

func (value ModelSwitchBeforeCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilitiesFlow) UnmarshalJSON

func (value *ModelSwitchBeforeCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesFlowOperations added in v0.1.1

type ModelSwitchBeforeCapabilitiesFlowOperations []ModelSwitchBeforeCapabilitiesFlowOperationsValueItem

ModelSwitchBeforeCapabilitiesFlowOperations is a structurally validated schema value.

func (ModelSwitchBeforeCapabilitiesFlowOperations) MarshalJSON added in v0.1.1

func (value ModelSwitchBeforeCapabilitiesFlowOperations) MarshalJSON() ([]byte, error)

func (*ModelSwitchBeforeCapabilitiesFlowOperations) UnmarshalJSON added in v0.1.1

func (value *ModelSwitchBeforeCapabilitiesFlowOperations) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesFlowOperationsValueItem added in v0.1.1

type ModelSwitchBeforeCapabilitiesFlowOperationsValueItem string

ModelSwitchBeforeCapabilitiesFlowOperationsValueItem is a generated schema value.

const ModelSwitchBeforeCapabilitiesFlowOperationsValueItemContinue ModelSwitchBeforeCapabilitiesFlowOperationsValueItem = "continue"
const ModelSwitchBeforeCapabilitiesFlowOperationsValueItemStop ModelSwitchBeforeCapabilitiesFlowOperationsValueItem = "stop"

func (*ModelSwitchBeforeCapabilitiesFlowOperationsValueItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesInject

type ModelSwitchBeforeCapabilitiesInject struct {
	Context              ModelSwitchBeforeCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeCapabilitiesInject is a generated nested model.

func (ModelSwitchBeforeCapabilitiesInject) MarshalJSON

func (value ModelSwitchBeforeCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilitiesInject) UnmarshalJSON

func (value *ModelSwitchBeforeCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesInjectContext

type ModelSwitchBeforeCapabilitiesInjectContext struct {
	Append               ModelSwitchBeforeCapabilitiesInjectContextAppend
	DeliverAt            []ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeCapabilitiesInjectContext is a generated nested model.

func (ModelSwitchBeforeCapabilitiesInjectContext) MarshalJSON

func (value ModelSwitchBeforeCapabilitiesInjectContext) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilitiesInjectContext) UnmarshalJSON

func (value *ModelSwitchBeforeCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesInjectContextAppend

type ModelSwitchBeforeCapabilitiesInjectContextAppend bool

ModelSwitchBeforeCapabilitiesInjectContextAppend is a generated schema value.

const ModelSwitchBeforeCapabilitiesInjectContextAppendTrue ModelSwitchBeforeCapabilitiesInjectContextAppend = true

func (*ModelSwitchBeforeCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

func (value *ModelSwitchBeforeCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem

type ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem string

ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItemNextTurn ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItemNow ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem = "now"

func (*ModelSwitchBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesModify

ModelSwitchBeforeCapabilitiesModify is a generated nested model.

func (ModelSwitchBeforeCapabilitiesModify) MarshalJSON

func (value ModelSwitchBeforeCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilitiesModify) UnmarshalJSON

func (value *ModelSwitchBeforeCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesModifyContent added in v0.1.1

type ModelSwitchBeforeCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeCapabilitiesModifyContent is a generated nested model.

func (ModelSwitchBeforeCapabilitiesModifyContent) MarshalJSON added in v0.1.1

func (value ModelSwitchBeforeCapabilitiesModifyContent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *ModelSwitchBeforeCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesModifyInput added in v0.1.1

type ModelSwitchBeforeCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeCapabilitiesModifyInput is a generated nested model.

func (ModelSwitchBeforeCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value ModelSwitchBeforeCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *ModelSwitchBeforeCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesModifyInstructions added in v0.1.1

type ModelSwitchBeforeCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeCapabilitiesModifyInstructions is a generated nested model.

func (ModelSwitchBeforeCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

func (value *ModelSwitchBeforeCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesModifyOutput added in v0.1.1

type ModelSwitchBeforeCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeCapabilitiesModifyOutput is a generated nested model.

func (ModelSwitchBeforeCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

func (value ModelSwitchBeforeCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *ModelSwitchBeforeCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesModifyPrompt added in v0.1.1

type ModelSwitchBeforeCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeCapabilitiesModifyPrompt is a generated nested model.

func (ModelSwitchBeforeCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

func (value ModelSwitchBeforeCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *ModelSwitchBeforeCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesModifyRequest added in v0.1.1

type ModelSwitchBeforeCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeCapabilitiesModifyRequest is a generated nested model.

func (ModelSwitchBeforeCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

func (value ModelSwitchBeforeCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *ModelSwitchBeforeCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesModifyResponse added in v0.1.1

type ModelSwitchBeforeCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeCapabilitiesModifyResponse is a generated nested model.

func (ModelSwitchBeforeCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

func (value ModelSwitchBeforeCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *ModelSwitchBeforeCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesModifySummary added in v0.1.1

type ModelSwitchBeforeCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeCapabilitiesModifySummary is a generated nested model.

func (ModelSwitchBeforeCapabilitiesModifySummary) MarshalJSON added in v0.1.1

func (value ModelSwitchBeforeCapabilitiesModifySummary) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *ModelSwitchBeforeCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeCapabilitiesModifyWorkspace added in v0.1.1

type ModelSwitchBeforeCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeCapabilitiesModifyWorkspace is a generated nested model.

func (ModelSwitchBeforeCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

func (value ModelSwitchBeforeCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *ModelSwitchBeforeCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeEffect added in v0.4.0

type ModelSwitchBeforeEffect struct {
	DenyEffect     Optional[*DenyEffect]
	StopFlowEffect Optional[*StopFlowEffect]
	MessageEffect  Optional[*MessageEffect]
	Unknown        json.RawMessage
}

ModelSwitchBeforeEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ModelSwitchBeforeEffect.

func (ModelSwitchBeforeEffect) MarshalJSON added in v0.4.0

func (value ModelSwitchBeforeEffect) MarshalJSON() ([]byte, error)

func (*ModelSwitchBeforeEffect) UnmarshalJSON added in v0.4.0

func (value *ModelSwitchBeforeEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeEvent

type ModelSwitchBeforeEvent struct {
	Current              *ExecutionEventModel
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ModelSwitchBeforeEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Pricing              Optional[ModelSwitchBeforeEventPricing]
	Proposed             *ExecutionEventModel
	Reason               string
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[ModelSwitchBeforeEventTurn]
	Type                 ModelSwitchBeforeEventType
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/model.switch.before.

func (ModelSwitchBeforeEvent) MarshalJSON

func (value ModelSwitchBeforeEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeEvent) UnmarshalJSON

func (value *ModelSwitchBeforeEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeEventGapsItem

type ModelSwitchBeforeEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeEventGapsItem is a generated nested model.

func (ModelSwitchBeforeEventGapsItem) MarshalJSON

func (value ModelSwitchBeforeEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeEventGapsItem) UnmarshalJSON

func (value *ModelSwitchBeforeEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeEventPricing

type ModelSwitchBeforeEventPricing struct {
	Currency               string
	InputPerMillionTokens  Optional[json.Number]
	OutputPerMillionTokens Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

ModelSwitchBeforeEventPricing is a generated nested model.

func (ModelSwitchBeforeEventPricing) MarshalJSON

func (value ModelSwitchBeforeEventPricing) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeEventPricing) UnmarshalJSON

func (value *ModelSwitchBeforeEventPricing) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeEventTurn

type ModelSwitchBeforeEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeEventTurn is a generated nested model.

func (ModelSwitchBeforeEventTurn) MarshalJSON

func (value ModelSwitchBeforeEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeEventTurn) UnmarshalJSON

func (value *ModelSwitchBeforeEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeEventType

type ModelSwitchBeforeEventType string

ModelSwitchBeforeEventType is a generated schema value.

const ModelSwitchBeforeEventTypeModelSwitchBefore ModelSwitchBeforeEventType = "model.switch.before"

func (*ModelSwitchBeforeEventType) UnmarshalJSON added in v0.1.1

func (value *ModelSwitchBeforeEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeInterceptResponse added in v0.4.0

type ModelSwitchBeforeInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              ModelSwitchBeforeInterceptResponseJSONRPC
	Result               ModelSwitchBeforeInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/ModelSwitchBeforeInterceptResponse.

func (ModelSwitchBeforeInterceptResponse) MarshalJSON added in v0.4.0

func (value ModelSwitchBeforeInterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeInterceptResponse) UnmarshalJSON added in v0.4.0

func (value *ModelSwitchBeforeInterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeInterceptResponseJSONRPC added in v0.4.0

type ModelSwitchBeforeInterceptResponseJSONRPC string

ModelSwitchBeforeInterceptResponseJSONRPC is a generated schema value.

const ModelSwitchBeforeInterceptResponseJSONRPCValue20 ModelSwitchBeforeInterceptResponseJSONRPC = "2.0"

func (*ModelSwitchBeforeInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

func (value *ModelSwitchBeforeInterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelSwitchBeforeInterceptResponseResult added in v0.4.0

type ModelSwitchBeforeInterceptResponseResult struct {
	Effects              Optional[[]*ModelSwitchBeforeEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

ModelSwitchBeforeInterceptResponseResult is a generated nested model.

func (ModelSwitchBeforeInterceptResponseResult) MarshalJSON added in v0.4.0

func (value ModelSwitchBeforeInterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelSwitchBeforeInterceptResponseResult) UnmarshalJSON added in v0.4.0

func (value *ModelSwitchBeforeInterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelVisibleItem

type ModelVisibleItem struct {
	ID                   string
	Parts                []*ContentItem
	Role                 ModelVisibleItemRole
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ModelVisibleItem is generated from schema/draft/content-item.schema.json#/$defs/modelVisibleItem.

func (ModelVisibleItem) MarshalJSON added in v0.1.1

func (value ModelVisibleItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModelVisibleItem) UnmarshalJSON added in v0.1.1

func (value *ModelVisibleItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModelVisibleItemRole added in v0.3.0

type ModelVisibleItemRole string

ModelVisibleItemRole is a generated schema value.

const ModelVisibleItemRoleAssistant ModelVisibleItemRole = "assistant"
const ModelVisibleItemRoleDeveloper ModelVisibleItemRole = "developer"
const ModelVisibleItemRoleSystem ModelVisibleItemRole = "system"
const ModelVisibleItemRoleTool ModelVisibleItemRole = "tool"
const ModelVisibleItemRoleUser ModelVisibleItemRole = "user"

func (*ModelVisibleItemRole) UnmarshalJSON added in v0.3.0

func (value *ModelVisibleItemRole) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyFormEffect added in v0.4.0

type ModifyFormEffect struct {
	Operation            ModifyFormEffectOperation
	Target               ModifyFormEffectTarget
	Type                 ModifyFormEffectType
	Value                *FormAnswers
	AdditionalProperties map[string]json.RawMessage
}

ModifyFormEffect is generated from schema/draft/effect.schema.json#/$defs/ModifyFormEffect.

func (ModifyFormEffect) MarshalJSON added in v0.4.0

func (value ModifyFormEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModifyFormEffect) UnmarshalJSON added in v0.4.0

func (value *ModifyFormEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyFormEffectOperation added in v0.4.0

type ModifyFormEffectOperation struct {
	Replace Optional[ModifyFormEffectOperationReplace]
	Merge   Optional[ModifyFormEffectOperationMerge]
	Unknown json.RawMessage
}

ModifyFormEffectOperation is a generated union model.

func (ModifyFormEffectOperation) MarshalJSON added in v0.4.0

func (value ModifyFormEffectOperation) MarshalJSON() ([]byte, error)

func (*ModifyFormEffectOperation) UnmarshalJSON added in v0.4.0

func (value *ModifyFormEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyFormEffectOperationMerge added in v0.4.0

type ModifyFormEffectOperationMerge string

ModifyFormEffectOperationMerge is a generated schema value.

const ModifyFormEffectOperationMergeMerge ModifyFormEffectOperationMerge = "merge"

func (*ModifyFormEffectOperationMerge) UnmarshalJSON added in v0.4.0

func (value *ModifyFormEffectOperationMerge) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyFormEffectOperationReplace added in v0.4.0

type ModifyFormEffectOperationReplace string

ModifyFormEffectOperationReplace is a generated schema value.

const ModifyFormEffectOperationReplaceReplace ModifyFormEffectOperationReplace = "replace"

func (*ModifyFormEffectOperationReplace) UnmarshalJSON added in v0.4.0

func (value *ModifyFormEffectOperationReplace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyFormEffectTarget added in v0.4.0

type ModifyFormEffectTarget string

ModifyFormEffectTarget is a generated schema value.

const ModifyFormEffectTargetContent ModifyFormEffectTarget = "content"

func (*ModifyFormEffectTarget) UnmarshalJSON added in v0.4.0

func (value *ModifyFormEffectTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyFormEffectType added in v0.4.0

type ModifyFormEffectType string

ModifyFormEffectType is a generated schema value.

const ModifyFormEffectTypeModify ModifyFormEffectType = "modify"

func (*ModifyFormEffectType) UnmarshalJSON added in v0.4.0

func (value *ModifyFormEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyInputEffect added in v0.4.0

type ModifyInputEffect struct {
	Operation            ModifyInputEffectOperation
	Target               ModifyInputEffectTarget
	Type                 ModifyInputEffectType
	Value                ModifyInputEffectValue
	AdditionalProperties map[string]json.RawMessage
}

ModifyInputEffect is generated from schema/draft/effect.schema.json#/$defs/ModifyInputEffect.

func (ModifyInputEffect) MarshalJSON added in v0.4.0

func (value ModifyInputEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModifyInputEffect) UnmarshalJSON added in v0.4.0

func (value *ModifyInputEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyInputEffectOperation added in v0.4.0

type ModifyInputEffectOperation struct {
	Replace Optional[ModifyInputEffectOperationReplace]
	Merge   Optional[ModifyInputEffectOperationMerge]
	Unknown json.RawMessage
}

ModifyInputEffectOperation is a generated union model.

func (ModifyInputEffectOperation) MarshalJSON added in v0.4.0

func (value ModifyInputEffectOperation) MarshalJSON() ([]byte, error)

func (*ModifyInputEffectOperation) UnmarshalJSON added in v0.4.0

func (value *ModifyInputEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyInputEffectOperationMerge added in v0.4.0

type ModifyInputEffectOperationMerge string

ModifyInputEffectOperationMerge is a generated schema value.

const ModifyInputEffectOperationMergeMerge ModifyInputEffectOperationMerge = "merge"

func (*ModifyInputEffectOperationMerge) UnmarshalJSON added in v0.4.0

func (value *ModifyInputEffectOperationMerge) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyInputEffectOperationReplace added in v0.4.0

type ModifyInputEffectOperationReplace string

ModifyInputEffectOperationReplace is a generated schema value.

const ModifyInputEffectOperationReplaceReplace ModifyInputEffectOperationReplace = "replace"

func (*ModifyInputEffectOperationReplace) UnmarshalJSON added in v0.4.0

func (value *ModifyInputEffectOperationReplace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyInputEffectTarget added in v0.4.0

type ModifyInputEffectTarget string

ModifyInputEffectTarget is a generated schema value.

const ModifyInputEffectTargetInput ModifyInputEffectTarget = "input"

func (*ModifyInputEffectTarget) UnmarshalJSON added in v0.4.0

func (value *ModifyInputEffectTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyInputEffectType added in v0.4.0

type ModifyInputEffectType string

ModifyInputEffectType is a generated schema value.

const ModifyInputEffectTypeModify ModifyInputEffectType = "modify"

func (*ModifyInputEffectType) UnmarshalJSON added in v0.4.0

func (value *ModifyInputEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyInputEffectValue added in v0.4.0

type ModifyInputEffectValue struct {
	AdditionalProperties map[string]json.RawMessage
}

ModifyInputEffectValue is a generated nested model.

func (ModifyInputEffectValue) MarshalJSON added in v0.4.0

func (value ModifyInputEffectValue) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModifyInputEffectValue) UnmarshalJSON added in v0.4.0

func (value *ModifyInputEffectValue) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyMessagesEffect added in v0.4.0

type ModifyMessagesEffect struct {
	Operation            ModifyMessagesEffectOperation
	Target               ModifyMessagesEffectTarget
	Type                 ModifyMessagesEffectType
	Value                *CanonicalMessages
	AdditionalProperties map[string]json.RawMessage
}

ModifyMessagesEffect is generated from schema/draft/effect.schema.json#/$defs/ModifyMessagesEffect.

func (ModifyMessagesEffect) MarshalJSON added in v0.4.0

func (value ModifyMessagesEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModifyMessagesEffect) UnmarshalJSON added in v0.4.0

func (value *ModifyMessagesEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyMessagesEffectOperation added in v0.4.0

type ModifyMessagesEffectOperation struct {
	Replace Optional[ModifyMessagesEffectOperationReplace]
	Merge   Optional[ModifyMessagesEffectOperationMerge]
	Unknown json.RawMessage
}

ModifyMessagesEffectOperation is a generated union model.

func (ModifyMessagesEffectOperation) MarshalJSON added in v0.4.0

func (value ModifyMessagesEffectOperation) MarshalJSON() ([]byte, error)

func (*ModifyMessagesEffectOperation) UnmarshalJSON added in v0.4.0

func (value *ModifyMessagesEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyMessagesEffectOperationMerge added in v0.4.0

type ModifyMessagesEffectOperationMerge string

ModifyMessagesEffectOperationMerge is a generated schema value.

const ModifyMessagesEffectOperationMergeMerge ModifyMessagesEffectOperationMerge = "merge"

func (*ModifyMessagesEffectOperationMerge) UnmarshalJSON added in v0.4.0

func (value *ModifyMessagesEffectOperationMerge) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyMessagesEffectOperationReplace added in v0.4.0

type ModifyMessagesEffectOperationReplace string

ModifyMessagesEffectOperationReplace is a generated schema value.

const ModifyMessagesEffectOperationReplaceReplace ModifyMessagesEffectOperationReplace = "replace"

func (*ModifyMessagesEffectOperationReplace) UnmarshalJSON added in v0.4.0

func (value *ModifyMessagesEffectOperationReplace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyMessagesEffectTarget added in v0.4.0

ModifyMessagesEffectTarget is a generated union model.

func (ModifyMessagesEffectTarget) MarshalJSON added in v0.4.0

func (value ModifyMessagesEffectTarget) MarshalJSON() ([]byte, error)

func (*ModifyMessagesEffectTarget) UnmarshalJSON added in v0.4.0

func (value *ModifyMessagesEffectTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyMessagesEffectTargetContent added in v0.4.0

type ModifyMessagesEffectTargetContent string

ModifyMessagesEffectTargetContent is a generated schema value.

const ModifyMessagesEffectTargetContentContent ModifyMessagesEffectTargetContent = "content"

func (*ModifyMessagesEffectTargetContent) UnmarshalJSON added in v0.4.0

func (value *ModifyMessagesEffectTargetContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyMessagesEffectTargetOutput added in v0.4.0

type ModifyMessagesEffectTargetOutput string

ModifyMessagesEffectTargetOutput is a generated schema value.

const ModifyMessagesEffectTargetOutputOutput ModifyMessagesEffectTargetOutput = "output"

func (*ModifyMessagesEffectTargetOutput) UnmarshalJSON added in v0.4.0

func (value *ModifyMessagesEffectTargetOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyMessagesEffectTargetPrompt added in v0.4.0

type ModifyMessagesEffectTargetPrompt string

ModifyMessagesEffectTargetPrompt is a generated schema value.

const ModifyMessagesEffectTargetPromptPrompt ModifyMessagesEffectTargetPrompt = "prompt"

func (*ModifyMessagesEffectTargetPrompt) UnmarshalJSON added in v0.4.0

func (value *ModifyMessagesEffectTargetPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyMessagesEffectTargetRequest added in v0.4.0

type ModifyMessagesEffectTargetRequest string

ModifyMessagesEffectTargetRequest is a generated schema value.

const ModifyMessagesEffectTargetRequestRequest ModifyMessagesEffectTargetRequest = "request"

func (*ModifyMessagesEffectTargetRequest) UnmarshalJSON added in v0.4.0

func (value *ModifyMessagesEffectTargetRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyMessagesEffectTargetResponse added in v0.4.0

type ModifyMessagesEffectTargetResponse string

ModifyMessagesEffectTargetResponse is a generated schema value.

const ModifyMessagesEffectTargetResponseResponse ModifyMessagesEffectTargetResponse = "response"

func (*ModifyMessagesEffectTargetResponse) UnmarshalJSON added in v0.4.0

func (value *ModifyMessagesEffectTargetResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyMessagesEffectType added in v0.4.0

type ModifyMessagesEffectType string

ModifyMessagesEffectType is a generated schema value.

const ModifyMessagesEffectTypeModify ModifyMessagesEffectType = "modify"

func (*ModifyMessagesEffectType) UnmarshalJSON added in v0.4.0

func (value *ModifyMessagesEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyTextEffect added in v0.4.0

type ModifyTextEffect struct {
	Operation            ModifyTextEffectOperation
	Target               ModifyTextEffectTarget
	Type                 ModifyTextEffectType
	Value                *TextParts
	AdditionalProperties map[string]json.RawMessage
}

ModifyTextEffect is generated from schema/draft/effect.schema.json#/$defs/ModifyTextEffect.

func (ModifyTextEffect) MarshalJSON added in v0.4.0

func (value ModifyTextEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModifyTextEffect) UnmarshalJSON added in v0.4.0

func (value *ModifyTextEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyTextEffectOperation added in v0.4.0

type ModifyTextEffectOperation struct {
	Replace Optional[ModifyTextEffectOperationReplace]
	Merge   Optional[ModifyTextEffectOperationMerge]
	Unknown json.RawMessage
}

ModifyTextEffectOperation is a generated union model.

func (ModifyTextEffectOperation) MarshalJSON added in v0.4.0

func (value ModifyTextEffectOperation) MarshalJSON() ([]byte, error)

func (*ModifyTextEffectOperation) UnmarshalJSON added in v0.4.0

func (value *ModifyTextEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyTextEffectOperationMerge added in v0.4.0

type ModifyTextEffectOperationMerge string

ModifyTextEffectOperationMerge is a generated schema value.

const ModifyTextEffectOperationMergeMerge ModifyTextEffectOperationMerge = "merge"

func (*ModifyTextEffectOperationMerge) UnmarshalJSON added in v0.4.0

func (value *ModifyTextEffectOperationMerge) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyTextEffectOperationReplace added in v0.4.0

type ModifyTextEffectOperationReplace string

ModifyTextEffectOperationReplace is a generated schema value.

const ModifyTextEffectOperationReplaceReplace ModifyTextEffectOperationReplace = "replace"

func (*ModifyTextEffectOperationReplace) UnmarshalJSON added in v0.4.0

func (value *ModifyTextEffectOperationReplace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyTextEffectTarget added in v0.4.0

type ModifyTextEffectTarget struct {
	Instructions Optional[ModifyTextEffectTargetInstructions]
	Summary      Optional[ModifyTextEffectTargetSummary]
	Unknown      json.RawMessage
}

ModifyTextEffectTarget is a generated union model.

func (ModifyTextEffectTarget) MarshalJSON added in v0.4.0

func (value ModifyTextEffectTarget) MarshalJSON() ([]byte, error)

func (*ModifyTextEffectTarget) UnmarshalJSON added in v0.4.0

func (value *ModifyTextEffectTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyTextEffectTargetInstructions added in v0.4.0

type ModifyTextEffectTargetInstructions string

ModifyTextEffectTargetInstructions is a generated schema value.

const ModifyTextEffectTargetInstructionsInstructions ModifyTextEffectTargetInstructions = "instructions"

func (*ModifyTextEffectTargetInstructions) UnmarshalJSON added in v0.4.0

func (value *ModifyTextEffectTargetInstructions) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyTextEffectTargetSummary added in v0.4.0

type ModifyTextEffectTargetSummary string

ModifyTextEffectTargetSummary is a generated schema value.

const ModifyTextEffectTargetSummarySummary ModifyTextEffectTargetSummary = "summary"

func (*ModifyTextEffectTargetSummary) UnmarshalJSON added in v0.4.0

func (value *ModifyTextEffectTargetSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyTextEffectType added in v0.4.0

type ModifyTextEffectType string

ModifyTextEffectType is a generated schema value.

const ModifyTextEffectTypeModify ModifyTextEffectType = "modify"

func (*ModifyTextEffectType) UnmarshalJSON added in v0.4.0

func (value *ModifyTextEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyWorkspaceEffect added in v0.4.0

type ModifyWorkspaceEffect struct {
	Operation            ModifyWorkspaceEffectOperation
	Target               ModifyWorkspaceEffectTarget
	Type                 ModifyWorkspaceEffectType
	Value                *WorkspaceChange
	AdditionalProperties map[string]json.RawMessage
}

ModifyWorkspaceEffect is generated from schema/draft/effect.schema.json#/$defs/ModifyWorkspaceEffect.

func (ModifyWorkspaceEffect) MarshalJSON added in v0.4.0

func (value ModifyWorkspaceEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ModifyWorkspaceEffect) UnmarshalJSON added in v0.4.0

func (value *ModifyWorkspaceEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyWorkspaceEffectOperation added in v0.4.0

type ModifyWorkspaceEffectOperation struct {
	Replace Optional[ModifyWorkspaceEffectOperationReplace]
	Merge   Optional[ModifyWorkspaceEffectOperationMerge]
	Unknown json.RawMessage
}

ModifyWorkspaceEffectOperation is a generated union model.

func (ModifyWorkspaceEffectOperation) MarshalJSON added in v0.4.0

func (value ModifyWorkspaceEffectOperation) MarshalJSON() ([]byte, error)

func (*ModifyWorkspaceEffectOperation) UnmarshalJSON added in v0.4.0

func (value *ModifyWorkspaceEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyWorkspaceEffectOperationMerge added in v0.4.0

type ModifyWorkspaceEffectOperationMerge string

ModifyWorkspaceEffectOperationMerge is a generated schema value.

const ModifyWorkspaceEffectOperationMergeMerge ModifyWorkspaceEffectOperationMerge = "merge"

func (*ModifyWorkspaceEffectOperationMerge) UnmarshalJSON added in v0.4.0

func (value *ModifyWorkspaceEffectOperationMerge) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyWorkspaceEffectOperationReplace added in v0.4.0

type ModifyWorkspaceEffectOperationReplace string

ModifyWorkspaceEffectOperationReplace is a generated schema value.

const ModifyWorkspaceEffectOperationReplaceReplace ModifyWorkspaceEffectOperationReplace = "replace"

func (*ModifyWorkspaceEffectOperationReplace) UnmarshalJSON added in v0.4.0

func (value *ModifyWorkspaceEffectOperationReplace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyWorkspaceEffectTarget added in v0.4.0

type ModifyWorkspaceEffectTarget string

ModifyWorkspaceEffectTarget is a generated schema value.

const ModifyWorkspaceEffectTargetWorkspace ModifyWorkspaceEffectTarget = "workspace"

func (*ModifyWorkspaceEffectTarget) UnmarshalJSON added in v0.4.0

func (value *ModifyWorkspaceEffectTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ModifyWorkspaceEffectType added in v0.4.0

type ModifyWorkspaceEffectType string

ModifyWorkspaceEffectType is a generated schema value.

const ModifyWorkspaceEffectTypeModify ModifyWorkspaceEffectType = "modify"

func (*ModifyWorkspaceEffectType) UnmarshalJSON added in v0.4.0

func (value *ModifyWorkspaceEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type NativeEvent

type NativeEvent json.RawMessage

NativeEvent is a structurally validated schema value.

func (NativeEvent) MarshalJSON added in v0.1.1

func (value NativeEvent) MarshalJSON() ([]byte, error)

func (*NativeEvent) UnmarshalJSON added in v0.1.1

func (value *NativeEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type Nullable added in v0.1.1

type Nullable[T any] struct {
	Value T
	Valid bool
}

Nullable distinguishes JSON null from a non-null value, independently of presence. Its zero value is null. Use Optional[Nullable[T]] for an optional nullable member.

func NonNull added in v0.1.1

func NonNull[T any](value T) Nullable[T]

NonNull returns a non-null payload. Encoding rejects payloads that encode as null.

func Null added in v0.1.1

func Null[T any]() Nullable[T]

Null returns an explicit JSON null.

func (Nullable[T]) MarshalJSON added in v0.1.1

func (value Nullable[T]) MarshalJSON() ([]byte, error)

func (*Nullable[T]) UnmarshalJSON added in v0.1.1

func (value *Nullable[T]) UnmarshalJSON(data []byte) error

type ObserveNotification

type ObserveNotification struct {
	JSONRPC              ObserveNotificationJSONRPC
	Method               ObserveNotificationMethod
	Params               ObserveNotificationParams
	AdditionalProperties map[string]json.RawMessage
}

ObserveNotification is generated from schema/draft/observe-notification.schema.json#.

func (ObserveNotification) MarshalJSON

func (value ObserveNotification) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ObserveNotification) UnmarshalJSON

func (value *ObserveNotification) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ObserveNotificationJSONRPC

type ObserveNotificationJSONRPC string

ObserveNotificationJSONRPC is a generated schema value.

const ObserveNotificationJSONRPCValue20 ObserveNotificationJSONRPC = "2.0"

func (*ObserveNotificationJSONRPC) UnmarshalJSON added in v0.1.1

func (value *ObserveNotificationJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ObserveNotificationMethod added in v0.1.1

type ObserveNotificationMethod ObserveNotificationMethodValue

ObserveNotificationMethod is a structurally validated schema value.

func (ObserveNotificationMethod) MarshalJSON added in v0.1.1

func (value ObserveNotificationMethod) MarshalJSON() ([]byte, error)

func (*ObserveNotificationMethod) UnmarshalJSON added in v0.1.1

func (value *ObserveNotificationMethod) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ObserveNotificationMethodValue added in v0.1.1

type ObserveNotificationMethodValue string

ObserveNotificationMethodValue is a generated schema value.

const ObserveNotificationMethodValueHooksObserve ObserveNotificationMethodValue = "hooks/observe"

func (*ObserveNotificationMethodValue) UnmarshalJSON added in v0.1.1

func (value *ObserveNotificationMethodValue) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ObserveNotificationParams

type ObserveNotificationParams struct {
	Event                *Event
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

ObserveNotificationParams is a generated nested model.

func (ObserveNotificationParams) MarshalJSON

func (value ObserveNotificationParams) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ObserveNotificationParams) UnmarshalJSON

func (value *ObserveNotificationParams) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ObserveSubscription

type ObserveSubscription struct {
	Content              *ContentSelection
	Disableable          Optional[bool]
	Events               []ObserveSubscriptionEventsItem
	Filters              Optional[ObserveSubscriptionFilters]
	IncludeNative        Optional[bool]
	Mode                 ObserveSubscriptionMode
	Scope                Optional[ObserveSubscriptionScope]
	Upload               Optional[*ContentUpload]
	AdditionalProperties map[string]json.RawMessage
}

ObserveSubscription is generated from schema/draft/registration.schema.json#/$defs/observeSubscription.

func (ObserveSubscription) MarshalJSON

func (value ObserveSubscription) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ObserveSubscription) UnmarshalJSON

func (value *ObserveSubscription) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ObserveSubscriptionEventsItem

type ObserveSubscriptionEventsItem struct {
	Known   Optional[ObserveSubscriptionEventsItemKnown]
	Custom  Optional[string]
	Unknown json.RawMessage
}

ObserveSubscriptionEventsItem is a generated union model.

func (ObserveSubscriptionEventsItem) MarshalJSON

func (value ObserveSubscriptionEventsItem) MarshalJSON() ([]byte, error)

func (*ObserveSubscriptionEventsItem) UnmarshalJSON

func (value *ObserveSubscriptionEventsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ObserveSubscriptionEventsItemKnown added in v0.1.1

type ObserveSubscriptionEventsItemKnown string

ObserveSubscriptionEventsItemKnown is a generated schema value.

const ObserveSubscriptionEventsItemKnownConfigChangeAfter ObserveSubscriptionEventsItemKnown = "config.change.after"
const ObserveSubscriptionEventsItemKnownConfigChangeBefore ObserveSubscriptionEventsItemKnown = "config.change.before"
const ObserveSubscriptionEventsItemKnownContextCompactAfter ObserveSubscriptionEventsItemKnown = "context.compact.after"
const ObserveSubscriptionEventsItemKnownContextCompactBefore ObserveSubscriptionEventsItemKnown = "context.compact.before"
const ObserveSubscriptionEventsItemKnownFileChanged ObserveSubscriptionEventsItemKnown = "file.changed"
const ObserveSubscriptionEventsItemKnownHookFailure ObserveSubscriptionEventsItemKnown = "hook.failure"
const ObserveSubscriptionEventsItemKnownModelError ObserveSubscriptionEventsItemKnown = "model.error"
const ObserveSubscriptionEventsItemKnownModelRequestBefore ObserveSubscriptionEventsItemKnown = "model.request.before"
const ObserveSubscriptionEventsItemKnownModelResponseAfter ObserveSubscriptionEventsItemKnown = "model.response.after"
const ObserveSubscriptionEventsItemKnownModelSwitchAfter ObserveSubscriptionEventsItemKnown = "model.switch.after"
const ObserveSubscriptionEventsItemKnownModelSwitchBefore ObserveSubscriptionEventsItemKnown = "model.switch.before"
const ObserveSubscriptionEventsItemKnownSessionEnd ObserveSubscriptionEventsItemKnown = "session.end"
const ObserveSubscriptionEventsItemKnownSessionStart ObserveSubscriptionEventsItemKnown = "session.start"
const ObserveSubscriptionEventsItemKnownTaskChangeAfter ObserveSubscriptionEventsItemKnown = "task.change.after"
const ObserveSubscriptionEventsItemKnownTaskChangeBefore ObserveSubscriptionEventsItemKnown = "task.change.before"
const ObserveSubscriptionEventsItemKnownToolAfter ObserveSubscriptionEventsItemKnown = "tool.after"
const ObserveSubscriptionEventsItemKnownToolBatchAfter ObserveSubscriptionEventsItemKnown = "tool.batch.after"
const ObserveSubscriptionEventsItemKnownToolBefore ObserveSubscriptionEventsItemKnown = "tool.before"
const ObserveSubscriptionEventsItemKnownToolPermissionRequest ObserveSubscriptionEventsItemKnown = "tool.permission.request"
const ObserveSubscriptionEventsItemKnownToolPermissionResolved ObserveSubscriptionEventsItemKnown = "tool.permission.resolved"
const ObserveSubscriptionEventsItemKnownToolProgress ObserveSubscriptionEventsItemKnown = "tool.progress"
const ObserveSubscriptionEventsItemKnownTurnEnd ObserveSubscriptionEventsItemKnown = "turn.end"
const ObserveSubscriptionEventsItemKnownTurnFinishBefore ObserveSubscriptionEventsItemKnown = "turn.finish.before"
const ObserveSubscriptionEventsItemKnownTurnProgress ObserveSubscriptionEventsItemKnown = "turn.progress"
const ObserveSubscriptionEventsItemKnownTurnStart ObserveSubscriptionEventsItemKnown = "turn.start"
const ObserveSubscriptionEventsItemKnownUserAttention ObserveSubscriptionEventsItemKnown = "user.attention"
const ObserveSubscriptionEventsItemKnownUserElicitationRequest ObserveSubscriptionEventsItemKnown = "user.elicitation.request"
const ObserveSubscriptionEventsItemKnownUserElicitationResult ObserveSubscriptionEventsItemKnown = "user.elicitation.result"
const ObserveSubscriptionEventsItemKnownUserMessageInbound ObserveSubscriptionEventsItemKnown = "user.message.inbound"
const ObserveSubscriptionEventsItemKnownUserMessageOutbound ObserveSubscriptionEventsItemKnown = "user.message.outbound"
const ObserveSubscriptionEventsItemKnownWorkspaceChangeAfter ObserveSubscriptionEventsItemKnown = "workspace.change.after"
const ObserveSubscriptionEventsItemKnownWorkspaceChangeBefore ObserveSubscriptionEventsItemKnown = "workspace.change.before"

func (*ObserveSubscriptionEventsItemKnown) UnmarshalJSON added in v0.1.1

func (value *ObserveSubscriptionEventsItemKnown) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ObserveSubscriptionFilters

type ObserveSubscriptionFilters struct {
	Paths                Optional[[]string]
	ToolKinds            Optional[[]string]
	AdditionalProperties map[string]json.RawMessage
}

ObserveSubscriptionFilters is a generated nested model.

func (ObserveSubscriptionFilters) MarshalJSON

func (value ObserveSubscriptionFilters) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ObserveSubscriptionFilters) UnmarshalJSON

func (value *ObserveSubscriptionFilters) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ObserveSubscriptionMode

type ObserveSubscriptionMode string

ObserveSubscriptionMode is a generated schema value.

const ObserveSubscriptionModeObserve ObserveSubscriptionMode = "observe"

func (*ObserveSubscriptionMode) UnmarshalJSON added in v0.1.1

func (value *ObserveSubscriptionMode) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ObserveSubscriptionScope

type ObserveSubscriptionScope string

ObserveSubscriptionScope is a generated schema value.

const ObserveSubscriptionScopeManaged ObserveSubscriptionScope = "managed"
const ObserveSubscriptionScopeProject ObserveSubscriptionScope = "project"
const ObserveSubscriptionScopeUser ObserveSubscriptionScope = "user"

func (*ObserveSubscriptionScope) UnmarshalJSON added in v0.1.1

func (value *ObserveSubscriptionScope) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type 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 ParseConfigChangeBeforeInterceptResponse added in v0.4.0

func ParseConfigChangeBeforeInterceptResponse(input []byte) ParseResult[ConfigChangeBeforeInterceptResponse]

func ParseContentItem

func ParseContentItem(input []byte) ParseResult[ContentItem]

ParseContentItem parses and structurally checks one ContentItem JSON document.

func ParseContentReference

func ParseContentReference(input []byte) ParseResult[ContentReference]

ParseContentReference parses and structurally checks one ContentReference JSON document.

func ParseContentSelection

func ParseContentSelection(input []byte) ParseResult[ContentSelection]

ParseContentSelection parses and structurally checks one ContentSelection JSON document.

func ParseContentUpload

func ParseContentUpload(input []byte) ParseResult[ContentUpload]

ParseContentUpload parses and structurally checks one ContentUpload JSON document.

func ParseContentUploadReceipt added in v0.1.1

func ParseContentUploadReceipt(input []byte) ParseResult[ContentUploadReceipt]

ParseContentUploadReceipt parses and structurally checks one ContentUploadReceipt JSON document.

func ParseContextCompactAfterInterceptResponse added in v0.4.0

func ParseContextCompactAfterInterceptResponse(input []byte) ParseResult[ContextCompactAfterInterceptResponse]

func ParseContextCompactBeforeInterceptResponse added in v0.4.0

func ParseContextCompactBeforeInterceptResponse(input []byte) ParseResult[ContextCompactBeforeInterceptResponse]

func ParseDenyEffect

func ParseDenyEffect(input []byte) ParseResult[DenyEffect]

ParseDenyEffect parses and structurally checks one DenyEffect JSON document.

func ParseEffect

func ParseEffect(input []byte) ParseResult[Effect]

ParseEffect parses and structurally checks one Effect JSON document.

func ParseEvent added in v0.1.1

func ParseEvent(input []byte) ParseResult[Event]

ParseEvent parses and structurally checks one Event JSON document.

func ParseExecutionEvent

func ParseExecutionEvent(input []byte) ParseResult[ExecutionEvent]

ParseExecutionEvent parses and structurally checks one ExecutionEvent JSON document.

func ParseExtensions

func ParseExtensions(input []byte) ParseResult[Extensions]

ParseExtensions parses and structurally checks one Extensions JSON document.

func ParseInteractionEvent

func ParseInteractionEvent(input []byte) ParseResult[InteractionEvent]

ParseInteractionEvent parses and structurally checks one InteractionEvent JSON document.

func ParseInterceptDenyResponse

func ParseInterceptDenyResponse(input []byte) ParseResult[InterceptDenyResponse]

ParseInterceptDenyResponse parses and structurally checks one InterceptDenyResponse JSON document.

func ParseInterceptNoEffectResponse

func ParseInterceptNoEffectResponse(input []byte) ParseResult[InterceptNoEffectResponse]

ParseInterceptNoEffectResponse parses and structurally checks one InterceptNoEffectResponse JSON document.

func ParseInterceptRequest

func ParseInterceptRequest(input []byte) ParseResult[InterceptRequest]

ParseInterceptRequest parses and structurally checks one InterceptRequest JSON document.

func ParseInterceptResponse

func ParseInterceptResponse(input []byte) ParseResult[InterceptResponse]

ParseInterceptResponse parses and structurally checks one InterceptResponse JSON document.

func ParseJsonRpcMessage

func ParseJsonRpcMessage(input []byte) ParseResult[JsonRpcMessage]

ParseJsonRpcMessage parses and structurally checks one JsonRpcMessage JSON document.

func ParseModelRequestBeforeInterceptResponse added in v0.4.0

func ParseModelRequestBeforeInterceptResponse(input []byte) ParseResult[ModelRequestBeforeInterceptResponse]

func ParseModelResponseAfterInterceptResponse added in v0.4.0

func ParseModelResponseAfterInterceptResponse(input []byte) ParseResult[ModelResponseAfterInterceptResponse]

func ParseModelSwitchBeforeInterceptResponse added in v0.4.0

func ParseModelSwitchBeforeInterceptResponse(input []byte) ParseResult[ModelSwitchBeforeInterceptResponse]

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 ParseSessionStartInterceptResponse added in v0.4.0

func ParseSessionStartInterceptResponse(input []byte) ParseResult[SessionStartInterceptResponse]

func ParseTaskChangeBeforeInterceptResponse added in v0.4.0

func ParseTaskChangeBeforeInterceptResponse(input []byte) ParseResult[TaskChangeBeforeInterceptResponse]

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 ParseToolAfterInterceptResponse added in v0.4.0

func ParseToolAfterInterceptResponse(input []byte) ParseResult[ToolAfterInterceptResponse]

func ParseToolBatchAfterInterceptResponse added in v0.4.0

func ParseToolBatchAfterInterceptResponse(input []byte) ParseResult[ToolBatchAfterInterceptResponse]

func ParseToolBeforeEvent

func ParseToolBeforeEvent(input []byte) ParseResult[ToolBeforeEvent]

ParseToolBeforeEvent parses and structurally checks one ToolBeforeEvent JSON document.

func ParseToolBeforeInterceptResponse added in v0.4.0

func ParseToolBeforeInterceptResponse(input []byte) ParseResult[ToolBeforeInterceptResponse]

func ParseToolPermissionRequestInterceptResponse added in v0.4.0

func ParseToolPermissionRequestInterceptResponse(input []byte) ParseResult[ToolPermissionRequestInterceptResponse]

func ParseTurnFinishBeforeInterceptResponse added in v0.4.0

func ParseTurnFinishBeforeInterceptResponse(input []byte) ParseResult[TurnFinishBeforeInterceptResponse]

func ParseTurnStartInterceptResponse added in v0.4.0

func ParseTurnStartInterceptResponse(input []byte) ParseResult[TurnStartInterceptResponse]

func ParseUserElicitationRequestInterceptResponse added in v0.4.0

func ParseUserElicitationRequestInterceptResponse(input []byte) ParseResult[UserElicitationRequestInterceptResponse]

func ParseUserElicitationResultInterceptResponse added in v0.4.0

func ParseUserElicitationResultInterceptResponse(input []byte) ParseResult[UserElicitationResultInterceptResponse]

func ParseUserMessageInboundInterceptResponse added in v0.4.0

func ParseUserMessageInboundInterceptResponse(input []byte) ParseResult[UserMessageInboundInterceptResponse]

func ParseUserMessageOutboundInterceptResponse added in v0.4.0

func ParseUserMessageOutboundInterceptResponse(input []byte) ParseResult[UserMessageOutboundInterceptResponse]

func ParseWireMessage

func ParseWireMessage(input []byte) ParseResult[WireMessage]

ParseWireMessage parses and structurally checks one WireMessage JSON document.

func ParseWorkspaceChangeBeforeInterceptResponse added in v0.4.0

func ParseWorkspaceChangeBeforeInterceptResponse(input []byte) ParseResult[WorkspaceChangeBeforeInterceptResponse]

type ProtocolVersion

type ProtocolVersion string

ProtocolVersion is generated from schema/draft/common.schema.json#/$defs/protocolVersion.

const ProtocolVersionDraft ProtocolVersion = "draft"

func (*ProtocolVersion) UnmarshalJSON added in v0.1.1

func (value *ProtocolVersion) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type Registration

type Registration struct {
	Hooks                []*Backend
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

Registration is generated from schema/draft/registration.schema.json#.

func (Registration) MarshalJSON

func (value Registration) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*Registration) UnmarshalJSON

func (value *Registration) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type RegistrationContentreceiver

type RegistrationContentreceiver struct {
	Authentication       Optional[*Authentication]
	MaxBytes             json.Number
	TimeoutMs            json.Number
	URL                  string
	AdditionalProperties map[string]json.RawMessage
}

RegistrationContentreceiver is generated from schema/draft/registration.schema.json#/$defs/contentReceiver.

func (RegistrationContentreceiver) MarshalJSON

func (value RegistrationContentreceiver) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*RegistrationContentreceiver) UnmarshalJSON

func (value *RegistrationContentreceiver) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ReturnElicitResultEffect added in v0.4.0

type ReturnElicitResultEffect struct {
	Type                 ReturnElicitResultEffectType
	Value                *McpElicitationElicitResult
	AdditionalProperties map[string]json.RawMessage
}

ReturnElicitResultEffect is generated from schema/draft/effect.schema.json#/$defs/ReturnElicitResultEffect.

func (ReturnElicitResultEffect) MarshalJSON added in v0.4.0

func (value ReturnElicitResultEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ReturnElicitResultEffect) UnmarshalJSON added in v0.4.0

func (value *ReturnElicitResultEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ReturnElicitResultEffectType added in v0.4.0

type ReturnElicitResultEffectType string

ReturnElicitResultEffectType is a generated schema value.

const ReturnElicitResultEffectTypeReturn ReturnElicitResultEffectType = "return"

func (*ReturnElicitResultEffectType) UnmarshalJSON added in v0.4.0

func (value *ReturnElicitResultEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ReturnMessagesEffect added in v0.4.0

type ReturnMessagesEffect struct {
	Type                 ReturnMessagesEffectType
	Value                *CanonicalMessages
	AdditionalProperties map[string]json.RawMessage
}

ReturnMessagesEffect is generated from schema/draft/effect.schema.json#/$defs/ReturnMessagesEffect.

func (ReturnMessagesEffect) MarshalJSON added in v0.4.0

func (value ReturnMessagesEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ReturnMessagesEffect) UnmarshalJSON added in v0.4.0

func (value *ReturnMessagesEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ReturnMessagesEffectType added in v0.4.0

type ReturnMessagesEffectType string

ReturnMessagesEffectType is a generated schema value.

const ReturnMessagesEffectTypeReturn ReturnMessagesEffectType = "return"

func (*ReturnMessagesEffectType) UnmarshalJSON added in v0.4.0

func (value *ReturnMessagesEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ReturnTextEffect added in v0.4.0

type ReturnTextEffect struct {
	Type                 ReturnTextEffectType
	Value                *TextParts
	AdditionalProperties map[string]json.RawMessage
}

ReturnTextEffect is generated from schema/draft/effect.schema.json#/$defs/ReturnTextEffect.

func (ReturnTextEffect) MarshalJSON added in v0.4.0

func (value ReturnTextEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ReturnTextEffect) UnmarshalJSON added in v0.4.0

func (value *ReturnTextEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ReturnTextEffectType added in v0.4.0

type ReturnTextEffectType string

ReturnTextEffectType is a generated schema value.

const ReturnTextEffectTypeReturn ReturnTextEffectType = "return"

func (*ReturnTextEffectType) UnmarshalJSON added in v0.4.0

func (value *ReturnTextEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ReturnToolEffect added in v0.4.0

type ReturnToolEffect struct {
	Type                 ReturnToolEffectType
	Value                json.RawMessage
	AdditionalProperties map[string]json.RawMessage
}

ReturnToolEffect is generated from schema/draft/effect.schema.json#/$defs/ReturnToolEffect.

func (ReturnToolEffect) MarshalJSON added in v0.4.0

func (value ReturnToolEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ReturnToolEffect) UnmarshalJSON added in v0.4.0

func (value *ReturnToolEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ReturnToolEffectType added in v0.4.0

type ReturnToolEffectType string

ReturnToolEffectType is a generated schema value.

const ReturnToolEffectTypeReturn ReturnToolEffectType = "return"

func (*ReturnToolEffectType) UnmarshalJSON added in v0.4.0

func (value *ReturnToolEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ReverseDnsName

type ReverseDnsName string

ReverseDnsName is a structurally validated schema value.

func (ReverseDnsName) MarshalJSON added in v0.1.1

func (value ReverseDnsName) MarshalJSON() ([]byte, error)

func (*ReverseDnsName) UnmarshalJSON added in v0.1.1

func (value *ReverseDnsName) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type Session

type Session struct {
	Agent                Optional[SessionAgent]
	Counters             Optional[*SessionCounters]
	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 enforces generated structural rules and retains supported extensions.

type SessionAgent

type SessionAgent struct {
	ID                   string
	Type                 Optional[string]
	AdditionalProperties map[string]json.RawMessage
}

SessionAgent is a generated nested model.

func (SessionAgent) MarshalJSON

func (value SessionAgent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionAgent) UnmarshalJSON

func (value *SessionAgent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionCounters added in v0.4.0

type SessionCounters struct {
	InputTokens          Optional[json.Number]
	ModelRequests        Optional[json.Number]
	OutputTokens         Optional[json.Number]
	ToolCalls            Optional[json.Number]
	Turns                Optional[json.Number]
	AdditionalProperties map[string]json.Number
}

SessionCounters is generated from schema/draft/common.schema.json#/$defs/SessionCounters.

func (SessionCounters) MarshalJSON added in v0.4.0

func (value SessionCounters) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionCounters) UnmarshalJSON added in v0.4.0

func (value *SessionCounters) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionEndEvent

type SessionEndEvent struct {
	Counters             Optional[map[string]json.Number]
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]SessionEndEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	Outcome              SessionEndEventOutcome
	ParentEventId        Optional[string]
	Reason               string
	Session              *Session
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[SessionEndEventTurn]
	Type                 SessionEndEventType
	AdditionalProperties map[string]json.RawMessage
}

SessionEndEvent is generated from schema/draft/session-end.schema.json#.

func (SessionEndEvent) MarshalJSON

func (value SessionEndEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionEndEvent) UnmarshalJSON

func (value *SessionEndEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionEndEventGapsItem

type SessionEndEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

SessionEndEventGapsItem is a generated nested model.

func (SessionEndEventGapsItem) MarshalJSON

func (value SessionEndEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionEndEventGapsItem) UnmarshalJSON

func (value *SessionEndEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionEndEventOutcome

type SessionEndEventOutcome string

SessionEndEventOutcome is a generated schema value.

const SessionEndEventOutcomeCancelled SessionEndEventOutcome = "cancelled"
const SessionEndEventOutcomeCompleted SessionEndEventOutcome = "completed"
const SessionEndEventOutcomeError SessionEndEventOutcome = "error"
const SessionEndEventOutcomeUnknownValue SessionEndEventOutcome = "unknown"

func (*SessionEndEventOutcome) UnmarshalJSON added in v0.1.1

func (value *SessionEndEventOutcome) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionEndEventTurn

type SessionEndEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

SessionEndEventTurn is a generated nested model.

func (SessionEndEventTurn) MarshalJSON

func (value SessionEndEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionEndEventTurn) UnmarshalJSON

func (value *SessionEndEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionEndEventType

type SessionEndEventType string

SessionEndEventType is a generated schema value.

const SessionEndEventTypeSessionEnd SessionEndEventType = "session.end"

func (*SessionEndEventType) UnmarshalJSON added in v0.1.1

func (value *SessionEndEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilities

SessionStartCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/session.start.

func (SessionStartCapabilities) MarshalJSON

func (value SessionStartCapabilities) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilities) UnmarshalJSON

func (value *SessionStartCapabilities) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesEffects added in v0.1.1

type SessionStartCapabilitiesEffects []SessionStartCapabilitiesEffectsValueItem

SessionStartCapabilitiesEffects is a structurally validated schema value.

func (SessionStartCapabilitiesEffects) MarshalJSON added in v0.1.1

func (value SessionStartCapabilitiesEffects) MarshalJSON() ([]byte, error)

func (*SessionStartCapabilitiesEffects) UnmarshalJSON added in v0.1.1

func (value *SessionStartCapabilitiesEffects) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesEffectsValueItem added in v0.1.1

type SessionStartCapabilitiesEffectsValueItem string

SessionStartCapabilitiesEffectsValueItem is a generated schema value.

const SessionStartCapabilitiesEffectsValueItemInject SessionStartCapabilitiesEffectsValueItem = "inject"
const SessionStartCapabilitiesEffectsValueItemMessage SessionStartCapabilitiesEffectsValueItem = "message"

func (*SessionStartCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

func (value *SessionStartCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesElicitation

type SessionStartCapabilitiesElicitation struct {
	Form                 Optional[SessionStartCapabilitiesElicitationForm]
	URL                  Optional[SessionStartCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

SessionStartCapabilitiesElicitation is a generated nested model.

func (SessionStartCapabilitiesElicitation) MarshalJSON

func (value SessionStartCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilitiesElicitation) UnmarshalJSON

func (value *SessionStartCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesElicitationForm

type SessionStartCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

SessionStartCapabilitiesElicitationForm is a generated nested model.

func (SessionStartCapabilitiesElicitationForm) MarshalJSON

func (value SessionStartCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilitiesElicitationForm) UnmarshalJSON

func (value *SessionStartCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesElicitationURL

type SessionStartCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

SessionStartCapabilitiesElicitationURL is a generated nested model.

func (SessionStartCapabilitiesElicitationURL) MarshalJSON

func (value SessionStartCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilitiesElicitationURL) UnmarshalJSON

func (value *SessionStartCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesFlow

type SessionStartCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             []SessionStartCapabilitiesFlowOperationsItem
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

SessionStartCapabilitiesFlow is a generated nested model.

func (SessionStartCapabilitiesFlow) MarshalJSON

func (value SessionStartCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilitiesFlow) UnmarshalJSON

func (value *SessionStartCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesFlowOperationsItem

type SessionStartCapabilitiesFlowOperationsItem string

SessionStartCapabilitiesFlowOperationsItem is a generated schema value.

const SessionStartCapabilitiesFlowOperationsItemContinue SessionStartCapabilitiesFlowOperationsItem = "continue"
const SessionStartCapabilitiesFlowOperationsItemStop SessionStartCapabilitiesFlowOperationsItem = "stop"

func (*SessionStartCapabilitiesFlowOperationsItem) UnmarshalJSON added in v0.1.1

func (value *SessionStartCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesInject

type SessionStartCapabilitiesInject struct {
	Context              SessionStartCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

SessionStartCapabilitiesInject is a generated nested model.

func (SessionStartCapabilitiesInject) MarshalJSON

func (value SessionStartCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilitiesInject) UnmarshalJSON

func (value *SessionStartCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesInjectContext

type SessionStartCapabilitiesInjectContext struct {
	Append               SessionStartCapabilitiesInjectContextAppend
	DeliverAt            []SessionStartCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

SessionStartCapabilitiesInjectContext is a generated nested model.

func (SessionStartCapabilitiesInjectContext) MarshalJSON

func (value SessionStartCapabilitiesInjectContext) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilitiesInjectContext) UnmarshalJSON

func (value *SessionStartCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesInjectContextAppend

type SessionStartCapabilitiesInjectContextAppend bool

SessionStartCapabilitiesInjectContextAppend is a generated schema value.

const SessionStartCapabilitiesInjectContextAppendTrue SessionStartCapabilitiesInjectContextAppend = true

func (*SessionStartCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

func (value *SessionStartCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesInjectContextDeliverAtItem

type SessionStartCapabilitiesInjectContextDeliverAtItem string

SessionStartCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const SessionStartCapabilitiesInjectContextDeliverAtItemNextTurn SessionStartCapabilitiesInjectContextDeliverAtItem = "next_turn"
const SessionStartCapabilitiesInjectContextDeliverAtItemNow SessionStartCapabilitiesInjectContextDeliverAtItem = "now"

func (*SessionStartCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

func (value *SessionStartCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesModify

SessionStartCapabilitiesModify is a generated nested model.

func (SessionStartCapabilitiesModify) MarshalJSON

func (value SessionStartCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilitiesModify) UnmarshalJSON

func (value *SessionStartCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesModifyContent added in v0.1.1

type SessionStartCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

SessionStartCapabilitiesModifyContent is a generated nested model.

func (SessionStartCapabilitiesModifyContent) MarshalJSON added in v0.1.1

func (value SessionStartCapabilitiesModifyContent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *SessionStartCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesModifyInput added in v0.1.1

type SessionStartCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

SessionStartCapabilitiesModifyInput is a generated nested model.

func (SessionStartCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value SessionStartCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *SessionStartCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesModifyInstructions added in v0.1.1

type SessionStartCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

SessionStartCapabilitiesModifyInstructions is a generated nested model.

func (SessionStartCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

func (value SessionStartCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

func (value *SessionStartCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesModifyOutput added in v0.1.1

type SessionStartCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

SessionStartCapabilitiesModifyOutput is a generated nested model.

func (SessionStartCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

func (value SessionStartCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *SessionStartCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesModifyPrompt added in v0.1.1

type SessionStartCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

SessionStartCapabilitiesModifyPrompt is a generated nested model.

func (SessionStartCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

func (value SessionStartCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *SessionStartCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesModifyRequest added in v0.1.1

type SessionStartCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

SessionStartCapabilitiesModifyRequest is a generated nested model.

func (SessionStartCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

func (value SessionStartCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *SessionStartCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesModifyResponse added in v0.1.1

type SessionStartCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

SessionStartCapabilitiesModifyResponse is a generated nested model.

func (SessionStartCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

func (value SessionStartCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *SessionStartCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesModifySummary added in v0.1.1

type SessionStartCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

SessionStartCapabilitiesModifySummary is a generated nested model.

func (SessionStartCapabilitiesModifySummary) MarshalJSON added in v0.1.1

func (value SessionStartCapabilitiesModifySummary) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *SessionStartCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartCapabilitiesModifyWorkspace added in v0.1.1

type SessionStartCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

SessionStartCapabilitiesModifyWorkspace is a generated nested model.

func (SessionStartCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

func (value SessionStartCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *SessionStartCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartEffect added in v0.4.0

type SessionStartEffect struct {
	InjectEffect  Optional[*InjectEffect]
	MessageEffect Optional[*MessageEffect]
	Unknown       json.RawMessage
}

SessionStartEffect is generated from schema/draft/intercept-response.schema.json#/$defs/SessionStartEffect.

func (SessionStartEffect) MarshalJSON added in v0.4.0

func (value SessionStartEffect) MarshalJSON() ([]byte, error)

func (*SessionStartEffect) UnmarshalJSON added in v0.4.0

func (value *SessionStartEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartEvent

type SessionStartEvent struct {
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]SessionStartEventGapsItem]
	Harness              SessionStartEventHarness
	ID                   string
	Items                []*ModelVisibleItem
	Manifest             *StaticCapabilityManifest
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	PermissionMode       string
	ResumedFrom          Optional[SessionStartEventResumedFrom]
	Session              *Session
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Trigger              SessionStartEventTrigger
	Turn                 Optional[SessionStartEventTurn]
	Type                 SessionStartEventType
	AdditionalProperties map[string]json.RawMessage
}

SessionStartEvent is generated from schema/draft/session-start.schema.json#.

func (SessionStartEvent) MarshalJSON

func (value SessionStartEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartEvent) UnmarshalJSON

func (value *SessionStartEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartEventGapsItem

type SessionStartEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

SessionStartEventGapsItem is a generated nested model.

func (SessionStartEventGapsItem) MarshalJSON

func (value SessionStartEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartEventGapsItem) UnmarshalJSON

func (value *SessionStartEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartEventHarness

type SessionStartEventHarness struct {
	Name                 string
	Version              string
	AdditionalProperties map[string]json.RawMessage
}

SessionStartEventHarness is a generated nested model.

func (SessionStartEventHarness) MarshalJSON

func (value SessionStartEventHarness) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartEventHarness) UnmarshalJSON

func (value *SessionStartEventHarness) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartEventResumedFrom

type SessionStartEventResumedFrom struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

SessionStartEventResumedFrom is a generated nested model.

func (SessionStartEventResumedFrom) MarshalJSON

func (value SessionStartEventResumedFrom) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartEventResumedFrom) UnmarshalJSON

func (value *SessionStartEventResumedFrom) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartEventTrigger

type SessionStartEventTrigger string

SessionStartEventTrigger is a generated schema value.

const SessionStartEventTriggerClear SessionStartEventTrigger = "clear"
const SessionStartEventTriggerCompact SessionStartEventTrigger = "compact"
const SessionStartEventTriggerFork SessionStartEventTrigger = "fork"
const SessionStartEventTriggerResume SessionStartEventTrigger = "resume"
const SessionStartEventTriggerStartup SessionStartEventTrigger = "startup"

func (*SessionStartEventTrigger) UnmarshalJSON added in v0.1.1

func (value *SessionStartEventTrigger) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartEventTurn

type SessionStartEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

SessionStartEventTurn is a generated nested model.

func (SessionStartEventTurn) MarshalJSON

func (value SessionStartEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartEventTurn) UnmarshalJSON

func (value *SessionStartEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartEventType

type SessionStartEventType string

SessionStartEventType is a generated schema value.

const SessionStartEventTypeSessionStart SessionStartEventType = "session.start"

func (*SessionStartEventType) UnmarshalJSON added in v0.1.1

func (value *SessionStartEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartInterceptResponse added in v0.4.0

type SessionStartInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              SessionStartInterceptResponseJSONRPC
	Result               SessionStartInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

SessionStartInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/SessionStartInterceptResponse.

func (SessionStartInterceptResponse) MarshalJSON added in v0.4.0

func (value SessionStartInterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartInterceptResponse) UnmarshalJSON added in v0.4.0

func (value *SessionStartInterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartInterceptResponseJSONRPC added in v0.4.0

type SessionStartInterceptResponseJSONRPC string

SessionStartInterceptResponseJSONRPC is a generated schema value.

const SessionStartInterceptResponseJSONRPCValue20 SessionStartInterceptResponseJSONRPC = "2.0"

func (*SessionStartInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

func (value *SessionStartInterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type SessionStartInterceptResponseResult added in v0.4.0

type SessionStartInterceptResponseResult struct {
	Effects              Optional[[]*SessionStartEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

SessionStartInterceptResponseResult is a generated nested model.

func (SessionStartInterceptResponseResult) MarshalJSON added in v0.4.0

func (value SessionStartInterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*SessionStartInterceptResponseResult) UnmarshalJSON added in v0.4.0

func (value *SessionStartInterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type StaticCapabilityManifest

type StaticCapabilityManifest struct {
	Authentication            []StaticCapabilityManifestAuthenticationItem
	ContentCategories         []string
	CorrelationIdentityFields []string
	Events                    []StaticCapabilityManifestEventsItem
	Gaps                      []StaticCapabilityManifestGapsItem
	Limits                    StaticCapabilityManifestLimits
	ManagedPolicy             StaticCapabilityManifestManagedPolicy
	ToolPaths                 []string
	Transports                []StaticCapabilityManifestTransportsItem
	AdditionalProperties      map[string]json.RawMessage
}

StaticCapabilityManifest is generated from schema/draft/capabilities-response.schema.json#/allOf/1/properties/result/properties/manifest.

func (StaticCapabilityManifest) MarshalJSON

func (value StaticCapabilityManifest) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*StaticCapabilityManifest) UnmarshalJSON

func (value *StaticCapabilityManifest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type StaticCapabilityManifestAuthenticationItem

type StaticCapabilityManifestAuthenticationItem string

StaticCapabilityManifestAuthenticationItem is a generated schema value.

const StaticCapabilityManifestAuthenticationItemBearer StaticCapabilityManifestAuthenticationItem = "bearer"
const StaticCapabilityManifestAuthenticationItemOauth StaticCapabilityManifestAuthenticationItem = "oauth"

func (*StaticCapabilityManifestAuthenticationItem) UnmarshalJSON added in v0.1.1

func (value *StaticCapabilityManifestAuthenticationItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type StaticCapabilityManifestEventsItem

type StaticCapabilityManifestEventsItem struct {
	Capabilities         Optional[*Capabilities]
	Event                StaticCapabilityManifestEventsItemEvent
	Modes                []StaticCapabilityManifestEventsItemModesItem
	AdditionalProperties map[string]json.RawMessage
}

StaticCapabilityManifestEventsItem is a generated nested model.

func (StaticCapabilityManifestEventsItem) MarshalJSON

func (value StaticCapabilityManifestEventsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*StaticCapabilityManifestEventsItem) UnmarshalJSON

func (value *StaticCapabilityManifestEventsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type StaticCapabilityManifestEventsItemEvent

type StaticCapabilityManifestEventsItemEvent string

StaticCapabilityManifestEventsItemEvent is a generated schema value.

const StaticCapabilityManifestEventsItemEventConfigChangeAfter StaticCapabilityManifestEventsItemEvent = "config.change.after"
const StaticCapabilityManifestEventsItemEventConfigChangeBefore StaticCapabilityManifestEventsItemEvent = "config.change.before"
const StaticCapabilityManifestEventsItemEventContextCompactAfter StaticCapabilityManifestEventsItemEvent = "context.compact.after"
const StaticCapabilityManifestEventsItemEventContextCompactBefore StaticCapabilityManifestEventsItemEvent = "context.compact.before"
const StaticCapabilityManifestEventsItemEventFileChanged StaticCapabilityManifestEventsItemEvent = "file.changed"
const StaticCapabilityManifestEventsItemEventHookFailure StaticCapabilityManifestEventsItemEvent = "hook.failure"
const StaticCapabilityManifestEventsItemEventModelError StaticCapabilityManifestEventsItemEvent = "model.error"
const StaticCapabilityManifestEventsItemEventModelRequestBefore StaticCapabilityManifestEventsItemEvent = "model.request.before"
const StaticCapabilityManifestEventsItemEventModelResponseAfter StaticCapabilityManifestEventsItemEvent = "model.response.after"
const StaticCapabilityManifestEventsItemEventModelSwitchAfter StaticCapabilityManifestEventsItemEvent = "model.switch.after"
const StaticCapabilityManifestEventsItemEventModelSwitchBefore StaticCapabilityManifestEventsItemEvent = "model.switch.before"
const StaticCapabilityManifestEventsItemEventSessionEnd StaticCapabilityManifestEventsItemEvent = "session.end"
const StaticCapabilityManifestEventsItemEventSessionStart StaticCapabilityManifestEventsItemEvent = "session.start"
const StaticCapabilityManifestEventsItemEventTaskChangeAfter StaticCapabilityManifestEventsItemEvent = "task.change.after"
const StaticCapabilityManifestEventsItemEventTaskChangeBefore StaticCapabilityManifestEventsItemEvent = "task.change.before"
const StaticCapabilityManifestEventsItemEventToolAfter StaticCapabilityManifestEventsItemEvent = "tool.after"
const StaticCapabilityManifestEventsItemEventToolBatchAfter StaticCapabilityManifestEventsItemEvent = "tool.batch.after"
const StaticCapabilityManifestEventsItemEventToolBefore StaticCapabilityManifestEventsItemEvent = "tool.before"
const StaticCapabilityManifestEventsItemEventToolPermissionRequest StaticCapabilityManifestEventsItemEvent = "tool.permission.request"
const StaticCapabilityManifestEventsItemEventToolPermissionResolved StaticCapabilityManifestEventsItemEvent = "tool.permission.resolved"
const StaticCapabilityManifestEventsItemEventToolProgress StaticCapabilityManifestEventsItemEvent = "tool.progress"
const StaticCapabilityManifestEventsItemEventTurnEnd StaticCapabilityManifestEventsItemEvent = "turn.end"
const StaticCapabilityManifestEventsItemEventTurnFinishBefore StaticCapabilityManifestEventsItemEvent = "turn.finish.before"
const StaticCapabilityManifestEventsItemEventTurnProgress StaticCapabilityManifestEventsItemEvent = "turn.progress"
const StaticCapabilityManifestEventsItemEventTurnStart StaticCapabilityManifestEventsItemEvent = "turn.start"
const StaticCapabilityManifestEventsItemEventUserAttention StaticCapabilityManifestEventsItemEvent = "user.attention"
const StaticCapabilityManifestEventsItemEventUserElicitationRequest StaticCapabilityManifestEventsItemEvent = "user.elicitation.request"
const StaticCapabilityManifestEventsItemEventUserElicitationResult StaticCapabilityManifestEventsItemEvent = "user.elicitation.result"
const StaticCapabilityManifestEventsItemEventUserMessageInbound StaticCapabilityManifestEventsItemEvent = "user.message.inbound"
const StaticCapabilityManifestEventsItemEventUserMessageOutbound StaticCapabilityManifestEventsItemEvent = "user.message.outbound"
const StaticCapabilityManifestEventsItemEventWorkspaceChangeAfter StaticCapabilityManifestEventsItemEvent = "workspace.change.after"
const StaticCapabilityManifestEventsItemEventWorkspaceChangeBefore StaticCapabilityManifestEventsItemEvent = "workspace.change.before"

func (*StaticCapabilityManifestEventsItemEvent) UnmarshalJSON added in v0.1.1

func (value *StaticCapabilityManifestEventsItemEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type StaticCapabilityManifestEventsItemModesItem

type StaticCapabilityManifestEventsItemModesItem string

StaticCapabilityManifestEventsItemModesItem is a generated schema value.

const StaticCapabilityManifestEventsItemModesItemIntercept StaticCapabilityManifestEventsItemModesItem = "intercept"
const StaticCapabilityManifestEventsItemModesItemObserve StaticCapabilityManifestEventsItemModesItem = "observe"

func (*StaticCapabilityManifestEventsItemModesItem) UnmarshalJSON added in v0.1.1

func (value *StaticCapabilityManifestEventsItemModesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type StaticCapabilityManifestGapsItem

type StaticCapabilityManifestGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

StaticCapabilityManifestGapsItem is a generated nested model.

func (StaticCapabilityManifestGapsItem) MarshalJSON

func (value StaticCapabilityManifestGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*StaticCapabilityManifestGapsItem) UnmarshalJSON

func (value *StaticCapabilityManifestGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type StaticCapabilityManifestLimits

type StaticCapabilityManifestLimits struct {
	MaxContinuations     Optional[json.Number]
	MaxTimeoutMs         Optional[json.Number]
	MaxUploadBytes       Optional[json.Number]
	MinTimeoutMs         Optional[json.Number]
	AdditionalProperties map[string]json.RawMessage
}

StaticCapabilityManifestLimits is a generated nested model.

func (StaticCapabilityManifestLimits) MarshalJSON

func (value StaticCapabilityManifestLimits) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*StaticCapabilityManifestLimits) UnmarshalJSON

func (value *StaticCapabilityManifestLimits) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type StaticCapabilityManifestManagedPolicy

type StaticCapabilityManifestManagedPolicy struct {
	Disableable          bool
	Scopes               []StaticCapabilityManifestManagedPolicyScopesItem
	AdditionalProperties map[string]json.RawMessage
}

StaticCapabilityManifestManagedPolicy is a generated nested model.

func (StaticCapabilityManifestManagedPolicy) MarshalJSON

func (value StaticCapabilityManifestManagedPolicy) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*StaticCapabilityManifestManagedPolicy) UnmarshalJSON

func (value *StaticCapabilityManifestManagedPolicy) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type StaticCapabilityManifestManagedPolicyScopesItem

type StaticCapabilityManifestManagedPolicyScopesItem string

StaticCapabilityManifestManagedPolicyScopesItem is a generated schema value.

const StaticCapabilityManifestManagedPolicyScopesItemManaged StaticCapabilityManifestManagedPolicyScopesItem = "managed"
const StaticCapabilityManifestManagedPolicyScopesItemProject StaticCapabilityManifestManagedPolicyScopesItem = "project"
const StaticCapabilityManifestManagedPolicyScopesItemUser StaticCapabilityManifestManagedPolicyScopesItem = "user"

func (*StaticCapabilityManifestManagedPolicyScopesItem) UnmarshalJSON added in v0.1.1

func (value *StaticCapabilityManifestManagedPolicyScopesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type StaticCapabilityManifestTransportsItem

type StaticCapabilityManifestTransportsItem string

StaticCapabilityManifestTransportsItem is a generated schema value.

const StaticCapabilityManifestTransportsItemHTTP StaticCapabilityManifestTransportsItem = "http"
const StaticCapabilityManifestTransportsItemInProcess StaticCapabilityManifestTransportsItem = "in_process"
const StaticCapabilityManifestTransportsItemStdio StaticCapabilityManifestTransportsItem = "stdio"

func (*StaticCapabilityManifestTransportsItem) UnmarshalJSON added in v0.1.1

func (value *StaticCapabilityManifestTransportsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type StdioTransport

type StdioTransport struct {
	Args                 Optional[[]string]
	Command              string
	CWD                  Optional[string]
	Lifecycle            StdioTransportLifecycle
	Type                 StdioTransportType
	AdditionalProperties map[string]json.RawMessage
}

StdioTransport is generated from schema/draft/registration.schema.json#/$defs/stdioTransport.

func (StdioTransport) MarshalJSON

func (value StdioTransport) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*StdioTransport) UnmarshalJSON

func (value *StdioTransport) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type StdioTransportLifecycle

type StdioTransportLifecycle string

StdioTransportLifecycle is a generated schema value.

const StdioTransportLifecyclePerEvent StdioTransportLifecycle = "per_event"
const StdioTransportLifecyclePersistent StdioTransportLifecycle = "persistent"

func (*StdioTransportLifecycle) UnmarshalJSON added in v0.1.1

func (value *StdioTransportLifecycle) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type StdioTransportType

type StdioTransportType string

StdioTransportType is a generated schema value.

const StdioTransportTypeStdio StdioTransportType = "stdio"

func (*StdioTransportType) UnmarshalJSON added in v0.1.1

func (value *StdioTransportType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type StopFlowEffect added in v0.4.0

type StopFlowEffect struct {
	Operation            StopFlowEffectOperation
	Reason               string
	Type                 StopFlowEffectType
	AdditionalProperties map[string]json.RawMessage
}

StopFlowEffect is generated from schema/draft/effect.schema.json#/$defs/StopFlowEffect.

func (StopFlowEffect) MarshalJSON added in v0.4.0

func (value StopFlowEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*StopFlowEffect) UnmarshalJSON added in v0.4.0

func (value *StopFlowEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type StopFlowEffectOperation added in v0.4.0

type StopFlowEffectOperation string

StopFlowEffectOperation is a generated schema value.

const StopFlowEffectOperationStop StopFlowEffectOperation = "stop"

func (*StopFlowEffectOperation) UnmarshalJSON added in v0.4.0

func (value *StopFlowEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type StopFlowEffectType added in v0.4.0

type StopFlowEffectType string

StopFlowEffectType is a generated schema value.

const StopFlowEffectTypeFlow StopFlowEffectType = "flow"

func (*StopFlowEffectType) UnmarshalJSON added in v0.4.0

func (value *StopFlowEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeAfterEvent

type TaskChangeAfterEvent struct {
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]TaskChangeAfterEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Task                 TaskChangeAfterEventTask
	Time                 string
	Turn                 Optional[TaskChangeAfterEventTurn]
	Type                 TaskChangeAfterEventType
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeAfterEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/task.change.after.

func (TaskChangeAfterEvent) MarshalJSON

func (value TaskChangeAfterEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeAfterEvent) UnmarshalJSON

func (value *TaskChangeAfterEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeAfterEventGapsItem

type TaskChangeAfterEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeAfterEventGapsItem is a generated nested model.

func (TaskChangeAfterEventGapsItem) MarshalJSON

func (value TaskChangeAfterEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeAfterEventGapsItem) UnmarshalJSON

func (value *TaskChangeAfterEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeAfterEventTask

type TaskChangeAfterEventTask struct {
	Change               TaskChangeAfterEventTaskChange
	Description          Optional[string]
	ID                   string
	Operation            TaskChangeAfterEventTaskOperation
	Prior                Optional[TaskChangeAfterEventTaskPrior]
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeAfterEventTask is a generated nested model.

func (TaskChangeAfterEventTask) MarshalJSON

func (value TaskChangeAfterEventTask) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeAfterEventTask) UnmarshalJSON

func (value *TaskChangeAfterEventTask) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeAfterEventTaskChange

type TaskChangeAfterEventTaskChange struct {
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeAfterEventTaskChange is a generated nested model.

func (TaskChangeAfterEventTaskChange) MarshalJSON

func (value TaskChangeAfterEventTaskChange) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeAfterEventTaskChange) UnmarshalJSON

func (value *TaskChangeAfterEventTaskChange) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeAfterEventTaskOperation

type TaskChangeAfterEventTaskOperation string

TaskChangeAfterEventTaskOperation is a generated schema value.

const TaskChangeAfterEventTaskOperationCreate TaskChangeAfterEventTaskOperation = "create"
const TaskChangeAfterEventTaskOperationRemove TaskChangeAfterEventTaskOperation = "remove"
const TaskChangeAfterEventTaskOperationUpdate TaskChangeAfterEventTaskOperation = "update"

func (*TaskChangeAfterEventTaskOperation) UnmarshalJSON added in v0.1.1

func (value *TaskChangeAfterEventTaskOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeAfterEventTaskPrior

type TaskChangeAfterEventTaskPrior struct {
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeAfterEventTaskPrior is a generated nested model.

func (TaskChangeAfterEventTaskPrior) MarshalJSON

func (value TaskChangeAfterEventTaskPrior) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeAfterEventTaskPrior) UnmarshalJSON

func (value *TaskChangeAfterEventTaskPrior) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeAfterEventTurn

type TaskChangeAfterEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeAfterEventTurn is a generated nested model.

func (TaskChangeAfterEventTurn) MarshalJSON

func (value TaskChangeAfterEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeAfterEventTurn) UnmarshalJSON

func (value *TaskChangeAfterEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeAfterEventType

type TaskChangeAfterEventType string

TaskChangeAfterEventType is a generated schema value.

const TaskChangeAfterEventTypeTaskChangeAfter TaskChangeAfterEventType = "task.change.after"

func (*TaskChangeAfterEventType) UnmarshalJSON added in v0.1.1

func (value *TaskChangeAfterEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilities

TaskChangeBeforeCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/task.change.before.

func (TaskChangeBeforeCapabilities) MarshalJSON

func (value TaskChangeBeforeCapabilities) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilities) UnmarshalJSON

func (value *TaskChangeBeforeCapabilities) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesEffects added in v0.1.1

type TaskChangeBeforeCapabilitiesEffects []TaskChangeBeforeCapabilitiesEffectsValueItem

TaskChangeBeforeCapabilitiesEffects is a structurally validated schema value.

func (TaskChangeBeforeCapabilitiesEffects) MarshalJSON added in v0.1.1

func (value TaskChangeBeforeCapabilitiesEffects) MarshalJSON() ([]byte, error)

func (*TaskChangeBeforeCapabilitiesEffects) UnmarshalJSON added in v0.1.1

func (value *TaskChangeBeforeCapabilitiesEffects) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesEffectsValueItem added in v0.1.1

type TaskChangeBeforeCapabilitiesEffectsValueItem string

TaskChangeBeforeCapabilitiesEffectsValueItem is a generated schema value.

const TaskChangeBeforeCapabilitiesEffectsValueItemDeny TaskChangeBeforeCapabilitiesEffectsValueItem = "deny"
const TaskChangeBeforeCapabilitiesEffectsValueItemMessage TaskChangeBeforeCapabilitiesEffectsValueItem = "message"

func (*TaskChangeBeforeCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

func (value *TaskChangeBeforeCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesElicitation

type TaskChangeBeforeCapabilitiesElicitation struct {
	Form                 Optional[TaskChangeBeforeCapabilitiesElicitationForm]
	URL                  Optional[TaskChangeBeforeCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeCapabilitiesElicitation is a generated nested model.

func (TaskChangeBeforeCapabilitiesElicitation) MarshalJSON

func (value TaskChangeBeforeCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilitiesElicitation) UnmarshalJSON

func (value *TaskChangeBeforeCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesElicitationForm

type TaskChangeBeforeCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeCapabilitiesElicitationForm is a generated nested model.

func (TaskChangeBeforeCapabilitiesElicitationForm) MarshalJSON

func (value TaskChangeBeforeCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilitiesElicitationForm) UnmarshalJSON

func (value *TaskChangeBeforeCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesElicitationURL

type TaskChangeBeforeCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeCapabilitiesElicitationURL is a generated nested model.

func (TaskChangeBeforeCapabilitiesElicitationURL) MarshalJSON

func (value TaskChangeBeforeCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilitiesElicitationURL) UnmarshalJSON

func (value *TaskChangeBeforeCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesFlow

type TaskChangeBeforeCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             []TaskChangeBeforeCapabilitiesFlowOperationsItem
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

TaskChangeBeforeCapabilitiesFlow is a generated nested model.

func (TaskChangeBeforeCapabilitiesFlow) MarshalJSON

func (value TaskChangeBeforeCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilitiesFlow) UnmarshalJSON

func (value *TaskChangeBeforeCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesFlowOperationsItem

type TaskChangeBeforeCapabilitiesFlowOperationsItem string

TaskChangeBeforeCapabilitiesFlowOperationsItem is a generated schema value.

const TaskChangeBeforeCapabilitiesFlowOperationsItemContinue TaskChangeBeforeCapabilitiesFlowOperationsItem = "continue"
const TaskChangeBeforeCapabilitiesFlowOperationsItemStop TaskChangeBeforeCapabilitiesFlowOperationsItem = "stop"

func (*TaskChangeBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON added in v0.1.1

func (value *TaskChangeBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesInject

type TaskChangeBeforeCapabilitiesInject struct {
	Context              TaskChangeBeforeCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeCapabilitiesInject is a generated nested model.

func (TaskChangeBeforeCapabilitiesInject) MarshalJSON

func (value TaskChangeBeforeCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilitiesInject) UnmarshalJSON

func (value *TaskChangeBeforeCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesInjectContext

type TaskChangeBeforeCapabilitiesInjectContext struct {
	Append               TaskChangeBeforeCapabilitiesInjectContextAppend
	DeliverAt            []TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeCapabilitiesInjectContext is a generated nested model.

func (TaskChangeBeforeCapabilitiesInjectContext) MarshalJSON

func (value TaskChangeBeforeCapabilitiesInjectContext) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilitiesInjectContext) UnmarshalJSON

func (value *TaskChangeBeforeCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesInjectContextAppend

type TaskChangeBeforeCapabilitiesInjectContextAppend bool

TaskChangeBeforeCapabilitiesInjectContextAppend is a generated schema value.

const TaskChangeBeforeCapabilitiesInjectContextAppendTrue TaskChangeBeforeCapabilitiesInjectContextAppend = true

func (*TaskChangeBeforeCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

func (value *TaskChangeBeforeCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem

type TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem string

TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const TaskChangeBeforeCapabilitiesInjectContextDeliverAtItemNextTurn TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const TaskChangeBeforeCapabilitiesInjectContextDeliverAtItemNow TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem = "now"

func (*TaskChangeBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesModify

TaskChangeBeforeCapabilitiesModify is a generated nested model.

func (TaskChangeBeforeCapabilitiesModify) MarshalJSON

func (value TaskChangeBeforeCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilitiesModify) UnmarshalJSON

func (value *TaskChangeBeforeCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesModifyContent added in v0.1.1

type TaskChangeBeforeCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeCapabilitiesModifyContent is a generated nested model.

func (TaskChangeBeforeCapabilitiesModifyContent) MarshalJSON added in v0.1.1

func (value TaskChangeBeforeCapabilitiesModifyContent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *TaskChangeBeforeCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesModifyInput added in v0.1.1

type TaskChangeBeforeCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeCapabilitiesModifyInput is a generated nested model.

func (TaskChangeBeforeCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value TaskChangeBeforeCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *TaskChangeBeforeCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesModifyInstructions added in v0.1.1

type TaskChangeBeforeCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeCapabilitiesModifyInstructions is a generated nested model.

func (TaskChangeBeforeCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

func (value *TaskChangeBeforeCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesModifyOutput added in v0.1.1

type TaskChangeBeforeCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeCapabilitiesModifyOutput is a generated nested model.

func (TaskChangeBeforeCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

func (value TaskChangeBeforeCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *TaskChangeBeforeCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesModifyPrompt added in v0.1.1

type TaskChangeBeforeCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeCapabilitiesModifyPrompt is a generated nested model.

func (TaskChangeBeforeCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

func (value TaskChangeBeforeCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *TaskChangeBeforeCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesModifyRequest added in v0.1.1

type TaskChangeBeforeCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeCapabilitiesModifyRequest is a generated nested model.

func (TaskChangeBeforeCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

func (value TaskChangeBeforeCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *TaskChangeBeforeCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesModifyResponse added in v0.1.1

type TaskChangeBeforeCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeCapabilitiesModifyResponse is a generated nested model.

func (TaskChangeBeforeCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

func (value TaskChangeBeforeCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *TaskChangeBeforeCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesModifySummary added in v0.1.1

type TaskChangeBeforeCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeCapabilitiesModifySummary is a generated nested model.

func (TaskChangeBeforeCapabilitiesModifySummary) MarshalJSON added in v0.1.1

func (value TaskChangeBeforeCapabilitiesModifySummary) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *TaskChangeBeforeCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeCapabilitiesModifyWorkspace added in v0.1.1

type TaskChangeBeforeCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeCapabilitiesModifyWorkspace is a generated nested model.

func (TaskChangeBeforeCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

func (value TaskChangeBeforeCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *TaskChangeBeforeCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeEffect added in v0.4.0

type TaskChangeBeforeEffect struct {
	DenyEffect    Optional[*DenyEffect]
	MessageEffect Optional[*MessageEffect]
	Unknown       json.RawMessage
}

TaskChangeBeforeEffect is generated from schema/draft/intercept-response.schema.json#/$defs/TaskChangeBeforeEffect.

func (TaskChangeBeforeEffect) MarshalJSON added in v0.4.0

func (value TaskChangeBeforeEffect) MarshalJSON() ([]byte, error)

func (*TaskChangeBeforeEffect) UnmarshalJSON added in v0.4.0

func (value *TaskChangeBeforeEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeEvent

type TaskChangeBeforeEvent struct {
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]TaskChangeBeforeEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Task                 TaskChangeBeforeEventTask
	Time                 string
	Turn                 Optional[TaskChangeBeforeEventTurn]
	Type                 TaskChangeBeforeEventType
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/task.change.before.

func (TaskChangeBeforeEvent) MarshalJSON

func (value TaskChangeBeforeEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeEvent) UnmarshalJSON

func (value *TaskChangeBeforeEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeEventGapsItem

type TaskChangeBeforeEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeEventGapsItem is a generated nested model.

func (TaskChangeBeforeEventGapsItem) MarshalJSON

func (value TaskChangeBeforeEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeEventGapsItem) UnmarshalJSON

func (value *TaskChangeBeforeEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeEventTask

type TaskChangeBeforeEventTask struct {
	Change               TaskChangeBeforeEventTaskChange
	Description          Optional[string]
	ID                   string
	Operation            TaskChangeBeforeEventTaskOperation
	Prior                Optional[TaskChangeBeforeEventTaskPrior]
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeEventTask is a generated nested model.

func (TaskChangeBeforeEventTask) MarshalJSON

func (value TaskChangeBeforeEventTask) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeEventTask) UnmarshalJSON

func (value *TaskChangeBeforeEventTask) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeEventTaskChange

type TaskChangeBeforeEventTaskChange struct {
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeEventTaskChange is a generated nested model.

func (TaskChangeBeforeEventTaskChange) MarshalJSON

func (value TaskChangeBeforeEventTaskChange) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeEventTaskChange) UnmarshalJSON

func (value *TaskChangeBeforeEventTaskChange) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeEventTaskOperation

type TaskChangeBeforeEventTaskOperation string

TaskChangeBeforeEventTaskOperation is a generated schema value.

const TaskChangeBeforeEventTaskOperationCreate TaskChangeBeforeEventTaskOperation = "create"
const TaskChangeBeforeEventTaskOperationRemove TaskChangeBeforeEventTaskOperation = "remove"
const TaskChangeBeforeEventTaskOperationUpdate TaskChangeBeforeEventTaskOperation = "update"

func (*TaskChangeBeforeEventTaskOperation) UnmarshalJSON added in v0.1.1

func (value *TaskChangeBeforeEventTaskOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeEventTaskPrior

type TaskChangeBeforeEventTaskPrior struct {
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeEventTaskPrior is a generated nested model.

func (TaskChangeBeforeEventTaskPrior) MarshalJSON

func (value TaskChangeBeforeEventTaskPrior) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeEventTaskPrior) UnmarshalJSON

func (value *TaskChangeBeforeEventTaskPrior) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeEventTurn

type TaskChangeBeforeEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeEventTurn is a generated nested model.

func (TaskChangeBeforeEventTurn) MarshalJSON

func (value TaskChangeBeforeEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeEventTurn) UnmarshalJSON

func (value *TaskChangeBeforeEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeEventType

type TaskChangeBeforeEventType string

TaskChangeBeforeEventType is a generated schema value.

const TaskChangeBeforeEventTypeTaskChangeBefore TaskChangeBeforeEventType = "task.change.before"

func (*TaskChangeBeforeEventType) UnmarshalJSON added in v0.1.1

func (value *TaskChangeBeforeEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeInterceptResponse added in v0.4.0

type TaskChangeBeforeInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              TaskChangeBeforeInterceptResponseJSONRPC
	Result               TaskChangeBeforeInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/TaskChangeBeforeInterceptResponse.

func (TaskChangeBeforeInterceptResponse) MarshalJSON added in v0.4.0

func (value TaskChangeBeforeInterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeInterceptResponse) UnmarshalJSON added in v0.4.0

func (value *TaskChangeBeforeInterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeInterceptResponseJSONRPC added in v0.4.0

type TaskChangeBeforeInterceptResponseJSONRPC string

TaskChangeBeforeInterceptResponseJSONRPC is a generated schema value.

const TaskChangeBeforeInterceptResponseJSONRPCValue20 TaskChangeBeforeInterceptResponseJSONRPC = "2.0"

func (*TaskChangeBeforeInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

func (value *TaskChangeBeforeInterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskChangeBeforeInterceptResponseResult added in v0.4.0

type TaskChangeBeforeInterceptResponseResult struct {
	Effects              Optional[[]*TaskChangeBeforeEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

TaskChangeBeforeInterceptResponseResult is a generated nested model.

func (TaskChangeBeforeInterceptResponseResult) MarshalJSON added in v0.4.0

func (value TaskChangeBeforeInterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskChangeBeforeInterceptResponseResult) UnmarshalJSON added in v0.4.0

func (value *TaskChangeBeforeInterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEvent

type TaskWorkspaceEvent struct {
	TaskWorkspaceEventTaskChangeBefore      Optional[*TaskWorkspaceEventTaskChangeBefore]
	TaskWorkspaceEventTaskChangeAfter       Optional[*TaskWorkspaceEventTaskChangeAfter]
	TaskWorkspaceEventWorkspaceChangeBefore Optional[*TaskWorkspaceEventWorkspaceChangeBefore]
	TaskWorkspaceEventWorkspaceChangeAfter  Optional[*TaskWorkspaceEventWorkspaceChangeAfter]
	TaskWorkspaceEventFileChanged           Optional[*TaskWorkspaceEventFileChanged]
	Unknown                                 json.RawMessage
}

TaskWorkspaceEvent is generated from schema/draft/task-workspace-event.schema.json#.

func (TaskWorkspaceEvent) MarshalJSON

func (value TaskWorkspaceEvent) MarshalJSON() ([]byte, error)

func (*TaskWorkspaceEvent) UnmarshalJSON

func (value *TaskWorkspaceEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventFileChanged

type TaskWorkspaceEventFileChanged struct {
	Changes              []TaskWorkspaceEventFileChangedChangesItem
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]TaskWorkspaceEventFileChangedGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[TaskWorkspaceEventFileChangedTurn]
	Type                 TaskWorkspaceEventFileChangedType
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventFileChanged is generated from schema/draft/task-workspace-event.schema.json#/$defs/file.changed.

func (TaskWorkspaceEventFileChanged) MarshalJSON

func (value TaskWorkspaceEventFileChanged) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventFileChanged) UnmarshalJSON

func (value *TaskWorkspaceEventFileChanged) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventFileChangedChangesItem

type TaskWorkspaceEventFileChangedChangesItem struct {
	After                Optional[*ContentItem]
	AgentCaused          bool
	Before               Optional[*ContentItem]
	Operation            TaskWorkspaceEventFileChangedChangesItemOperation
	Path                 string
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventFileChangedChangesItem is a generated nested model.

func (TaskWorkspaceEventFileChangedChangesItem) MarshalJSON

func (value TaskWorkspaceEventFileChangedChangesItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventFileChangedChangesItem) UnmarshalJSON

func (value *TaskWorkspaceEventFileChangedChangesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventFileChangedChangesItemOperation

type TaskWorkspaceEventFileChangedChangesItemOperation string

TaskWorkspaceEventFileChangedChangesItemOperation is a generated schema value.

const TaskWorkspaceEventFileChangedChangesItemOperationCreate TaskWorkspaceEventFileChangedChangesItemOperation = "create"
const TaskWorkspaceEventFileChangedChangesItemOperationRemove TaskWorkspaceEventFileChangedChangesItemOperation = "remove"
const TaskWorkspaceEventFileChangedChangesItemOperationUpdate TaskWorkspaceEventFileChangedChangesItemOperation = "update"

func (*TaskWorkspaceEventFileChangedChangesItemOperation) UnmarshalJSON added in v0.1.1

func (value *TaskWorkspaceEventFileChangedChangesItemOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventFileChangedGapsItem

type TaskWorkspaceEventFileChangedGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventFileChangedGapsItem is a generated nested model.

func (TaskWorkspaceEventFileChangedGapsItem) MarshalJSON

func (value TaskWorkspaceEventFileChangedGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventFileChangedGapsItem) UnmarshalJSON

func (value *TaskWorkspaceEventFileChangedGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventFileChangedTurn

type TaskWorkspaceEventFileChangedTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventFileChangedTurn is a generated nested model.

func (TaskWorkspaceEventFileChangedTurn) MarshalJSON

func (value TaskWorkspaceEventFileChangedTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventFileChangedTurn) UnmarshalJSON

func (value *TaskWorkspaceEventFileChangedTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventFileChangedType

type TaskWorkspaceEventFileChangedType string

TaskWorkspaceEventFileChangedType is a generated schema value.

const TaskWorkspaceEventFileChangedTypeFileChanged TaskWorkspaceEventFileChangedType = "file.changed"

func (*TaskWorkspaceEventFileChangedType) UnmarshalJSON added in v0.1.1

func (value *TaskWorkspaceEventFileChangedType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventTaskChangeAfter

type TaskWorkspaceEventTaskChangeAfter struct {
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]TaskWorkspaceEventTaskChangeAfterGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Task                 TaskWorkspaceEventTaskChangeAfterTask
	Time                 string
	Turn                 Optional[TaskWorkspaceEventTaskChangeAfterTurn]
	Type                 TaskWorkspaceEventTaskChangeAfterType
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventTaskChangeAfter is generated from schema/draft/task-workspace-event.schema.json#/$defs/task.change.after.

func (TaskWorkspaceEventTaskChangeAfter) MarshalJSON

func (value TaskWorkspaceEventTaskChangeAfter) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventTaskChangeAfter) UnmarshalJSON

func (value *TaskWorkspaceEventTaskChangeAfter) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventTaskChangeAfterGapsItem

type TaskWorkspaceEventTaskChangeAfterGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventTaskChangeAfterGapsItem is a generated nested model.

func (TaskWorkspaceEventTaskChangeAfterGapsItem) MarshalJSON

func (value TaskWorkspaceEventTaskChangeAfterGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventTaskChangeAfterGapsItem) UnmarshalJSON

func (value *TaskWorkspaceEventTaskChangeAfterGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventTaskChangeAfterTask

type TaskWorkspaceEventTaskChangeAfterTask struct {
	Change               TaskWorkspaceEventTaskChangeAfterTaskChange
	Description          Optional[string]
	ID                   string
	Operation            TaskWorkspaceEventTaskChangeAfterTaskOperation
	Prior                Optional[TaskWorkspaceEventTaskChangeAfterTaskPrior]
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventTaskChangeAfterTask is a generated nested model.

func (TaskWorkspaceEventTaskChangeAfterTask) MarshalJSON

func (value TaskWorkspaceEventTaskChangeAfterTask) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventTaskChangeAfterTask) UnmarshalJSON

func (value *TaskWorkspaceEventTaskChangeAfterTask) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventTaskChangeAfterTaskChange

type TaskWorkspaceEventTaskChangeAfterTaskChange struct {
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventTaskChangeAfterTaskChange is a generated nested model.

func (TaskWorkspaceEventTaskChangeAfterTaskChange) MarshalJSON

func (value TaskWorkspaceEventTaskChangeAfterTaskChange) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventTaskChangeAfterTaskChange) UnmarshalJSON

func (value *TaskWorkspaceEventTaskChangeAfterTaskChange) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventTaskChangeAfterTaskOperation

type TaskWorkspaceEventTaskChangeAfterTaskOperation string

TaskWorkspaceEventTaskChangeAfterTaskOperation is a generated schema value.

const TaskWorkspaceEventTaskChangeAfterTaskOperationCreate TaskWorkspaceEventTaskChangeAfterTaskOperation = "create"
const TaskWorkspaceEventTaskChangeAfterTaskOperationRemove TaskWorkspaceEventTaskChangeAfterTaskOperation = "remove"
const TaskWorkspaceEventTaskChangeAfterTaskOperationUpdate TaskWorkspaceEventTaskChangeAfterTaskOperation = "update"

func (*TaskWorkspaceEventTaskChangeAfterTaskOperation) UnmarshalJSON added in v0.1.1

func (value *TaskWorkspaceEventTaskChangeAfterTaskOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventTaskChangeAfterTaskPrior

type TaskWorkspaceEventTaskChangeAfterTaskPrior struct {
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventTaskChangeAfterTaskPrior is a generated nested model.

func (TaskWorkspaceEventTaskChangeAfterTaskPrior) MarshalJSON

func (value TaskWorkspaceEventTaskChangeAfterTaskPrior) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventTaskChangeAfterTaskPrior) UnmarshalJSON

func (value *TaskWorkspaceEventTaskChangeAfterTaskPrior) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventTaskChangeAfterTurn

type TaskWorkspaceEventTaskChangeAfterTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventTaskChangeAfterTurn is a generated nested model.

func (TaskWorkspaceEventTaskChangeAfterTurn) MarshalJSON

func (value TaskWorkspaceEventTaskChangeAfterTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventTaskChangeAfterTurn) UnmarshalJSON

func (value *TaskWorkspaceEventTaskChangeAfterTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventTaskChangeAfterType

type TaskWorkspaceEventTaskChangeAfterType string

TaskWorkspaceEventTaskChangeAfterType is a generated schema value.

const TaskWorkspaceEventTaskChangeAfterTypeTaskChangeAfter TaskWorkspaceEventTaskChangeAfterType = "task.change.after"

func (*TaskWorkspaceEventTaskChangeAfterType) UnmarshalJSON added in v0.1.1

func (value *TaskWorkspaceEventTaskChangeAfterType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventTaskChangeBefore

type TaskWorkspaceEventTaskChangeBefore struct {
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]TaskWorkspaceEventTaskChangeBeforeGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Task                 TaskWorkspaceEventTaskChangeBeforeTask
	Time                 string
	Turn                 Optional[TaskWorkspaceEventTaskChangeBeforeTurn]
	Type                 TaskWorkspaceEventTaskChangeBeforeType
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventTaskChangeBefore is generated from schema/draft/task-workspace-event.schema.json#/$defs/task.change.before.

func (TaskWorkspaceEventTaskChangeBefore) MarshalJSON

func (value TaskWorkspaceEventTaskChangeBefore) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventTaskChangeBefore) UnmarshalJSON

func (value *TaskWorkspaceEventTaskChangeBefore) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventTaskChangeBeforeGapsItem

type TaskWorkspaceEventTaskChangeBeforeGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventTaskChangeBeforeGapsItem is a generated nested model.

func (TaskWorkspaceEventTaskChangeBeforeGapsItem) MarshalJSON

func (value TaskWorkspaceEventTaskChangeBeforeGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventTaskChangeBeforeGapsItem) UnmarshalJSON

func (value *TaskWorkspaceEventTaskChangeBeforeGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventTaskChangeBeforeTask

type TaskWorkspaceEventTaskChangeBeforeTask struct {
	Change               TaskWorkspaceEventTaskChangeBeforeTaskChange
	Description          Optional[string]
	ID                   string
	Operation            TaskWorkspaceEventTaskChangeBeforeTaskOperation
	Prior                Optional[TaskWorkspaceEventTaskChangeBeforeTaskPrior]
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventTaskChangeBeforeTask is a generated nested model.

func (TaskWorkspaceEventTaskChangeBeforeTask) MarshalJSON

func (value TaskWorkspaceEventTaskChangeBeforeTask) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventTaskChangeBeforeTask) UnmarshalJSON

func (value *TaskWorkspaceEventTaskChangeBeforeTask) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventTaskChangeBeforeTaskChange

type TaskWorkspaceEventTaskChangeBeforeTaskChange struct {
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventTaskChangeBeforeTaskChange is a generated nested model.

func (TaskWorkspaceEventTaskChangeBeforeTaskChange) MarshalJSON

func (value TaskWorkspaceEventTaskChangeBeforeTaskChange) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventTaskChangeBeforeTaskChange) UnmarshalJSON

func (value *TaskWorkspaceEventTaskChangeBeforeTaskChange) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventTaskChangeBeforeTaskOperation

type TaskWorkspaceEventTaskChangeBeforeTaskOperation string

TaskWorkspaceEventTaskChangeBeforeTaskOperation is a generated schema value.

const TaskWorkspaceEventTaskChangeBeforeTaskOperationCreate TaskWorkspaceEventTaskChangeBeforeTaskOperation = "create"
const TaskWorkspaceEventTaskChangeBeforeTaskOperationRemove TaskWorkspaceEventTaskChangeBeforeTaskOperation = "remove"
const TaskWorkspaceEventTaskChangeBeforeTaskOperationUpdate TaskWorkspaceEventTaskChangeBeforeTaskOperation = "update"

func (*TaskWorkspaceEventTaskChangeBeforeTaskOperation) UnmarshalJSON added in v0.1.1

func (value *TaskWorkspaceEventTaskChangeBeforeTaskOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventTaskChangeBeforeTaskPrior

type TaskWorkspaceEventTaskChangeBeforeTaskPrior struct {
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventTaskChangeBeforeTaskPrior is a generated nested model.

func (TaskWorkspaceEventTaskChangeBeforeTaskPrior) MarshalJSON

func (value TaskWorkspaceEventTaskChangeBeforeTaskPrior) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventTaskChangeBeforeTaskPrior) UnmarshalJSON

func (value *TaskWorkspaceEventTaskChangeBeforeTaskPrior) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventTaskChangeBeforeTurn

type TaskWorkspaceEventTaskChangeBeforeTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventTaskChangeBeforeTurn is a generated nested model.

func (TaskWorkspaceEventTaskChangeBeforeTurn) MarshalJSON

func (value TaskWorkspaceEventTaskChangeBeforeTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventTaskChangeBeforeTurn) UnmarshalJSON

func (value *TaskWorkspaceEventTaskChangeBeforeTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventTaskChangeBeforeType

type TaskWorkspaceEventTaskChangeBeforeType string

TaskWorkspaceEventTaskChangeBeforeType is a generated schema value.

const TaskWorkspaceEventTaskChangeBeforeTypeTaskChangeBefore TaskWorkspaceEventTaskChangeBeforeType = "task.change.before"

func (*TaskWorkspaceEventTaskChangeBeforeType) UnmarshalJSON added in v0.1.1

func (value *TaskWorkspaceEventTaskChangeBeforeType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventWorkspaceChangeAfter

type TaskWorkspaceEventWorkspaceChangeAfter struct {
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]TaskWorkspaceEventWorkspaceChangeAfterGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[TaskWorkspaceEventWorkspaceChangeAfterTurn]
	Type                 TaskWorkspaceEventWorkspaceChangeAfterType
	Workspace            TaskWorkspaceEventWorkspaceChangeAfterWorkspace
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventWorkspaceChangeAfter is generated from schema/draft/task-workspace-event.schema.json#/$defs/workspace.change.after.

func (TaskWorkspaceEventWorkspaceChangeAfter) MarshalJSON

func (value TaskWorkspaceEventWorkspaceChangeAfter) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventWorkspaceChangeAfter) UnmarshalJSON

func (value *TaskWorkspaceEventWorkspaceChangeAfter) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventWorkspaceChangeAfterGapsItem

type TaskWorkspaceEventWorkspaceChangeAfterGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventWorkspaceChangeAfterGapsItem is a generated nested model.

func (TaskWorkspaceEventWorkspaceChangeAfterGapsItem) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventWorkspaceChangeAfterGapsItem) UnmarshalJSON

func (value *TaskWorkspaceEventWorkspaceChangeAfterGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventWorkspaceChangeAfterTurn

type TaskWorkspaceEventWorkspaceChangeAfterTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventWorkspaceChangeAfterTurn is a generated nested model.

func (TaskWorkspaceEventWorkspaceChangeAfterTurn) MarshalJSON

func (value TaskWorkspaceEventWorkspaceChangeAfterTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventWorkspaceChangeAfterTurn) UnmarshalJSON

func (value *TaskWorkspaceEventWorkspaceChangeAfterTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventWorkspaceChangeAfterType

type TaskWorkspaceEventWorkspaceChangeAfterType string

TaskWorkspaceEventWorkspaceChangeAfterType is a generated schema value.

const TaskWorkspaceEventWorkspaceChangeAfterTypeWorkspaceChangeAfter TaskWorkspaceEventWorkspaceChangeAfterType = "workspace.change.after"

func (*TaskWorkspaceEventWorkspaceChangeAfterType) UnmarshalJSON added in v0.1.1

func (value *TaskWorkspaceEventWorkspaceChangeAfterType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventWorkspaceChangeAfterWorkspace

type TaskWorkspaceEventWorkspaceChangeAfterWorkspace struct {
	Change               *WorkspaceChange
	Kind                 TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind
	Prior                Optional[*WorkspaceChange]
	Reason               Optional[string]
	AdditionalProperties map[string]json.RawMessage
}

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 enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind

type TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind string

TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind is a generated schema value.

const TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKindCWD TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind = "cwd"
const TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKindRoots TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind = "roots"
const TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKindSwitch TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind = "switch"

func (*TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind) UnmarshalJSON added in v0.1.1

func (value *TaskWorkspaceEventWorkspaceChangeAfterWorkspaceKind) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type 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 enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventWorkspaceChangeBeforeGapsItem

type TaskWorkspaceEventWorkspaceChangeBeforeGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventWorkspaceChangeBeforeGapsItem is a generated nested model.

func (TaskWorkspaceEventWorkspaceChangeBeforeGapsItem) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventWorkspaceChangeBeforeGapsItem) UnmarshalJSON

func (value *TaskWorkspaceEventWorkspaceChangeBeforeGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventWorkspaceChangeBeforeTurn

type TaskWorkspaceEventWorkspaceChangeBeforeTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TaskWorkspaceEventWorkspaceChangeBeforeTurn is a generated nested model.

func (TaskWorkspaceEventWorkspaceChangeBeforeTurn) MarshalJSON

func (value TaskWorkspaceEventWorkspaceChangeBeforeTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TaskWorkspaceEventWorkspaceChangeBeforeTurn) UnmarshalJSON

func (value *TaskWorkspaceEventWorkspaceChangeBeforeTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventWorkspaceChangeBeforeType

type TaskWorkspaceEventWorkspaceChangeBeforeType string

TaskWorkspaceEventWorkspaceChangeBeforeType is a generated schema value.

const TaskWorkspaceEventWorkspaceChangeBeforeTypeWorkspaceChangeBefore TaskWorkspaceEventWorkspaceChangeBeforeType = "workspace.change.before"

func (*TaskWorkspaceEventWorkspaceChangeBeforeType) UnmarshalJSON added in v0.1.1

func (value *TaskWorkspaceEventWorkspaceChangeBeforeType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventWorkspaceChangeBeforeWorkspace

type TaskWorkspaceEventWorkspaceChangeBeforeWorkspace struct {
	Change               *WorkspaceChange
	Kind                 TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind
	Prior                Optional[*WorkspaceChange]
	Reason               Optional[string]
	AdditionalProperties map[string]json.RawMessage
}

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 enforces generated structural rules and retains supported extensions.

type TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind

type TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind string

TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind is a generated schema value.

const TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKindCWD TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind = "cwd"
const TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKindRoots TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind = "roots"
const TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKindSwitch TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind = "switch"

func (*TaskWorkspaceEventWorkspaceChangeBeforeWorkspaceKind) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextBodyPart added in v0.3.0

type TextBodyPart struct {
	Category             Optional[string]
	ID                   string
	Kind                 TextBodyPartKind
	MediaType            TextBodyPartMediaType
	Selection            TextBodyPartSelection
	Synthesized          Optional[bool]
	Text                 string
	AdditionalProperties map[string]json.RawMessage
}

TextBodyPart is generated from schema/draft/content-item.schema.json#/$defs/textBodyPart.

func (TextBodyPart) MarshalJSON added in v0.3.0

func (value TextBodyPart) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TextBodyPart) UnmarshalJSON added in v0.3.0

func (value *TextBodyPart) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextBodyPartKind added in v0.3.0

type TextBodyPartKind string

TextBodyPartKind is a generated schema value.

const TextBodyPartKindText TextBodyPartKind = "text"

func (*TextBodyPartKind) UnmarshalJSON added in v0.3.0

func (value *TextBodyPartKind) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextBodyPartMediaType added in v0.3.0

type TextBodyPartMediaType string

TextBodyPartMediaType is a generated schema value.

const TextBodyPartMediaTypeTextPlain TextBodyPartMediaType = "text/plain"

func (*TextBodyPartMediaType) UnmarshalJSON added in v0.3.0

func (value *TextBodyPartMediaType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextBodyPartSelection added in v0.3.0

type TextBodyPartSelection string

TextBodyPartSelection is a generated schema value.

const TextBodyPartSelectionBody TextBodyPartSelection = "body"

func (*TextBodyPartSelection) UnmarshalJSON added in v0.3.0

func (value *TextBodyPartSelection) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextCandidate added in v0.4.0

type TextCandidate struct {
	Provenance           Optional[TextCandidateProvenance]
	Value                *TextParts
	AdditionalProperties map[string]json.RawMessage
}

TextCandidate is generated from schema/draft/intercept-request.schema.json#/$defs/TextCandidate.

func (TextCandidate) MarshalJSON added in v0.4.0

func (value TextCandidate) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TextCandidate) UnmarshalJSON added in v0.4.0

func (value *TextCandidate) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextCandidateProvenance added in v0.4.0

type TextCandidateProvenance struct {
	AdditionalProperties map[string]json.RawMessage
}

TextCandidateProvenance is a generated nested model.

func (TextCandidateProvenance) MarshalJSON added in v0.4.0

func (value TextCandidateProvenance) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TextCandidateProvenance) UnmarshalJSON added in v0.4.0

func (value *TextCandidateProvenance) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextGapPart added in v0.3.0

type TextGapPart struct {
	Category             Optional[string]
	Gap                  TextGapPartGap
	ID                   string
	Kind                 TextGapPartKind
	MediaType            TextGapPartMediaType
	Selection            TextGapPartSelection
	Sha256               Optional[string]
	Size                 Optional[json.Number]
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TextGapPart is generated from schema/draft/content-item.schema.json#/$defs/textGapPart.

func (TextGapPart) MarshalJSON added in v0.3.0

func (value TextGapPart) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TextGapPart) UnmarshalJSON added in v0.3.0

func (value *TextGapPart) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextGapPartGap added in v0.3.0

type TextGapPartGap struct {
	Path                 Optional[string]
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

TextGapPartGap is a generated nested model.

func (TextGapPartGap) MarshalJSON added in v0.3.0

func (value TextGapPartGap) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TextGapPartGap) UnmarshalJSON added in v0.3.0

func (value *TextGapPartGap) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextGapPartKind added in v0.3.0

type TextGapPartKind string

TextGapPartKind is a generated schema value.

const TextGapPartKindText TextGapPartKind = "text"

func (*TextGapPartKind) UnmarshalJSON added in v0.3.0

func (value *TextGapPartKind) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextGapPartMediaType added in v0.3.0

type TextGapPartMediaType string

TextGapPartMediaType is a generated schema value.

const TextGapPartMediaTypeTextPlain TextGapPartMediaType = "text/plain"

func (*TextGapPartMediaType) UnmarshalJSON added in v0.3.0

func (value *TextGapPartMediaType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextGapPartSelection added in v0.3.0

type TextGapPartSelection string

TextGapPartSelection is a generated schema value.

const TextGapPartSelectionBody TextGapPartSelection = "body"

func (*TextGapPartSelection) UnmarshalJSON added in v0.3.0

func (value *TextGapPartSelection) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextMetadataPart added in v0.3.0

type TextMetadataPart struct {
	Category             Optional[string]
	ID                   string
	Kind                 TextMetadataPartKind
	MediaType            TextMetadataPartMediaType
	Selection            TextMetadataPartSelection
	Sha256               Optional[string]
	Size                 Optional[json.Number]
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TextMetadataPart is generated from schema/draft/content-item.schema.json#/$defs/textMetadataPart.

func (TextMetadataPart) MarshalJSON added in v0.3.0

func (value TextMetadataPart) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TextMetadataPart) UnmarshalJSON added in v0.3.0

func (value *TextMetadataPart) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextMetadataPartKind added in v0.3.0

type TextMetadataPartKind string

TextMetadataPartKind is a generated schema value.

const TextMetadataPartKindText TextMetadataPartKind = "text"

func (*TextMetadataPartKind) UnmarshalJSON added in v0.3.0

func (value *TextMetadataPartKind) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextMetadataPartMediaType added in v0.3.0

type TextMetadataPartMediaType string

TextMetadataPartMediaType is a generated schema value.

const TextMetadataPartMediaTypeTextPlain TextMetadataPartMediaType = "text/plain"

func (*TextMetadataPartMediaType) UnmarshalJSON added in v0.3.0

func (value *TextMetadataPartMediaType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextMetadataPartSelection added in v0.3.0

type TextMetadataPartSelection string

TextMetadataPartSelection is a generated schema value.

const TextMetadataPartSelectionMetadata TextMetadataPartSelection = "metadata"

func (*TextMetadataPartSelection) UnmarshalJSON added in v0.3.0

func (value *TextMetadataPartSelection) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextOmittedPart added in v0.3.0

type TextOmittedPart struct {
	Category             Optional[string]
	ID                   string
	Kind                 TextOmittedPartKind
	MediaType            TextOmittedPartMediaType
	Selection            TextOmittedPartSelection
	Sha256               Optional[string]
	Size                 Optional[json.Number]
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TextOmittedPart is generated from schema/draft/content-item.schema.json#/$defs/textOmittedPart.

func (TextOmittedPart) MarshalJSON added in v0.3.0

func (value TextOmittedPart) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TextOmittedPart) UnmarshalJSON added in v0.3.0

func (value *TextOmittedPart) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextOmittedPartKind added in v0.3.0

type TextOmittedPartKind string

TextOmittedPartKind is a generated schema value.

const TextOmittedPartKindText TextOmittedPartKind = "text"

func (*TextOmittedPartKind) UnmarshalJSON added in v0.3.0

func (value *TextOmittedPartKind) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextOmittedPartMediaType added in v0.3.0

type TextOmittedPartMediaType string

TextOmittedPartMediaType is a generated schema value.

const TextOmittedPartMediaTypeTextPlain TextOmittedPartMediaType = "text/plain"

func (*TextOmittedPartMediaType) UnmarshalJSON added in v0.3.0

func (value *TextOmittedPartMediaType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextOmittedPartSelection added in v0.3.0

type TextOmittedPartSelection string

TextOmittedPartSelection is a generated schema value.

const TextOmittedPartSelectionOmit TextOmittedPartSelection = "omit"

func (*TextOmittedPartSelection) UnmarshalJSON added in v0.3.0

func (value *TextOmittedPartSelection) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextPart added in v0.3.0

type TextPart struct {
	TextBodyPart     Optional[*TextBodyPart]
	TextGapPart      Optional[*TextGapPart]
	TextMetadataPart Optional[*TextMetadataPart]
	TextOmittedPart  Optional[*TextOmittedPart]
	Unknown          json.RawMessage
}

TextPart is generated from schema/draft/content-item.schema.json#/$defs/textPart.

func (TextPart) MarshalJSON added in v0.3.0

func (value TextPart) MarshalJSON() ([]byte, error)

func (*TextPart) UnmarshalJSON added in v0.3.0

func (value *TextPart) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextParts added in v0.3.0

type TextParts []*TextPart

TextParts is a structurally validated schema value.

func (TextParts) MarshalJSON added in v0.3.0

func (value TextParts) MarshalJSON() ([]byte, error)

func (*TextParts) UnmarshalJSON added in v0.3.0

func (value *TextParts) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextState added in v0.4.0

type TextState struct {
	Candidate            Nullable[*TextCandidate]
	Flow                 Optional[TextStateFlow]
	Injections           Optional[[]*InjectEffect]
	Instructions         Optional[[]string]
	Permission           TextStatePermission
	AdditionalProperties map[string]json.RawMessage
}

TextState is generated from schema/draft/intercept-request.schema.json#/$defs/TextState.

func (TextState) MarshalJSON added in v0.4.0

func (value TextState) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TextState) UnmarshalJSON added in v0.4.0

func (value *TextState) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextStateFlow added in v0.4.0

type TextStateFlow string

TextStateFlow is a generated schema value.

const TextStateFlowContinue TextStateFlow = "continue"
const TextStateFlowNone TextStateFlow = "none"
const TextStateFlowStop TextStateFlow = "stop"

func (*TextStateFlow) UnmarshalJSON added in v0.4.0

func (value *TextStateFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TextStatePermission added in v0.4.0

type TextStatePermission string

TextStatePermission is a generated schema value.

const TextStatePermissionAllow TextStatePermission = "allow"
const TextStatePermissionAsk TextStatePermission = "ask"
const TextStatePermissionDeny TextStatePermission = "deny"
const TextStatePermissionNone TextStatePermission = "none"

func (*TextStatePermission) UnmarshalJSON added in v0.4.0

func (value *TextStatePermission) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilities

ToolAfterCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/tool.after.

func (ToolAfterCapabilities) MarshalJSON

func (value ToolAfterCapabilities) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilities) UnmarshalJSON

func (value *ToolAfterCapabilities) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesEffects added in v0.1.1

type ToolAfterCapabilitiesEffects []ToolAfterCapabilitiesEffectsValueItem

ToolAfterCapabilitiesEffects is a structurally validated schema value.

func (ToolAfterCapabilitiesEffects) MarshalJSON added in v0.1.1

func (value ToolAfterCapabilitiesEffects) MarshalJSON() ([]byte, error)

func (*ToolAfterCapabilitiesEffects) UnmarshalJSON added in v0.1.1

func (value *ToolAfterCapabilitiesEffects) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesEffectsValueItem added in v0.1.1

type ToolAfterCapabilitiesEffectsValueItem string

ToolAfterCapabilitiesEffectsValueItem is a generated schema value.

const ToolAfterCapabilitiesEffectsValueItemFlow ToolAfterCapabilitiesEffectsValueItem = "flow"
const ToolAfterCapabilitiesEffectsValueItemInject ToolAfterCapabilitiesEffectsValueItem = "inject"
const ToolAfterCapabilitiesEffectsValueItemMessage ToolAfterCapabilitiesEffectsValueItem = "message"
const ToolAfterCapabilitiesEffectsValueItemModify ToolAfterCapabilitiesEffectsValueItem = "modify"

func (*ToolAfterCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

func (value *ToolAfterCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesElicitation

type ToolAfterCapabilitiesElicitation struct {
	Form                 Optional[ToolAfterCapabilitiesElicitationForm]
	URL                  Optional[ToolAfterCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterCapabilitiesElicitation is a generated nested model.

func (ToolAfterCapabilitiesElicitation) MarshalJSON

func (value ToolAfterCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilitiesElicitation) UnmarshalJSON

func (value *ToolAfterCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesElicitationForm

type ToolAfterCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterCapabilitiesElicitationForm is a generated nested model.

func (ToolAfterCapabilitiesElicitationForm) MarshalJSON

func (value ToolAfterCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilitiesElicitationForm) UnmarshalJSON

func (value *ToolAfterCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesElicitationURL

type ToolAfterCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterCapabilitiesElicitationURL is a generated nested model.

func (ToolAfterCapabilitiesElicitationURL) MarshalJSON

func (value ToolAfterCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilitiesElicitationURL) UnmarshalJSON

func (value *ToolAfterCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesFlow

type ToolAfterCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             []ToolAfterCapabilitiesFlowOperationsItem
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

ToolAfterCapabilitiesFlow is a generated nested model.

func (ToolAfterCapabilitiesFlow) MarshalJSON

func (value ToolAfterCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilitiesFlow) UnmarshalJSON

func (value *ToolAfterCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesFlowOperationsItem

type ToolAfterCapabilitiesFlowOperationsItem string

ToolAfterCapabilitiesFlowOperationsItem is a generated schema value.

const ToolAfterCapabilitiesFlowOperationsItemContinue ToolAfterCapabilitiesFlowOperationsItem = "continue"
const ToolAfterCapabilitiesFlowOperationsItemStop ToolAfterCapabilitiesFlowOperationsItem = "stop"

func (*ToolAfterCapabilitiesFlowOperationsItem) UnmarshalJSON added in v0.1.1

func (value *ToolAfterCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesInject

type ToolAfterCapabilitiesInject struct {
	Context              ToolAfterCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterCapabilitiesInject is a generated nested model.

func (ToolAfterCapabilitiesInject) MarshalJSON

func (value ToolAfterCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilitiesInject) UnmarshalJSON

func (value *ToolAfterCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesInjectContext

type ToolAfterCapabilitiesInjectContext struct {
	Append               ToolAfterCapabilitiesInjectContextAppend
	DeliverAt            []ToolAfterCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterCapabilitiesInjectContext is a generated nested model.

func (ToolAfterCapabilitiesInjectContext) MarshalJSON

func (value ToolAfterCapabilitiesInjectContext) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilitiesInjectContext) UnmarshalJSON

func (value *ToolAfterCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesInjectContextAppend

type ToolAfterCapabilitiesInjectContextAppend bool

ToolAfterCapabilitiesInjectContextAppend is a generated schema value.

const ToolAfterCapabilitiesInjectContextAppendTrue ToolAfterCapabilitiesInjectContextAppend = true

func (*ToolAfterCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

func (value *ToolAfterCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesInjectContextDeliverAtItem

type ToolAfterCapabilitiesInjectContextDeliverAtItem string

ToolAfterCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ToolAfterCapabilitiesInjectContextDeliverAtItemNextTurn ToolAfterCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ToolAfterCapabilitiesInjectContextDeliverAtItemNow ToolAfterCapabilitiesInjectContextDeliverAtItem = "now"

func (*ToolAfterCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

func (value *ToolAfterCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesModify

ToolAfterCapabilitiesModify is a generated nested model.

func (ToolAfterCapabilitiesModify) MarshalJSON

func (value ToolAfterCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilitiesModify) UnmarshalJSON

func (value *ToolAfterCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesModifyContent added in v0.1.1

type ToolAfterCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterCapabilitiesModifyContent is a generated nested model.

func (ToolAfterCapabilitiesModifyContent) MarshalJSON added in v0.1.1

func (value ToolAfterCapabilitiesModifyContent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *ToolAfterCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesModifyInput added in v0.1.1

type ToolAfterCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterCapabilitiesModifyInput is a generated nested model.

func (ToolAfterCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value ToolAfterCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *ToolAfterCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesModifyInstructions added in v0.1.1

type ToolAfterCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterCapabilitiesModifyInstructions is a generated nested model.

func (ToolAfterCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

func (value ToolAfterCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

func (value *ToolAfterCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesModifyOutput added in v0.1.1

type ToolAfterCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterCapabilitiesModifyOutput is a generated nested model.

func (ToolAfterCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

func (value ToolAfterCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *ToolAfterCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesModifyPrompt added in v0.1.1

type ToolAfterCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterCapabilitiesModifyPrompt is a generated nested model.

func (ToolAfterCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

func (value ToolAfterCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *ToolAfterCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesModifyRequest added in v0.1.1

type ToolAfterCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterCapabilitiesModifyRequest is a generated nested model.

func (ToolAfterCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

func (value ToolAfterCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *ToolAfterCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesModifyResponse added in v0.1.1

type ToolAfterCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterCapabilitiesModifyResponse is a generated nested model.

func (ToolAfterCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

func (value ToolAfterCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *ToolAfterCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesModifySummary added in v0.1.1

type ToolAfterCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterCapabilitiesModifySummary is a generated nested model.

func (ToolAfterCapabilitiesModifySummary) MarshalJSON added in v0.1.1

func (value ToolAfterCapabilitiesModifySummary) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *ToolAfterCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterCapabilitiesModifyWorkspace added in v0.1.1

type ToolAfterCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterCapabilitiesModifyWorkspace is a generated nested model.

func (ToolAfterCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

func (value ToolAfterCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *ToolAfterCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterEffect added in v0.4.0

type ToolAfterEffect struct {
	ToolAfterModifyEffect Optional[*ToolAfterModifyEffect]
	InjectEffect          Optional[*InjectEffect]
	StopFlowEffect        Optional[*StopFlowEffect]
	ContinueFlowEffect    Optional[*ContinueFlowEffect]
	MessageEffect         Optional[*MessageEffect]
	Unknown               json.RawMessage
}

ToolAfterEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ToolAfterEffect.

func (ToolAfterEffect) MarshalJSON added in v0.4.0

func (value ToolAfterEffect) MarshalJSON() ([]byte, error)

func (*ToolAfterEffect) UnmarshalJSON added in v0.4.0

func (value *ToolAfterEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterEvent

type ToolAfterEvent struct {
	Batch                Optional[*ExecutionEventBatch]
	Call                 ToolAfterEventCall
	DurationMs           Optional[json.Number]
	Error                Optional[*ExecutionEventError]
	Execution            *ExecutionEventExecution
	Extensions           Optional[*Extensions]
	FileChanges          Optional[[]*ExecutionEventFilechange]
	Gaps                 Optional[[]ToolAfterEventGapsItem]
	ID                   string
	Items                []*ModelVisibleItem
	Native               Optional[*NativeEvent]
	Outcome              ToolAfterEventOutcome
	ParentEventId        Optional[string]
	Path                 string
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Tool                 *ExecutionEventTool
	Turn                 Optional[ToolAfterEventTurn]
	Type                 ToolAfterEventType
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterEvent is generated from schema/draft/tool-after.schema.json#.

func (ToolAfterEvent) MarshalJSON

func (value ToolAfterEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterEvent) UnmarshalJSON

func (value *ToolAfterEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterEventCall

type ToolAfterEventCall struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterEventCall is a generated nested model.

func (ToolAfterEventCall) MarshalJSON

func (value ToolAfterEventCall) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterEventCall) UnmarshalJSON

func (value *ToolAfterEventCall) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterEventGapsItem

type ToolAfterEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterEventGapsItem is a generated nested model.

func (ToolAfterEventGapsItem) MarshalJSON

func (value ToolAfterEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterEventGapsItem) UnmarshalJSON

func (value *ToolAfterEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterEventOutcome

type ToolAfterEventOutcome string

ToolAfterEventOutcome is a generated schema value.

const ToolAfterEventOutcomeCancelled ToolAfterEventOutcome = "cancelled"
const ToolAfterEventOutcomeDenied ToolAfterEventOutcome = "denied"
const ToolAfterEventOutcomeError ToolAfterEventOutcome = "error"
const ToolAfterEventOutcomeOk ToolAfterEventOutcome = "ok"
const ToolAfterEventOutcomeTimeout ToolAfterEventOutcome = "timeout"

func (*ToolAfterEventOutcome) UnmarshalJSON added in v0.1.1

func (value *ToolAfterEventOutcome) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterEventTurn

type ToolAfterEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterEventTurn is a generated nested model.

func (ToolAfterEventTurn) MarshalJSON

func (value ToolAfterEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterEventTurn) UnmarshalJSON

func (value *ToolAfterEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterEventType

type ToolAfterEventType string

ToolAfterEventType is a generated schema value.

const ToolAfterEventTypeToolAfter ToolAfterEventType = "tool.after"

func (*ToolAfterEventType) UnmarshalJSON added in v0.1.1

func (value *ToolAfterEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterInterceptResponse added in v0.4.0

type ToolAfterInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              ToolAfterInterceptResponseJSONRPC
	Result               ToolAfterInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/ToolAfterInterceptResponse.

func (ToolAfterInterceptResponse) MarshalJSON added in v0.4.0

func (value ToolAfterInterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterInterceptResponse) UnmarshalJSON added in v0.4.0

func (value *ToolAfterInterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterInterceptResponseJSONRPC added in v0.4.0

type ToolAfterInterceptResponseJSONRPC string

ToolAfterInterceptResponseJSONRPC is a generated schema value.

const ToolAfterInterceptResponseJSONRPCValue20 ToolAfterInterceptResponseJSONRPC = "2.0"

func (*ToolAfterInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

func (value *ToolAfterInterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterInterceptResponseResult added in v0.4.0

type ToolAfterInterceptResponseResult struct {
	Effects              Optional[[]*ToolAfterEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterInterceptResponseResult is a generated nested model.

func (ToolAfterInterceptResponseResult) MarshalJSON added in v0.4.0

func (value ToolAfterInterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterInterceptResponseResult) UnmarshalJSON added in v0.4.0

func (value *ToolAfterInterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterModifyEffect added in v0.4.0

type ToolAfterModifyEffect struct {
	Operation            ToolAfterModifyEffectOperation
	Target               ToolAfterModifyEffectTarget
	Type                 ToolAfterModifyEffectType
	Value                *CanonicalMessages
	AdditionalProperties map[string]json.RawMessage
}

ToolAfterModifyEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ToolAfterModifyEffect.

func (ToolAfterModifyEffect) MarshalJSON added in v0.4.0

func (value ToolAfterModifyEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolAfterModifyEffect) UnmarshalJSON added in v0.4.0

func (value *ToolAfterModifyEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterModifyEffectOperation added in v0.4.0

type ToolAfterModifyEffectOperation struct {
	Replace Optional[ToolAfterModifyEffectOperationReplace]
	Merge   Optional[ToolAfterModifyEffectOperationMerge]
	Unknown json.RawMessage
}

ToolAfterModifyEffectOperation is a generated union model.

func (ToolAfterModifyEffectOperation) MarshalJSON added in v0.4.0

func (value ToolAfterModifyEffectOperation) MarshalJSON() ([]byte, error)

func (*ToolAfterModifyEffectOperation) UnmarshalJSON added in v0.4.0

func (value *ToolAfterModifyEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterModifyEffectOperationMerge added in v0.4.0

type ToolAfterModifyEffectOperationMerge string

ToolAfterModifyEffectOperationMerge is a generated schema value.

const ToolAfterModifyEffectOperationMergeMerge ToolAfterModifyEffectOperationMerge = "merge"

func (*ToolAfterModifyEffectOperationMerge) UnmarshalJSON added in v0.4.0

func (value *ToolAfterModifyEffectOperationMerge) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterModifyEffectOperationReplace added in v0.4.0

type ToolAfterModifyEffectOperationReplace string

ToolAfterModifyEffectOperationReplace is a generated schema value.

const ToolAfterModifyEffectOperationReplaceReplace ToolAfterModifyEffectOperationReplace = "replace"

func (*ToolAfterModifyEffectOperationReplace) UnmarshalJSON added in v0.4.0

func (value *ToolAfterModifyEffectOperationReplace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterModifyEffectTarget added in v0.4.0

type ToolAfterModifyEffectTarget string

ToolAfterModifyEffectTarget is a generated schema value.

const ToolAfterModifyEffectTargetOutput ToolAfterModifyEffectTarget = "output"

func (*ToolAfterModifyEffectTarget) UnmarshalJSON added in v0.4.0

func (value *ToolAfterModifyEffectTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolAfterModifyEffectType added in v0.4.0

type ToolAfterModifyEffectType string

ToolAfterModifyEffectType is a generated schema value.

const ToolAfterModifyEffectTypeModify ToolAfterModifyEffectType = "modify"

func (*ToolAfterModifyEffectType) UnmarshalJSON added in v0.4.0

func (value *ToolAfterModifyEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

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 enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesEffects added in v0.1.1

type ToolBatchAfterCapabilitiesEffects []ToolBatchAfterCapabilitiesEffectsValueItem

ToolBatchAfterCapabilitiesEffects is a structurally validated schema value.

func (ToolBatchAfterCapabilitiesEffects) MarshalJSON added in v0.1.1

func (value ToolBatchAfterCapabilitiesEffects) MarshalJSON() ([]byte, error)

func (*ToolBatchAfterCapabilitiesEffects) UnmarshalJSON added in v0.1.1

func (value *ToolBatchAfterCapabilitiesEffects) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesEffectsValueItem added in v0.1.1

type ToolBatchAfterCapabilitiesEffectsValueItem string

ToolBatchAfterCapabilitiesEffectsValueItem is a generated schema value.

const ToolBatchAfterCapabilitiesEffectsValueItemFlow ToolBatchAfterCapabilitiesEffectsValueItem = "flow"
const ToolBatchAfterCapabilitiesEffectsValueItemInject ToolBatchAfterCapabilitiesEffectsValueItem = "inject"
const ToolBatchAfterCapabilitiesEffectsValueItemMessage ToolBatchAfterCapabilitiesEffectsValueItem = "message"

func (*ToolBatchAfterCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

func (value *ToolBatchAfterCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesElicitation

type ToolBatchAfterCapabilitiesElicitation struct {
	Form                 Optional[ToolBatchAfterCapabilitiesElicitationForm]
	URL                  Optional[ToolBatchAfterCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterCapabilitiesElicitation is a generated nested model.

func (ToolBatchAfterCapabilitiesElicitation) MarshalJSON

func (value ToolBatchAfterCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterCapabilitiesElicitation) UnmarshalJSON

func (value *ToolBatchAfterCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesElicitationForm

type ToolBatchAfterCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterCapabilitiesElicitationForm is a generated nested model.

func (ToolBatchAfterCapabilitiesElicitationForm) MarshalJSON

func (value ToolBatchAfterCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterCapabilitiesElicitationForm) UnmarshalJSON

func (value *ToolBatchAfterCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesElicitationURL

type ToolBatchAfterCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterCapabilitiesElicitationURL is a generated nested model.

func (ToolBatchAfterCapabilitiesElicitationURL) MarshalJSON

func (value ToolBatchAfterCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterCapabilitiesElicitationURL) UnmarshalJSON

func (value *ToolBatchAfterCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesFlow

type ToolBatchAfterCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             ToolBatchAfterCapabilitiesFlowOperations
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

ToolBatchAfterCapabilitiesFlow is a generated nested model.

func (ToolBatchAfterCapabilitiesFlow) MarshalJSON

func (value ToolBatchAfterCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterCapabilitiesFlow) UnmarshalJSON

func (value *ToolBatchAfterCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesFlowOperations added in v0.1.1

type ToolBatchAfterCapabilitiesFlowOperations []ToolBatchAfterCapabilitiesFlowOperationsValueItem

ToolBatchAfterCapabilitiesFlowOperations is a structurally validated schema value.

func (ToolBatchAfterCapabilitiesFlowOperations) MarshalJSON added in v0.1.1

func (value ToolBatchAfterCapabilitiesFlowOperations) MarshalJSON() ([]byte, error)

func (*ToolBatchAfterCapabilitiesFlowOperations) UnmarshalJSON added in v0.1.1

func (value *ToolBatchAfterCapabilitiesFlowOperations) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesFlowOperationsValueItem added in v0.1.1

type ToolBatchAfterCapabilitiesFlowOperationsValueItem string

ToolBatchAfterCapabilitiesFlowOperationsValueItem is a generated schema value.

const ToolBatchAfterCapabilitiesFlowOperationsValueItemContinue ToolBatchAfterCapabilitiesFlowOperationsValueItem = "continue"
const ToolBatchAfterCapabilitiesFlowOperationsValueItemStop ToolBatchAfterCapabilitiesFlowOperationsValueItem = "stop"

func (*ToolBatchAfterCapabilitiesFlowOperationsValueItem) UnmarshalJSON added in v0.1.1

func (value *ToolBatchAfterCapabilitiesFlowOperationsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesInject

type ToolBatchAfterCapabilitiesInject struct {
	Context              ToolBatchAfterCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterCapabilitiesInject is a generated nested model.

func (ToolBatchAfterCapabilitiesInject) MarshalJSON

func (value ToolBatchAfterCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterCapabilitiesInject) UnmarshalJSON

func (value *ToolBatchAfterCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesInjectContext

type ToolBatchAfterCapabilitiesInjectContext struct {
	Append               ToolBatchAfterCapabilitiesInjectContextAppend
	DeliverAt            []ToolBatchAfterCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterCapabilitiesInjectContext is a generated nested model.

func (ToolBatchAfterCapabilitiesInjectContext) MarshalJSON

func (value ToolBatchAfterCapabilitiesInjectContext) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterCapabilitiesInjectContext) UnmarshalJSON

func (value *ToolBatchAfterCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesInjectContextAppend

type ToolBatchAfterCapabilitiesInjectContextAppend bool

ToolBatchAfterCapabilitiesInjectContextAppend is a generated schema value.

const ToolBatchAfterCapabilitiesInjectContextAppendTrue ToolBatchAfterCapabilitiesInjectContextAppend = true

func (*ToolBatchAfterCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

func (value *ToolBatchAfterCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesInjectContextDeliverAtItem

type ToolBatchAfterCapabilitiesInjectContextDeliverAtItem string

ToolBatchAfterCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ToolBatchAfterCapabilitiesInjectContextDeliverAtItemNextTurn ToolBatchAfterCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ToolBatchAfterCapabilitiesInjectContextDeliverAtItemNow ToolBatchAfterCapabilitiesInjectContextDeliverAtItem = "now"

func (*ToolBatchAfterCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesModify

ToolBatchAfterCapabilitiesModify is a generated nested model.

func (ToolBatchAfterCapabilitiesModify) MarshalJSON

func (value ToolBatchAfterCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterCapabilitiesModify) UnmarshalJSON

func (value *ToolBatchAfterCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesModifyContent added in v0.1.1

type ToolBatchAfterCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterCapabilitiesModifyContent is a generated nested model.

func (ToolBatchAfterCapabilitiesModifyContent) MarshalJSON added in v0.1.1

func (value ToolBatchAfterCapabilitiesModifyContent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *ToolBatchAfterCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesModifyInput added in v0.1.1

type ToolBatchAfterCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterCapabilitiesModifyInput is a generated nested model.

func (ToolBatchAfterCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value ToolBatchAfterCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *ToolBatchAfterCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesModifyInstructions added in v0.1.1

type ToolBatchAfterCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterCapabilitiesModifyInstructions is a generated nested model.

func (ToolBatchAfterCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

func (value ToolBatchAfterCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

func (value *ToolBatchAfterCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesModifyOutput added in v0.1.1

type ToolBatchAfterCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterCapabilitiesModifyOutput is a generated nested model.

func (ToolBatchAfterCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

func (value ToolBatchAfterCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *ToolBatchAfterCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesModifyPrompt added in v0.1.1

type ToolBatchAfterCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterCapabilitiesModifyPrompt is a generated nested model.

func (ToolBatchAfterCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

func (value ToolBatchAfterCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *ToolBatchAfterCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesModifyRequest added in v0.1.1

type ToolBatchAfterCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterCapabilitiesModifyRequest is a generated nested model.

func (ToolBatchAfterCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

func (value ToolBatchAfterCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *ToolBatchAfterCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesModifyResponse added in v0.1.1

type ToolBatchAfterCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterCapabilitiesModifyResponse is a generated nested model.

func (ToolBatchAfterCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

func (value ToolBatchAfterCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *ToolBatchAfterCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesModifySummary added in v0.1.1

type ToolBatchAfterCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterCapabilitiesModifySummary is a generated nested model.

func (ToolBatchAfterCapabilitiesModifySummary) MarshalJSON added in v0.1.1

func (value ToolBatchAfterCapabilitiesModifySummary) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *ToolBatchAfterCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterCapabilitiesModifyWorkspace added in v0.1.1

type ToolBatchAfterCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterCapabilitiesModifyWorkspace is a generated nested model.

func (ToolBatchAfterCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

func (value ToolBatchAfterCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *ToolBatchAfterCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterEffect added in v0.4.0

type ToolBatchAfterEffect struct {
	StopFlowEffect Optional[*StopFlowEffect]
	InjectEffect   Optional[*InjectEffect]
	MessageEffect  Optional[*MessageEffect]
	Unknown        json.RawMessage
}

ToolBatchAfterEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ToolBatchAfterEffect.

func (ToolBatchAfterEffect) MarshalJSON added in v0.4.0

func (value ToolBatchAfterEffect) MarshalJSON() ([]byte, error)

func (*ToolBatchAfterEffect) UnmarshalJSON added in v0.4.0

func (value *ToolBatchAfterEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterEvent

type ToolBatchAfterEvent struct {
	Batch                ToolBatchAfterEventBatch
	Calls                []ToolBatchAfterEventCallsItem
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ToolBatchAfterEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[ToolBatchAfterEventTurn]
	Type                 ToolBatchAfterEventType
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/tool.batch.after.

func (ToolBatchAfterEvent) MarshalJSON

func (value ToolBatchAfterEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterEvent) UnmarshalJSON

func (value *ToolBatchAfterEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterEventBatch

type ToolBatchAfterEventBatch struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterEventBatch is a generated nested model.

func (ToolBatchAfterEventBatch) MarshalJSON

func (value ToolBatchAfterEventBatch) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterEventBatch) UnmarshalJSON

func (value *ToolBatchAfterEventBatch) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterEventCallsItem

type ToolBatchAfterEventCallsItem struct {
	Batch                Optional[*ExecutionEventBatch]
	Call                 ToolBatchAfterEventCallsItemCall
	Execution            *ExecutionEventExecution
	Outcome              ToolBatchAfterEventCallsItemOutcome
	Path                 string
	Tool                 *ExecutionEventTool
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterEventCallsItem is a generated nested model.

func (ToolBatchAfterEventCallsItem) MarshalJSON

func (value ToolBatchAfterEventCallsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterEventCallsItem) UnmarshalJSON

func (value *ToolBatchAfterEventCallsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterEventCallsItemCall

type ToolBatchAfterEventCallsItemCall struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterEventCallsItemCall is a generated nested model.

func (ToolBatchAfterEventCallsItemCall) MarshalJSON

func (value ToolBatchAfterEventCallsItemCall) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterEventCallsItemCall) UnmarshalJSON

func (value *ToolBatchAfterEventCallsItemCall) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterEventCallsItemOutcome

type ToolBatchAfterEventCallsItemOutcome string

ToolBatchAfterEventCallsItemOutcome is a generated schema value.

const ToolBatchAfterEventCallsItemOutcomeCancelled ToolBatchAfterEventCallsItemOutcome = "cancelled"
const ToolBatchAfterEventCallsItemOutcomeDenied ToolBatchAfterEventCallsItemOutcome = "denied"
const ToolBatchAfterEventCallsItemOutcomeError ToolBatchAfterEventCallsItemOutcome = "error"
const ToolBatchAfterEventCallsItemOutcomeOk ToolBatchAfterEventCallsItemOutcome = "ok"
const ToolBatchAfterEventCallsItemOutcomeTimeout ToolBatchAfterEventCallsItemOutcome = "timeout"

func (*ToolBatchAfterEventCallsItemOutcome) UnmarshalJSON added in v0.1.1

func (value *ToolBatchAfterEventCallsItemOutcome) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterEventGapsItem

type ToolBatchAfterEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterEventGapsItem is a generated nested model.

func (ToolBatchAfterEventGapsItem) MarshalJSON

func (value ToolBatchAfterEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterEventGapsItem) UnmarshalJSON

func (value *ToolBatchAfterEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterEventTurn

type ToolBatchAfterEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterEventTurn is a generated nested model.

func (ToolBatchAfterEventTurn) MarshalJSON

func (value ToolBatchAfterEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterEventTurn) UnmarshalJSON

func (value *ToolBatchAfterEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterEventType

type ToolBatchAfterEventType string

ToolBatchAfterEventType is a generated schema value.

const ToolBatchAfterEventTypeToolBatchAfter ToolBatchAfterEventType = "tool.batch.after"

func (*ToolBatchAfterEventType) UnmarshalJSON added in v0.1.1

func (value *ToolBatchAfterEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterInterceptResponse added in v0.4.0

type ToolBatchAfterInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              ToolBatchAfterInterceptResponseJSONRPC
	Result               ToolBatchAfterInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/ToolBatchAfterInterceptResponse.

func (ToolBatchAfterInterceptResponse) MarshalJSON added in v0.4.0

func (value ToolBatchAfterInterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterInterceptResponse) UnmarshalJSON added in v0.4.0

func (value *ToolBatchAfterInterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterInterceptResponseJSONRPC added in v0.4.0

type ToolBatchAfterInterceptResponseJSONRPC string

ToolBatchAfterInterceptResponseJSONRPC is a generated schema value.

const ToolBatchAfterInterceptResponseJSONRPCValue20 ToolBatchAfterInterceptResponseJSONRPC = "2.0"

func (*ToolBatchAfterInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

func (value *ToolBatchAfterInterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBatchAfterInterceptResponseResult added in v0.4.0

type ToolBatchAfterInterceptResponseResult struct {
	Effects              Optional[[]*ToolBatchAfterEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

ToolBatchAfterInterceptResponseResult is a generated nested model.

func (ToolBatchAfterInterceptResponseResult) MarshalJSON added in v0.4.0

func (value ToolBatchAfterInterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBatchAfterInterceptResponseResult) UnmarshalJSON added in v0.4.0

func (value *ToolBatchAfterInterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilities

ToolBeforeCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/tool.before.

func (ToolBeforeCapabilities) MarshalJSON

func (value ToolBeforeCapabilities) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilities) UnmarshalJSON

func (value *ToolBeforeCapabilities) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesEffects added in v0.1.1

type ToolBeforeCapabilitiesEffects []ToolBeforeCapabilitiesEffectsValueItem

ToolBeforeCapabilitiesEffects is a structurally validated schema value.

func (ToolBeforeCapabilitiesEffects) MarshalJSON added in v0.1.1

func (value ToolBeforeCapabilitiesEffects) MarshalJSON() ([]byte, error)

func (*ToolBeforeCapabilitiesEffects) UnmarshalJSON added in v0.1.1

func (value *ToolBeforeCapabilitiesEffects) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesEffectsValueItem added in v0.1.1

type ToolBeforeCapabilitiesEffectsValueItem string

ToolBeforeCapabilitiesEffectsValueItem is a generated schema value.

const ToolBeforeCapabilitiesEffectsValueItemAllow ToolBeforeCapabilitiesEffectsValueItem = "allow"
const ToolBeforeCapabilitiesEffectsValueItemAsk ToolBeforeCapabilitiesEffectsValueItem = "ask"
const ToolBeforeCapabilitiesEffectsValueItemDeny ToolBeforeCapabilitiesEffectsValueItem = "deny"
const ToolBeforeCapabilitiesEffectsValueItemFlow ToolBeforeCapabilitiesEffectsValueItem = "flow"
const ToolBeforeCapabilitiesEffectsValueItemInject ToolBeforeCapabilitiesEffectsValueItem = "inject"
const ToolBeforeCapabilitiesEffectsValueItemMessage ToolBeforeCapabilitiesEffectsValueItem = "message"
const ToolBeforeCapabilitiesEffectsValueItemModify ToolBeforeCapabilitiesEffectsValueItem = "modify"
const ToolBeforeCapabilitiesEffectsValueItemReturn ToolBeforeCapabilitiesEffectsValueItem = "return"

func (*ToolBeforeCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

func (value *ToolBeforeCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesElicitation

type ToolBeforeCapabilitiesElicitation struct {
	Form                 Optional[ToolBeforeCapabilitiesElicitationForm]
	URL                  Optional[ToolBeforeCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeCapabilitiesElicitation is a generated nested model.

func (ToolBeforeCapabilitiesElicitation) MarshalJSON

func (value ToolBeforeCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilitiesElicitation) UnmarshalJSON

func (value *ToolBeforeCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesElicitationForm

type ToolBeforeCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeCapabilitiesElicitationForm is a generated nested model.

func (ToolBeforeCapabilitiesElicitationForm) MarshalJSON

func (value ToolBeforeCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilitiesElicitationForm) UnmarshalJSON

func (value *ToolBeforeCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesElicitationURL

type ToolBeforeCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeCapabilitiesElicitationURL is a generated nested model.

func (ToolBeforeCapabilitiesElicitationURL) MarshalJSON

func (value ToolBeforeCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilitiesElicitationURL) UnmarshalJSON

func (value *ToolBeforeCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesFlow

type ToolBeforeCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             ToolBeforeCapabilitiesFlowOperations
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

ToolBeforeCapabilitiesFlow is a generated nested model.

func (ToolBeforeCapabilitiesFlow) MarshalJSON

func (value ToolBeforeCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilitiesFlow) UnmarshalJSON

func (value *ToolBeforeCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesFlowOperations added in v0.1.1

type ToolBeforeCapabilitiesFlowOperations []ToolBeforeCapabilitiesFlowOperationsValueItem

ToolBeforeCapabilitiesFlowOperations is a structurally validated schema value.

func (ToolBeforeCapabilitiesFlowOperations) MarshalJSON added in v0.1.1

func (value ToolBeforeCapabilitiesFlowOperations) MarshalJSON() ([]byte, error)

func (*ToolBeforeCapabilitiesFlowOperations) UnmarshalJSON added in v0.1.1

func (value *ToolBeforeCapabilitiesFlowOperations) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesFlowOperationsValueItem added in v0.1.1

type ToolBeforeCapabilitiesFlowOperationsValueItem string

ToolBeforeCapabilitiesFlowOperationsValueItem is a generated schema value.

const ToolBeforeCapabilitiesFlowOperationsValueItemContinue ToolBeforeCapabilitiesFlowOperationsValueItem = "continue"
const ToolBeforeCapabilitiesFlowOperationsValueItemStop ToolBeforeCapabilitiesFlowOperationsValueItem = "stop"

func (*ToolBeforeCapabilitiesFlowOperationsValueItem) UnmarshalJSON added in v0.1.1

func (value *ToolBeforeCapabilitiesFlowOperationsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesInject

type ToolBeforeCapabilitiesInject struct {
	Context              ToolBeforeCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeCapabilitiesInject is a generated nested model.

func (ToolBeforeCapabilitiesInject) MarshalJSON

func (value ToolBeforeCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilitiesInject) UnmarshalJSON

func (value *ToolBeforeCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesInjectContext

type ToolBeforeCapabilitiesInjectContext struct {
	Append               ToolBeforeCapabilitiesInjectContextAppend
	DeliverAt            []ToolBeforeCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeCapabilitiesInjectContext is a generated nested model.

func (ToolBeforeCapabilitiesInjectContext) MarshalJSON

func (value ToolBeforeCapabilitiesInjectContext) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilitiesInjectContext) UnmarshalJSON

func (value *ToolBeforeCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesInjectContextAppend

type ToolBeforeCapabilitiesInjectContextAppend bool

ToolBeforeCapabilitiesInjectContextAppend is a generated schema value.

const ToolBeforeCapabilitiesInjectContextAppendTrue ToolBeforeCapabilitiesInjectContextAppend = true

func (*ToolBeforeCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

func (value *ToolBeforeCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesInjectContextDeliverAtItem

type ToolBeforeCapabilitiesInjectContextDeliverAtItem string

ToolBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ToolBeforeCapabilitiesInjectContextDeliverAtItemNextTurn ToolBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ToolBeforeCapabilitiesInjectContextDeliverAtItemNow ToolBeforeCapabilitiesInjectContextDeliverAtItem = "now"

func (*ToolBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

func (value *ToolBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesModify

ToolBeforeCapabilitiesModify is a generated nested model.

func (ToolBeforeCapabilitiesModify) MarshalJSON

func (value ToolBeforeCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilitiesModify) UnmarshalJSON

func (value *ToolBeforeCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesModifyContent added in v0.1.1

type ToolBeforeCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeCapabilitiesModifyContent is a generated nested model.

func (ToolBeforeCapabilitiesModifyContent) MarshalJSON added in v0.1.1

func (value ToolBeforeCapabilitiesModifyContent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *ToolBeforeCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesModifyInput added in v0.1.1

type ToolBeforeCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeCapabilitiesModifyInput is a generated nested model.

func (ToolBeforeCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value ToolBeforeCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *ToolBeforeCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesModifyInstructions added in v0.1.1

type ToolBeforeCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeCapabilitiesModifyInstructions is a generated nested model.

func (ToolBeforeCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

func (value ToolBeforeCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

func (value *ToolBeforeCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesModifyOutput added in v0.1.1

type ToolBeforeCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeCapabilitiesModifyOutput is a generated nested model.

func (ToolBeforeCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

func (value ToolBeforeCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *ToolBeforeCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesModifyPrompt added in v0.1.1

type ToolBeforeCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeCapabilitiesModifyPrompt is a generated nested model.

func (ToolBeforeCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

func (value ToolBeforeCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *ToolBeforeCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesModifyRequest added in v0.1.1

type ToolBeforeCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeCapabilitiesModifyRequest is a generated nested model.

func (ToolBeforeCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

func (value ToolBeforeCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *ToolBeforeCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesModifyResponse added in v0.1.1

type ToolBeforeCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeCapabilitiesModifyResponse is a generated nested model.

func (ToolBeforeCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

func (value ToolBeforeCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *ToolBeforeCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesModifySummary added in v0.1.1

type ToolBeforeCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeCapabilitiesModifySummary is a generated nested model.

func (ToolBeforeCapabilitiesModifySummary) MarshalJSON added in v0.1.1

func (value ToolBeforeCapabilitiesModifySummary) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *ToolBeforeCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeCapabilitiesModifyWorkspace added in v0.1.1

type ToolBeforeCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeCapabilitiesModifyWorkspace is a generated nested model.

func (ToolBeforeCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

func (value ToolBeforeCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *ToolBeforeCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeEffect added in v0.4.0

type ToolBeforeEffect struct {
	DenyEffect             Optional[*DenyEffect]
	AllowEffect            Optional[*AllowEffect]
	AskEffect              Optional[*AskEffect]
	ToolBeforeModifyEffect Optional[*ToolBeforeModifyEffect]
	InjectEffect           Optional[*InjectEffect]
	StopFlowEffect         Optional[*StopFlowEffect]
	ReturnToolEffect       Optional[*ReturnToolEffect]
	MessageEffect          Optional[*MessageEffect]
	Unknown                json.RawMessage
}

ToolBeforeEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ToolBeforeEffect.

func (ToolBeforeEffect) MarshalJSON added in v0.4.0

func (value ToolBeforeEffect) MarshalJSON() ([]byte, error)

func (*ToolBeforeEffect) UnmarshalJSON added in v0.4.0

func (value *ToolBeforeEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeEvent

type ToolBeforeEvent struct {
	Batch                Optional[*ExecutionEventBatch]
	Call                 ToolBeforeEventCall
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ToolBeforeEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Path                 string
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Tool                 *ExecutionEventTool
	Turn                 Optional[ToolBeforeEventTurn]
	Type                 ToolBeforeEventType
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeEvent is generated from schema/draft/tool-before.schema.json#.

func (ToolBeforeEvent) MarshalJSON

func (value ToolBeforeEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeEvent) UnmarshalJSON

func (value *ToolBeforeEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeEventCall

type ToolBeforeEventCall struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeEventCall is a generated nested model.

func (ToolBeforeEventCall) MarshalJSON

func (value ToolBeforeEventCall) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeEventCall) UnmarshalJSON

func (value *ToolBeforeEventCall) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeEventGapsItem

type ToolBeforeEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeEventGapsItem is a generated nested model.

func (ToolBeforeEventGapsItem) MarshalJSON

func (value ToolBeforeEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeEventGapsItem) UnmarshalJSON

func (value *ToolBeforeEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeEventTurn

type ToolBeforeEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeEventTurn is a generated nested model.

func (ToolBeforeEventTurn) MarshalJSON

func (value ToolBeforeEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeEventTurn) UnmarshalJSON

func (value *ToolBeforeEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeEventType

type ToolBeforeEventType string

ToolBeforeEventType is a generated schema value.

const ToolBeforeEventTypeToolBefore ToolBeforeEventType = "tool.before"

func (*ToolBeforeEventType) UnmarshalJSON added in v0.1.1

func (value *ToolBeforeEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeInterceptResponse added in v0.4.0

type ToolBeforeInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              ToolBeforeInterceptResponseJSONRPC
	Result               ToolBeforeInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/ToolBeforeInterceptResponse.

func (ToolBeforeInterceptResponse) MarshalJSON added in v0.4.0

func (value ToolBeforeInterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeInterceptResponse) UnmarshalJSON added in v0.4.0

func (value *ToolBeforeInterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeInterceptResponseJSONRPC added in v0.4.0

type ToolBeforeInterceptResponseJSONRPC string

ToolBeforeInterceptResponseJSONRPC is a generated schema value.

const ToolBeforeInterceptResponseJSONRPCValue20 ToolBeforeInterceptResponseJSONRPC = "2.0"

func (*ToolBeforeInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

func (value *ToolBeforeInterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeInterceptResponseResult added in v0.4.0

type ToolBeforeInterceptResponseResult struct {
	Effects              Optional[[]*ToolBeforeEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeInterceptResponseResult is a generated nested model.

func (ToolBeforeInterceptResponseResult) MarshalJSON added in v0.4.0

func (value ToolBeforeInterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeInterceptResponseResult) UnmarshalJSON added in v0.4.0

func (value *ToolBeforeInterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeModifyEffect added in v0.4.0

type ToolBeforeModifyEffect struct {
	Operation            ToolBeforeModifyEffectOperation
	Target               ToolBeforeModifyEffectTarget
	Type                 ToolBeforeModifyEffectType
	Value                ToolBeforeModifyEffectValue
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeModifyEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ToolBeforeModifyEffect.

func (ToolBeforeModifyEffect) MarshalJSON added in v0.4.0

func (value ToolBeforeModifyEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeModifyEffect) UnmarshalJSON added in v0.4.0

func (value *ToolBeforeModifyEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeModifyEffectOperation added in v0.4.0

type ToolBeforeModifyEffectOperation struct {
	Replace Optional[ToolBeforeModifyEffectOperationReplace]
	Merge   Optional[ToolBeforeModifyEffectOperationMerge]
	Unknown json.RawMessage
}

ToolBeforeModifyEffectOperation is a generated union model.

func (ToolBeforeModifyEffectOperation) MarshalJSON added in v0.4.0

func (value ToolBeforeModifyEffectOperation) MarshalJSON() ([]byte, error)

func (*ToolBeforeModifyEffectOperation) UnmarshalJSON added in v0.4.0

func (value *ToolBeforeModifyEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeModifyEffectOperationMerge added in v0.4.0

type ToolBeforeModifyEffectOperationMerge string

ToolBeforeModifyEffectOperationMerge is a generated schema value.

const ToolBeforeModifyEffectOperationMergeMerge ToolBeforeModifyEffectOperationMerge = "merge"

func (*ToolBeforeModifyEffectOperationMerge) UnmarshalJSON added in v0.4.0

func (value *ToolBeforeModifyEffectOperationMerge) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeModifyEffectOperationReplace added in v0.4.0

type ToolBeforeModifyEffectOperationReplace string

ToolBeforeModifyEffectOperationReplace is a generated schema value.

const ToolBeforeModifyEffectOperationReplaceReplace ToolBeforeModifyEffectOperationReplace = "replace"

func (*ToolBeforeModifyEffectOperationReplace) UnmarshalJSON added in v0.4.0

func (value *ToolBeforeModifyEffectOperationReplace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeModifyEffectTarget added in v0.4.0

type ToolBeforeModifyEffectTarget string

ToolBeforeModifyEffectTarget is a generated schema value.

const ToolBeforeModifyEffectTargetInput ToolBeforeModifyEffectTarget = "input"

func (*ToolBeforeModifyEffectTarget) UnmarshalJSON added in v0.4.0

func (value *ToolBeforeModifyEffectTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeModifyEffectType added in v0.4.0

type ToolBeforeModifyEffectType string

ToolBeforeModifyEffectType is a generated schema value.

const ToolBeforeModifyEffectTypeModify ToolBeforeModifyEffectType = "modify"

func (*ToolBeforeModifyEffectType) UnmarshalJSON added in v0.4.0

func (value *ToolBeforeModifyEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolBeforeModifyEffectValue added in v0.4.0

type ToolBeforeModifyEffectValue struct {
	AdditionalProperties map[string]json.RawMessage
}

ToolBeforeModifyEffectValue is a generated nested model.

func (ToolBeforeModifyEffectValue) MarshalJSON added in v0.4.0

func (value ToolBeforeModifyEffectValue) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolBeforeModifyEffectValue) UnmarshalJSON added in v0.4.0

func (value *ToolBeforeModifyEffectValue) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolCandidate added in v0.4.0

type ToolCandidate struct {
	Provenance           Optional[ToolCandidateProvenance]
	Value                json.RawMessage
	AdditionalProperties map[string]json.RawMessage
}

ToolCandidate is generated from schema/draft/intercept-request.schema.json#/$defs/ToolCandidate.

func (ToolCandidate) MarshalJSON added in v0.4.0

func (value ToolCandidate) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolCandidate) UnmarshalJSON added in v0.4.0

func (value *ToolCandidate) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolCandidateProvenance added in v0.4.0

type ToolCandidateProvenance struct {
	AdditionalProperties map[string]json.RawMessage
}

ToolCandidateProvenance is a generated nested model.

func (ToolCandidateProvenance) MarshalJSON added in v0.4.0

func (value ToolCandidateProvenance) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolCandidateProvenance) UnmarshalJSON added in v0.4.0

func (value *ToolCandidateProvenance) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

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 enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesEffects added in v0.1.1

type ToolPermissionRequestCapabilitiesEffects []ToolPermissionRequestCapabilitiesEffectsValueItem

ToolPermissionRequestCapabilitiesEffects is a structurally validated schema value.

func (ToolPermissionRequestCapabilitiesEffects) MarshalJSON added in v0.1.1

func (value ToolPermissionRequestCapabilitiesEffects) MarshalJSON() ([]byte, error)

func (*ToolPermissionRequestCapabilitiesEffects) UnmarshalJSON added in v0.1.1

func (value *ToolPermissionRequestCapabilitiesEffects) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesEffectsValueItem added in v0.1.1

type ToolPermissionRequestCapabilitiesEffectsValueItem string

ToolPermissionRequestCapabilitiesEffectsValueItem is a generated schema value.

const ToolPermissionRequestCapabilitiesEffectsValueItemAllow ToolPermissionRequestCapabilitiesEffectsValueItem = "allow"
const ToolPermissionRequestCapabilitiesEffectsValueItemDeny ToolPermissionRequestCapabilitiesEffectsValueItem = "deny"
const ToolPermissionRequestCapabilitiesEffectsValueItemFlow ToolPermissionRequestCapabilitiesEffectsValueItem = "flow"
const ToolPermissionRequestCapabilitiesEffectsValueItemMessage ToolPermissionRequestCapabilitiesEffectsValueItem = "message"
const ToolPermissionRequestCapabilitiesEffectsValueItemModify ToolPermissionRequestCapabilitiesEffectsValueItem = "modify"

func (*ToolPermissionRequestCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

func (value *ToolPermissionRequestCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesElicitation

type ToolPermissionRequestCapabilitiesElicitation struct {
	Form                 Optional[ToolPermissionRequestCapabilitiesElicitationForm]
	URL                  Optional[ToolPermissionRequestCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesElicitation is a generated nested model.

func (ToolPermissionRequestCapabilitiesElicitation) MarshalJSON

func (value ToolPermissionRequestCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesElicitation) UnmarshalJSON

func (value *ToolPermissionRequestCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesElicitationForm

type ToolPermissionRequestCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesElicitationForm is a generated nested model.

func (ToolPermissionRequestCapabilitiesElicitationForm) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesElicitationForm) UnmarshalJSON

func (value *ToolPermissionRequestCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesElicitationURL

type ToolPermissionRequestCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesElicitationURL is a generated nested model.

func (ToolPermissionRequestCapabilitiesElicitationURL) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesElicitationURL) UnmarshalJSON

func (value *ToolPermissionRequestCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesFlow

type ToolPermissionRequestCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             ToolPermissionRequestCapabilitiesFlowOperations
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesFlow is a generated nested model.

func (ToolPermissionRequestCapabilitiesFlow) MarshalJSON

func (value ToolPermissionRequestCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesFlow) UnmarshalJSON

func (value *ToolPermissionRequestCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesFlowOperations added in v0.1.1

type ToolPermissionRequestCapabilitiesFlowOperations []ToolPermissionRequestCapabilitiesFlowOperationsValueItem

ToolPermissionRequestCapabilitiesFlowOperations is a structurally validated schema value.

func (ToolPermissionRequestCapabilitiesFlowOperations) MarshalJSON added in v0.1.1

func (*ToolPermissionRequestCapabilitiesFlowOperations) UnmarshalJSON added in v0.1.1

func (value *ToolPermissionRequestCapabilitiesFlowOperations) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesFlowOperationsValueItem added in v0.1.1

type ToolPermissionRequestCapabilitiesFlowOperationsValueItem string

ToolPermissionRequestCapabilitiesFlowOperationsValueItem is a generated schema value.

const ToolPermissionRequestCapabilitiesFlowOperationsValueItemContinue ToolPermissionRequestCapabilitiesFlowOperationsValueItem = "continue"
const ToolPermissionRequestCapabilitiesFlowOperationsValueItemStop ToolPermissionRequestCapabilitiesFlowOperationsValueItem = "stop"

func (*ToolPermissionRequestCapabilitiesFlowOperationsValueItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesInject

type ToolPermissionRequestCapabilitiesInject struct {
	Context              ToolPermissionRequestCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesInject is a generated nested model.

func (ToolPermissionRequestCapabilitiesInject) MarshalJSON

func (value ToolPermissionRequestCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesInject) UnmarshalJSON

func (value *ToolPermissionRequestCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesInjectContext

type ToolPermissionRequestCapabilitiesInjectContext struct {
	Append               ToolPermissionRequestCapabilitiesInjectContextAppend
	DeliverAt            []ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesInjectContext is a generated nested model.

func (ToolPermissionRequestCapabilitiesInjectContext) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesInjectContext) UnmarshalJSON

func (value *ToolPermissionRequestCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesInjectContextAppend

type ToolPermissionRequestCapabilitiesInjectContextAppend bool

ToolPermissionRequestCapabilitiesInjectContextAppend is a generated schema value.

const ToolPermissionRequestCapabilitiesInjectContextAppendTrue ToolPermissionRequestCapabilitiesInjectContextAppend = true

func (*ToolPermissionRequestCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem

type ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem string

ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const ToolPermissionRequestCapabilitiesInjectContextDeliverAtItemNextTurn ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem = "next_turn"
const ToolPermissionRequestCapabilitiesInjectContextDeliverAtItemNow ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem = "now"

func (*ToolPermissionRequestCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesModify

ToolPermissionRequestCapabilitiesModify is a generated nested model.

func (ToolPermissionRequestCapabilitiesModify) MarshalJSON

func (value ToolPermissionRequestCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesModify) UnmarshalJSON

func (value *ToolPermissionRequestCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesModifyContent added in v0.1.1

type ToolPermissionRequestCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesModifyContent is a generated nested model.

func (ToolPermissionRequestCapabilitiesModifyContent) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *ToolPermissionRequestCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesModifyInput added in v0.1.1

type ToolPermissionRequestCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesModifyInput is a generated nested model.

func (ToolPermissionRequestCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value ToolPermissionRequestCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *ToolPermissionRequestCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesModifyInstructions added in v0.1.1

type ToolPermissionRequestCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesModifyInstructions is a generated nested model.

func (ToolPermissionRequestCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

func (value *ToolPermissionRequestCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesModifyOutput added in v0.1.1

type ToolPermissionRequestCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesModifyOutput is a generated nested model.

func (ToolPermissionRequestCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

func (value ToolPermissionRequestCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *ToolPermissionRequestCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesModifyPrompt added in v0.1.1

type ToolPermissionRequestCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesModifyPrompt is a generated nested model.

func (ToolPermissionRequestCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

func (value ToolPermissionRequestCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *ToolPermissionRequestCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesModifyRequest added in v0.1.1

type ToolPermissionRequestCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesModifyRequest is a generated nested model.

func (ToolPermissionRequestCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *ToolPermissionRequestCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesModifyResponse added in v0.1.1

type ToolPermissionRequestCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesModifyResponse is a generated nested model.

func (ToolPermissionRequestCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *ToolPermissionRequestCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesModifySummary added in v0.1.1

type ToolPermissionRequestCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesModifySummary is a generated nested model.

func (ToolPermissionRequestCapabilitiesModifySummary) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *ToolPermissionRequestCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestCapabilitiesModifyWorkspace added in v0.1.1

type ToolPermissionRequestCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestCapabilitiesModifyWorkspace is a generated nested model.

func (ToolPermissionRequestCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *ToolPermissionRequestCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestEffect added in v0.4.0

type ToolPermissionRequestEffect struct {
	AllowEffect                       Optional[*AllowEffect]
	DenyEffect                        Optional[*DenyEffect]
	ToolPermissionRequestModifyEffect Optional[*ToolPermissionRequestModifyEffect]
	StopFlowEffect                    Optional[*StopFlowEffect]
	MessageEffect                     Optional[*MessageEffect]
	Unknown                           json.RawMessage
}

ToolPermissionRequestEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ToolPermissionRequestEffect.

func (ToolPermissionRequestEffect) MarshalJSON added in v0.4.0

func (value ToolPermissionRequestEffect) MarshalJSON() ([]byte, error)

func (*ToolPermissionRequestEffect) UnmarshalJSON added in v0.4.0

func (value *ToolPermissionRequestEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestEvent

type ToolPermissionRequestEvent struct {
	Batch                Optional[*ExecutionEventBatch]
	Call                 ToolPermissionRequestEventCall
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ToolPermissionRequestEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Path                 string
	SandboxBypass        bool
	Session              Optional[*Session]
	Source               string
	Suggestions          []ToolPermissionRequestEventSuggestionsItem
	Synthesized          Optional[bool]
	Time                 string
	Tool                 *ExecutionEventTool
	Turn                 Optional[ToolPermissionRequestEventTurn]
	Type                 ToolPermissionRequestEventType
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/tool.permission.request.

func (ToolPermissionRequestEvent) MarshalJSON

func (value ToolPermissionRequestEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestEvent) UnmarshalJSON

func (value *ToolPermissionRequestEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestEventCall

type ToolPermissionRequestEventCall struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestEventCall is a generated nested model.

func (ToolPermissionRequestEventCall) MarshalJSON

func (value ToolPermissionRequestEventCall) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestEventCall) UnmarshalJSON

func (value *ToolPermissionRequestEventCall) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestEventGapsItem

type ToolPermissionRequestEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestEventGapsItem is a generated nested model.

func (ToolPermissionRequestEventGapsItem) MarshalJSON

func (value ToolPermissionRequestEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestEventGapsItem) UnmarshalJSON

func (value *ToolPermissionRequestEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestEventSuggestionsItem

type ToolPermissionRequestEventSuggestionsItem struct {
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestEventSuggestionsItem is a generated nested model.

func (ToolPermissionRequestEventSuggestionsItem) MarshalJSON

func (value ToolPermissionRequestEventSuggestionsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestEventSuggestionsItem) UnmarshalJSON

func (value *ToolPermissionRequestEventSuggestionsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestEventTurn

type ToolPermissionRequestEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestEventTurn is a generated nested model.

func (ToolPermissionRequestEventTurn) MarshalJSON

func (value ToolPermissionRequestEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestEventTurn) UnmarshalJSON

func (value *ToolPermissionRequestEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestEventType

type ToolPermissionRequestEventType string

ToolPermissionRequestEventType is a generated schema value.

const ToolPermissionRequestEventTypeToolPermissionRequest ToolPermissionRequestEventType = "tool.permission.request"

func (*ToolPermissionRequestEventType) UnmarshalJSON added in v0.1.1

func (value *ToolPermissionRequestEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestInterceptResponse added in v0.4.0

type ToolPermissionRequestInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              ToolPermissionRequestInterceptResponseJSONRPC
	Result               ToolPermissionRequestInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/ToolPermissionRequestInterceptResponse.

func (ToolPermissionRequestInterceptResponse) MarshalJSON added in v0.4.0

func (value ToolPermissionRequestInterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestInterceptResponse) UnmarshalJSON added in v0.4.0

func (value *ToolPermissionRequestInterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestInterceptResponseJSONRPC added in v0.4.0

type ToolPermissionRequestInterceptResponseJSONRPC string

ToolPermissionRequestInterceptResponseJSONRPC is a generated schema value.

const ToolPermissionRequestInterceptResponseJSONRPCValue20 ToolPermissionRequestInterceptResponseJSONRPC = "2.0"

func (*ToolPermissionRequestInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

func (value *ToolPermissionRequestInterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestInterceptResponseResult added in v0.4.0

type ToolPermissionRequestInterceptResponseResult struct {
	Effects              Optional[[]*ToolPermissionRequestEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestInterceptResponseResult is a generated nested model.

func (ToolPermissionRequestInterceptResponseResult) MarshalJSON added in v0.4.0

func (value ToolPermissionRequestInterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestInterceptResponseResult) UnmarshalJSON added in v0.4.0

func (value *ToolPermissionRequestInterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestModifyEffect added in v0.4.0

ToolPermissionRequestModifyEffect is generated from schema/draft/intercept-response.schema.json#/$defs/ToolPermissionRequestModifyEffect.

func (ToolPermissionRequestModifyEffect) MarshalJSON added in v0.4.0

func (value ToolPermissionRequestModifyEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestModifyEffect) UnmarshalJSON added in v0.4.0

func (value *ToolPermissionRequestModifyEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestModifyEffectOperation added in v0.4.0

type ToolPermissionRequestModifyEffectOperation struct {
	Replace Optional[ToolPermissionRequestModifyEffectOperationReplace]
	Merge   Optional[ToolPermissionRequestModifyEffectOperationMerge]
	Unknown json.RawMessage
}

ToolPermissionRequestModifyEffectOperation is a generated union model.

func (ToolPermissionRequestModifyEffectOperation) MarshalJSON added in v0.4.0

func (value ToolPermissionRequestModifyEffectOperation) MarshalJSON() ([]byte, error)

func (*ToolPermissionRequestModifyEffectOperation) UnmarshalJSON added in v0.4.0

func (value *ToolPermissionRequestModifyEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestModifyEffectOperationMerge added in v0.4.0

type ToolPermissionRequestModifyEffectOperationMerge string

ToolPermissionRequestModifyEffectOperationMerge is a generated schema value.

const ToolPermissionRequestModifyEffectOperationMergeMerge ToolPermissionRequestModifyEffectOperationMerge = "merge"

func (*ToolPermissionRequestModifyEffectOperationMerge) UnmarshalJSON added in v0.4.0

func (value *ToolPermissionRequestModifyEffectOperationMerge) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestModifyEffectOperationReplace added in v0.4.0

type ToolPermissionRequestModifyEffectOperationReplace string

ToolPermissionRequestModifyEffectOperationReplace is a generated schema value.

const ToolPermissionRequestModifyEffectOperationReplaceReplace ToolPermissionRequestModifyEffectOperationReplace = "replace"

func (*ToolPermissionRequestModifyEffectOperationReplace) UnmarshalJSON added in v0.4.0

func (value *ToolPermissionRequestModifyEffectOperationReplace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestModifyEffectTarget added in v0.4.0

type ToolPermissionRequestModifyEffectTarget string

ToolPermissionRequestModifyEffectTarget is a generated schema value.

const ToolPermissionRequestModifyEffectTargetInput ToolPermissionRequestModifyEffectTarget = "input"

func (*ToolPermissionRequestModifyEffectTarget) UnmarshalJSON added in v0.4.0

func (value *ToolPermissionRequestModifyEffectTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestModifyEffectType added in v0.4.0

type ToolPermissionRequestModifyEffectType string

ToolPermissionRequestModifyEffectType is a generated schema value.

const ToolPermissionRequestModifyEffectTypeModify ToolPermissionRequestModifyEffectType = "modify"

func (*ToolPermissionRequestModifyEffectType) UnmarshalJSON added in v0.4.0

func (value *ToolPermissionRequestModifyEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionRequestModifyEffectValue added in v0.4.0

type ToolPermissionRequestModifyEffectValue struct {
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionRequestModifyEffectValue is a generated nested model.

func (ToolPermissionRequestModifyEffectValue) MarshalJSON added in v0.4.0

func (value ToolPermissionRequestModifyEffectValue) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionRequestModifyEffectValue) UnmarshalJSON added in v0.4.0

func (value *ToolPermissionRequestModifyEffectValue) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

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 enforces generated structural rules and retains supported extensions.

type ToolPermissionResolvedEventCall

type ToolPermissionResolvedEventCall struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionResolvedEventCall is a generated nested model.

func (ToolPermissionResolvedEventCall) MarshalJSON

func (value ToolPermissionResolvedEventCall) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionResolvedEventCall) UnmarshalJSON

func (value *ToolPermissionResolvedEventCall) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionResolvedEventDecidedBy

type ToolPermissionResolvedEventDecidedBy string

ToolPermissionResolvedEventDecidedBy is a generated schema value.

const ToolPermissionResolvedEventDecidedByAuto ToolPermissionResolvedEventDecidedBy = "auto"
const ToolPermissionResolvedEventDecidedByClassifier ToolPermissionResolvedEventDecidedBy = "classifier"
const ToolPermissionResolvedEventDecidedByHook ToolPermissionResolvedEventDecidedBy = "hook"
const ToolPermissionResolvedEventDecidedByPolicy ToolPermissionResolvedEventDecidedBy = "policy"
const ToolPermissionResolvedEventDecidedByUser ToolPermissionResolvedEventDecidedBy = "user"

func (*ToolPermissionResolvedEventDecidedBy) UnmarshalJSON added in v0.1.1

func (value *ToolPermissionResolvedEventDecidedBy) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionResolvedEventDecision

type ToolPermissionResolvedEventDecision string

ToolPermissionResolvedEventDecision is a generated schema value.

const ToolPermissionResolvedEventDecisionAllow ToolPermissionResolvedEventDecision = "allow"
const ToolPermissionResolvedEventDecisionDeny ToolPermissionResolvedEventDecision = "deny"

func (*ToolPermissionResolvedEventDecision) UnmarshalJSON added in v0.1.1

func (value *ToolPermissionResolvedEventDecision) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionResolvedEventGapsItem

type ToolPermissionResolvedEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionResolvedEventGapsItem is a generated nested model.

func (ToolPermissionResolvedEventGapsItem) MarshalJSON

func (value ToolPermissionResolvedEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionResolvedEventGapsItem) UnmarshalJSON

func (value *ToolPermissionResolvedEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionResolvedEventTurn

type ToolPermissionResolvedEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ToolPermissionResolvedEventTurn is a generated nested model.

func (ToolPermissionResolvedEventTurn) MarshalJSON

func (value ToolPermissionResolvedEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolPermissionResolvedEventTurn) UnmarshalJSON

func (value *ToolPermissionResolvedEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolPermissionResolvedEventType

type ToolPermissionResolvedEventType string

ToolPermissionResolvedEventType is a generated schema value.

const ToolPermissionResolvedEventTypeToolPermissionResolved ToolPermissionResolvedEventType = "tool.permission.resolved"

func (*ToolPermissionResolvedEventType) UnmarshalJSON added in v0.1.1

func (value *ToolPermissionResolvedEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolProgressEvent

type ToolProgressEvent struct {
	Backgrounded         bool
	Batch                Optional[*ExecutionEventBatch]
	Call                 ToolProgressEventCall
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]ToolProgressEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	PartialOutput        *ModelVisibleItem
	Path                 string
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Tool                 *ExecutionEventTool
	Turn                 Optional[ToolProgressEventTurn]
	Type                 ToolProgressEventType
	AdditionalProperties map[string]json.RawMessage
}

ToolProgressEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/tool.progress.

func (ToolProgressEvent) MarshalJSON

func (value ToolProgressEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolProgressEvent) UnmarshalJSON

func (value *ToolProgressEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolProgressEventCall

type ToolProgressEventCall struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ToolProgressEventCall is a generated nested model.

func (ToolProgressEventCall) MarshalJSON

func (value ToolProgressEventCall) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolProgressEventCall) UnmarshalJSON

func (value *ToolProgressEventCall) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolProgressEventGapsItem

type ToolProgressEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

ToolProgressEventGapsItem is a generated nested model.

func (ToolProgressEventGapsItem) MarshalJSON

func (value ToolProgressEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolProgressEventGapsItem) UnmarshalJSON

func (value *ToolProgressEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolProgressEventTurn

type ToolProgressEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

ToolProgressEventTurn is a generated nested model.

func (ToolProgressEventTurn) MarshalJSON

func (value ToolProgressEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolProgressEventTurn) UnmarshalJSON

func (value *ToolProgressEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolProgressEventType

type ToolProgressEventType string

ToolProgressEventType is a generated schema value.

const ToolProgressEventTypeToolProgress ToolProgressEventType = "tool.progress"

func (*ToolProgressEventType) UnmarshalJSON added in v0.1.1

func (value *ToolProgressEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolState added in v0.4.0

type ToolState struct {
	Candidate            Nullable[*ToolCandidate]
	Flow                 Optional[ToolStateFlow]
	Injections           Optional[[]*InjectEffect]
	Instructions         Optional[[]string]
	Permission           ToolStatePermission
	AdditionalProperties map[string]json.RawMessage
}

ToolState is generated from schema/draft/intercept-request.schema.json#/$defs/ToolState.

func (ToolState) MarshalJSON added in v0.4.0

func (value ToolState) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*ToolState) UnmarshalJSON added in v0.4.0

func (value *ToolState) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolStateFlow added in v0.4.0

type ToolStateFlow string

ToolStateFlow is a generated schema value.

const ToolStateFlowContinue ToolStateFlow = "continue"
const ToolStateFlowNone ToolStateFlow = "none"
const ToolStateFlowStop ToolStateFlow = "stop"

func (*ToolStateFlow) UnmarshalJSON added in v0.4.0

func (value *ToolStateFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type ToolStatePermission added in v0.4.0

type ToolStatePermission string

ToolStatePermission is a generated schema value.

const ToolStatePermissionAllow ToolStatePermission = "allow"
const ToolStatePermissionAsk ToolStatePermission = "ask"
const ToolStatePermissionDeny ToolStatePermission = "deny"
const ToolStatePermissionNone ToolStatePermission = "none"

func (*ToolStatePermission) UnmarshalJSON added in v0.4.0

func (value *ToolStatePermission) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnEndEvent

type TurnEndEvent struct {
	ContinuationCount    json.Number
	Error                Optional[*ExecutionEventError]
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]TurnEndEventGapsItem]
	ID                   string
	Items                []*ModelVisibleItem
	LastAssistantItem    Optional[TurnEndEventLastAssistantItem]
	Native               Optional[*NativeEvent]
	Outcome              TurnEndEventOutcome
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 TurnEndEventTurn
	Type                 TurnEndEventType
	Usage                Optional[*ExecutionEventTurnusage]
	AdditionalProperties map[string]json.RawMessage
}

TurnEndEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/turn.end.

func (TurnEndEvent) MarshalJSON

func (value TurnEndEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnEndEvent) UnmarshalJSON

func (value *TurnEndEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnEndEventGapsItem

type TurnEndEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

TurnEndEventGapsItem is a generated nested model.

func (TurnEndEventGapsItem) MarshalJSON

func (value TurnEndEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnEndEventGapsItem) UnmarshalJSON

func (value *TurnEndEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnEndEventLastAssistantItem

type TurnEndEventLastAssistantItem struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TurnEndEventLastAssistantItem is a generated nested model.

func (TurnEndEventLastAssistantItem) MarshalJSON

func (value TurnEndEventLastAssistantItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnEndEventLastAssistantItem) UnmarshalJSON

func (value *TurnEndEventLastAssistantItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnEndEventOutcome

type TurnEndEventOutcome string

TurnEndEventOutcome is a generated schema value.

const TurnEndEventOutcomeCancelled TurnEndEventOutcome = "cancelled"
const TurnEndEventOutcomeCompleted TurnEndEventOutcome = "completed"
const TurnEndEventOutcomeFailed TurnEndEventOutcome = "failed"
const TurnEndEventOutcomeMaxIterations TurnEndEventOutcome = "max_iterations"

func (*TurnEndEventOutcome) UnmarshalJSON added in v0.1.1

func (value *TurnEndEventOutcome) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnEndEventTurn

type TurnEndEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TurnEndEventTurn is a generated nested model.

func (TurnEndEventTurn) MarshalJSON

func (value TurnEndEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnEndEventTurn) UnmarshalJSON

func (value *TurnEndEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnEndEventType

type TurnEndEventType string

TurnEndEventType is a generated schema value.

const TurnEndEventTypeTurnEnd TurnEndEventType = "turn.end"

func (*TurnEndEventType) UnmarshalJSON added in v0.1.1

func (value *TurnEndEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilities

TurnFinishBeforeCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/turn.finish.before.

func (TurnFinishBeforeCapabilities) MarshalJSON

func (value TurnFinishBeforeCapabilities) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilities) UnmarshalJSON

func (value *TurnFinishBeforeCapabilities) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesEffects added in v0.1.1

type TurnFinishBeforeCapabilitiesEffects []TurnFinishBeforeCapabilitiesEffectsValueItem

TurnFinishBeforeCapabilitiesEffects is a structurally validated schema value.

func (TurnFinishBeforeCapabilitiesEffects) MarshalJSON added in v0.1.1

func (value TurnFinishBeforeCapabilitiesEffects) MarshalJSON() ([]byte, error)

func (*TurnFinishBeforeCapabilitiesEffects) UnmarshalJSON added in v0.1.1

func (value *TurnFinishBeforeCapabilitiesEffects) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesEffectsValueItem added in v0.1.1

type TurnFinishBeforeCapabilitiesEffectsValueItem string

TurnFinishBeforeCapabilitiesEffectsValueItem is a generated schema value.

const TurnFinishBeforeCapabilitiesEffectsValueItemFlow TurnFinishBeforeCapabilitiesEffectsValueItem = "flow"
const TurnFinishBeforeCapabilitiesEffectsValueItemMessage TurnFinishBeforeCapabilitiesEffectsValueItem = "message"
const TurnFinishBeforeCapabilitiesEffectsValueItemModify TurnFinishBeforeCapabilitiesEffectsValueItem = "modify"

func (*TurnFinishBeforeCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

func (value *TurnFinishBeforeCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesElicitation

type TurnFinishBeforeCapabilitiesElicitation struct {
	Form                 Optional[TurnFinishBeforeCapabilitiesElicitationForm]
	URL                  Optional[TurnFinishBeforeCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeCapabilitiesElicitation is a generated nested model.

func (TurnFinishBeforeCapabilitiesElicitation) MarshalJSON

func (value TurnFinishBeforeCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilitiesElicitation) UnmarshalJSON

func (value *TurnFinishBeforeCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesElicitationForm

type TurnFinishBeforeCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeCapabilitiesElicitationForm is a generated nested model.

func (TurnFinishBeforeCapabilitiesElicitationForm) MarshalJSON

func (value TurnFinishBeforeCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilitiesElicitationForm) UnmarshalJSON

func (value *TurnFinishBeforeCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesElicitationURL

type TurnFinishBeforeCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeCapabilitiesElicitationURL is a generated nested model.

func (TurnFinishBeforeCapabilitiesElicitationURL) MarshalJSON

func (value TurnFinishBeforeCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilitiesElicitationURL) UnmarshalJSON

func (value *TurnFinishBeforeCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesFlow

type TurnFinishBeforeCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             []TurnFinishBeforeCapabilitiesFlowOperationsItem
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

TurnFinishBeforeCapabilitiesFlow is a generated nested model.

func (TurnFinishBeforeCapabilitiesFlow) MarshalJSON

func (value TurnFinishBeforeCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilitiesFlow) UnmarshalJSON

func (value *TurnFinishBeforeCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesFlowOperationsItem

type TurnFinishBeforeCapabilitiesFlowOperationsItem string

TurnFinishBeforeCapabilitiesFlowOperationsItem is a generated schema value.

const TurnFinishBeforeCapabilitiesFlowOperationsItemContinue TurnFinishBeforeCapabilitiesFlowOperationsItem = "continue"
const TurnFinishBeforeCapabilitiesFlowOperationsItemStop TurnFinishBeforeCapabilitiesFlowOperationsItem = "stop"

func (*TurnFinishBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON added in v0.1.1

func (value *TurnFinishBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesInject

type TurnFinishBeforeCapabilitiesInject struct {
	Context              TurnFinishBeforeCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeCapabilitiesInject is a generated nested model.

func (TurnFinishBeforeCapabilitiesInject) MarshalJSON

func (value TurnFinishBeforeCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilitiesInject) UnmarshalJSON

func (value *TurnFinishBeforeCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesInjectContext

type TurnFinishBeforeCapabilitiesInjectContext struct {
	Append               TurnFinishBeforeCapabilitiesInjectContextAppend
	DeliverAt            []TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeCapabilitiesInjectContext is a generated nested model.

func (TurnFinishBeforeCapabilitiesInjectContext) MarshalJSON

func (value TurnFinishBeforeCapabilitiesInjectContext) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilitiesInjectContext) UnmarshalJSON

func (value *TurnFinishBeforeCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesInjectContextAppend

type TurnFinishBeforeCapabilitiesInjectContextAppend bool

TurnFinishBeforeCapabilitiesInjectContextAppend is a generated schema value.

const TurnFinishBeforeCapabilitiesInjectContextAppendTrue TurnFinishBeforeCapabilitiesInjectContextAppend = true

func (*TurnFinishBeforeCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

func (value *TurnFinishBeforeCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem

type TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem string

TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const TurnFinishBeforeCapabilitiesInjectContextDeliverAtItemNextTurn TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const TurnFinishBeforeCapabilitiesInjectContextDeliverAtItemNow TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem = "now"

func (*TurnFinishBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesModify

TurnFinishBeforeCapabilitiesModify is a generated nested model.

func (TurnFinishBeforeCapabilitiesModify) MarshalJSON

func (value TurnFinishBeforeCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilitiesModify) UnmarshalJSON

func (value *TurnFinishBeforeCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesModifyContent added in v0.1.1

type TurnFinishBeforeCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeCapabilitiesModifyContent is a generated nested model.

func (TurnFinishBeforeCapabilitiesModifyContent) MarshalJSON added in v0.1.1

func (value TurnFinishBeforeCapabilitiesModifyContent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *TurnFinishBeforeCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesModifyInput added in v0.1.1

type TurnFinishBeforeCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeCapabilitiesModifyInput is a generated nested model.

func (TurnFinishBeforeCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value TurnFinishBeforeCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *TurnFinishBeforeCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesModifyInstructions added in v0.1.1

type TurnFinishBeforeCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeCapabilitiesModifyInstructions is a generated nested model.

func (TurnFinishBeforeCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

func (value *TurnFinishBeforeCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesModifyOutput added in v0.1.1

type TurnFinishBeforeCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeCapabilitiesModifyOutput is a generated nested model.

func (TurnFinishBeforeCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

func (value TurnFinishBeforeCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *TurnFinishBeforeCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesModifyPrompt added in v0.1.1

type TurnFinishBeforeCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeCapabilitiesModifyPrompt is a generated nested model.

func (TurnFinishBeforeCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

func (value TurnFinishBeforeCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *TurnFinishBeforeCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesModifyRequest added in v0.1.1

type TurnFinishBeforeCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeCapabilitiesModifyRequest is a generated nested model.

func (TurnFinishBeforeCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

func (value TurnFinishBeforeCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *TurnFinishBeforeCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesModifyResponse added in v0.1.1

type TurnFinishBeforeCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeCapabilitiesModifyResponse is a generated nested model.

func (TurnFinishBeforeCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

func (value TurnFinishBeforeCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *TurnFinishBeforeCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesModifySummary added in v0.1.1

type TurnFinishBeforeCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeCapabilitiesModifySummary is a generated nested model.

func (TurnFinishBeforeCapabilitiesModifySummary) MarshalJSON added in v0.1.1

func (value TurnFinishBeforeCapabilitiesModifySummary) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *TurnFinishBeforeCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeCapabilitiesModifyWorkspace added in v0.1.1

type TurnFinishBeforeCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeCapabilitiesModifyWorkspace is a generated nested model.

func (TurnFinishBeforeCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

func (value TurnFinishBeforeCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *TurnFinishBeforeCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeEffect added in v0.4.0

type TurnFinishBeforeEffect struct {
	TurnFinishBeforeModifyEffect Optional[*TurnFinishBeforeModifyEffect]
	StopFlowEffect               Optional[*StopFlowEffect]
	ContinueFlowEffect           Optional[*ContinueFlowEffect]
	MessageEffect                Optional[*MessageEffect]
	Unknown                      json.RawMessage
}

TurnFinishBeforeEffect is generated from schema/draft/intercept-response.schema.json#/$defs/TurnFinishBeforeEffect.

func (TurnFinishBeforeEffect) MarshalJSON added in v0.4.0

func (value TurnFinishBeforeEffect) MarshalJSON() ([]byte, error)

func (*TurnFinishBeforeEffect) UnmarshalJSON added in v0.4.0

func (value *TurnFinishBeforeEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeEvent

type TurnFinishBeforeEvent struct {
	ContinuationCount    json.Number
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]TurnFinishBeforeEventGapsItem]
	ID                   string
	Items                []*ModelVisibleItem
	LastAssistantItem    Optional[TurnFinishBeforeEventLastAssistantItem]
	Native               Optional[*NativeEvent]
	Outcome              TurnFinishBeforeEventOutcome
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 TurnFinishBeforeEventTurn
	Type                 TurnFinishBeforeEventType
	Usage                Optional[*ExecutionEventTurnusage]
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/turn.finish.before.

func (TurnFinishBeforeEvent) MarshalJSON

func (value TurnFinishBeforeEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeEvent) UnmarshalJSON

func (value *TurnFinishBeforeEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeEventGapsItem

type TurnFinishBeforeEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeEventGapsItem is a generated nested model.

func (TurnFinishBeforeEventGapsItem) MarshalJSON

func (value TurnFinishBeforeEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeEventGapsItem) UnmarshalJSON

func (value *TurnFinishBeforeEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeEventLastAssistantItem

type TurnFinishBeforeEventLastAssistantItem struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeEventLastAssistantItem is a generated nested model.

func (TurnFinishBeforeEventLastAssistantItem) MarshalJSON

func (value TurnFinishBeforeEventLastAssistantItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeEventLastAssistantItem) UnmarshalJSON

func (value *TurnFinishBeforeEventLastAssistantItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeEventOutcome

type TurnFinishBeforeEventOutcome string

TurnFinishBeforeEventOutcome is a generated schema value.

const TurnFinishBeforeEventOutcomeCancelled TurnFinishBeforeEventOutcome = "cancelled"
const TurnFinishBeforeEventOutcomeCompleted TurnFinishBeforeEventOutcome = "completed"
const TurnFinishBeforeEventOutcomeFailed TurnFinishBeforeEventOutcome = "failed"
const TurnFinishBeforeEventOutcomeMaxIterations TurnFinishBeforeEventOutcome = "max_iterations"

func (*TurnFinishBeforeEventOutcome) UnmarshalJSON added in v0.1.1

func (value *TurnFinishBeforeEventOutcome) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeEventTurn

type TurnFinishBeforeEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeEventTurn is a generated nested model.

func (TurnFinishBeforeEventTurn) MarshalJSON

func (value TurnFinishBeforeEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeEventTurn) UnmarshalJSON

func (value *TurnFinishBeforeEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeEventType

type TurnFinishBeforeEventType string

TurnFinishBeforeEventType is a generated schema value.

const TurnFinishBeforeEventTypeTurnFinishBefore TurnFinishBeforeEventType = "turn.finish.before"

func (*TurnFinishBeforeEventType) UnmarshalJSON added in v0.1.1

func (value *TurnFinishBeforeEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeInterceptResponse added in v0.4.0

type TurnFinishBeforeInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              TurnFinishBeforeInterceptResponseJSONRPC
	Result               TurnFinishBeforeInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/TurnFinishBeforeInterceptResponse.

func (TurnFinishBeforeInterceptResponse) MarshalJSON added in v0.4.0

func (value TurnFinishBeforeInterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeInterceptResponse) UnmarshalJSON added in v0.4.0

func (value *TurnFinishBeforeInterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeInterceptResponseJSONRPC added in v0.4.0

type TurnFinishBeforeInterceptResponseJSONRPC string

TurnFinishBeforeInterceptResponseJSONRPC is a generated schema value.

const TurnFinishBeforeInterceptResponseJSONRPCValue20 TurnFinishBeforeInterceptResponseJSONRPC = "2.0"

func (*TurnFinishBeforeInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

func (value *TurnFinishBeforeInterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeInterceptResponseResult added in v0.4.0

type TurnFinishBeforeInterceptResponseResult struct {
	Effects              Optional[[]*TurnFinishBeforeEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeInterceptResponseResult is a generated nested model.

func (TurnFinishBeforeInterceptResponseResult) MarshalJSON added in v0.4.0

func (value TurnFinishBeforeInterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeInterceptResponseResult) UnmarshalJSON added in v0.4.0

func (value *TurnFinishBeforeInterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeModifyEffect added in v0.4.0

type TurnFinishBeforeModifyEffect struct {
	Operation            TurnFinishBeforeModifyEffectOperation
	Target               TurnFinishBeforeModifyEffectTarget
	Type                 TurnFinishBeforeModifyEffectType
	Value                *CanonicalMessages
	AdditionalProperties map[string]json.RawMessage
}

TurnFinishBeforeModifyEffect is generated from schema/draft/intercept-response.schema.json#/$defs/TurnFinishBeforeModifyEffect.

func (TurnFinishBeforeModifyEffect) MarshalJSON added in v0.4.0

func (value TurnFinishBeforeModifyEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnFinishBeforeModifyEffect) UnmarshalJSON added in v0.4.0

func (value *TurnFinishBeforeModifyEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeModifyEffectOperation added in v0.4.0

type TurnFinishBeforeModifyEffectOperation struct {
	Replace Optional[TurnFinishBeforeModifyEffectOperationReplace]
	Merge   Optional[TurnFinishBeforeModifyEffectOperationMerge]
	Unknown json.RawMessage
}

TurnFinishBeforeModifyEffectOperation is a generated union model.

func (TurnFinishBeforeModifyEffectOperation) MarshalJSON added in v0.4.0

func (value TurnFinishBeforeModifyEffectOperation) MarshalJSON() ([]byte, error)

func (*TurnFinishBeforeModifyEffectOperation) UnmarshalJSON added in v0.4.0

func (value *TurnFinishBeforeModifyEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeModifyEffectOperationMerge added in v0.4.0

type TurnFinishBeforeModifyEffectOperationMerge string

TurnFinishBeforeModifyEffectOperationMerge is a generated schema value.

const TurnFinishBeforeModifyEffectOperationMergeMerge TurnFinishBeforeModifyEffectOperationMerge = "merge"

func (*TurnFinishBeforeModifyEffectOperationMerge) UnmarshalJSON added in v0.4.0

func (value *TurnFinishBeforeModifyEffectOperationMerge) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeModifyEffectOperationReplace added in v0.4.0

type TurnFinishBeforeModifyEffectOperationReplace string

TurnFinishBeforeModifyEffectOperationReplace is a generated schema value.

const TurnFinishBeforeModifyEffectOperationReplaceReplace TurnFinishBeforeModifyEffectOperationReplace = "replace"

func (*TurnFinishBeforeModifyEffectOperationReplace) UnmarshalJSON added in v0.4.0

func (value *TurnFinishBeforeModifyEffectOperationReplace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeModifyEffectTarget added in v0.4.0

type TurnFinishBeforeModifyEffectTarget string

TurnFinishBeforeModifyEffectTarget is a generated schema value.

const TurnFinishBeforeModifyEffectTargetResponse TurnFinishBeforeModifyEffectTarget = "response"

func (*TurnFinishBeforeModifyEffectTarget) UnmarshalJSON added in v0.4.0

func (value *TurnFinishBeforeModifyEffectTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnFinishBeforeModifyEffectType added in v0.4.0

type TurnFinishBeforeModifyEffectType string

TurnFinishBeforeModifyEffectType is a generated schema value.

const TurnFinishBeforeModifyEffectTypeModify TurnFinishBeforeModifyEffectType = "modify"

func (*TurnFinishBeforeModifyEffectType) UnmarshalJSON added in v0.4.0

func (value *TurnFinishBeforeModifyEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnProgressEvent

type TurnProgressEvent struct {
	Delta                *ModelVisibleItem
	Extensions           Optional[*Extensions]
	Final                bool
	Gaps                 Optional[[]TurnProgressEventGapsItem]
	ID                   string
	Item                 TurnProgressEventItem
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 TurnProgressEventTurn
	Type                 TurnProgressEventType
	AdditionalProperties map[string]json.RawMessage
}

TurnProgressEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/turn.progress.

func (TurnProgressEvent) MarshalJSON

func (value TurnProgressEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnProgressEvent) UnmarshalJSON

func (value *TurnProgressEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnProgressEventGapsItem

type TurnProgressEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

TurnProgressEventGapsItem is a generated nested model.

func (TurnProgressEventGapsItem) MarshalJSON

func (value TurnProgressEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnProgressEventGapsItem) UnmarshalJSON

func (value *TurnProgressEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnProgressEventItem

type TurnProgressEventItem struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TurnProgressEventItem is a generated nested model.

func (TurnProgressEventItem) MarshalJSON

func (value TurnProgressEventItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnProgressEventItem) UnmarshalJSON

func (value *TurnProgressEventItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnProgressEventTurn

type TurnProgressEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TurnProgressEventTurn is a generated nested model.

func (TurnProgressEventTurn) MarshalJSON

func (value TurnProgressEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnProgressEventTurn) UnmarshalJSON

func (value *TurnProgressEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnProgressEventType

type TurnProgressEventType string

TurnProgressEventType is a generated schema value.

const TurnProgressEventTypeTurnProgress TurnProgressEventType = "turn.progress"

func (*TurnProgressEventType) UnmarshalJSON added in v0.1.1

func (value *TurnProgressEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilities

TurnStartCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/turn.start.

func (TurnStartCapabilities) MarshalJSON

func (value TurnStartCapabilities) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilities) UnmarshalJSON

func (value *TurnStartCapabilities) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesEffects added in v0.1.1

type TurnStartCapabilitiesEffects []TurnStartCapabilitiesEffectsValueItem

TurnStartCapabilitiesEffects is a structurally validated schema value.

func (TurnStartCapabilitiesEffects) MarshalJSON added in v0.1.1

func (value TurnStartCapabilitiesEffects) MarshalJSON() ([]byte, error)

func (*TurnStartCapabilitiesEffects) UnmarshalJSON added in v0.1.1

func (value *TurnStartCapabilitiesEffects) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesEffectsValueItem added in v0.1.1

type TurnStartCapabilitiesEffectsValueItem string

TurnStartCapabilitiesEffectsValueItem is a generated schema value.

const TurnStartCapabilitiesEffectsValueItemDeny TurnStartCapabilitiesEffectsValueItem = "deny"
const TurnStartCapabilitiesEffectsValueItemFlow TurnStartCapabilitiesEffectsValueItem = "flow"
const TurnStartCapabilitiesEffectsValueItemInject TurnStartCapabilitiesEffectsValueItem = "inject"
const TurnStartCapabilitiesEffectsValueItemMessage TurnStartCapabilitiesEffectsValueItem = "message"
const TurnStartCapabilitiesEffectsValueItemModify TurnStartCapabilitiesEffectsValueItem = "modify"

func (*TurnStartCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

func (value *TurnStartCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesElicitation

type TurnStartCapabilitiesElicitation struct {
	Form                 Optional[TurnStartCapabilitiesElicitationForm]
	URL                  Optional[TurnStartCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

TurnStartCapabilitiesElicitation is a generated nested model.

func (TurnStartCapabilitiesElicitation) MarshalJSON

func (value TurnStartCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilitiesElicitation) UnmarshalJSON

func (value *TurnStartCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesElicitationForm

type TurnStartCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

TurnStartCapabilitiesElicitationForm is a generated nested model.

func (TurnStartCapabilitiesElicitationForm) MarshalJSON

func (value TurnStartCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilitiesElicitationForm) UnmarshalJSON

func (value *TurnStartCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesElicitationURL

type TurnStartCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

TurnStartCapabilitiesElicitationURL is a generated nested model.

func (TurnStartCapabilitiesElicitationURL) MarshalJSON

func (value TurnStartCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilitiesElicitationURL) UnmarshalJSON

func (value *TurnStartCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesFlow

type TurnStartCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             TurnStartCapabilitiesFlowOperations
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

TurnStartCapabilitiesFlow is a generated nested model.

func (TurnStartCapabilitiesFlow) MarshalJSON

func (value TurnStartCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilitiesFlow) UnmarshalJSON

func (value *TurnStartCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesFlowOperations added in v0.1.1

type TurnStartCapabilitiesFlowOperations []TurnStartCapabilitiesFlowOperationsValueItem

TurnStartCapabilitiesFlowOperations is a structurally validated schema value.

func (TurnStartCapabilitiesFlowOperations) MarshalJSON added in v0.1.1

func (value TurnStartCapabilitiesFlowOperations) MarshalJSON() ([]byte, error)

func (*TurnStartCapabilitiesFlowOperations) UnmarshalJSON added in v0.1.1

func (value *TurnStartCapabilitiesFlowOperations) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesFlowOperationsValueItem added in v0.1.1

type TurnStartCapabilitiesFlowOperationsValueItem string

TurnStartCapabilitiesFlowOperationsValueItem is a generated schema value.

const TurnStartCapabilitiesFlowOperationsValueItemContinue TurnStartCapabilitiesFlowOperationsValueItem = "continue"
const TurnStartCapabilitiesFlowOperationsValueItemStop TurnStartCapabilitiesFlowOperationsValueItem = "stop"

func (*TurnStartCapabilitiesFlowOperationsValueItem) UnmarshalJSON added in v0.1.1

func (value *TurnStartCapabilitiesFlowOperationsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesInject

type TurnStartCapabilitiesInject struct {
	Context              TurnStartCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

TurnStartCapabilitiesInject is a generated nested model.

func (TurnStartCapabilitiesInject) MarshalJSON

func (value TurnStartCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilitiesInject) UnmarshalJSON

func (value *TurnStartCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesInjectContext

type TurnStartCapabilitiesInjectContext struct {
	Append               TurnStartCapabilitiesInjectContextAppend
	DeliverAt            []TurnStartCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

TurnStartCapabilitiesInjectContext is a generated nested model.

func (TurnStartCapabilitiesInjectContext) MarshalJSON

func (value TurnStartCapabilitiesInjectContext) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilitiesInjectContext) UnmarshalJSON

func (value *TurnStartCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesInjectContextAppend

type TurnStartCapabilitiesInjectContextAppend bool

TurnStartCapabilitiesInjectContextAppend is a generated schema value.

const TurnStartCapabilitiesInjectContextAppendTrue TurnStartCapabilitiesInjectContextAppend = true

func (*TurnStartCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

func (value *TurnStartCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesInjectContextDeliverAtItem

type TurnStartCapabilitiesInjectContextDeliverAtItem string

TurnStartCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const TurnStartCapabilitiesInjectContextDeliverAtItemNextTurn TurnStartCapabilitiesInjectContextDeliverAtItem = "next_turn"
const TurnStartCapabilitiesInjectContextDeliverAtItemNow TurnStartCapabilitiesInjectContextDeliverAtItem = "now"

func (*TurnStartCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

func (value *TurnStartCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesModify

TurnStartCapabilitiesModify is a generated nested model.

func (TurnStartCapabilitiesModify) MarshalJSON

func (value TurnStartCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilitiesModify) UnmarshalJSON

func (value *TurnStartCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesModifyContent added in v0.1.1

type TurnStartCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnStartCapabilitiesModifyContent is a generated nested model.

func (TurnStartCapabilitiesModifyContent) MarshalJSON added in v0.1.1

func (value TurnStartCapabilitiesModifyContent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *TurnStartCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesModifyInput added in v0.1.1

type TurnStartCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnStartCapabilitiesModifyInput is a generated nested model.

func (TurnStartCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value TurnStartCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *TurnStartCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesModifyInstructions added in v0.1.1

type TurnStartCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnStartCapabilitiesModifyInstructions is a generated nested model.

func (TurnStartCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

func (value TurnStartCapabilitiesModifyInstructions) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

func (value *TurnStartCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesModifyOutput added in v0.1.1

type TurnStartCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnStartCapabilitiesModifyOutput is a generated nested model.

func (TurnStartCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

func (value TurnStartCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *TurnStartCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesModifyPrompt added in v0.1.1

type TurnStartCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnStartCapabilitiesModifyPrompt is a generated nested model.

func (TurnStartCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

func (value TurnStartCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *TurnStartCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesModifyRequest added in v0.1.1

type TurnStartCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnStartCapabilitiesModifyRequest is a generated nested model.

func (TurnStartCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

func (value TurnStartCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *TurnStartCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesModifyResponse added in v0.1.1

type TurnStartCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnStartCapabilitiesModifyResponse is a generated nested model.

func (TurnStartCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

func (value TurnStartCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *TurnStartCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesModifySummary added in v0.1.1

type TurnStartCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnStartCapabilitiesModifySummary is a generated nested model.

func (TurnStartCapabilitiesModifySummary) MarshalJSON added in v0.1.1

func (value TurnStartCapabilitiesModifySummary) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *TurnStartCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartCapabilitiesModifyWorkspace added in v0.1.1

type TurnStartCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

TurnStartCapabilitiesModifyWorkspace is a generated nested model.

func (TurnStartCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

func (value TurnStartCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *TurnStartCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartEffect added in v0.4.0

type TurnStartEffect struct {
	DenyEffect            Optional[*DenyEffect]
	TurnStartModifyEffect Optional[*TurnStartModifyEffect]
	InjectEffect          Optional[*InjectEffect]
	StopFlowEffect        Optional[*StopFlowEffect]
	MessageEffect         Optional[*MessageEffect]
	Unknown               json.RawMessage
}

TurnStartEffect is generated from schema/draft/intercept-response.schema.json#/$defs/TurnStartEffect.

func (TurnStartEffect) MarshalJSON added in v0.4.0

func (value TurnStartEffect) MarshalJSON() ([]byte, error)

func (*TurnStartEffect) UnmarshalJSON added in v0.4.0

func (value *TurnStartEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartEvent

type TurnStartEvent struct {
	ExpandedFrom         Optional[string]
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]TurnStartEventGapsItem]
	ID                   string
	Items                []*ModelVisibleItem
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Trigger              TurnStartEventTrigger
	Turn                 TurnStartEventTurn
	Type                 TurnStartEventType
	AdditionalProperties map[string]json.RawMessage
}

TurnStartEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/turn.start.

func (TurnStartEvent) MarshalJSON

func (value TurnStartEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartEvent) UnmarshalJSON

func (value *TurnStartEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartEventGapsItem

type TurnStartEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

TurnStartEventGapsItem is a generated nested model.

func (TurnStartEventGapsItem) MarshalJSON

func (value TurnStartEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartEventGapsItem) UnmarshalJSON

func (value *TurnStartEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartEventTrigger

type TurnStartEventTrigger string

TurnStartEventTrigger is a generated schema value.

const TurnStartEventTriggerContinuation TurnStartEventTrigger = "continuation"
const TurnStartEventTriggerExternal TurnStartEventTrigger = "external"
const TurnStartEventTriggerHook TurnStartEventTrigger = "hook"
const TurnStartEventTriggerUser TurnStartEventTrigger = "user"

func (*TurnStartEventTrigger) UnmarshalJSON added in v0.1.1

func (value *TurnStartEventTrigger) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartEventTurn

type TurnStartEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

TurnStartEventTurn is a generated nested model.

func (TurnStartEventTurn) MarshalJSON

func (value TurnStartEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartEventTurn) UnmarshalJSON

func (value *TurnStartEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartEventType

type TurnStartEventType string

TurnStartEventType is a generated schema value.

const TurnStartEventTypeTurnStart TurnStartEventType = "turn.start"

func (*TurnStartEventType) UnmarshalJSON added in v0.1.1

func (value *TurnStartEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartInterceptResponse added in v0.4.0

type TurnStartInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              TurnStartInterceptResponseJSONRPC
	Result               TurnStartInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

TurnStartInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/TurnStartInterceptResponse.

func (TurnStartInterceptResponse) MarshalJSON added in v0.4.0

func (value TurnStartInterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartInterceptResponse) UnmarshalJSON added in v0.4.0

func (value *TurnStartInterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartInterceptResponseJSONRPC added in v0.4.0

type TurnStartInterceptResponseJSONRPC string

TurnStartInterceptResponseJSONRPC is a generated schema value.

const TurnStartInterceptResponseJSONRPCValue20 TurnStartInterceptResponseJSONRPC = "2.0"

func (*TurnStartInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

func (value *TurnStartInterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartInterceptResponseResult added in v0.4.0

type TurnStartInterceptResponseResult struct {
	Effects              Optional[[]*TurnStartEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

TurnStartInterceptResponseResult is a generated nested model.

func (TurnStartInterceptResponseResult) MarshalJSON added in v0.4.0

func (value TurnStartInterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartInterceptResponseResult) UnmarshalJSON added in v0.4.0

func (value *TurnStartInterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartModifyEffect added in v0.4.0

type TurnStartModifyEffect struct {
	Operation            TurnStartModifyEffectOperation
	Target               TurnStartModifyEffectTarget
	Type                 TurnStartModifyEffectType
	Value                *CanonicalMessages
	AdditionalProperties map[string]json.RawMessage
}

TurnStartModifyEffect is generated from schema/draft/intercept-response.schema.json#/$defs/TurnStartModifyEffect.

func (TurnStartModifyEffect) MarshalJSON added in v0.4.0

func (value TurnStartModifyEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*TurnStartModifyEffect) UnmarshalJSON added in v0.4.0

func (value *TurnStartModifyEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartModifyEffectOperation added in v0.4.0

type TurnStartModifyEffectOperation struct {
	Replace Optional[TurnStartModifyEffectOperationReplace]
	Merge   Optional[TurnStartModifyEffectOperationMerge]
	Unknown json.RawMessage
}

TurnStartModifyEffectOperation is a generated union model.

func (TurnStartModifyEffectOperation) MarshalJSON added in v0.4.0

func (value TurnStartModifyEffectOperation) MarshalJSON() ([]byte, error)

func (*TurnStartModifyEffectOperation) UnmarshalJSON added in v0.4.0

func (value *TurnStartModifyEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartModifyEffectOperationMerge added in v0.4.0

type TurnStartModifyEffectOperationMerge string

TurnStartModifyEffectOperationMerge is a generated schema value.

const TurnStartModifyEffectOperationMergeMerge TurnStartModifyEffectOperationMerge = "merge"

func (*TurnStartModifyEffectOperationMerge) UnmarshalJSON added in v0.4.0

func (value *TurnStartModifyEffectOperationMerge) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartModifyEffectOperationReplace added in v0.4.0

type TurnStartModifyEffectOperationReplace string

TurnStartModifyEffectOperationReplace is a generated schema value.

const TurnStartModifyEffectOperationReplaceReplace TurnStartModifyEffectOperationReplace = "replace"

func (*TurnStartModifyEffectOperationReplace) UnmarshalJSON added in v0.4.0

func (value *TurnStartModifyEffectOperationReplace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartModifyEffectTarget added in v0.4.0

type TurnStartModifyEffectTarget string

TurnStartModifyEffectTarget is a generated schema value.

const TurnStartModifyEffectTargetPrompt TurnStartModifyEffectTarget = "prompt"

func (*TurnStartModifyEffectTarget) UnmarshalJSON added in v0.4.0

func (value *TurnStartModifyEffectTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type TurnStartModifyEffectType added in v0.4.0

type TurnStartModifyEffectType string

TurnStartModifyEffectType is a generated schema value.

const TurnStartModifyEffectTypeModify TurnStartModifyEffectType = "modify"

func (*TurnStartModifyEffectType) UnmarshalJSON added in v0.4.0

func (value *TurnStartModifyEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserAttentionEvent

type UserAttentionEvent struct {
	Attention            UserAttentionEventAttention
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]UserAttentionEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[UserAttentionEventTurn]
	Type                 UserAttentionEventType
	AdditionalProperties map[string]json.RawMessage
}

UserAttentionEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/user.attention.

func (UserAttentionEvent) MarshalJSON

func (value UserAttentionEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserAttentionEvent) UnmarshalJSON

func (value *UserAttentionEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserAttentionEventAttention

type UserAttentionEventAttention struct {
	Kind                 string
	Message              *TextParts
	Title                *TextParts
	AdditionalProperties map[string]json.RawMessage
}

UserAttentionEventAttention is a generated nested model.

func (UserAttentionEventAttention) MarshalJSON

func (value UserAttentionEventAttention) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserAttentionEventAttention) UnmarshalJSON

func (value *UserAttentionEventAttention) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserAttentionEventGapsItem

type UserAttentionEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

UserAttentionEventGapsItem is a generated nested model.

func (UserAttentionEventGapsItem) MarshalJSON

func (value UserAttentionEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserAttentionEventGapsItem) UnmarshalJSON

func (value *UserAttentionEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserAttentionEventTurn

type UserAttentionEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

UserAttentionEventTurn is a generated nested model.

func (UserAttentionEventTurn) MarshalJSON

func (value UserAttentionEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserAttentionEventTurn) UnmarshalJSON

func (value *UserAttentionEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserAttentionEventType

type UserAttentionEventType string

UserAttentionEventType is a generated schema value.

const UserAttentionEventTypeUserAttention UserAttentionEventType = "user.attention"

func (*UserAttentionEventType) UnmarshalJSON added in v0.1.1

func (value *UserAttentionEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilities

UserElicitationRequestCapabilities is generated from schema/draft/capabilities.schema.json#/$defs/user.elicitation.request.

func (UserElicitationRequestCapabilities) MarshalJSON

func (value UserElicitationRequestCapabilities) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilities) UnmarshalJSON

func (value *UserElicitationRequestCapabilities) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesEffects added in v0.1.1

type UserElicitationRequestCapabilitiesEffects []UserElicitationRequestCapabilitiesEffectsValueItem

UserElicitationRequestCapabilitiesEffects is a structurally validated schema value.

func (UserElicitationRequestCapabilitiesEffects) MarshalJSON added in v0.1.1

func (value UserElicitationRequestCapabilitiesEffects) MarshalJSON() ([]byte, error)

func (*UserElicitationRequestCapabilitiesEffects) UnmarshalJSON added in v0.1.1

func (value *UserElicitationRequestCapabilitiesEffects) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesEffectsValueItem added in v0.1.1

type UserElicitationRequestCapabilitiesEffectsValueItem string

UserElicitationRequestCapabilitiesEffectsValueItem is a generated schema value.

const UserElicitationRequestCapabilitiesEffectsValueItemDeny UserElicitationRequestCapabilitiesEffectsValueItem = "deny"
const UserElicitationRequestCapabilitiesEffectsValueItemMessage UserElicitationRequestCapabilitiesEffectsValueItem = "message"
const UserElicitationRequestCapabilitiesEffectsValueItemReturn UserElicitationRequestCapabilitiesEffectsValueItem = "return"

func (*UserElicitationRequestCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

func (value *UserElicitationRequestCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesElicitation

type UserElicitationRequestCapabilitiesElicitation struct {
	Form                 Optional[UserElicitationRequestCapabilitiesElicitationForm]
	URL                  Optional[UserElicitationRequestCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesElicitation is a generated nested model.

func (UserElicitationRequestCapabilitiesElicitation) MarshalJSON

func (value UserElicitationRequestCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesElicitation) UnmarshalJSON

func (value *UserElicitationRequestCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesElicitationForm

type UserElicitationRequestCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesElicitationForm is a generated nested model.

func (UserElicitationRequestCapabilitiesElicitationForm) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesElicitationForm) UnmarshalJSON

func (value *UserElicitationRequestCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesElicitationURL

type UserElicitationRequestCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesElicitationURL is a generated nested model.

func (UserElicitationRequestCapabilitiesElicitationURL) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesElicitationURL) UnmarshalJSON

func (value *UserElicitationRequestCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesFlow

type UserElicitationRequestCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             []UserElicitationRequestCapabilitiesFlowOperationsItem
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesFlow is a generated nested model.

func (UserElicitationRequestCapabilitiesFlow) MarshalJSON

func (value UserElicitationRequestCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesFlow) UnmarshalJSON

func (value *UserElicitationRequestCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesFlowOperationsItem

type UserElicitationRequestCapabilitiesFlowOperationsItem string

UserElicitationRequestCapabilitiesFlowOperationsItem is a generated schema value.

const UserElicitationRequestCapabilitiesFlowOperationsItemContinue UserElicitationRequestCapabilitiesFlowOperationsItem = "continue"
const UserElicitationRequestCapabilitiesFlowOperationsItemStop UserElicitationRequestCapabilitiesFlowOperationsItem = "stop"

func (*UserElicitationRequestCapabilitiesFlowOperationsItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesInject

type UserElicitationRequestCapabilitiesInject struct {
	Context              UserElicitationRequestCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesInject is a generated nested model.

func (UserElicitationRequestCapabilitiesInject) MarshalJSON

func (value UserElicitationRequestCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesInject) UnmarshalJSON

func (value *UserElicitationRequestCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesInjectContext

type UserElicitationRequestCapabilitiesInjectContext struct {
	Append               UserElicitationRequestCapabilitiesInjectContextAppend
	DeliverAt            []UserElicitationRequestCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesInjectContext is a generated nested model.

func (UserElicitationRequestCapabilitiesInjectContext) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesInjectContext) UnmarshalJSON

func (value *UserElicitationRequestCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesInjectContextAppend

type UserElicitationRequestCapabilitiesInjectContextAppend bool

UserElicitationRequestCapabilitiesInjectContextAppend is a generated schema value.

const UserElicitationRequestCapabilitiesInjectContextAppendTrue UserElicitationRequestCapabilitiesInjectContextAppend = true

func (*UserElicitationRequestCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesInjectContextDeliverAtItem

type UserElicitationRequestCapabilitiesInjectContextDeliverAtItem string

UserElicitationRequestCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const UserElicitationRequestCapabilitiesInjectContextDeliverAtItemNextTurn UserElicitationRequestCapabilitiesInjectContextDeliverAtItem = "next_turn"
const UserElicitationRequestCapabilitiesInjectContextDeliverAtItemNow UserElicitationRequestCapabilitiesInjectContextDeliverAtItem = "now"

func (*UserElicitationRequestCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesModify

UserElicitationRequestCapabilitiesModify is a generated nested model.

func (UserElicitationRequestCapabilitiesModify) MarshalJSON

func (value UserElicitationRequestCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesModify) UnmarshalJSON

func (value *UserElicitationRequestCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesModifyContent added in v0.1.1

type UserElicitationRequestCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesModifyContent is a generated nested model.

func (UserElicitationRequestCapabilitiesModifyContent) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *UserElicitationRequestCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesModifyInput added in v0.1.1

type UserElicitationRequestCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesModifyInput is a generated nested model.

func (UserElicitationRequestCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value UserElicitationRequestCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *UserElicitationRequestCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesModifyInstructions added in v0.1.1

type UserElicitationRequestCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesModifyInstructions is a generated nested model.

func (UserElicitationRequestCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesModifyOutput added in v0.1.1

type UserElicitationRequestCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesModifyOutput is a generated nested model.

func (UserElicitationRequestCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *UserElicitationRequestCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesModifyPrompt added in v0.1.1

type UserElicitationRequestCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesModifyPrompt is a generated nested model.

func (UserElicitationRequestCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *UserElicitationRequestCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesModifyRequest added in v0.1.1

type UserElicitationRequestCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesModifyRequest is a generated nested model.

func (UserElicitationRequestCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *UserElicitationRequestCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesModifyResponse added in v0.1.1

type UserElicitationRequestCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesModifyResponse is a generated nested model.

func (UserElicitationRequestCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *UserElicitationRequestCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesModifySummary added in v0.1.1

type UserElicitationRequestCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesModifySummary is a generated nested model.

func (UserElicitationRequestCapabilitiesModifySummary) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *UserElicitationRequestCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestCapabilitiesModifyWorkspace added in v0.1.1

type UserElicitationRequestCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestCapabilitiesModifyWorkspace is a generated nested model.

func (UserElicitationRequestCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *UserElicitationRequestCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestEffect added in v0.4.0

type UserElicitationRequestEffect struct {
	DenyEffect               Optional[*DenyEffect]
	ReturnElicitResultEffect Optional[*ReturnElicitResultEffect]
	MessageEffect            Optional[*MessageEffect]
	Unknown                  json.RawMessage
}

UserElicitationRequestEffect is generated from schema/draft/intercept-response.schema.json#/$defs/UserElicitationRequestEffect.

func (UserElicitationRequestEffect) MarshalJSON added in v0.4.0

func (value UserElicitationRequestEffect) MarshalJSON() ([]byte, error)

func (*UserElicitationRequestEffect) UnmarshalJSON added in v0.4.0

func (value *UserElicitationRequestEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestEvent

type UserElicitationRequestEvent struct {
	Elicitation          UserElicitationRequestEventElicitation
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]UserElicitationRequestEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[UserElicitationRequestEventTurn]
	Type                 UserElicitationRequestEventType
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/user.elicitation.request.

func (UserElicitationRequestEvent) MarshalJSON

func (value UserElicitationRequestEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestEvent) UnmarshalJSON

func (value *UserElicitationRequestEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestEventElicitation

type UserElicitationRequestEventElicitation struct {
	Mode                 UserElicitationRequestEventElicitationMode
	Request              Optional[*TextPart]
	Server               string
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestEventElicitation is a generated nested model.

func (UserElicitationRequestEventElicitation) MarshalJSON

func (value UserElicitationRequestEventElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestEventElicitation) UnmarshalJSON

func (value *UserElicitationRequestEventElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestEventElicitationMode

type UserElicitationRequestEventElicitationMode string

UserElicitationRequestEventElicitationMode is a generated schema value.

const UserElicitationRequestEventElicitationModeForm UserElicitationRequestEventElicitationMode = "form"
const UserElicitationRequestEventElicitationModeURL UserElicitationRequestEventElicitationMode = "url"

func (*UserElicitationRequestEventElicitationMode) UnmarshalJSON added in v0.1.1

func (value *UserElicitationRequestEventElicitationMode) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestEventGapsItem

type UserElicitationRequestEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestEventGapsItem is a generated nested model.

func (UserElicitationRequestEventGapsItem) MarshalJSON

func (value UserElicitationRequestEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestEventGapsItem) UnmarshalJSON

func (value *UserElicitationRequestEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestEventTurn

type UserElicitationRequestEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestEventTurn is a generated nested model.

func (UserElicitationRequestEventTurn) MarshalJSON

func (value UserElicitationRequestEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestEventTurn) UnmarshalJSON

func (value *UserElicitationRequestEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestEventType

type UserElicitationRequestEventType string

UserElicitationRequestEventType is a generated schema value.

const UserElicitationRequestEventTypeUserElicitationRequest UserElicitationRequestEventType = "user.elicitation.request"

func (*UserElicitationRequestEventType) UnmarshalJSON added in v0.1.1

func (value *UserElicitationRequestEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestInterceptResponse added in v0.4.0

type UserElicitationRequestInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              UserElicitationRequestInterceptResponseJSONRPC
	Result               UserElicitationRequestInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/UserElicitationRequestInterceptResponse.

func (UserElicitationRequestInterceptResponse) MarshalJSON added in v0.4.0

func (value UserElicitationRequestInterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestInterceptResponse) UnmarshalJSON added in v0.4.0

func (value *UserElicitationRequestInterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestInterceptResponseJSONRPC added in v0.4.0

type UserElicitationRequestInterceptResponseJSONRPC string

UserElicitationRequestInterceptResponseJSONRPC is a generated schema value.

const UserElicitationRequestInterceptResponseJSONRPCValue20 UserElicitationRequestInterceptResponseJSONRPC = "2.0"

func (*UserElicitationRequestInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

func (value *UserElicitationRequestInterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationRequestInterceptResponseResult added in v0.4.0

type UserElicitationRequestInterceptResponseResult struct {
	Effects              Optional[[]*UserElicitationRequestEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationRequestInterceptResponseResult is a generated nested model.

func (UserElicitationRequestInterceptResponseResult) MarshalJSON added in v0.4.0

func (value UserElicitationRequestInterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationRequestInterceptResponseResult) UnmarshalJSON added in v0.4.0

func (value *UserElicitationRequestInterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

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 enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesEffects added in v0.1.1

type UserElicitationResultCapabilitiesEffects []UserElicitationResultCapabilitiesEffectsValueItem

UserElicitationResultCapabilitiesEffects is a structurally validated schema value.

func (UserElicitationResultCapabilitiesEffects) MarshalJSON added in v0.1.1

func (value UserElicitationResultCapabilitiesEffects) MarshalJSON() ([]byte, error)

func (*UserElicitationResultCapabilitiesEffects) UnmarshalJSON added in v0.1.1

func (value *UserElicitationResultCapabilitiesEffects) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesEffectsValueItem added in v0.1.1

type UserElicitationResultCapabilitiesEffectsValueItem string

UserElicitationResultCapabilitiesEffectsValueItem is a generated schema value.

const UserElicitationResultCapabilitiesEffectsValueItemMessage UserElicitationResultCapabilitiesEffectsValueItem = "message"
const UserElicitationResultCapabilitiesEffectsValueItemModify UserElicitationResultCapabilitiesEffectsValueItem = "modify"

func (*UserElicitationResultCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

func (value *UserElicitationResultCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesElicitation

type UserElicitationResultCapabilitiesElicitation struct {
	Form                 Optional[UserElicitationResultCapabilitiesElicitationForm]
	URL                  Optional[UserElicitationResultCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesElicitation is a generated nested model.

func (UserElicitationResultCapabilitiesElicitation) MarshalJSON

func (value UserElicitationResultCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesElicitation) UnmarshalJSON

func (value *UserElicitationResultCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesElicitationForm

type UserElicitationResultCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesElicitationForm is a generated nested model.

func (UserElicitationResultCapabilitiesElicitationForm) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesElicitationForm) UnmarshalJSON

func (value *UserElicitationResultCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesElicitationURL

type UserElicitationResultCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesElicitationURL is a generated nested model.

func (UserElicitationResultCapabilitiesElicitationURL) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesElicitationURL) UnmarshalJSON

func (value *UserElicitationResultCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesFlow

type UserElicitationResultCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             []UserElicitationResultCapabilitiesFlowOperationsItem
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

UserElicitationResultCapabilitiesFlow is a generated nested model.

func (UserElicitationResultCapabilitiesFlow) MarshalJSON

func (value UserElicitationResultCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesFlow) UnmarshalJSON

func (value *UserElicitationResultCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesFlowOperationsItem

type UserElicitationResultCapabilitiesFlowOperationsItem string

UserElicitationResultCapabilitiesFlowOperationsItem is a generated schema value.

const UserElicitationResultCapabilitiesFlowOperationsItemContinue UserElicitationResultCapabilitiesFlowOperationsItem = "continue"
const UserElicitationResultCapabilitiesFlowOperationsItemStop UserElicitationResultCapabilitiesFlowOperationsItem = "stop"

func (*UserElicitationResultCapabilitiesFlowOperationsItem) UnmarshalJSON added in v0.1.1

func (value *UserElicitationResultCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesInject

type UserElicitationResultCapabilitiesInject struct {
	Context              UserElicitationResultCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesInject is a generated nested model.

func (UserElicitationResultCapabilitiesInject) MarshalJSON

func (value UserElicitationResultCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesInject) UnmarshalJSON

func (value *UserElicitationResultCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesInjectContext

type UserElicitationResultCapabilitiesInjectContext struct {
	Append               UserElicitationResultCapabilitiesInjectContextAppend
	DeliverAt            []UserElicitationResultCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesInjectContext is a generated nested model.

func (UserElicitationResultCapabilitiesInjectContext) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesInjectContext) UnmarshalJSON

func (value *UserElicitationResultCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesInjectContextAppend

type UserElicitationResultCapabilitiesInjectContextAppend bool

UserElicitationResultCapabilitiesInjectContextAppend is a generated schema value.

const UserElicitationResultCapabilitiesInjectContextAppendTrue UserElicitationResultCapabilitiesInjectContextAppend = true

func (*UserElicitationResultCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesInjectContextDeliverAtItem

type UserElicitationResultCapabilitiesInjectContextDeliverAtItem string

UserElicitationResultCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const UserElicitationResultCapabilitiesInjectContextDeliverAtItemNextTurn UserElicitationResultCapabilitiesInjectContextDeliverAtItem = "next_turn"
const UserElicitationResultCapabilitiesInjectContextDeliverAtItemNow UserElicitationResultCapabilitiesInjectContextDeliverAtItem = "now"

func (*UserElicitationResultCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesModify

UserElicitationResultCapabilitiesModify is a generated nested model.

func (UserElicitationResultCapabilitiesModify) MarshalJSON

func (value UserElicitationResultCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesModify) UnmarshalJSON

func (value *UserElicitationResultCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesModifyContent added in v0.1.1

type UserElicitationResultCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesModifyContent is a generated nested model.

func (UserElicitationResultCapabilitiesModifyContent) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *UserElicitationResultCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesModifyInput added in v0.1.1

type UserElicitationResultCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesModifyInput is a generated nested model.

func (UserElicitationResultCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value UserElicitationResultCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *UserElicitationResultCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesModifyInstructions added in v0.1.1

type UserElicitationResultCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesModifyInstructions is a generated nested model.

func (UserElicitationResultCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

func (value *UserElicitationResultCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesModifyOutput added in v0.1.1

type UserElicitationResultCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesModifyOutput is a generated nested model.

func (UserElicitationResultCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

func (value UserElicitationResultCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *UserElicitationResultCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesModifyPrompt added in v0.1.1

type UserElicitationResultCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesModifyPrompt is a generated nested model.

func (UserElicitationResultCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

func (value UserElicitationResultCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *UserElicitationResultCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesModifyRequest added in v0.1.1

type UserElicitationResultCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesModifyRequest is a generated nested model.

func (UserElicitationResultCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *UserElicitationResultCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesModifyResponse added in v0.1.1

type UserElicitationResultCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesModifyResponse is a generated nested model.

func (UserElicitationResultCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *UserElicitationResultCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesModifySummary added in v0.1.1

type UserElicitationResultCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesModifySummary is a generated nested model.

func (UserElicitationResultCapabilitiesModifySummary) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *UserElicitationResultCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultCapabilitiesModifyWorkspace added in v0.1.1

type UserElicitationResultCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultCapabilitiesModifyWorkspace is a generated nested model.

func (UserElicitationResultCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *UserElicitationResultCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultEffect added in v0.4.0

type UserElicitationResultEffect struct {
	UserElicitationResultModifyEffect Optional[*UserElicitationResultModifyEffect]
	MessageEffect                     Optional[*MessageEffect]
	Unknown                           json.RawMessage
}

UserElicitationResultEffect is generated from schema/draft/intercept-response.schema.json#/$defs/UserElicitationResultEffect.

func (UserElicitationResultEffect) MarshalJSON added in v0.4.0

func (value UserElicitationResultEffect) MarshalJSON() ([]byte, error)

func (*UserElicitationResultEffect) UnmarshalJSON added in v0.4.0

func (value *UserElicitationResultEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultEvent

type UserElicitationResultEvent struct {
	Elicitation          UserElicitationResultEventElicitation
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]UserElicitationResultEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[UserElicitationResultEventTurn]
	Type                 UserElicitationResultEventType
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/user.elicitation.result.

func (UserElicitationResultEvent) MarshalJSON

func (value UserElicitationResultEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultEvent) UnmarshalJSON

func (value *UserElicitationResultEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultEventElicitation

type UserElicitationResultEventElicitation struct {
	Action               UserElicitationResultEventElicitationAction
	Mode                 UserElicitationResultEventElicitationMode
	Result               Optional[*TextPart]
	Server               string
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultEventElicitation is a generated nested model.

func (UserElicitationResultEventElicitation) MarshalJSON

func (value UserElicitationResultEventElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultEventElicitation) UnmarshalJSON

func (value *UserElicitationResultEventElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultEventElicitationAction

type UserElicitationResultEventElicitationAction string

UserElicitationResultEventElicitationAction is a generated schema value.

const UserElicitationResultEventElicitationActionAccept UserElicitationResultEventElicitationAction = "accept"
const UserElicitationResultEventElicitationActionCancel UserElicitationResultEventElicitationAction = "cancel"
const UserElicitationResultEventElicitationActionDecline UserElicitationResultEventElicitationAction = "decline"

func (*UserElicitationResultEventElicitationAction) UnmarshalJSON added in v0.1.1

func (value *UserElicitationResultEventElicitationAction) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultEventElicitationMode

type UserElicitationResultEventElicitationMode string

UserElicitationResultEventElicitationMode is a generated schema value.

const UserElicitationResultEventElicitationModeForm UserElicitationResultEventElicitationMode = "form"
const UserElicitationResultEventElicitationModeURL UserElicitationResultEventElicitationMode = "url"

func (*UserElicitationResultEventElicitationMode) UnmarshalJSON added in v0.1.1

func (value *UserElicitationResultEventElicitationMode) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultEventGapsItem

type UserElicitationResultEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultEventGapsItem is a generated nested model.

func (UserElicitationResultEventGapsItem) MarshalJSON

func (value UserElicitationResultEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultEventGapsItem) UnmarshalJSON

func (value *UserElicitationResultEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultEventTurn

type UserElicitationResultEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultEventTurn is a generated nested model.

func (UserElicitationResultEventTurn) MarshalJSON

func (value UserElicitationResultEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultEventTurn) UnmarshalJSON

func (value *UserElicitationResultEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultEventType

type UserElicitationResultEventType string

UserElicitationResultEventType is a generated schema value.

const UserElicitationResultEventTypeUserElicitationResult UserElicitationResultEventType = "user.elicitation.result"

func (*UserElicitationResultEventType) UnmarshalJSON added in v0.1.1

func (value *UserElicitationResultEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultInterceptResponse added in v0.4.0

type UserElicitationResultInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              UserElicitationResultInterceptResponseJSONRPC
	Result               UserElicitationResultInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/UserElicitationResultInterceptResponse.

func (UserElicitationResultInterceptResponse) MarshalJSON added in v0.4.0

func (value UserElicitationResultInterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultInterceptResponse) UnmarshalJSON added in v0.4.0

func (value *UserElicitationResultInterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultInterceptResponseJSONRPC added in v0.4.0

type UserElicitationResultInterceptResponseJSONRPC string

UserElicitationResultInterceptResponseJSONRPC is a generated schema value.

const UserElicitationResultInterceptResponseJSONRPCValue20 UserElicitationResultInterceptResponseJSONRPC = "2.0"

func (*UserElicitationResultInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

func (value *UserElicitationResultInterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultInterceptResponseResult added in v0.4.0

type UserElicitationResultInterceptResponseResult struct {
	Effects              Optional[[]*UserElicitationResultEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultInterceptResponseResult is a generated nested model.

func (UserElicitationResultInterceptResponseResult) MarshalJSON added in v0.4.0

func (value UserElicitationResultInterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultInterceptResponseResult) UnmarshalJSON added in v0.4.0

func (value *UserElicitationResultInterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultModifyEffect added in v0.4.0

type UserElicitationResultModifyEffect struct {
	Operation            UserElicitationResultModifyEffectOperation
	Target               UserElicitationResultModifyEffectTarget
	Type                 UserElicitationResultModifyEffectType
	Value                *FormAnswers
	AdditionalProperties map[string]json.RawMessage
}

UserElicitationResultModifyEffect is generated from schema/draft/intercept-response.schema.json#/$defs/UserElicitationResultModifyEffect.

func (UserElicitationResultModifyEffect) MarshalJSON added in v0.4.0

func (value UserElicitationResultModifyEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserElicitationResultModifyEffect) UnmarshalJSON added in v0.4.0

func (value *UserElicitationResultModifyEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultModifyEffectOperation added in v0.4.0

type UserElicitationResultModifyEffectOperation struct {
	Replace Optional[UserElicitationResultModifyEffectOperationReplace]
	Merge   Optional[UserElicitationResultModifyEffectOperationMerge]
	Unknown json.RawMessage
}

UserElicitationResultModifyEffectOperation is a generated union model.

func (UserElicitationResultModifyEffectOperation) MarshalJSON added in v0.4.0

func (value UserElicitationResultModifyEffectOperation) MarshalJSON() ([]byte, error)

func (*UserElicitationResultModifyEffectOperation) UnmarshalJSON added in v0.4.0

func (value *UserElicitationResultModifyEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultModifyEffectOperationMerge added in v0.4.0

type UserElicitationResultModifyEffectOperationMerge string

UserElicitationResultModifyEffectOperationMerge is a generated schema value.

const UserElicitationResultModifyEffectOperationMergeMerge UserElicitationResultModifyEffectOperationMerge = "merge"

func (*UserElicitationResultModifyEffectOperationMerge) UnmarshalJSON added in v0.4.0

func (value *UserElicitationResultModifyEffectOperationMerge) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultModifyEffectOperationReplace added in v0.4.0

type UserElicitationResultModifyEffectOperationReplace string

UserElicitationResultModifyEffectOperationReplace is a generated schema value.

const UserElicitationResultModifyEffectOperationReplaceReplace UserElicitationResultModifyEffectOperationReplace = "replace"

func (*UserElicitationResultModifyEffectOperationReplace) UnmarshalJSON added in v0.4.0

func (value *UserElicitationResultModifyEffectOperationReplace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultModifyEffectTarget added in v0.4.0

type UserElicitationResultModifyEffectTarget string

UserElicitationResultModifyEffectTarget is a generated schema value.

const UserElicitationResultModifyEffectTargetContent UserElicitationResultModifyEffectTarget = "content"

func (*UserElicitationResultModifyEffectTarget) UnmarshalJSON added in v0.4.0

func (value *UserElicitationResultModifyEffectTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserElicitationResultModifyEffectType added in v0.4.0

type UserElicitationResultModifyEffectType string

UserElicitationResultModifyEffectType is a generated schema value.

const UserElicitationResultModifyEffectTypeModify UserElicitationResultModifyEffectType = "modify"

func (*UserElicitationResultModifyEffectType) UnmarshalJSON added in v0.4.0

func (value *UserElicitationResultModifyEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

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 enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesEffects added in v0.1.1

type UserMessageInboundCapabilitiesEffects []UserMessageInboundCapabilitiesEffectsValueItem

UserMessageInboundCapabilitiesEffects is a structurally validated schema value.

func (UserMessageInboundCapabilitiesEffects) MarshalJSON added in v0.1.1

func (value UserMessageInboundCapabilitiesEffects) MarshalJSON() ([]byte, error)

func (*UserMessageInboundCapabilitiesEffects) UnmarshalJSON added in v0.1.1

func (value *UserMessageInboundCapabilitiesEffects) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesEffectsValueItem added in v0.1.1

type UserMessageInboundCapabilitiesEffectsValueItem string

UserMessageInboundCapabilitiesEffectsValueItem is a generated schema value.

const UserMessageInboundCapabilitiesEffectsValueItemDeny UserMessageInboundCapabilitiesEffectsValueItem = "deny"
const UserMessageInboundCapabilitiesEffectsValueItemMessage UserMessageInboundCapabilitiesEffectsValueItem = "message"
const UserMessageInboundCapabilitiesEffectsValueItemModify UserMessageInboundCapabilitiesEffectsValueItem = "modify"

func (*UserMessageInboundCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

func (value *UserMessageInboundCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesElicitation

type UserMessageInboundCapabilitiesElicitation struct {
	Form                 Optional[UserMessageInboundCapabilitiesElicitationForm]
	URL                  Optional[UserMessageInboundCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundCapabilitiesElicitation is a generated nested model.

func (UserMessageInboundCapabilitiesElicitation) MarshalJSON

func (value UserMessageInboundCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundCapabilitiesElicitation) UnmarshalJSON

func (value *UserMessageInboundCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesElicitationForm

type UserMessageInboundCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundCapabilitiesElicitationForm is a generated nested model.

func (UserMessageInboundCapabilitiesElicitationForm) MarshalJSON

func (value UserMessageInboundCapabilitiesElicitationForm) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundCapabilitiesElicitationForm) UnmarshalJSON

func (value *UserMessageInboundCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesElicitationURL

type UserMessageInboundCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundCapabilitiesElicitationURL is a generated nested model.

func (UserMessageInboundCapabilitiesElicitationURL) MarshalJSON

func (value UserMessageInboundCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundCapabilitiesElicitationURL) UnmarshalJSON

func (value *UserMessageInboundCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesFlow

type UserMessageInboundCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             []UserMessageInboundCapabilitiesFlowOperationsItem
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

UserMessageInboundCapabilitiesFlow is a generated nested model.

func (UserMessageInboundCapabilitiesFlow) MarshalJSON

func (value UserMessageInboundCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundCapabilitiesFlow) UnmarshalJSON

func (value *UserMessageInboundCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesFlowOperationsItem

type UserMessageInboundCapabilitiesFlowOperationsItem string

UserMessageInboundCapabilitiesFlowOperationsItem is a generated schema value.

const UserMessageInboundCapabilitiesFlowOperationsItemContinue UserMessageInboundCapabilitiesFlowOperationsItem = "continue"
const UserMessageInboundCapabilitiesFlowOperationsItemStop UserMessageInboundCapabilitiesFlowOperationsItem = "stop"

func (*UserMessageInboundCapabilitiesFlowOperationsItem) UnmarshalJSON added in v0.1.1

func (value *UserMessageInboundCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesInject

type UserMessageInboundCapabilitiesInject struct {
	Context              UserMessageInboundCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundCapabilitiesInject is a generated nested model.

func (UserMessageInboundCapabilitiesInject) MarshalJSON

func (value UserMessageInboundCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundCapabilitiesInject) UnmarshalJSON

func (value *UserMessageInboundCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesInjectContext

type UserMessageInboundCapabilitiesInjectContext struct {
	Append               UserMessageInboundCapabilitiesInjectContextAppend
	DeliverAt            []UserMessageInboundCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundCapabilitiesInjectContext is a generated nested model.

func (UserMessageInboundCapabilitiesInjectContext) MarshalJSON

func (value UserMessageInboundCapabilitiesInjectContext) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundCapabilitiesInjectContext) UnmarshalJSON

func (value *UserMessageInboundCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesInjectContextAppend

type UserMessageInboundCapabilitiesInjectContextAppend bool

UserMessageInboundCapabilitiesInjectContextAppend is a generated schema value.

const UserMessageInboundCapabilitiesInjectContextAppendTrue UserMessageInboundCapabilitiesInjectContextAppend = true

func (*UserMessageInboundCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

func (value *UserMessageInboundCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesInjectContextDeliverAtItem

type UserMessageInboundCapabilitiesInjectContextDeliverAtItem string

UserMessageInboundCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const UserMessageInboundCapabilitiesInjectContextDeliverAtItemNextTurn UserMessageInboundCapabilitiesInjectContextDeliverAtItem = "next_turn"
const UserMessageInboundCapabilitiesInjectContextDeliverAtItemNow UserMessageInboundCapabilitiesInjectContextDeliverAtItem = "now"

func (*UserMessageInboundCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesModify

UserMessageInboundCapabilitiesModify is a generated nested model.

func (UserMessageInboundCapabilitiesModify) MarshalJSON

func (value UserMessageInboundCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundCapabilitiesModify) UnmarshalJSON

func (value *UserMessageInboundCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesModifyContent added in v0.1.1

type UserMessageInboundCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundCapabilitiesModifyContent is a generated nested model.

func (UserMessageInboundCapabilitiesModifyContent) MarshalJSON added in v0.1.1

func (value UserMessageInboundCapabilitiesModifyContent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *UserMessageInboundCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesModifyInput added in v0.1.1

type UserMessageInboundCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundCapabilitiesModifyInput is a generated nested model.

func (UserMessageInboundCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value UserMessageInboundCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *UserMessageInboundCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesModifyInstructions added in v0.1.1

type UserMessageInboundCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundCapabilitiesModifyInstructions is a generated nested model.

func (UserMessageInboundCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

func (value *UserMessageInboundCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesModifyOutput added in v0.1.1

type UserMessageInboundCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundCapabilitiesModifyOutput is a generated nested model.

func (UserMessageInboundCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

func (value UserMessageInboundCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *UserMessageInboundCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesModifyPrompt added in v0.1.1

type UserMessageInboundCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundCapabilitiesModifyPrompt is a generated nested model.

func (UserMessageInboundCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

func (value UserMessageInboundCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *UserMessageInboundCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesModifyRequest added in v0.1.1

type UserMessageInboundCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundCapabilitiesModifyRequest is a generated nested model.

func (UserMessageInboundCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

func (value UserMessageInboundCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *UserMessageInboundCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesModifyResponse added in v0.1.1

type UserMessageInboundCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundCapabilitiesModifyResponse is a generated nested model.

func (UserMessageInboundCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

func (value UserMessageInboundCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *UserMessageInboundCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesModifySummary added in v0.1.1

type UserMessageInboundCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundCapabilitiesModifySummary is a generated nested model.

func (UserMessageInboundCapabilitiesModifySummary) MarshalJSON added in v0.1.1

func (value UserMessageInboundCapabilitiesModifySummary) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *UserMessageInboundCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundCapabilitiesModifyWorkspace added in v0.1.1

type UserMessageInboundCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundCapabilitiesModifyWorkspace is a generated nested model.

func (UserMessageInboundCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

func (value UserMessageInboundCapabilitiesModifyWorkspace) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *UserMessageInboundCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundEffect added in v0.4.0

type UserMessageInboundEffect struct {
	DenyEffect                     Optional[*DenyEffect]
	UserMessageInboundModifyEffect Optional[*UserMessageInboundModifyEffect]
	MessageEffect                  Optional[*MessageEffect]
	Unknown                        json.RawMessage
}

UserMessageInboundEffect is generated from schema/draft/intercept-response.schema.json#/$defs/UserMessageInboundEffect.

func (UserMessageInboundEffect) MarshalJSON added in v0.4.0

func (value UserMessageInboundEffect) MarshalJSON() ([]byte, error)

func (*UserMessageInboundEffect) UnmarshalJSON added in v0.4.0

func (value *UserMessageInboundEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundEvent

type UserMessageInboundEvent struct {
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]UserMessageInboundEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Message              UserMessageInboundEventMessage
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[UserMessageInboundEventTurn]
	Type                 UserMessageInboundEventType
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/user.message.inbound.

func (UserMessageInboundEvent) MarshalJSON

func (value UserMessageInboundEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundEvent) UnmarshalJSON

func (value *UserMessageInboundEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundEventGapsItem

type UserMessageInboundEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundEventGapsItem is a generated nested model.

func (UserMessageInboundEventGapsItem) MarshalJSON

func (value UserMessageInboundEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundEventGapsItem) UnmarshalJSON

func (value *UserMessageInboundEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundEventMessage

type UserMessageInboundEventMessage struct {
	Channel              string
	Messages             []UserMessageInboundEventMessageMessagesItem
	Sender               string
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundEventMessage is a generated nested model.

func (UserMessageInboundEventMessage) MarshalJSON

func (value UserMessageInboundEventMessage) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundEventMessage) UnmarshalJSON

func (value *UserMessageInboundEventMessage) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundEventMessageMessagesItem added in v0.3.0

type UserMessageInboundEventMessageMessagesItem struct {
	ID                   string
	Parts                []*ContentItem
	Role                 UserMessageInboundEventMessageMessagesItemRole
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundEventMessageMessagesItem is a generated nested model.

func (UserMessageInboundEventMessageMessagesItem) MarshalJSON added in v0.3.0

func (value UserMessageInboundEventMessageMessagesItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundEventMessageMessagesItem) UnmarshalJSON added in v0.3.0

func (value *UserMessageInboundEventMessageMessagesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundEventMessageMessagesItemRole added in v0.3.0

type UserMessageInboundEventMessageMessagesItemRole UserMessageInboundEventMessageMessagesItemRoleValue

UserMessageInboundEventMessageMessagesItemRole is a structurally validated schema value.

func (UserMessageInboundEventMessageMessagesItemRole) MarshalJSON added in v0.3.0

func (*UserMessageInboundEventMessageMessagesItemRole) UnmarshalJSON added in v0.3.0

func (value *UserMessageInboundEventMessageMessagesItemRole) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundEventMessageMessagesItemRoleValue added in v0.3.0

type UserMessageInboundEventMessageMessagesItemRoleValue string

UserMessageInboundEventMessageMessagesItemRoleValue is a generated schema value.

const UserMessageInboundEventMessageMessagesItemRoleValueAssistant UserMessageInboundEventMessageMessagesItemRoleValue = "assistant"
const UserMessageInboundEventMessageMessagesItemRoleValueDeveloper UserMessageInboundEventMessageMessagesItemRoleValue = "developer"
const UserMessageInboundEventMessageMessagesItemRoleValueSystem UserMessageInboundEventMessageMessagesItemRoleValue = "system"
const UserMessageInboundEventMessageMessagesItemRoleValueTool UserMessageInboundEventMessageMessagesItemRoleValue = "tool"
const UserMessageInboundEventMessageMessagesItemRoleValueUser UserMessageInboundEventMessageMessagesItemRoleValue = "user"

func (*UserMessageInboundEventMessageMessagesItemRoleValue) UnmarshalJSON added in v0.3.0

func (value *UserMessageInboundEventMessageMessagesItemRoleValue) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundEventTurn

type UserMessageInboundEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundEventTurn is a generated nested model.

func (UserMessageInboundEventTurn) MarshalJSON

func (value UserMessageInboundEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundEventTurn) UnmarshalJSON

func (value *UserMessageInboundEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundEventType

type UserMessageInboundEventType string

UserMessageInboundEventType is a generated schema value.

const UserMessageInboundEventTypeUserMessageInbound UserMessageInboundEventType = "user.message.inbound"

func (*UserMessageInboundEventType) UnmarshalJSON added in v0.1.1

func (value *UserMessageInboundEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundInterceptResponse added in v0.4.0

type UserMessageInboundInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              UserMessageInboundInterceptResponseJSONRPC
	Result               UserMessageInboundInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/UserMessageInboundInterceptResponse.

func (UserMessageInboundInterceptResponse) MarshalJSON added in v0.4.0

func (value UserMessageInboundInterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundInterceptResponse) UnmarshalJSON added in v0.4.0

func (value *UserMessageInboundInterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundInterceptResponseJSONRPC added in v0.4.0

type UserMessageInboundInterceptResponseJSONRPC string

UserMessageInboundInterceptResponseJSONRPC is a generated schema value.

const UserMessageInboundInterceptResponseJSONRPCValue20 UserMessageInboundInterceptResponseJSONRPC = "2.0"

func (*UserMessageInboundInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

func (value *UserMessageInboundInterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundInterceptResponseResult added in v0.4.0

type UserMessageInboundInterceptResponseResult struct {
	Effects              Optional[[]*UserMessageInboundEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundInterceptResponseResult is a generated nested model.

func (UserMessageInboundInterceptResponseResult) MarshalJSON added in v0.4.0

func (value UserMessageInboundInterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundInterceptResponseResult) UnmarshalJSON added in v0.4.0

func (value *UserMessageInboundInterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundModifyEffect added in v0.4.0

type UserMessageInboundModifyEffect struct {
	Operation            UserMessageInboundModifyEffectOperation
	Target               UserMessageInboundModifyEffectTarget
	Type                 UserMessageInboundModifyEffectType
	Value                *CanonicalMessages
	AdditionalProperties map[string]json.RawMessage
}

UserMessageInboundModifyEffect is generated from schema/draft/intercept-response.schema.json#/$defs/UserMessageInboundModifyEffect.

func (UserMessageInboundModifyEffect) MarshalJSON added in v0.4.0

func (value UserMessageInboundModifyEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageInboundModifyEffect) UnmarshalJSON added in v0.4.0

func (value *UserMessageInboundModifyEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundModifyEffectOperation added in v0.4.0

type UserMessageInboundModifyEffectOperation struct {
	Replace Optional[UserMessageInboundModifyEffectOperationReplace]
	Merge   Optional[UserMessageInboundModifyEffectOperationMerge]
	Unknown json.RawMessage
}

UserMessageInboundModifyEffectOperation is a generated union model.

func (UserMessageInboundModifyEffectOperation) MarshalJSON added in v0.4.0

func (value UserMessageInboundModifyEffectOperation) MarshalJSON() ([]byte, error)

func (*UserMessageInboundModifyEffectOperation) UnmarshalJSON added in v0.4.0

func (value *UserMessageInboundModifyEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundModifyEffectOperationMerge added in v0.4.0

type UserMessageInboundModifyEffectOperationMerge string

UserMessageInboundModifyEffectOperationMerge is a generated schema value.

const UserMessageInboundModifyEffectOperationMergeMerge UserMessageInboundModifyEffectOperationMerge = "merge"

func (*UserMessageInboundModifyEffectOperationMerge) UnmarshalJSON added in v0.4.0

func (value *UserMessageInboundModifyEffectOperationMerge) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundModifyEffectOperationReplace added in v0.4.0

type UserMessageInboundModifyEffectOperationReplace string

UserMessageInboundModifyEffectOperationReplace is a generated schema value.

const UserMessageInboundModifyEffectOperationReplaceReplace UserMessageInboundModifyEffectOperationReplace = "replace"

func (*UserMessageInboundModifyEffectOperationReplace) UnmarshalJSON added in v0.4.0

func (value *UserMessageInboundModifyEffectOperationReplace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundModifyEffectTarget added in v0.4.0

type UserMessageInboundModifyEffectTarget string

UserMessageInboundModifyEffectTarget is a generated schema value.

const UserMessageInboundModifyEffectTargetPrompt UserMessageInboundModifyEffectTarget = "prompt"

func (*UserMessageInboundModifyEffectTarget) UnmarshalJSON added in v0.4.0

func (value *UserMessageInboundModifyEffectTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageInboundModifyEffectType added in v0.4.0

type UserMessageInboundModifyEffectType string

UserMessageInboundModifyEffectType is a generated schema value.

const UserMessageInboundModifyEffectTypeModify UserMessageInboundModifyEffectType = "modify"

func (*UserMessageInboundModifyEffectType) UnmarshalJSON added in v0.4.0

func (value *UserMessageInboundModifyEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

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 enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesEffects added in v0.1.1

type UserMessageOutboundCapabilitiesEffects []UserMessageOutboundCapabilitiesEffectsValueItem

UserMessageOutboundCapabilitiesEffects is a structurally validated schema value.

func (UserMessageOutboundCapabilitiesEffects) MarshalJSON added in v0.1.1

func (value UserMessageOutboundCapabilitiesEffects) MarshalJSON() ([]byte, error)

func (*UserMessageOutboundCapabilitiesEffects) UnmarshalJSON added in v0.1.1

func (value *UserMessageOutboundCapabilitiesEffects) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesEffectsValueItem added in v0.1.1

type UserMessageOutboundCapabilitiesEffectsValueItem string

UserMessageOutboundCapabilitiesEffectsValueItem is a generated schema value.

const UserMessageOutboundCapabilitiesEffectsValueItemDeny UserMessageOutboundCapabilitiesEffectsValueItem = "deny"
const UserMessageOutboundCapabilitiesEffectsValueItemMessage UserMessageOutboundCapabilitiesEffectsValueItem = "message"
const UserMessageOutboundCapabilitiesEffectsValueItemModify UserMessageOutboundCapabilitiesEffectsValueItem = "modify"

func (*UserMessageOutboundCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

func (value *UserMessageOutboundCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesElicitation

type UserMessageOutboundCapabilitiesElicitation struct {
	Form                 Optional[UserMessageOutboundCapabilitiesElicitationForm]
	URL                  Optional[UserMessageOutboundCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundCapabilitiesElicitation is a generated nested model.

func (UserMessageOutboundCapabilitiesElicitation) MarshalJSON

func (value UserMessageOutboundCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesElicitation) UnmarshalJSON

func (value *UserMessageOutboundCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesElicitationForm

type UserMessageOutboundCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundCapabilitiesElicitationForm is a generated nested model.

func (UserMessageOutboundCapabilitiesElicitationForm) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesElicitationForm) UnmarshalJSON

func (value *UserMessageOutboundCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesElicitationURL

type UserMessageOutboundCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundCapabilitiesElicitationURL is a generated nested model.

func (UserMessageOutboundCapabilitiesElicitationURL) MarshalJSON

func (value UserMessageOutboundCapabilitiesElicitationURL) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesElicitationURL) UnmarshalJSON

func (value *UserMessageOutboundCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesFlow

type UserMessageOutboundCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             []UserMessageOutboundCapabilitiesFlowOperationsItem
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

UserMessageOutboundCapabilitiesFlow is a generated nested model.

func (UserMessageOutboundCapabilitiesFlow) MarshalJSON

func (value UserMessageOutboundCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesFlow) UnmarshalJSON

func (value *UserMessageOutboundCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesFlowOperationsItem

type UserMessageOutboundCapabilitiesFlowOperationsItem string

UserMessageOutboundCapabilitiesFlowOperationsItem is a generated schema value.

const UserMessageOutboundCapabilitiesFlowOperationsItemContinue UserMessageOutboundCapabilitiesFlowOperationsItem = "continue"
const UserMessageOutboundCapabilitiesFlowOperationsItemStop UserMessageOutboundCapabilitiesFlowOperationsItem = "stop"

func (*UserMessageOutboundCapabilitiesFlowOperationsItem) UnmarshalJSON added in v0.1.1

func (value *UserMessageOutboundCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesInject

type UserMessageOutboundCapabilitiesInject struct {
	Context              UserMessageOutboundCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundCapabilitiesInject is a generated nested model.

func (UserMessageOutboundCapabilitiesInject) MarshalJSON

func (value UserMessageOutboundCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesInject) UnmarshalJSON

func (value *UserMessageOutboundCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesInjectContext

type UserMessageOutboundCapabilitiesInjectContext struct {
	Append               UserMessageOutboundCapabilitiesInjectContextAppend
	DeliverAt            []UserMessageOutboundCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundCapabilitiesInjectContext is a generated nested model.

func (UserMessageOutboundCapabilitiesInjectContext) MarshalJSON

func (value UserMessageOutboundCapabilitiesInjectContext) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesInjectContext) UnmarshalJSON

func (value *UserMessageOutboundCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesInjectContextAppend

type UserMessageOutboundCapabilitiesInjectContextAppend bool

UserMessageOutboundCapabilitiesInjectContextAppend is a generated schema value.

const UserMessageOutboundCapabilitiesInjectContextAppendTrue UserMessageOutboundCapabilitiesInjectContextAppend = true

func (*UserMessageOutboundCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

func (value *UserMessageOutboundCapabilitiesInjectContextAppend) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesInjectContextDeliverAtItem

type UserMessageOutboundCapabilitiesInjectContextDeliverAtItem string

UserMessageOutboundCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const UserMessageOutboundCapabilitiesInjectContextDeliverAtItemNextTurn UserMessageOutboundCapabilitiesInjectContextDeliverAtItem = "next_turn"
const UserMessageOutboundCapabilitiesInjectContextDeliverAtItemNow UserMessageOutboundCapabilitiesInjectContextDeliverAtItem = "now"

func (*UserMessageOutboundCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesModify

UserMessageOutboundCapabilitiesModify is a generated nested model.

func (UserMessageOutboundCapabilitiesModify) MarshalJSON

func (value UserMessageOutboundCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesModify) UnmarshalJSON

func (value *UserMessageOutboundCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesModifyContent added in v0.1.1

type UserMessageOutboundCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundCapabilitiesModifyContent is a generated nested model.

func (UserMessageOutboundCapabilitiesModifyContent) MarshalJSON added in v0.1.1

func (value UserMessageOutboundCapabilitiesModifyContent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *UserMessageOutboundCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesModifyInput added in v0.1.1

type UserMessageOutboundCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundCapabilitiesModifyInput is a generated nested model.

func (UserMessageOutboundCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value UserMessageOutboundCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *UserMessageOutboundCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesModifyInstructions added in v0.1.1

type UserMessageOutboundCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundCapabilitiesModifyInstructions is a generated nested model.

func (UserMessageOutboundCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

func (value *UserMessageOutboundCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesModifyOutput added in v0.1.1

type UserMessageOutboundCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundCapabilitiesModifyOutput is a generated nested model.

func (UserMessageOutboundCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

func (value UserMessageOutboundCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *UserMessageOutboundCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesModifyPrompt added in v0.1.1

type UserMessageOutboundCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundCapabilitiesModifyPrompt is a generated nested model.

func (UserMessageOutboundCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

func (value UserMessageOutboundCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *UserMessageOutboundCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesModifyRequest added in v0.1.1

type UserMessageOutboundCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundCapabilitiesModifyRequest is a generated nested model.

func (UserMessageOutboundCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

func (value UserMessageOutboundCapabilitiesModifyRequest) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *UserMessageOutboundCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesModifyResponse added in v0.1.1

type UserMessageOutboundCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundCapabilitiesModifyResponse is a generated nested model.

func (UserMessageOutboundCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

func (value UserMessageOutboundCapabilitiesModifyResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *UserMessageOutboundCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesModifySummary added in v0.1.1

type UserMessageOutboundCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundCapabilitiesModifySummary is a generated nested model.

func (UserMessageOutboundCapabilitiesModifySummary) MarshalJSON added in v0.1.1

func (value UserMessageOutboundCapabilitiesModifySummary) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *UserMessageOutboundCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundCapabilitiesModifyWorkspace added in v0.1.1

type UserMessageOutboundCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundCapabilitiesModifyWorkspace is a generated nested model.

func (UserMessageOutboundCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *UserMessageOutboundCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundEffect added in v0.4.0

type UserMessageOutboundEffect struct {
	DenyEffect                      Optional[*DenyEffect]
	UserMessageOutboundModifyEffect Optional[*UserMessageOutboundModifyEffect]
	MessageEffect                   Optional[*MessageEffect]
	Unknown                         json.RawMessage
}

UserMessageOutboundEffect is generated from schema/draft/intercept-response.schema.json#/$defs/UserMessageOutboundEffect.

func (UserMessageOutboundEffect) MarshalJSON added in v0.4.0

func (value UserMessageOutboundEffect) MarshalJSON() ([]byte, error)

func (*UserMessageOutboundEffect) UnmarshalJSON added in v0.4.0

func (value *UserMessageOutboundEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundEvent

type UserMessageOutboundEvent struct {
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]UserMessageOutboundEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Message              UserMessageOutboundEventMessage
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[UserMessageOutboundEventTurn]
	Type                 UserMessageOutboundEventType
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/user.message.outbound.

func (UserMessageOutboundEvent) MarshalJSON

func (value UserMessageOutboundEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundEvent) UnmarshalJSON

func (value *UserMessageOutboundEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundEventGapsItem

type UserMessageOutboundEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundEventGapsItem is a generated nested model.

func (UserMessageOutboundEventGapsItem) MarshalJSON

func (value UserMessageOutboundEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundEventGapsItem) UnmarshalJSON

func (value *UserMessageOutboundEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundEventMessage

type UserMessageOutboundEventMessage struct {
	Channel              string
	Messages             []UserMessageOutboundEventMessageMessagesItem
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundEventMessage is a generated nested model.

func (UserMessageOutboundEventMessage) MarshalJSON

func (value UserMessageOutboundEventMessage) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundEventMessage) UnmarshalJSON

func (value *UserMessageOutboundEventMessage) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundEventMessageMessagesItem added in v0.3.0

type UserMessageOutboundEventMessageMessagesItem struct {
	ID                   string
	Parts                []*ContentItem
	Role                 UserMessageOutboundEventMessageMessagesItemRole
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundEventMessageMessagesItem is a generated nested model.

func (UserMessageOutboundEventMessageMessagesItem) MarshalJSON added in v0.3.0

func (value UserMessageOutboundEventMessageMessagesItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundEventMessageMessagesItem) UnmarshalJSON added in v0.3.0

func (value *UserMessageOutboundEventMessageMessagesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundEventMessageMessagesItemRole added in v0.3.0

type UserMessageOutboundEventMessageMessagesItemRole UserMessageOutboundEventMessageMessagesItemRoleValue

UserMessageOutboundEventMessageMessagesItemRole is a structurally validated schema value.

func (UserMessageOutboundEventMessageMessagesItemRole) MarshalJSON added in v0.3.0

func (*UserMessageOutboundEventMessageMessagesItemRole) UnmarshalJSON added in v0.3.0

func (value *UserMessageOutboundEventMessageMessagesItemRole) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundEventMessageMessagesItemRoleValue added in v0.3.0

type UserMessageOutboundEventMessageMessagesItemRoleValue string

UserMessageOutboundEventMessageMessagesItemRoleValue is a generated schema value.

const UserMessageOutboundEventMessageMessagesItemRoleValueAssistant UserMessageOutboundEventMessageMessagesItemRoleValue = "assistant"
const UserMessageOutboundEventMessageMessagesItemRoleValueDeveloper UserMessageOutboundEventMessageMessagesItemRoleValue = "developer"
const UserMessageOutboundEventMessageMessagesItemRoleValueSystem UserMessageOutboundEventMessageMessagesItemRoleValue = "system"
const UserMessageOutboundEventMessageMessagesItemRoleValueTool UserMessageOutboundEventMessageMessagesItemRoleValue = "tool"
const UserMessageOutboundEventMessageMessagesItemRoleValueUser UserMessageOutboundEventMessageMessagesItemRoleValue = "user"

func (*UserMessageOutboundEventMessageMessagesItemRoleValue) UnmarshalJSON added in v0.3.0

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundEventTurn

type UserMessageOutboundEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundEventTurn is a generated nested model.

func (UserMessageOutboundEventTurn) MarshalJSON

func (value UserMessageOutboundEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundEventTurn) UnmarshalJSON

func (value *UserMessageOutboundEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundEventType

type UserMessageOutboundEventType string

UserMessageOutboundEventType is a generated schema value.

const UserMessageOutboundEventTypeUserMessageOutbound UserMessageOutboundEventType = "user.message.outbound"

func (*UserMessageOutboundEventType) UnmarshalJSON added in v0.1.1

func (value *UserMessageOutboundEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundInterceptResponse added in v0.4.0

type UserMessageOutboundInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              UserMessageOutboundInterceptResponseJSONRPC
	Result               UserMessageOutboundInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/UserMessageOutboundInterceptResponse.

func (UserMessageOutboundInterceptResponse) MarshalJSON added in v0.4.0

func (value UserMessageOutboundInterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundInterceptResponse) UnmarshalJSON added in v0.4.0

func (value *UserMessageOutboundInterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundInterceptResponseJSONRPC added in v0.4.0

type UserMessageOutboundInterceptResponseJSONRPC string

UserMessageOutboundInterceptResponseJSONRPC is a generated schema value.

const UserMessageOutboundInterceptResponseJSONRPCValue20 UserMessageOutboundInterceptResponseJSONRPC = "2.0"

func (*UserMessageOutboundInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

func (value *UserMessageOutboundInterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundInterceptResponseResult added in v0.4.0

type UserMessageOutboundInterceptResponseResult struct {
	Effects              Optional[[]*UserMessageOutboundEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundInterceptResponseResult is a generated nested model.

func (UserMessageOutboundInterceptResponseResult) MarshalJSON added in v0.4.0

func (value UserMessageOutboundInterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundInterceptResponseResult) UnmarshalJSON added in v0.4.0

func (value *UserMessageOutboundInterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundModifyEffect added in v0.4.0

type UserMessageOutboundModifyEffect struct {
	Operation            UserMessageOutboundModifyEffectOperation
	Target               UserMessageOutboundModifyEffectTarget
	Type                 UserMessageOutboundModifyEffectType
	Value                *CanonicalMessages
	AdditionalProperties map[string]json.RawMessage
}

UserMessageOutboundModifyEffect is generated from schema/draft/intercept-response.schema.json#/$defs/UserMessageOutboundModifyEffect.

func (UserMessageOutboundModifyEffect) MarshalJSON added in v0.4.0

func (value UserMessageOutboundModifyEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*UserMessageOutboundModifyEffect) UnmarshalJSON added in v0.4.0

func (value *UserMessageOutboundModifyEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundModifyEffectOperation added in v0.4.0

type UserMessageOutboundModifyEffectOperation struct {
	Replace Optional[UserMessageOutboundModifyEffectOperationReplace]
	Merge   Optional[UserMessageOutboundModifyEffectOperationMerge]
	Unknown json.RawMessage
}

UserMessageOutboundModifyEffectOperation is a generated union model.

func (UserMessageOutboundModifyEffectOperation) MarshalJSON added in v0.4.0

func (value UserMessageOutboundModifyEffectOperation) MarshalJSON() ([]byte, error)

func (*UserMessageOutboundModifyEffectOperation) UnmarshalJSON added in v0.4.0

func (value *UserMessageOutboundModifyEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundModifyEffectOperationMerge added in v0.4.0

type UserMessageOutboundModifyEffectOperationMerge string

UserMessageOutboundModifyEffectOperationMerge is a generated schema value.

const UserMessageOutboundModifyEffectOperationMergeMerge UserMessageOutboundModifyEffectOperationMerge = "merge"

func (*UserMessageOutboundModifyEffectOperationMerge) UnmarshalJSON added in v0.4.0

func (value *UserMessageOutboundModifyEffectOperationMerge) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundModifyEffectOperationReplace added in v0.4.0

type UserMessageOutboundModifyEffectOperationReplace string

UserMessageOutboundModifyEffectOperationReplace is a generated schema value.

const UserMessageOutboundModifyEffectOperationReplaceReplace UserMessageOutboundModifyEffectOperationReplace = "replace"

func (*UserMessageOutboundModifyEffectOperationReplace) UnmarshalJSON added in v0.4.0

func (value *UserMessageOutboundModifyEffectOperationReplace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundModifyEffectTarget added in v0.4.0

type UserMessageOutboundModifyEffectTarget string

UserMessageOutboundModifyEffectTarget is a generated schema value.

const UserMessageOutboundModifyEffectTargetContent UserMessageOutboundModifyEffectTarget = "content"

func (*UserMessageOutboundModifyEffectTarget) UnmarshalJSON added in v0.4.0

func (value *UserMessageOutboundModifyEffectTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type UserMessageOutboundModifyEffectType added in v0.4.0

type UserMessageOutboundModifyEffectType string

UserMessageOutboundModifyEffectType is a generated schema value.

const UserMessageOutboundModifyEffectTypeModify UserMessageOutboundModifyEffectType = "modify"

func (*UserMessageOutboundModifyEffectType) UnmarshalJSON added in v0.4.0

func (value *UserMessageOutboundModifyEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WireMessage

type WireMessage struct {
	InterceptRequest     Optional[*InterceptRequest]
	InterceptResponse    Optional[*InterceptResponse]
	JsonRpcErrorResponse Optional[*JsonRpcErrorResponse]
	ObserveNotification  Optional[*ObserveNotification]
	CapabilitiesRequest  Optional[*CapabilitiesRequest]
	CapabilitiesResponse Optional[*CapabilitiesResponse]
	Unknown              json.RawMessage
}

WireMessage is generated from schema/draft/schema.json#.

func (WireMessage) MarshalJSON

func (value WireMessage) MarshalJSON() ([]byte, error)

func (*WireMessage) UnmarshalJSON

func (value *WireMessage) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChange added in v0.4.0

type WorkspaceChange struct {
	CWD                  Optional[string]
	WorkspaceRoots       Optional[[]string]
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChange is generated from schema/draft/task-workspace-event.schema.json#/$defs/WorkspaceChange.

func (WorkspaceChange) MarshalJSON added in v0.4.0

func (value WorkspaceChange) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChange) UnmarshalJSON added in v0.4.0

func (value *WorkspaceChange) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeAfterEvent

type WorkspaceChangeAfterEvent struct {
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]WorkspaceChangeAfterEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[WorkspaceChangeAfterEventTurn]
	Type                 WorkspaceChangeAfterEventType
	Workspace            WorkspaceChangeAfterEventWorkspace
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeAfterEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/workspace.change.after.

func (WorkspaceChangeAfterEvent) MarshalJSON

func (value WorkspaceChangeAfterEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeAfterEvent) UnmarshalJSON

func (value *WorkspaceChangeAfterEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeAfterEventGapsItem

type WorkspaceChangeAfterEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeAfterEventGapsItem is a generated nested model.

func (WorkspaceChangeAfterEventGapsItem) MarshalJSON

func (value WorkspaceChangeAfterEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeAfterEventGapsItem) UnmarshalJSON

func (value *WorkspaceChangeAfterEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeAfterEventTurn

type WorkspaceChangeAfterEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeAfterEventTurn is a generated nested model.

func (WorkspaceChangeAfterEventTurn) MarshalJSON

func (value WorkspaceChangeAfterEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeAfterEventTurn) UnmarshalJSON

func (value *WorkspaceChangeAfterEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeAfterEventType

type WorkspaceChangeAfterEventType string

WorkspaceChangeAfterEventType is a generated schema value.

const WorkspaceChangeAfterEventTypeWorkspaceChangeAfter WorkspaceChangeAfterEventType = "workspace.change.after"

func (*WorkspaceChangeAfterEventType) UnmarshalJSON added in v0.1.1

func (value *WorkspaceChangeAfterEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeAfterEventWorkspace

type WorkspaceChangeAfterEventWorkspace struct {
	Change               *WorkspaceChange
	Kind                 WorkspaceChangeAfterEventWorkspaceKind
	Prior                Optional[*WorkspaceChange]
	Reason               Optional[string]
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeAfterEventWorkspace is a generated nested model.

func (WorkspaceChangeAfterEventWorkspace) MarshalJSON

func (value WorkspaceChangeAfterEventWorkspace) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeAfterEventWorkspace) UnmarshalJSON

func (value *WorkspaceChangeAfterEventWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeAfterEventWorkspaceKind

type WorkspaceChangeAfterEventWorkspaceKind string

WorkspaceChangeAfterEventWorkspaceKind is a generated schema value.

const WorkspaceChangeAfterEventWorkspaceKindCWD WorkspaceChangeAfterEventWorkspaceKind = "cwd"
const WorkspaceChangeAfterEventWorkspaceKindRoots WorkspaceChangeAfterEventWorkspaceKind = "roots"
const WorkspaceChangeAfterEventWorkspaceKindSwitch WorkspaceChangeAfterEventWorkspaceKind = "switch"

func (*WorkspaceChangeAfterEventWorkspaceKind) UnmarshalJSON added in v0.1.1

func (value *WorkspaceChangeAfterEventWorkspaceKind) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type 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 enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesEffects added in v0.1.1

type WorkspaceChangeBeforeCapabilitiesEffects []WorkspaceChangeBeforeCapabilitiesEffectsValueItem

WorkspaceChangeBeforeCapabilitiesEffects is a structurally validated schema value.

func (WorkspaceChangeBeforeCapabilitiesEffects) MarshalJSON added in v0.1.1

func (value WorkspaceChangeBeforeCapabilitiesEffects) MarshalJSON() ([]byte, error)

func (*WorkspaceChangeBeforeCapabilitiesEffects) UnmarshalJSON added in v0.1.1

func (value *WorkspaceChangeBeforeCapabilitiesEffects) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesEffectsValueItem added in v0.1.1

type WorkspaceChangeBeforeCapabilitiesEffectsValueItem string

WorkspaceChangeBeforeCapabilitiesEffectsValueItem is a generated schema value.

const WorkspaceChangeBeforeCapabilitiesEffectsValueItemDeny WorkspaceChangeBeforeCapabilitiesEffectsValueItem = "deny"
const WorkspaceChangeBeforeCapabilitiesEffectsValueItemMessage WorkspaceChangeBeforeCapabilitiesEffectsValueItem = "message"
const WorkspaceChangeBeforeCapabilitiesEffectsValueItemModify WorkspaceChangeBeforeCapabilitiesEffectsValueItem = "modify"

func (*WorkspaceChangeBeforeCapabilitiesEffectsValueItem) UnmarshalJSON added in v0.1.1

func (value *WorkspaceChangeBeforeCapabilitiesEffectsValueItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesElicitation

type WorkspaceChangeBeforeCapabilitiesElicitation struct {
	Form                 Optional[WorkspaceChangeBeforeCapabilitiesElicitationForm]
	URL                  Optional[WorkspaceChangeBeforeCapabilitiesElicitationURL]
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesElicitation is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesElicitation) MarshalJSON

func (value WorkspaceChangeBeforeCapabilitiesElicitation) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesElicitation) UnmarshalJSON

func (value *WorkspaceChangeBeforeCapabilitiesElicitation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesElicitationForm

type WorkspaceChangeBeforeCapabilitiesElicitationForm struct {
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesElicitationForm is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesElicitationForm) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesElicitationForm) UnmarshalJSON

func (value *WorkspaceChangeBeforeCapabilitiesElicitationForm) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesElicitationURL

type WorkspaceChangeBeforeCapabilitiesElicitationURL struct {
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesElicitationURL is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesElicitationURL) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesElicitationURL) UnmarshalJSON

func (value *WorkspaceChangeBeforeCapabilitiesElicitationURL) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesFlow

type WorkspaceChangeBeforeCapabilitiesFlow struct {
	ContinuationCount      Optional[json.Number]
	MaxContinuations       Optional[json.Number]
	Operations             []WorkspaceChangeBeforeCapabilitiesFlowOperationsItem
	RemainingContinuations Optional[json.Number]
	AdditionalProperties   map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesFlow is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesFlow) MarshalJSON

func (value WorkspaceChangeBeforeCapabilitiesFlow) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesFlow) UnmarshalJSON

func (value *WorkspaceChangeBeforeCapabilitiesFlow) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesFlowOperationsItem

type WorkspaceChangeBeforeCapabilitiesFlowOperationsItem string

WorkspaceChangeBeforeCapabilitiesFlowOperationsItem is a generated schema value.

const WorkspaceChangeBeforeCapabilitiesFlowOperationsItemContinue WorkspaceChangeBeforeCapabilitiesFlowOperationsItem = "continue"
const WorkspaceChangeBeforeCapabilitiesFlowOperationsItemStop WorkspaceChangeBeforeCapabilitiesFlowOperationsItem = "stop"

func (*WorkspaceChangeBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON added in v0.1.1

func (value *WorkspaceChangeBeforeCapabilitiesFlowOperationsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesInject

type WorkspaceChangeBeforeCapabilitiesInject struct {
	Context              WorkspaceChangeBeforeCapabilitiesInjectContext
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesInject is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesInject) MarshalJSON

func (value WorkspaceChangeBeforeCapabilitiesInject) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesInject) UnmarshalJSON

func (value *WorkspaceChangeBeforeCapabilitiesInject) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesInjectContext

type WorkspaceChangeBeforeCapabilitiesInjectContext struct {
	Append               WorkspaceChangeBeforeCapabilitiesInjectContextAppend
	DeliverAt            []WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesInjectContext is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesInjectContext) MarshalJSON

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesInjectContext) UnmarshalJSON

func (value *WorkspaceChangeBeforeCapabilitiesInjectContext) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesInjectContextAppend

type WorkspaceChangeBeforeCapabilitiesInjectContextAppend bool

WorkspaceChangeBeforeCapabilitiesInjectContextAppend is a generated schema value.

const WorkspaceChangeBeforeCapabilitiesInjectContextAppendTrue WorkspaceChangeBeforeCapabilitiesInjectContextAppend = true

func (*WorkspaceChangeBeforeCapabilitiesInjectContextAppend) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem

type WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem string

WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem is a generated schema value.

const WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItemNextTurn WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem = "next_turn"
const WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItemNow WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem = "now"

func (*WorkspaceChangeBeforeCapabilitiesInjectContextDeliverAtItem) UnmarshalJSON added in v0.1.1

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesModify

WorkspaceChangeBeforeCapabilitiesModify is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesModify) MarshalJSON

func (value WorkspaceChangeBeforeCapabilitiesModify) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesModify) UnmarshalJSON

func (value *WorkspaceChangeBeforeCapabilitiesModify) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesModifyContent added in v0.1.1

type WorkspaceChangeBeforeCapabilitiesModifyContent struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesModifyContent is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesModifyContent) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesModifyContent) UnmarshalJSON added in v0.1.1

func (value *WorkspaceChangeBeforeCapabilitiesModifyContent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesModifyInput added in v0.1.1

type WorkspaceChangeBeforeCapabilitiesModifyInput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesModifyInput is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesModifyInput) MarshalJSON added in v0.1.1

func (value WorkspaceChangeBeforeCapabilitiesModifyInput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesModifyInput) UnmarshalJSON added in v0.1.1

func (value *WorkspaceChangeBeforeCapabilitiesModifyInput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesModifyInstructions added in v0.1.1

type WorkspaceChangeBeforeCapabilitiesModifyInstructions struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesModifyInstructions is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesModifyInstructions) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesModifyInstructions) UnmarshalJSON added in v0.1.1

func (value *WorkspaceChangeBeforeCapabilitiesModifyInstructions) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesModifyOutput added in v0.1.1

type WorkspaceChangeBeforeCapabilitiesModifyOutput struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesModifyOutput is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesModifyOutput) MarshalJSON added in v0.1.1

func (value WorkspaceChangeBeforeCapabilitiesModifyOutput) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesModifyOutput) UnmarshalJSON added in v0.1.1

func (value *WorkspaceChangeBeforeCapabilitiesModifyOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesModifyPrompt added in v0.1.1

type WorkspaceChangeBeforeCapabilitiesModifyPrompt struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesModifyPrompt is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesModifyPrompt) MarshalJSON added in v0.1.1

func (value WorkspaceChangeBeforeCapabilitiesModifyPrompt) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesModifyPrompt) UnmarshalJSON added in v0.1.1

func (value *WorkspaceChangeBeforeCapabilitiesModifyPrompt) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesModifyRequest added in v0.1.1

type WorkspaceChangeBeforeCapabilitiesModifyRequest struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesModifyRequest is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesModifyRequest) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesModifyRequest) UnmarshalJSON added in v0.1.1

func (value *WorkspaceChangeBeforeCapabilitiesModifyRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesModifyResponse added in v0.1.1

type WorkspaceChangeBeforeCapabilitiesModifyResponse struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesModifyResponse is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesModifyResponse) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesModifyResponse) UnmarshalJSON added in v0.1.1

func (value *WorkspaceChangeBeforeCapabilitiesModifyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesModifySummary added in v0.1.1

type WorkspaceChangeBeforeCapabilitiesModifySummary struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesModifySummary is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesModifySummary) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesModifySummary) UnmarshalJSON added in v0.1.1

func (value *WorkspaceChangeBeforeCapabilitiesModifySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeCapabilitiesModifyWorkspace added in v0.1.1

type WorkspaceChangeBeforeCapabilitiesModifyWorkspace struct {
	Merge                bool
	Replace              bool
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeCapabilitiesModifyWorkspace is a generated nested model.

func (WorkspaceChangeBeforeCapabilitiesModifyWorkspace) MarshalJSON added in v0.1.1

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeCapabilitiesModifyWorkspace) UnmarshalJSON added in v0.1.1

func (value *WorkspaceChangeBeforeCapabilitiesModifyWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeEffect added in v0.4.0

type WorkspaceChangeBeforeEffect struct {
	DenyEffect                        Optional[*DenyEffect]
	WorkspaceChangeBeforeModifyEffect Optional[*WorkspaceChangeBeforeModifyEffect]
	MessageEffect                     Optional[*MessageEffect]
	Unknown                           json.RawMessage
}

WorkspaceChangeBeforeEffect is generated from schema/draft/intercept-response.schema.json#/$defs/WorkspaceChangeBeforeEffect.

func (WorkspaceChangeBeforeEffect) MarshalJSON added in v0.4.0

func (value WorkspaceChangeBeforeEffect) MarshalJSON() ([]byte, error)

func (*WorkspaceChangeBeforeEffect) UnmarshalJSON added in v0.4.0

func (value *WorkspaceChangeBeforeEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeEvent

type WorkspaceChangeBeforeEvent struct {
	Extensions           Optional[*Extensions]
	Gaps                 Optional[[]WorkspaceChangeBeforeEventGapsItem]
	ID                   string
	Items                Optional[[]*ContentItem]
	Native               Optional[*NativeEvent]
	ParentEventId        Optional[string]
	Session              Optional[*Session]
	Source               string
	Synthesized          Optional[bool]
	Time                 string
	Turn                 Optional[WorkspaceChangeBeforeEventTurn]
	Type                 WorkspaceChangeBeforeEventType
	Workspace            WorkspaceChangeBeforeEventWorkspace
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeEvent is generated from schema/draft/catalogue-event.schema.json#/$defs/workspace.change.before.

func (WorkspaceChangeBeforeEvent) MarshalJSON

func (value WorkspaceChangeBeforeEvent) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeEvent) UnmarshalJSON

func (value *WorkspaceChangeBeforeEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeEventGapsItem

type WorkspaceChangeBeforeEventGapsItem struct {
	Path                 string
	Reason               string
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeEventGapsItem is a generated nested model.

func (WorkspaceChangeBeforeEventGapsItem) MarshalJSON

func (value WorkspaceChangeBeforeEventGapsItem) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeEventGapsItem) UnmarshalJSON

func (value *WorkspaceChangeBeforeEventGapsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeEventTurn

type WorkspaceChangeBeforeEventTurn struct {
	ID                   string
	Synthesized          Optional[bool]
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeEventTurn is a generated nested model.

func (WorkspaceChangeBeforeEventTurn) MarshalJSON

func (value WorkspaceChangeBeforeEventTurn) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeEventTurn) UnmarshalJSON

func (value *WorkspaceChangeBeforeEventTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeEventType

type WorkspaceChangeBeforeEventType string

WorkspaceChangeBeforeEventType is a generated schema value.

const WorkspaceChangeBeforeEventTypeWorkspaceChangeBefore WorkspaceChangeBeforeEventType = "workspace.change.before"

func (*WorkspaceChangeBeforeEventType) UnmarshalJSON added in v0.1.1

func (value *WorkspaceChangeBeforeEventType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeEventWorkspace

type WorkspaceChangeBeforeEventWorkspace struct {
	Change               *WorkspaceChange
	Kind                 WorkspaceChangeBeforeEventWorkspaceKind
	Prior                Optional[*WorkspaceChange]
	Reason               Optional[string]
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeEventWorkspace is a generated nested model.

func (WorkspaceChangeBeforeEventWorkspace) MarshalJSON

func (value WorkspaceChangeBeforeEventWorkspace) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeEventWorkspace) UnmarshalJSON

func (value *WorkspaceChangeBeforeEventWorkspace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeEventWorkspaceKind

type WorkspaceChangeBeforeEventWorkspaceKind string

WorkspaceChangeBeforeEventWorkspaceKind is a generated schema value.

const WorkspaceChangeBeforeEventWorkspaceKindCWD WorkspaceChangeBeforeEventWorkspaceKind = "cwd"
const WorkspaceChangeBeforeEventWorkspaceKindRoots WorkspaceChangeBeforeEventWorkspaceKind = "roots"
const WorkspaceChangeBeforeEventWorkspaceKindSwitch WorkspaceChangeBeforeEventWorkspaceKind = "switch"

func (*WorkspaceChangeBeforeEventWorkspaceKind) UnmarshalJSON added in v0.1.1

func (value *WorkspaceChangeBeforeEventWorkspaceKind) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeInterceptResponse added in v0.4.0

type WorkspaceChangeBeforeInterceptResponse struct {
	ID                   JsonRpcResponseId
	JSONRPC              WorkspaceChangeBeforeInterceptResponseJSONRPC
	Result               WorkspaceChangeBeforeInterceptResponseResult
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeInterceptResponse is generated from schema/draft/intercept-response.schema.json#/$defs/WorkspaceChangeBeforeInterceptResponse.

func (WorkspaceChangeBeforeInterceptResponse) MarshalJSON added in v0.4.0

func (value WorkspaceChangeBeforeInterceptResponse) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeInterceptResponse) UnmarshalJSON added in v0.4.0

func (value *WorkspaceChangeBeforeInterceptResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeInterceptResponseJSONRPC added in v0.4.0

type WorkspaceChangeBeforeInterceptResponseJSONRPC string

WorkspaceChangeBeforeInterceptResponseJSONRPC is a generated schema value.

const WorkspaceChangeBeforeInterceptResponseJSONRPCValue20 WorkspaceChangeBeforeInterceptResponseJSONRPC = "2.0"

func (*WorkspaceChangeBeforeInterceptResponseJSONRPC) UnmarshalJSON added in v0.4.0

func (value *WorkspaceChangeBeforeInterceptResponseJSONRPC) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeInterceptResponseResult added in v0.4.0

type WorkspaceChangeBeforeInterceptResponseResult struct {
	Effects              Optional[[]*WorkspaceChangeBeforeEffect]
	Extensions           Optional[*Extensions]
	ProtocolVersion      *ProtocolVersion
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeInterceptResponseResult is a generated nested model.

func (WorkspaceChangeBeforeInterceptResponseResult) MarshalJSON added in v0.4.0

func (value WorkspaceChangeBeforeInterceptResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeInterceptResponseResult) UnmarshalJSON added in v0.4.0

func (value *WorkspaceChangeBeforeInterceptResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeModifyEffect added in v0.4.0

type WorkspaceChangeBeforeModifyEffect struct {
	Operation            WorkspaceChangeBeforeModifyEffectOperation
	Target               WorkspaceChangeBeforeModifyEffectTarget
	Type                 WorkspaceChangeBeforeModifyEffectType
	Value                *WorkspaceChange
	AdditionalProperties map[string]json.RawMessage
}

WorkspaceChangeBeforeModifyEffect is generated from schema/draft/intercept-response.schema.json#/$defs/WorkspaceChangeBeforeModifyEffect.

func (WorkspaceChangeBeforeModifyEffect) MarshalJSON added in v0.4.0

func (value WorkspaceChangeBeforeModifyEffect) MarshalJSON() ([]byte, error)

MarshalJSON emits known fields together with all retained members.

func (*WorkspaceChangeBeforeModifyEffect) UnmarshalJSON added in v0.4.0

func (value *WorkspaceChangeBeforeModifyEffect) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeModifyEffectOperation added in v0.4.0

type WorkspaceChangeBeforeModifyEffectOperation struct {
	Replace Optional[WorkspaceChangeBeforeModifyEffectOperationReplace]
	Merge   Optional[WorkspaceChangeBeforeModifyEffectOperationMerge]
	Unknown json.RawMessage
}

WorkspaceChangeBeforeModifyEffectOperation is a generated union model.

func (WorkspaceChangeBeforeModifyEffectOperation) MarshalJSON added in v0.4.0

func (value WorkspaceChangeBeforeModifyEffectOperation) MarshalJSON() ([]byte, error)

func (*WorkspaceChangeBeforeModifyEffectOperation) UnmarshalJSON added in v0.4.0

func (value *WorkspaceChangeBeforeModifyEffectOperation) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeModifyEffectOperationMerge added in v0.4.0

type WorkspaceChangeBeforeModifyEffectOperationMerge string

WorkspaceChangeBeforeModifyEffectOperationMerge is a generated schema value.

const WorkspaceChangeBeforeModifyEffectOperationMergeMerge WorkspaceChangeBeforeModifyEffectOperationMerge = "merge"

func (*WorkspaceChangeBeforeModifyEffectOperationMerge) UnmarshalJSON added in v0.4.0

func (value *WorkspaceChangeBeforeModifyEffectOperationMerge) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeModifyEffectOperationReplace added in v0.4.0

type WorkspaceChangeBeforeModifyEffectOperationReplace string

WorkspaceChangeBeforeModifyEffectOperationReplace is a generated schema value.

const WorkspaceChangeBeforeModifyEffectOperationReplaceReplace WorkspaceChangeBeforeModifyEffectOperationReplace = "replace"

func (*WorkspaceChangeBeforeModifyEffectOperationReplace) UnmarshalJSON added in v0.4.0

func (value *WorkspaceChangeBeforeModifyEffectOperationReplace) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeModifyEffectTarget added in v0.4.0

type WorkspaceChangeBeforeModifyEffectTarget string

WorkspaceChangeBeforeModifyEffectTarget is a generated schema value.

const WorkspaceChangeBeforeModifyEffectTargetWorkspace WorkspaceChangeBeforeModifyEffectTarget = "workspace"

func (*WorkspaceChangeBeforeModifyEffectTarget) UnmarshalJSON added in v0.4.0

func (value *WorkspaceChangeBeforeModifyEffectTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

type WorkspaceChangeBeforeModifyEffectType added in v0.4.0

type WorkspaceChangeBeforeModifyEffectType string

WorkspaceChangeBeforeModifyEffectType is a generated schema value.

const WorkspaceChangeBeforeModifyEffectTypeModify WorkspaceChangeBeforeModifyEffectType = "modify"

func (*WorkspaceChangeBeforeModifyEffectType) UnmarshalJSON added in v0.4.0

func (value *WorkspaceChangeBeforeModifyEffectType) UnmarshalJSON(data []byte) error

UnmarshalJSON enforces generated structural rules and retains supported extensions.

Directories

Path Synopsis
Package auth supplies opt-in, independently scoped outbound HTTP credentials.
Package auth supplies opt-in, independently scoped outbound HTTP credentials.
Code generated by ahp-codegen.
Code generated by ahp-codegen.
Code generated by ahp-codegen.
Code generated by ahp-codegen.
cmd
compaction command
Offline host fixture.
Offline host fixture.
compaction-wire command
Canonical AHP traffic.
Canonical AHP traffic.
elicitation command
Offline HTTP sender/receiver.
Offline HTTP sender/receiver.
interop command
Code generated by ahp-codegen.
Code generated by ahp-codegen.
Code generated by ahp-codegen.
Code generated by ahp-codegen.
Code generated by ahp-codegen.
Code generated by ahp-codegen.
Code generated by ahp-codegen.
Code generated by ahp-codegen.
examples
attachments command
Command attachments sends file metadata to registered hooks and reads the invocation-owned body after shutdown.
Command attachments sends file metadata to registered hooks and reads the invocation-owned body after shutdown.
internal
canonical
Package canonical validates protocol documents against bundled draft schemas.
Package canonical validates protocol documents against bundled draft schemas.
inputsources
Code generated by ahp-codegen.
Code generated by ahp-codegen.
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