Skip to content

Unknown

Sub classes

Name Children Inherits
UnknownAuthMethod
aclientp.schema.v2.auth
A custom or future auth method; ``type`` values starting with ``_`` are extensions.
    UnknownCommandInput
    aclientp.schema.v2.commands
    A custom or future input kind; ``type`` values starting with ``_`` are extensions.
      UnknownCommand
      aclientp.schema.v2.commands
      A custom or future command kind; ``type`` values starting with ``_`` are extensions.
        UnknownSessionConfigOption
        aclientp.schema.v2.config_options
        A custom or future option kind; ``type`` values starting with ``_`` are extensions.
          InitialConfigOptionUnknown
          aclientp.schema.v2.config_options
          **UNSTABLE**: Initial value of a custom or future kind of config option.
            SetConfigOptionUnknownRequest
            aclientp.schema.v2.config_options
            Set a custom or future kind of config option.
              UnknownContent
              aclientp.schema.v2.content
              A custom or future content block; ``type`` values starting with ``_`` are extensions.
                UnknownCursorAnchor
                aclientp.schema.v2.cursors
                **UNSTABLE**: A custom or future anchor kind; the client cannot place such a cursor.
                  UnknownMultiSelectItems
                  aclientp.schema.v2.elicitation
                  Custom or future typed multi-select items.
                    UnknownPropertySchema
                    aclientp.schema.v2.elicitation
                    A custom or future property type; values starting with ``_`` are extensions.
                      UnknownElicitationRequest
                      aclientp.schema.v2.elicitation
                      A custom or future mode; values starting with ``_`` are extensions.
                        UnknownElicitationResponse
                        aclientp.schema.v2.elicitation
                        A custom or future action; values starting with ``_`` are extensions.
                          UnknownMcpServer
                          aclientp.schema.v2.mcp
                          A custom or future MCP transport; ``type`` values starting with ``_`` are extensions.
                            UnknownDiffChange
                            aclientp.schema.v2.tool_calls
                            A custom or future file operation; values starting with ``_`` are extensions.
                              UnknownToolCallContent
                              aclientp.schema.v2.tool_calls
                              Custom or future tool call content; ``type`` values starting with ``_`` are extensions.
                                UnknownPermissionSubject
                                aclientp.schema.v2.permissions
                                A custom or future subject; ``type`` values starting with ``_`` are extensions.
                                  UnknownPermissionOutcome
                                  aclientp.schema.v2.permissions
                                  A custom or future outcome; values starting with ``_`` are extensions.
                                    UnknownPlanContent
                                    aclientp.schema.v2.plans
                                    Custom or future plan content; ``type`` values starting with ``_`` are extensions.
                                      UnknownBackgroundWork
                                      aclientp.schema.v2.prompt
                                      Custom or future background work; ``type`` values starting with ``_`` are extensions.
                                        OtherStateUpdate
                                        aclientp.schema.v2.prompt
                                        A custom or future state; ``state`` values starting with ``_`` are extensions.
                                        UnknownSessionUpdate
                                        aclientp.schema.v2.session_updates
                                        A custom or future session update; values starting with ``_`` are extensions.
                                          UnknownReplayFrom
                                          aclientp.schema.v2.sessions
                                          A custom or future replay cursor; ``type`` values starting with ``_`` are extensions.

                                            Base classes

                                            Name Children Inherits
                                            AnnotatedObject
                                            aclientp.schema.v2.base
                                            A v2 object with the ``_meta`` extension point.

                                            ⋔ Inheritance diagram

                                            graph TD
                                              95970868374176["base.Unknown"]
                                              95970868359040["base.AnnotatedObject"]
                                              95970855946400["base.Schema"]
                                              95970851503232["main.BaseModel"]
                                              125067848591872["builtins.object"]
                                              95970868359040 --> 95970868374176
                                              95970855946400 --> 95970868359040
                                              95970851503232 --> 95970855946400
                                              125067848591872 --> 95970851503232

                                            🛈 DocStrings

                                            Bases: AnnotatedObject

                                            Base of fallback variants of open unions: a custom or future variant.

                                            Keeps all fields of the payload, so messages can be passed on unchanged.

                                            Source code in src/aclientp/schema/v2/base.py
                                            class Unknown(AnnotatedObject):
                                                """Base of fallback variants of open unions: a custom or future variant.
                                            
                                                Keeps all fields of the payload, so messages can be passed on unchanged.
                                                """
                                            
                                                model_config = ConfigDict(extra="allow")
                                            

                                            :fa-brands-github: Show source on GitHub