@steerable/runtime-darwin-arm64 0.0.0-stage → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/steerable-egress-proxy +0 -0
- package/package.json +25 -4
- package/python-runtime/manifest.json +8 -0
- package/python-runtime/python/bin/2to3 +7 -0
- package/python-runtime/python/bin/2to3-3.12 +7 -0
- package/python-runtime/python/bin/cffi-gen-src +6 -0
- package/python-runtime/python/bin/dotenv +6 -0
- package/python-runtime/python/bin/httpx +6 -0
- package/python-runtime/python/bin/idle3 +7 -0
- package/python-runtime/python/bin/idle3.12 +7 -0
- package/python-runtime/python/bin/idna +6 -0
- package/python-runtime/python/bin/jsonschema +6 -0
- package/python-runtime/python/bin/mcp +6 -0
- package/python-runtime/python/bin/pydoc3 +7 -0
- package/python-runtime/python/bin/pydoc3.12 +7 -0
- package/python-runtime/python/bin/python +0 -0
- package/python-runtime/python/bin/python3 +0 -0
- package/python-runtime/python/bin/python3-config +76 -0
- package/python-runtime/python/bin/python3.12 +0 -0
- package/python-runtime/python/bin/python3.12-config +76 -0
- package/python-runtime/python/bin/steerable-sidecar +6 -0
- package/python-runtime/python/bin/steerable-sidecar-acp +6 -0
- package/python-runtime/python/bin/steerable-sidecar-headless +6 -0
- package/python-runtime/python/bin/uvicorn +6 -0
- package/python-runtime/python/include/python3.12/Python.h +109 -0
- package/python-runtime/python/include/python3.12/abstract.h +899 -0
- package/python-runtime/python/include/python3.12/bltinmodule.h +14 -0
- package/python-runtime/python/include/python3.12/boolobject.h +42 -0
- package/python-runtime/python/include/python3.12/bytearrayobject.h +44 -0
- package/python-runtime/python/include/python3.12/bytesobject.h +69 -0
- package/python-runtime/python/include/python3.12/ceval.h +168 -0
- package/python-runtime/python/include/python3.12/codecs.h +248 -0
- package/python-runtime/python/include/python3.12/compile.h +22 -0
- package/python-runtime/python/include/python3.12/complexobject.h +30 -0
- package/python-runtime/python/include/python3.12/cpython/abstract.h +206 -0
- package/python-runtime/python/include/python3.12/cpython/bytearrayobject.h +34 -0
- package/python-runtime/python/include/python3.12/cpython/bytesobject.h +133 -0
- package/python-runtime/python/include/python3.12/cpython/cellobject.h +44 -0
- package/python-runtime/python/include/python3.12/cpython/ceval.h +35 -0
- package/python-runtime/python/include/python3.12/cpython/classobject.h +71 -0
- package/python-runtime/python/include/python3.12/cpython/code.h +389 -0
- package/python-runtime/python/include/python3.12/cpython/compile.h +69 -0
- package/python-runtime/python/include/python3.12/cpython/complexobject.h +44 -0
- package/python-runtime/python/include/python3.12/cpython/context.h +78 -0
- package/python-runtime/python/include/python3.12/cpython/descrobject.h +64 -0
- package/python-runtime/python/include/python3.12/cpython/dictobject.h +118 -0
- package/python-runtime/python/include/python3.12/cpython/fileobject.h +19 -0
- package/python-runtime/python/include/python3.12/cpython/fileutils.h +8 -0
- package/python-runtime/python/include/python3.12/cpython/floatobject.h +27 -0
- package/python-runtime/python/include/python3.12/cpython/frameobject.h +29 -0
- package/python-runtime/python/include/python3.12/cpython/funcobject.h +190 -0
- package/python-runtime/python/include/python3.12/cpython/genobject.h +89 -0
- package/python-runtime/python/include/python3.12/cpython/import.h +46 -0
- package/python-runtime/python/include/python3.12/cpython/initconfig.h +256 -0
- package/python-runtime/python/include/python3.12/cpython/interpreteridobject.h +11 -0
- package/python-runtime/python/include/python3.12/cpython/listobject.h +47 -0
- package/python-runtime/python/include/python3.12/cpython/longintrepr.h +133 -0
- package/python-runtime/python/include/python3.12/cpython/longobject.h +100 -0
- package/python-runtime/python/include/python3.12/cpython/memoryobject.h +52 -0
- package/python-runtime/python/include/python3.12/cpython/methodobject.h +66 -0
- package/python-runtime/python/include/python3.12/cpython/modsupport.h +109 -0
- package/python-runtime/python/include/python3.12/cpython/object.h +575 -0
- package/python-runtime/python/include/python3.12/cpython/objimpl.h +95 -0
- package/python-runtime/python/include/python3.12/cpython/odictobject.h +43 -0
- package/python-runtime/python/include/python3.12/cpython/picklebufobject.h +31 -0
- package/python-runtime/python/include/python3.12/cpython/pthread_stubs.h +88 -0
- package/python-runtime/python/include/python3.12/cpython/pyctype.h +39 -0
- package/python-runtime/python/include/python3.12/cpython/pydebug.h +38 -0
- package/python-runtime/python/include/python3.12/cpython/pyerrors.h +178 -0
- package/python-runtime/python/include/python3.12/cpython/pyfpe.h +15 -0
- package/python-runtime/python/include/python3.12/cpython/pyframe.h +35 -0
- package/python-runtime/python/include/python3.12/cpython/pylifecycle.h +111 -0
- package/python-runtime/python/include/python3.12/cpython/pymem.h +98 -0
- package/python-runtime/python/include/python3.12/cpython/pystate.h +456 -0
- package/python-runtime/python/include/python3.12/cpython/pythonrun.h +121 -0
- package/python-runtime/python/include/python3.12/cpython/pythread.h +42 -0
- package/python-runtime/python/include/python3.12/cpython/pytime.h +331 -0
- package/python-runtime/python/include/python3.12/cpython/setobject.h +72 -0
- package/python-runtime/python/include/python3.12/cpython/sysmodule.h +16 -0
- package/python-runtime/python/include/python3.12/cpython/traceback.h +16 -0
- package/python-runtime/python/include/python3.12/cpython/tupleobject.h +39 -0
- package/python-runtime/python/include/python3.12/cpython/unicodeobject.h +976 -0
- package/python-runtime/python/include/python3.12/cpython/warnings.h +20 -0
- package/python-runtime/python/include/python3.12/cpython/weakrefobject.h +56 -0
- package/python-runtime/python/include/python3.12/datetime.h +267 -0
- package/python-runtime/python/include/python3.12/descrobject.h +100 -0
- package/python-runtime/python/include/python3.12/dictobject.h +97 -0
- package/python-runtime/python/include/python3.12/dynamic_annotations.h +499 -0
- package/python-runtime/python/include/python3.12/enumobject.h +17 -0
- package/python-runtime/python/include/python3.12/errcode.h +38 -0
- package/python-runtime/python/include/python3.12/exports.h +36 -0
- package/python-runtime/python/include/python3.12/fileobject.h +49 -0
- package/python-runtime/python/include/python3.12/fileutils.h +26 -0
- package/python-runtime/python/include/python3.12/floatobject.h +54 -0
- package/python-runtime/python/include/python3.12/frameobject.h +20 -0
- package/python-runtime/python/include/python3.12/genericaliasobject.h +14 -0
- package/python-runtime/python/include/python3.12/import.h +98 -0
- package/python-runtime/python/include/python3.12/internal/pycore_abstract.h +25 -0
- package/python-runtime/python/include/python3.12/internal/pycore_asdl.h +112 -0
- package/python-runtime/python/include/python3.12/internal/pycore_ast.h +922 -0
- package/python-runtime/python/include/python3.12/internal/pycore_ast_state.h +265 -0
- package/python-runtime/python/include/python3.12/internal/pycore_atexit.h +57 -0
- package/python-runtime/python/include/python3.12/internal/pycore_atomic.h +557 -0
- package/python-runtime/python/include/python3.12/internal/pycore_atomic_funcs.h +94 -0
- package/python-runtime/python/include/python3.12/internal/pycore_bitutils.h +186 -0
- package/python-runtime/python/include/python3.12/internal/pycore_blocks_output_buffer.h +317 -0
- package/python-runtime/python/include/python3.12/internal/pycore_bytes_methods.h +73 -0
- package/python-runtime/python/include/python3.12/internal/pycore_bytesobject.h +47 -0
- package/python-runtime/python/include/python3.12/internal/pycore_call.h +133 -0
- package/python-runtime/python/include/python3.12/internal/pycore_ceval.h +164 -0
- package/python-runtime/python/include/python3.12/internal/pycore_ceval_state.h +103 -0
- package/python-runtime/python/include/python3.12/internal/pycore_code.h +496 -0
- package/python-runtime/python/include/python3.12/internal/pycore_compile.h +118 -0
- package/python-runtime/python/include/python3.12/internal/pycore_condvar.h +99 -0
- package/python-runtime/python/include/python3.12/internal/pycore_context.h +71 -0
- package/python-runtime/python/include/python3.12/internal/pycore_descrobject.h +26 -0
- package/python-runtime/python/include/python3.12/internal/pycore_dict.h +199 -0
- package/python-runtime/python/include/python3.12/internal/pycore_dict_state.h +50 -0
- package/python-runtime/python/include/python3.12/internal/pycore_dtoa.h +69 -0
- package/python-runtime/python/include/python3.12/internal/pycore_emscripten_signal.h +25 -0
- package/python-runtime/python/include/python3.12/internal/pycore_exceptions.h +37 -0
- package/python-runtime/python/include/python3.12/internal/pycore_faulthandler.h +99 -0
- package/python-runtime/python/include/python3.12/internal/pycore_fileutils.h +292 -0
- package/python-runtime/python/include/python3.12/internal/pycore_fileutils_windows.h +98 -0
- package/python-runtime/python/include/python3.12/internal/pycore_floatobject.h +71 -0
- package/python-runtime/python/include/python3.12/internal/pycore_flowgraph.h +120 -0
- package/python-runtime/python/include/python3.12/internal/pycore_format.h +27 -0
- package/python-runtime/python/include/python3.12/internal/pycore_frame.h +283 -0
- package/python-runtime/python/include/python3.12/internal/pycore_function.h +26 -0
- package/python-runtime/python/include/python3.12/internal/pycore_gc.h +211 -0
- package/python-runtime/python/include/python3.12/internal/pycore_genobject.h +49 -0
- package/python-runtime/python/include/python3.12/internal/pycore_getopt.h +22 -0
- package/python-runtime/python/include/python3.12/internal/pycore_gil.h +50 -0
- package/python-runtime/python/include/python3.12/internal/pycore_global_objects.h +105 -0
- package/python-runtime/python/include/python3.12/internal/pycore_global_objects_fini_generated.h +1517 -0
- package/python-runtime/python/include/python3.12/internal/pycore_global_strings.h +777 -0
- package/python-runtime/python/include/python3.12/internal/pycore_hamt.h +134 -0
- package/python-runtime/python/include/python3.12/internal/pycore_hashtable.h +149 -0
- package/python-runtime/python/include/python3.12/internal/pycore_import.h +183 -0
- package/python-runtime/python/include/python3.12/internal/pycore_initconfig.h +179 -0
- package/python-runtime/python/include/python3.12/internal/pycore_instruments.h +106 -0
- package/python-runtime/python/include/python3.12/internal/pycore_interp.h +275 -0
- package/python-runtime/python/include/python3.12/internal/pycore_intrinsics.h +32 -0
- package/python-runtime/python/include/python3.12/internal/pycore_list.h +83 -0
- package/python-runtime/python/include/python3.12/internal/pycore_long.h +258 -0
- package/python-runtime/python/include/python3.12/internal/pycore_memoryobject.h +18 -0
- package/python-runtime/python/include/python3.12/internal/pycore_moduleobject.h +45 -0
- package/python-runtime/python/include/python3.12/internal/pycore_namespace.h +20 -0
- package/python-runtime/python/include/python3.12/internal/pycore_object.h +455 -0
- package/python-runtime/python/include/python3.12/internal/pycore_object_state.h +42 -0
- package/python-runtime/python/include/python3.12/internal/pycore_obmalloc.h +700 -0
- package/python-runtime/python/include/python3.12/internal/pycore_obmalloc_init.h +73 -0
- package/python-runtime/python/include/python3.12/internal/pycore_opcode.h +587 -0
- package/python-runtime/python/include/python3.12/internal/pycore_opcode_utils.h +92 -0
- package/python-runtime/python/include/python3.12/internal/pycore_parser.h +66 -0
- package/python-runtime/python/include/python3.12/internal/pycore_pathconfig.h +24 -0
- package/python-runtime/python/include/python3.12/internal/pycore_pyarena.h +64 -0
- package/python-runtime/python/include/python3.12/internal/pycore_pyerrors.h +129 -0
- package/python-runtime/python/include/python3.12/internal/pycore_pyhash.h +40 -0
- package/python-runtime/python/include/python3.12/internal/pycore_pylifecycle.h +99 -0
- package/python-runtime/python/include/python3.12/internal/pycore_pymath.h +205 -0
- package/python-runtime/python/include/python3.12/internal/pycore_pymem.h +98 -0
- package/python-runtime/python/include/python3.12/internal/pycore_pymem_init.h +85 -0
- package/python-runtime/python/include/python3.12/internal/pycore_pystate.h +180 -0
- package/python-runtime/python/include/python3.12/internal/pycore_pythread.h +81 -0
- package/python-runtime/python/include/python3.12/internal/pycore_range.h +21 -0
- package/python-runtime/python/include/python3.12/internal/pycore_runtime.h +235 -0
- package/python-runtime/python/include/python3.12/internal/pycore_runtime_init.h +188 -0
- package/python-runtime/python/include/python3.12/internal/pycore_runtime_init_generated.h +1511 -0
- package/python-runtime/python/include/python3.12/internal/pycore_signal.h +98 -0
- package/python-runtime/python/include/python3.12/internal/pycore_sliceobject.h +22 -0
- package/python-runtime/python/include/python3.12/internal/pycore_strhex.h +36 -0
- package/python-runtime/python/include/python3.12/internal/pycore_structseq.h +39 -0
- package/python-runtime/python/include/python3.12/internal/pycore_symtable.h +160 -0
- package/python-runtime/python/include/python3.12/internal/pycore_sysmodule.h +34 -0
- package/python-runtime/python/include/python3.12/internal/pycore_time.h +25 -0
- package/python-runtime/python/include/python3.12/internal/pycore_token.h +108 -0
- package/python-runtime/python/include/python3.12/internal/pycore_traceback.h +101 -0
- package/python-runtime/python/include/python3.12/internal/pycore_tracemalloc.h +123 -0
- package/python-runtime/python/include/python3.12/internal/pycore_tuple.h +79 -0
- package/python-runtime/python/include/python3.12/internal/pycore_typeobject.h +151 -0
- package/python-runtime/python/include/python3.12/internal/pycore_typevarobject.h +24 -0
- package/python-runtime/python/include/python3.12/internal/pycore_ucnhash.h +34 -0
- package/python-runtime/python/include/python3.12/internal/pycore_unicodeobject.h +86 -0
- package/python-runtime/python/include/python3.12/internal/pycore_unicodeobject_generated.h +2832 -0
- package/python-runtime/python/include/python3.12/internal/pycore_unionobject.h +23 -0
- package/python-runtime/python/include/python3.12/internal/pycore_warnings.h +29 -0
- package/python-runtime/python/include/python3.12/interpreteridobject.h +17 -0
- package/python-runtime/python/include/python3.12/intrcheck.h +30 -0
- package/python-runtime/python/include/python3.12/iterobject.h +27 -0
- package/python-runtime/python/include/python3.12/listobject.h +52 -0
- package/python-runtime/python/include/python3.12/longobject.h +108 -0
- package/python-runtime/python/include/python3.12/marshal.h +31 -0
- package/python-runtime/python/include/python3.12/memoryobject.h +34 -0
- package/python-runtime/python/include/python3.12/methodobject.h +132 -0
- package/python-runtime/python/include/python3.12/modsupport.h +168 -0
- package/python-runtime/python/include/python3.12/moduleobject.h +119 -0
- package/python-runtime/python/include/python3.12/object.h +993 -0
- package/python-runtime/python/include/python3.12/objimpl.h +234 -0
- package/python-runtime/python/include/python3.12/opcode.h +271 -0
- package/python-runtime/python/include/python3.12/osdefs.h +51 -0
- package/python-runtime/python/include/python3.12/osmodule.h +17 -0
- package/python-runtime/python/include/python3.12/patchlevel.h +35 -0
- package/python-runtime/python/include/python3.12/py_curses.h +99 -0
- package/python-runtime/python/include/python3.12/pybuffer.h +145 -0
- package/python-runtime/python/include/python3.12/pycapsule.h +59 -0
- package/python-runtime/python/include/python3.12/pyconfig.h +1943 -0
- package/python-runtime/python/include/python3.12/pydtrace.h +59 -0
- package/python-runtime/python/include/python3.12/pyerrors.h +337 -0
- package/python-runtime/python/include/python3.12/pyexpat.h +62 -0
- package/python-runtime/python/include/python3.12/pyframe.h +26 -0
- package/python-runtime/python/include/python3.12/pyhash.h +144 -0
- package/python-runtime/python/include/python3.12/pylifecycle.h +78 -0
- package/python-runtime/python/include/python3.12/pymacconfig.h +99 -0
- package/python-runtime/python/include/python3.12/pymacro.h +172 -0
- package/python-runtime/python/include/python3.12/pymath.h +62 -0
- package/python-runtime/python/include/python3.12/pymem.h +104 -0
- package/python-runtime/python/include/python3.12/pyport.h +782 -0
- package/python-runtime/python/include/python3.12/pystate.h +132 -0
- package/python-runtime/python/include/python3.12/pystats.h +110 -0
- package/python-runtime/python/include/python3.12/pystrcmp.h +23 -0
- package/python-runtime/python/include/python3.12/pystrtod.h +46 -0
- package/python-runtime/python/include/python3.12/pythonrun.h +49 -0
- package/python-runtime/python/include/python3.12/pythread.h +135 -0
- package/python-runtime/python/include/python3.12/pytypedefs.h +30 -0
- package/python-runtime/python/include/python3.12/rangeobject.h +27 -0
- package/python-runtime/python/include/python3.12/setobject.h +49 -0
- package/python-runtime/python/include/python3.12/sliceobject.h +65 -0
- package/python-runtime/python/include/python3.12/structmember.h +56 -0
- package/python-runtime/python/include/python3.12/structseq.h +49 -0
- package/python-runtime/python/include/python3.12/sysmodule.h +54 -0
- package/python-runtime/python/include/python3.12/traceback.h +26 -0
- package/python-runtime/python/include/python3.12/tracemalloc.h +77 -0
- package/python-runtime/python/include/python3.12/tupleobject.h +46 -0
- package/python-runtime/python/include/python3.12/typeslots.h +88 -0
- package/python-runtime/python/include/python3.12/unicodeobject.h +1020 -0
- package/python-runtime/python/include/python3.12/warnings.h +45 -0
- package/python-runtime/python/include/python3.12/weakrefobject.h +42 -0
- package/python-runtime/python/lib/itcl4.3.5/itcl.tcl +151 -0
- package/python-runtime/python/lib/itcl4.3.5/itclConfig.sh +67 -0
- package/python-runtime/python/lib/itcl4.3.5/itclHullCmds.tcl +562 -0
- package/python-runtime/python/lib/itcl4.3.5/itclWidget.tcl +447 -0
- package/python-runtime/python/lib/itcl4.3.5/libitcl4.3.5.dylib +0 -0
- package/python-runtime/python/lib/itcl4.3.5/libitclstub.a +0 -0
- package/python-runtime/python/lib/itcl4.3.5/libitclstub4.3.5.a +0 -0
- package/python-runtime/python/lib/itcl4.3.5/libtcl9itcl4.3.5.dylib +0 -0
- package/python-runtime/python/lib/itcl4.3.5/pkgIndex.tcl +14 -0
- package/python-runtime/python/lib/libpython3.12.dylib +0 -0
- package/python-runtime/python/lib/libtcl9.0.dylib +0 -0
- package/python-runtime/python/lib/libtcl9tk9.0.dylib +0 -0
- package/python-runtime/python/lib/pkgconfig/python-3.12-embed.pc +13 -0
- package/python-runtime/python/lib/pkgconfig/python-3.12.pc +13 -0
- package/python-runtime/python/lib/pkgconfig/python3-embed.pc +13 -0
- package/python-runtime/python/lib/pkgconfig/python3.pc +13 -0
- package/python-runtime/python/lib/python3.12/LICENSE.txt +279 -0
- package/python-runtime/python/lib/python3.12/__future__.py +147 -0
- package/python-runtime/python/lib/python3.12/__hello__.py +16 -0
- package/python-runtime/python/lib/python3.12/__phello__/__init__.py +7 -0
- package/python-runtime/python/lib/python3.12/__phello__/spam.py +7 -0
- package/python-runtime/python/lib/python3.12/_aix_support.py +108 -0
- package/python-runtime/python/lib/python3.12/_collections_abc.py +1173 -0
- package/python-runtime/python/lib/python3.12/_compat_pickle.py +252 -0
- package/python-runtime/python/lib/python3.12/_compression.py +162 -0
- package/python-runtime/python/lib/python3.12/_markupbase.py +396 -0
- package/python-runtime/python/lib/python3.12/_osx_support.py +579 -0
- package/python-runtime/python/lib/python3.12/_py_abc.py +147 -0
- package/python-runtime/python/lib/python3.12/_pydatetime.py +2643 -0
- package/python-runtime/python/lib/python3.12/_pydecimal.py +6339 -0
- package/python-runtime/python/lib/python3.12/_pyio.py +2698 -0
- package/python-runtime/python/lib/python3.12/_pylong.py +329 -0
- package/python-runtime/python/lib/python3.12/_sitebuiltins.py +103 -0
- package/python-runtime/python/lib/python3.12/_strptime.py +664 -0
- package/python-runtime/python/lib/python3.12/_sysconfigdata__darwin_darwin.py +984 -0
- package/python-runtime/python/lib/python3.12/_threading_local.py +242 -0
- package/python-runtime/python/lib/python3.12/_weakrefset.py +205 -0
- package/python-runtime/python/lib/python3.12/abc.py +188 -0
- package/python-runtime/python/lib/python3.12/aifc.py +984 -0
- package/python-runtime/python/lib/python3.12/antigravity.py +17 -0
- package/python-runtime/python/lib/python3.12/argparse.py +2650 -0
- package/python-runtime/python/lib/python3.12/ast.py +1840 -0
- package/python-runtime/python/lib/python3.12/asyncio/__init__.py +47 -0
- package/python-runtime/python/lib/python3.12/asyncio/__main__.py +128 -0
- package/python-runtime/python/lib/python3.12/asyncio/base_events.py +2024 -0
- package/python-runtime/python/lib/python3.12/asyncio/base_futures.py +67 -0
- package/python-runtime/python/lib/python3.12/asyncio/base_subprocess.py +285 -0
- package/python-runtime/python/lib/python3.12/asyncio/base_tasks.py +94 -0
- package/python-runtime/python/lib/python3.12/asyncio/constants.py +41 -0
- package/python-runtime/python/lib/python3.12/asyncio/coroutines.py +109 -0
- package/python-runtime/python/lib/python3.12/asyncio/events.py +868 -0
- package/python-runtime/python/lib/python3.12/asyncio/exceptions.py +62 -0
- package/python-runtime/python/lib/python3.12/asyncio/format_helpers.py +76 -0
- package/python-runtime/python/lib/python3.12/asyncio/futures.py +430 -0
- package/python-runtime/python/lib/python3.12/asyncio/locks.py +586 -0
- package/python-runtime/python/lib/python3.12/asyncio/log.py +7 -0
- package/python-runtime/python/lib/python3.12/asyncio/mixins.py +21 -0
- package/python-runtime/python/lib/python3.12/asyncio/proactor_events.py +897 -0
- package/python-runtime/python/lib/python3.12/asyncio/protocols.py +216 -0
- package/python-runtime/python/lib/python3.12/asyncio/queues.py +244 -0
- package/python-runtime/python/lib/python3.12/asyncio/runners.py +216 -0
- package/python-runtime/python/lib/python3.12/asyncio/selector_events.py +1324 -0
- package/python-runtime/python/lib/python3.12/asyncio/sslproto.py +929 -0
- package/python-runtime/python/lib/python3.12/asyncio/staggered.py +174 -0
- package/python-runtime/python/lib/python3.12/asyncio/streams.py +770 -0
- package/python-runtime/python/lib/python3.12/asyncio/subprocess.py +229 -0
- package/python-runtime/python/lib/python3.12/asyncio/taskgroups.py +268 -0
- package/python-runtime/python/lib/python3.12/asyncio/tasks.py +1065 -0
- package/python-runtime/python/lib/python3.12/asyncio/threads.py +25 -0
- package/python-runtime/python/lib/python3.12/asyncio/timeouts.py +168 -0
- package/python-runtime/python/lib/python3.12/asyncio/transports.py +335 -0
- package/python-runtime/python/lib/python3.12/asyncio/trsock.py +98 -0
- package/python-runtime/python/lib/python3.12/asyncio/unix_events.py +1500 -0
- package/python-runtime/python/lib/python3.12/asyncio/windows_events.py +901 -0
- package/python-runtime/python/lib/python3.12/asyncio/windows_utils.py +173 -0
- package/python-runtime/python/lib/python3.12/base64.py +586 -0
- package/python-runtime/python/lib/python3.12/bdb.py +920 -0
- package/python-runtime/python/lib/python3.12/bisect.py +118 -0
- package/python-runtime/python/lib/python3.12/bz2.py +344 -0
- package/python-runtime/python/lib/python3.12/cProfile.py +195 -0
- package/python-runtime/python/lib/python3.12/calendar.py +808 -0
- package/python-runtime/python/lib/python3.12/cgi.py +1014 -0
- package/python-runtime/python/lib/python3.12/cgitb.py +332 -0
- package/python-runtime/python/lib/python3.12/chunk.py +173 -0
- package/python-runtime/python/lib/python3.12/cmd.py +401 -0
- package/python-runtime/python/lib/python3.12/code.py +324 -0
- package/python-runtime/python/lib/python3.12/codecs.py +1129 -0
- package/python-runtime/python/lib/python3.12/codeop.py +161 -0
- package/python-runtime/python/lib/python3.12/collections/__init__.py +1592 -0
- package/python-runtime/python/lib/python3.12/collections/abc.py +3 -0
- package/python-runtime/python/lib/python3.12/colorsys.py +166 -0
- package/python-runtime/python/lib/python3.12/compileall.py +469 -0
- package/python-runtime/python/lib/python3.12/concurrent/__init__.py +1 -0
- package/python-runtime/python/lib/python3.12/concurrent/futures/__init__.py +54 -0
- package/python-runtime/python/lib/python3.12/concurrent/futures/_base.py +654 -0
- package/python-runtime/python/lib/python3.12/concurrent/futures/process.py +876 -0
- package/python-runtime/python/lib/python3.12/concurrent/futures/thread.py +240 -0
- package/python-runtime/python/lib/python3.12/configparser.py +1333 -0
- package/python-runtime/python/lib/python3.12/contextlib.py +800 -0
- package/python-runtime/python/lib/python3.12/contextvars.py +4 -0
- package/python-runtime/python/lib/python3.12/copy.py +292 -0
- package/python-runtime/python/lib/python3.12/copyreg.py +217 -0
- package/python-runtime/python/lib/python3.12/crypt.py +124 -0
- package/python-runtime/python/lib/python3.12/csv.py +451 -0
- package/python-runtime/python/lib/python3.12/ctypes/__init__.py +582 -0
- package/python-runtime/python/lib/python3.12/ctypes/_aix.py +327 -0
- package/python-runtime/python/lib/python3.12/ctypes/_endian.py +78 -0
- package/python-runtime/python/lib/python3.12/ctypes/macholib/README.ctypes +7 -0
- package/python-runtime/python/lib/python3.12/ctypes/macholib/__init__.py +9 -0
- package/python-runtime/python/lib/python3.12/ctypes/macholib/dyld.py +165 -0
- package/python-runtime/python/lib/python3.12/ctypes/macholib/dylib.py +42 -0
- package/python-runtime/python/lib/python3.12/ctypes/macholib/fetch_macholib +2 -0
- package/python-runtime/python/lib/python3.12/ctypes/macholib/fetch_macholib.bat +1 -0
- package/python-runtime/python/lib/python3.12/ctypes/macholib/framework.py +42 -0
- package/python-runtime/python/lib/python3.12/ctypes/util.py +379 -0
- package/python-runtime/python/lib/python3.12/ctypes/wintypes.py +202 -0
- package/python-runtime/python/lib/python3.12/curses/__init__.py +101 -0
- package/python-runtime/python/lib/python3.12/curses/ascii.py +99 -0
- package/python-runtime/python/lib/python3.12/curses/has_key.py +192 -0
- package/python-runtime/python/lib/python3.12/curses/panel.py +6 -0
- package/python-runtime/python/lib/python3.12/curses/textpad.py +204 -0
- package/python-runtime/python/lib/python3.12/dataclasses.py +1588 -0
- package/python-runtime/python/lib/python3.12/datetime.py +9 -0
- package/python-runtime/python/lib/python3.12/dbm/__init__.py +190 -0
- package/python-runtime/python/lib/python3.12/dbm/dumb.py +317 -0
- package/python-runtime/python/lib/python3.12/dbm/gnu.py +3 -0
- package/python-runtime/python/lib/python3.12/dbm/ndbm.py +3 -0
- package/python-runtime/python/lib/python3.12/decimal.py +108 -0
- package/python-runtime/python/lib/python3.12/difflib.py +2056 -0
- package/python-runtime/python/lib/python3.12/dis.py +805 -0
- package/python-runtime/python/lib/python3.12/doctest.py +2845 -0
- package/python-runtime/python/lib/python3.12/email/__init__.py +61 -0
- package/python-runtime/python/lib/python3.12/email/_encoded_words.py +233 -0
- package/python-runtime/python/lib/python3.12/email/_header_value_parser.py +3108 -0
- package/python-runtime/python/lib/python3.12/email/_parseaddr.py +557 -0
- package/python-runtime/python/lib/python3.12/email/_policybase.py +382 -0
- package/python-runtime/python/lib/python3.12/email/architecture.rst +216 -0
- package/python-runtime/python/lib/python3.12/email/base64mime.py +115 -0
- package/python-runtime/python/lib/python3.12/email/charset.py +398 -0
- package/python-runtime/python/lib/python3.12/email/contentmanager.py +251 -0
- package/python-runtime/python/lib/python3.12/email/encoders.py +65 -0
- package/python-runtime/python/lib/python3.12/email/errors.py +117 -0
- package/python-runtime/python/lib/python3.12/email/feedparser.py +534 -0
- package/python-runtime/python/lib/python3.12/email/generator.py +530 -0
- package/python-runtime/python/lib/python3.12/email/header.py +573 -0
- package/python-runtime/python/lib/python3.12/email/headerregistry.py +604 -0
- package/python-runtime/python/lib/python3.12/email/iterators.py +68 -0
- package/python-runtime/python/lib/python3.12/email/message.py +1215 -0
- package/python-runtime/python/lib/python3.12/email/mime/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/email/mime/application.py +37 -0
- package/python-runtime/python/lib/python3.12/email/mime/audio.py +100 -0
- package/python-runtime/python/lib/python3.12/email/mime/base.py +29 -0
- package/python-runtime/python/lib/python3.12/email/mime/image.py +152 -0
- package/python-runtime/python/lib/python3.12/email/mime/message.py +33 -0
- package/python-runtime/python/lib/python3.12/email/mime/multipart.py +47 -0
- package/python-runtime/python/lib/python3.12/email/mime/nonmultipart.py +21 -0
- package/python-runtime/python/lib/python3.12/email/mime/text.py +40 -0
- package/python-runtime/python/lib/python3.12/email/parser.py +127 -0
- package/python-runtime/python/lib/python3.12/email/policy.py +232 -0
- package/python-runtime/python/lib/python3.12/email/quoprimime.py +300 -0
- package/python-runtime/python/lib/python3.12/email/utils.py +486 -0
- package/python-runtime/python/lib/python3.12/encodings/__init__.py +174 -0
- package/python-runtime/python/lib/python3.12/encodings/aliases.py +551 -0
- package/python-runtime/python/lib/python3.12/encodings/ascii.py +50 -0
- package/python-runtime/python/lib/python3.12/encodings/base64_codec.py +55 -0
- package/python-runtime/python/lib/python3.12/encodings/big5.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/big5hkscs.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/bz2_codec.py +78 -0
- package/python-runtime/python/lib/python3.12/encodings/charmap.py +69 -0
- package/python-runtime/python/lib/python3.12/encodings/cp037.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp1006.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp1026.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp1125.py +698 -0
- package/python-runtime/python/lib/python3.12/encodings/cp1140.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp1250.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp1251.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp1252.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp1253.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp1254.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp1255.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp1256.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp1257.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp1258.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp273.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp424.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp437.py +698 -0
- package/python-runtime/python/lib/python3.12/encodings/cp500.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp720.py +309 -0
- package/python-runtime/python/lib/python3.12/encodings/cp737.py +698 -0
- package/python-runtime/python/lib/python3.12/encodings/cp775.py +697 -0
- package/python-runtime/python/lib/python3.12/encodings/cp850.py +698 -0
- package/python-runtime/python/lib/python3.12/encodings/cp852.py +698 -0
- package/python-runtime/python/lib/python3.12/encodings/cp855.py +698 -0
- package/python-runtime/python/lib/python3.12/encodings/cp856.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp857.py +694 -0
- package/python-runtime/python/lib/python3.12/encodings/cp858.py +698 -0
- package/python-runtime/python/lib/python3.12/encodings/cp860.py +698 -0
- package/python-runtime/python/lib/python3.12/encodings/cp861.py +698 -0
- package/python-runtime/python/lib/python3.12/encodings/cp862.py +698 -0
- package/python-runtime/python/lib/python3.12/encodings/cp863.py +698 -0
- package/python-runtime/python/lib/python3.12/encodings/cp864.py +690 -0
- package/python-runtime/python/lib/python3.12/encodings/cp865.py +698 -0
- package/python-runtime/python/lib/python3.12/encodings/cp866.py +698 -0
- package/python-runtime/python/lib/python3.12/encodings/cp869.py +689 -0
- package/python-runtime/python/lib/python3.12/encodings/cp874.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp875.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/cp932.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/cp949.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/cp950.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/euc_jis_2004.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/euc_jisx0213.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/euc_jp.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/euc_kr.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/gb18030.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/gb2312.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/gbk.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/hex_codec.py +55 -0
- package/python-runtime/python/lib/python3.12/encodings/hp_roman8.py +314 -0
- package/python-runtime/python/lib/python3.12/encodings/hz.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/idna.py +317 -0
- package/python-runtime/python/lib/python3.12/encodings/iso2022_jp.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/iso2022_jp_1.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/iso2022_jp_2.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/iso2022_jp_2004.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/iso2022_jp_3.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/iso2022_jp_ext.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/iso2022_kr.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/iso8859_1.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/iso8859_10.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/iso8859_11.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/iso8859_13.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/iso8859_14.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/iso8859_15.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/iso8859_16.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/iso8859_2.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/iso8859_3.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/iso8859_4.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/iso8859_5.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/iso8859_6.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/iso8859_7.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/iso8859_8.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/iso8859_9.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/johab.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/koi8_r.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/koi8_t.py +308 -0
- package/python-runtime/python/lib/python3.12/encodings/koi8_u.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/kz1048.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/latin_1.py +50 -0
- package/python-runtime/python/lib/python3.12/encodings/mac_arabic.py +698 -0
- package/python-runtime/python/lib/python3.12/encodings/mac_croatian.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/mac_cyrillic.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/mac_farsi.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/mac_greek.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/mac_iceland.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/mac_latin2.py +312 -0
- package/python-runtime/python/lib/python3.12/encodings/mac_roman.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/mac_romanian.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/mac_turkish.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/mbcs.py +47 -0
- package/python-runtime/python/lib/python3.12/encodings/oem.py +41 -0
- package/python-runtime/python/lib/python3.12/encodings/palmos.py +308 -0
- package/python-runtime/python/lib/python3.12/encodings/ptcp154.py +312 -0
- package/python-runtime/python/lib/python3.12/encodings/punycode.py +237 -0
- package/python-runtime/python/lib/python3.12/encodings/quopri_codec.py +56 -0
- package/python-runtime/python/lib/python3.12/encodings/raw_unicode_escape.py +46 -0
- package/python-runtime/python/lib/python3.12/encodings/rot_13.py +113 -0
- package/python-runtime/python/lib/python3.12/encodings/shift_jis.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/shift_jis_2004.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/shift_jisx0213.py +39 -0
- package/python-runtime/python/lib/python3.12/encodings/tis_620.py +307 -0
- package/python-runtime/python/lib/python3.12/encodings/undefined.py +49 -0
- package/python-runtime/python/lib/python3.12/encodings/unicode_escape.py +46 -0
- package/python-runtime/python/lib/python3.12/encodings/utf_16.py +155 -0
- package/python-runtime/python/lib/python3.12/encodings/utf_16_be.py +42 -0
- package/python-runtime/python/lib/python3.12/encodings/utf_16_le.py +42 -0
- package/python-runtime/python/lib/python3.12/encodings/utf_32.py +150 -0
- package/python-runtime/python/lib/python3.12/encodings/utf_32_be.py +37 -0
- package/python-runtime/python/lib/python3.12/encodings/utf_32_le.py +37 -0
- package/python-runtime/python/lib/python3.12/encodings/utf_7.py +38 -0
- package/python-runtime/python/lib/python3.12/encodings/utf_8.py +42 -0
- package/python-runtime/python/lib/python3.12/encodings/utf_8_sig.py +130 -0
- package/python-runtime/python/lib/python3.12/encodings/uu_codec.py +103 -0
- package/python-runtime/python/lib/python3.12/encodings/zlib_codec.py +77 -0
- package/python-runtime/python/lib/python3.12/enum.py +2108 -0
- package/python-runtime/python/lib/python3.12/filecmp.py +315 -0
- package/python-runtime/python/lib/python3.12/fileinput.py +442 -0
- package/python-runtime/python/lib/python3.12/fnmatch.py +185 -0
- package/python-runtime/python/lib/python3.12/fractions.py +990 -0
- package/python-runtime/python/lib/python3.12/ftplib.py +966 -0
- package/python-runtime/python/lib/python3.12/functools.py +1009 -0
- package/python-runtime/python/lib/python3.12/genericpath.py +176 -0
- package/python-runtime/python/lib/python3.12/getopt.py +215 -0
- package/python-runtime/python/lib/python3.12/getpass.py +185 -0
- package/python-runtime/python/lib/python3.12/gettext.py +646 -0
- package/python-runtime/python/lib/python3.12/glob.py +252 -0
- package/python-runtime/python/lib/python3.12/graphlib.py +250 -0
- package/python-runtime/python/lib/python3.12/gzip.py +711 -0
- package/python-runtime/python/lib/python3.12/hashlib.py +253 -0
- package/python-runtime/python/lib/python3.12/heapq.py +603 -0
- package/python-runtime/python/lib/python3.12/hmac.py +219 -0
- package/python-runtime/python/lib/python3.12/html/__init__.py +132 -0
- package/python-runtime/python/lib/python3.12/html/entities.py +2513 -0
- package/python-runtime/python/lib/python3.12/html/parser.py +535 -0
- package/python-runtime/python/lib/python3.12/http/__init__.py +200 -0
- package/python-runtime/python/lib/python3.12/http/client.py +1570 -0
- package/python-runtime/python/lib/python3.12/http/cookiejar.py +2121 -0
- package/python-runtime/python/lib/python3.12/http/cookies.py +615 -0
- package/python-runtime/python/lib/python3.12/http/server.py +1335 -0
- package/python-runtime/python/lib/python3.12/imaplib.py +1641 -0
- package/python-runtime/python/lib/python3.12/imghdr.py +180 -0
- package/python-runtime/python/lib/python3.12/importlib/__init__.py +138 -0
- package/python-runtime/python/lib/python3.12/importlib/_abc.py +39 -0
- package/python-runtime/python/lib/python3.12/importlib/_bootstrap.py +1551 -0
- package/python-runtime/python/lib/python3.12/importlib/_bootstrap_external.py +1749 -0
- package/python-runtime/python/lib/python3.12/importlib/abc.py +239 -0
- package/python-runtime/python/lib/python3.12/importlib/machinery.py +20 -0
- package/python-runtime/python/lib/python3.12/importlib/metadata/__init__.py +966 -0
- package/python-runtime/python/lib/python3.12/importlib/metadata/_adapters.py +89 -0
- package/python-runtime/python/lib/python3.12/importlib/metadata/_collections.py +30 -0
- package/python-runtime/python/lib/python3.12/importlib/metadata/_functools.py +104 -0
- package/python-runtime/python/lib/python3.12/importlib/metadata/_itertools.py +73 -0
- package/python-runtime/python/lib/python3.12/importlib/metadata/_meta.py +63 -0
- package/python-runtime/python/lib/python3.12/importlib/metadata/_text.py +99 -0
- package/python-runtime/python/lib/python3.12/importlib/readers.py +12 -0
- package/python-runtime/python/lib/python3.12/importlib/resources/__init__.py +38 -0
- package/python-runtime/python/lib/python3.12/importlib/resources/_adapters.py +168 -0
- package/python-runtime/python/lib/python3.12/importlib/resources/_common.py +208 -0
- package/python-runtime/python/lib/python3.12/importlib/resources/_itertools.py +38 -0
- package/python-runtime/python/lib/python3.12/importlib/resources/_legacy.py +98 -0
- package/python-runtime/python/lib/python3.12/importlib/resources/abc.py +173 -0
- package/python-runtime/python/lib/python3.12/importlib/resources/readers.py +146 -0
- package/python-runtime/python/lib/python3.12/importlib/resources/simple.py +106 -0
- package/python-runtime/python/lib/python3.12/importlib/simple.py +14 -0
- package/python-runtime/python/lib/python3.12/importlib/util.py +270 -0
- package/python-runtime/python/lib/python3.12/inspect.py +3433 -0
- package/python-runtime/python/lib/python3.12/io.py +99 -0
- package/python-runtime/python/lib/python3.12/ipaddress.py +2430 -0
- package/python-runtime/python/lib/python3.12/json/__init__.py +359 -0
- package/python-runtime/python/lib/python3.12/json/decoder.py +357 -0
- package/python-runtime/python/lib/python3.12/json/encoder.py +443 -0
- package/python-runtime/python/lib/python3.12/json/scanner.py +73 -0
- package/python-runtime/python/lib/python3.12/json/tool.py +85 -0
- package/python-runtime/python/lib/python3.12/keyword.py +64 -0
- package/python-runtime/python/lib/python3.12/lib-dynload/_crypt.cpython-312-darwin.so +0 -0
- package/python-runtime/python/lib/python3.12/lib-dynload/_dbm.cpython-312-darwin.so +0 -0
- package/python-runtime/python/lib/python3.12/lib-dynload/_tkinter.cpython-312-darwin.so +0 -0
- package/python-runtime/python/lib/python3.12/linecache.py +185 -0
- package/python-runtime/python/lib/python3.12/locale.py +1779 -0
- package/python-runtime/python/lib/python3.12/logging/__init__.py +2345 -0
- package/python-runtime/python/lib/python3.12/logging/config.py +1078 -0
- package/python-runtime/python/lib/python3.12/logging/handlers.py +1624 -0
- package/python-runtime/python/lib/python3.12/lzma.py +356 -0
- package/python-runtime/python/lib/python3.12/mailbox.py +2153 -0
- package/python-runtime/python/lib/python3.12/mailcap.py +302 -0
- package/python-runtime/python/lib/python3.12/mimetypes.py +656 -0
- package/python-runtime/python/lib/python3.12/modulefinder.py +666 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/__init__.py +37 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/connection.py +1178 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/context.py +377 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/dummy/__init__.py +126 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/dummy/connection.py +75 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/forkserver.py +350 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/heap.py +337 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/managers.py +1387 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/pool.py +957 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/popen_fork.py +83 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/popen_forkserver.py +74 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/popen_spawn_posix.py +72 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/popen_spawn_win32.py +145 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/process.py +439 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/queues.py +401 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/reduction.py +281 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/resource_sharer.py +154 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/resource_tracker.py +294 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/shared_memory.py +534 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/sharedctypes.py +240 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/spawn.py +307 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/synchronize.py +404 -0
- package/python-runtime/python/lib/python3.12/multiprocessing/util.py +494 -0
- package/python-runtime/python/lib/python3.12/netrc.py +192 -0
- package/python-runtime/python/lib/python3.12/nntplib.py +1093 -0
- package/python-runtime/python/lib/python3.12/ntpath.py +869 -0
- package/python-runtime/python/lib/python3.12/nturl2path.py +69 -0
- package/python-runtime/python/lib/python3.12/numbers.py +418 -0
- package/python-runtime/python/lib/python3.12/opcode.py +493 -0
- package/python-runtime/python/lib/python3.12/operator.py +467 -0
- package/python-runtime/python/lib/python3.12/optparse.py +1681 -0
- package/python-runtime/python/lib/python3.12/os.py +1159 -0
- package/python-runtime/python/lib/python3.12/pathlib.py +1435 -0
- package/python-runtime/python/lib/python3.12/pdb.py +1987 -0
- package/python-runtime/python/lib/python3.12/pickle.py +1866 -0
- package/python-runtime/python/lib/python3.12/pickletools.py +2904 -0
- package/python-runtime/python/lib/python3.12/pipes.py +250 -0
- package/python-runtime/python/lib/python3.12/pkgutil.py +529 -0
- package/python-runtime/python/lib/python3.12/platform.py +1359 -0
- package/python-runtime/python/lib/python3.12/plistlib.py +920 -0
- package/python-runtime/python/lib/python3.12/poplib.py +478 -0
- package/python-runtime/python/lib/python3.12/posixpath.py +577 -0
- package/python-runtime/python/lib/python3.12/pprint.py +658 -0
- package/python-runtime/python/lib/python3.12/profile.py +615 -0
- package/python-runtime/python/lib/python3.12/pstats.py +778 -0
- package/python-runtime/python/lib/python3.12/pty.py +211 -0
- package/python-runtime/python/lib/python3.12/py_compile.py +212 -0
- package/python-runtime/python/lib/python3.12/pyclbr.py +314 -0
- package/python-runtime/python/lib/python3.12/pydoc.py +2950 -0
- package/python-runtime/python/lib/python3.12/queue.py +326 -0
- package/python-runtime/python/lib/python3.12/quopri.py +237 -0
- package/python-runtime/python/lib/python3.12/random.py +996 -0
- package/python-runtime/python/lib/python3.12/re/__init__.py +385 -0
- package/python-runtime/python/lib/python3.12/re/_casefix.py +106 -0
- package/python-runtime/python/lib/python3.12/re/_compiler.py +770 -0
- package/python-runtime/python/lib/python3.12/re/_constants.py +220 -0
- package/python-runtime/python/lib/python3.12/re/_parser.py +1080 -0
- package/python-runtime/python/lib/python3.12/reprlib.py +214 -0
- package/python-runtime/python/lib/python3.12/rlcompleter.py +219 -0
- package/python-runtime/python/lib/python3.12/runpy.py +319 -0
- package/python-runtime/python/lib/python3.12/sched.py +167 -0
- package/python-runtime/python/lib/python3.12/secrets.py +71 -0
- package/python-runtime/python/lib/python3.12/selectors.py +623 -0
- package/python-runtime/python/lib/python3.12/shelve.py +243 -0
- package/python-runtime/python/lib/python3.12/shlex.py +345 -0
- package/python-runtime/python/lib/python3.12/shutil.py +1566 -0
- package/python-runtime/python/lib/python3.12/signal.py +94 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/AvifImagePlugin.py +299 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/BdfFontFile.py +122 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/BlpImagePlugin.py +503 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/BmpImagePlugin.py +526 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/BufrStubImagePlugin.py +70 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ContainerIO.py +177 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/CurImagePlugin.py +105 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/DcxImagePlugin.py +88 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/DdsImagePlugin.py +637 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/EpsImagePlugin.py +494 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ExifTags.py +383 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/FitsImagePlugin.py +171 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/FliImagePlugin.py +188 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/FontFile.py +163 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/FpxImagePlugin.py +264 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/FtexImagePlugin.py +119 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/GbrImagePlugin.py +101 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/GdImageFile.py +109 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/GifImagePlugin.py +1152 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/GimpGradientFile.py +156 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/GimpPaletteFile.py +77 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/GribStubImagePlugin.py +70 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/Hdf5StubImagePlugin.py +70 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/IcnsImagePlugin.py +406 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/IcoImagePlugin.py +418 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImImagePlugin.py +401 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/Image.py +4390 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageChops.py +278 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageCms.py +1069 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageColor.py +321 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageDraw.py +1003 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageDraw2.py +250 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageEnhance.py +112 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageFile.py +944 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageFilter.py +596 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageFont.py +1335 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageGrab.py +229 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageMath.py +314 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageMode.py +85 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageMorph.py +317 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageOps.py +803 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImagePalette.py +314 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImagePath.py +20 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageQt.py +229 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageSequence.py +89 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageShow.py +372 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageStat.py +169 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageText.py +512 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageTk.py +269 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageTransform.py +138 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImageWin.py +247 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/ImtImagePlugin.py +103 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/IptcImagePlugin.py +228 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/Jpeg2KImagePlugin.py +472 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/JpegImagePlugin.py +913 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/JpegPresets.py +240 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/McIdasImagePlugin.py +80 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/MicImagePlugin.py +105 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/MpegImagePlugin.py +89 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/MpoImagePlugin.py +211 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/MspImagePlugin.py +206 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/PSDraw.py +249 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/PaletteFile.py +58 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/PalmImagePlugin.py +220 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/PcdImagePlugin.py +68 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/PcfFontFile.py +258 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/PcxImagePlugin.py +237 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/PdfImagePlugin.py +313 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/PdfParser.py +1129 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/PixarImagePlugin.py +74 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/PngImagePlugin.py +1616 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/PpmImagePlugin.py +380 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/PsdImagePlugin.py +340 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/QoiImagePlugin.py +248 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/SgiImagePlugin.py +236 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/SpiderImagePlugin.py +329 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/SunImagePlugin.py +147 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/TarIO.py +68 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/TgaImagePlugin.py +295 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/TiffImagePlugin.py +2410 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/TiffTags.py +571 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/WalImageFile.py +134 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/WebPImagePlugin.py +352 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/WmfImagePlugin.py +189 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/XVThumbImagePlugin.py +83 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/XbmImagePlugin.py +128 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/XpmImagePlugin.py +175 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/__init__.py +87 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/__main__.py +7 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_avif.cpython-312-darwin.so +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_avif.pyi +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_binary.py +115 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_deprecate.py +74 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_imaging.cpython-312-darwin.so +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_imaging.pyi +31 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_imagingcms.cpython-312-darwin.so +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_imagingcms.pyi +143 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_imagingft.cpython-312-darwin.so +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_imagingft.pyi +70 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_imagingmath.cpython-312-darwin.so +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_imagingmath.pyi +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_imagingmorph.cpython-312-darwin.so +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_imagingmorph.pyi +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_imagingtk.cpython-312-darwin.so +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_imagingtk.pyi +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_tkinter_finder.py +20 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_typing.py +46 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_util.py +29 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_version.py +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_webp.cpython-312-darwin.so +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/_webp.pyi +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/features.py +347 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/PIL/report.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/README.txt +2 -0
- package/python-runtime/python/lib/python3.12/site-packages/_cffi_backend.cpython-312-darwin.so +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/__init__.py +247 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/_cookies.py +53 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/_deserialize.py +62 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/_jsonrpc.py +28 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/_protocol_adapters.py +72 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/_schema_base.py +79 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/_sse.py +98 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/_transport.py +145 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/agent/__init__.py +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/agent/connection.py +367 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/agent/router.py +10 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/client/__init__.py +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/client/connection.py +626 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/client/router.py +10 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/connection.py +344 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/contrib/__init__.py +27 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/contrib/permissions.py +105 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/contrib/session_state.py +274 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/contrib/tool_calls.py +290 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/core.py +111 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/exceptions.py +50 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/experimental/__init__.py +13 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/experimental/negotiation.py +214 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/experimental/v2/__init__.py +18 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/experimental/v2/_connection.py +24 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/experimental/v2/_initialization.py +67 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/experimental/v2/_methods.py +58 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/experimental/v2/_params.py +65 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/experimental/v2/_router.py +74 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/experimental/v2/_schema_base.py +60 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/experimental/v2/agent.py +287 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/experimental/v2/client.py +463 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/experimental/v2/interfaces.py +314 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/experimental/v2/meta.py +41 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/experimental/v2/schema.py +6018 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/http/__init__.py +30 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/http/asgi.py +97 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/http/client.py +266 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/http/protocol.py +115 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/http/server.py +374 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/interfaces.py +468 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/meta.py +50 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/py.typed +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/router.py +239 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/schema.py +5846 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/stdio.py +208 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/task/__init__.py +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/task/sender.py +63 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/task/supervisor.py +80 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/telemetry.py +41 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/transports.py +112 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/utils.py +265 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/ws/__init__.py +23 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/ws/client.py +124 -0
- package/python-runtime/python/lib/python3.12/site-packages/acp/ws/server.py +75 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui/_generated/__init__.py +9 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui/_generated/models.py +2825 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui/_generated/version.py +12 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui/core/__init__.py +242 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui/core/capabilities.py +64 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui/core/deprecated.py +46 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui/core/events.py +131 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui/core/token_usage.py +210 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui/core/types.py +162 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui/core/version.py +38 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui/encoder/__init__.py +7 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui/encoder/encoder.py +36 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui_protocol-1.0.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui_protocol-1.0.0.dist-info/METADATA +114 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui_protocol-1.0.0.dist-info/RECORD +32 -0
- package/python-runtime/python/lib/python3.12/site-packages/ag_ui_protocol-1.0.0.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/agent_client_protocol-1.0.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/agent_client_protocol-1.0.0.dist-info/METADATA +106 -0
- package/python-runtime/python/lib/python3.12/site-packages/agent_client_protocol-1.0.0.dist-info/RECORD +115 -0
- package/python-runtime/python/lib/python3.12/site-packages/agent_client_protocol-1.0.0.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/agent_client_protocol-1.0.0.dist-info/entry_points.txt +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/annotated_types/__init__.py +416 -0
- package/python-runtime/python/lib/python3.12/site-packages/annotated_types/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/annotated_types/test_cases.py +146 -0
- package/python-runtime/python/lib/python3.12/site-packages/annotated_types-0.8.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/annotated_types-0.8.0.dist-info/METADATA +295 -0
- package/python-runtime/python/lib/python3.12/site-packages/annotated_types-0.8.0.dist-info/RECORD +10 -0
- package/python-runtime/python/lib/python3.12/site-packages/annotated_types-0.8.0.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/__init__.py +154 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_backends/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_backends/_asyncio.py +3300 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_backends/_trio.py +1489 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_asyncio_selector_thread.py +167 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_concurrency_utils.py +156 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_contextmanagers.py +200 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_eventloop.py +244 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_exceptions.py +205 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_fileio.py +1047 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_futures.py +191 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_resources.py +18 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_signals.py +29 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_sockets.py +1032 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_streams.py +52 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_subprocesses.py +196 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_synchronization.py +780 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_tasks.py +464 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_tempfile.py +623 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_testing.py +82 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_core/_typedattr.py +90 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/_lazyimport.py +176 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/abc/__init__.py +63 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/abc/_eventloop.py +443 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/abc/_resources.py +39 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/abc/_sockets.py +401 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/abc/_streams.py +237 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/abc/_subprocesses.py +82 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/abc/_tasks.py +223 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/abc/_testing.py +79 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/from_thread.py +689 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/functools.py +400 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/itertools.py +632 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/lowlevel.py +228 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/pytest_plugin.py +408 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/streams/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/streams/buffered.py +212 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/streams/file.py +162 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/streams/memory.py +365 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/streams/stapled.py +160 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/streams/text.py +189 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/streams/tls.py +450 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/to_interpreter.py +246 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/to_process.py +269 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio/to_thread.py +80 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio-4.16.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio-4.16.0.dist-info/METADATA +108 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio-4.16.0.dist-info/RECORD +100 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio-4.16.0.dist-info/WHEEL +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/anyio-4.16.0.dist-info/entry_points.txt +2 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/__init__.py +104 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/__init__.pyi +389 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/_cmp.py +160 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/_cmp.pyi +13 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/_compat.py +99 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/_config.py +31 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/_funcs.py +497 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/_make.py +3406 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/_next_gen.py +674 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/_typing_compat.pyi +15 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/_version_info.py +89 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/_version_info.pyi +9 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/converters.py +162 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/converters.pyi +19 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/exceptions.py +95 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/exceptions.pyi +17 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/filters.py +72 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/filters.pyi +6 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/setters.py +79 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/setters.pyi +20 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/validators.py +750 -0
- package/python-runtime/python/lib/python3.12/site-packages/attr/validators.pyi +140 -0
- package/python-runtime/python/lib/python3.12/site-packages/attrs/__init__.py +72 -0
- package/python-runtime/python/lib/python3.12/site-packages/attrs/__init__.pyi +314 -0
- package/python-runtime/python/lib/python3.12/site-packages/attrs/converters.py +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/attrs/exceptions.py +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/attrs/filters.py +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/attrs/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/attrs/setters.py +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/attrs/validators.py +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/attrs-26.1.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/attrs-26.1.0.dist-info/METADATA +199 -0
- package/python-runtime/python/lib/python3.12/site-packages/attrs-26.1.0.dist-info/RECORD +55 -0
- package/python-runtime/python/lib/python3.12/site-packages/attrs-26.1.0.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/certifi/__init__.py +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/certifi/__main__.py +12 -0
- package/python-runtime/python/lib/python3.12/site-packages/certifi/cacert.pem +3885 -0
- package/python-runtime/python/lib/python3.12/site-packages/certifi/core.py +83 -0
- package/python-runtime/python/lib/python3.12/site-packages/certifi/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/certifi-2026.10.23.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/certifi-2026.10.23.dist-info/METADATA +79 -0
- package/python-runtime/python/lib/python3.12/site-packages/certifi-2026.10.23.dist-info/RECORD +18 -0
- package/python-runtime/python/lib/python3.12/site-packages/certifi-2026.10.23.dist-info/WHEEL +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/__init__.py +14 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/_cffi_errors.h +135 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/_cffi_gen_src.py +216 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/_cffi_include.h +397 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/_embedding.h +512 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/_imp_emulation.py +83 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/_shimmed_dist_utils.py +45 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/api.py +960 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/backend_ctypes.py +1120 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/cffi_opcode.py +187 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/commontypes.py +82 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/cparser.py +1014 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/error.py +31 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/ffiplatform.py +113 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/gen_src.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/lock.py +30 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/model.py +617 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/parse_c_type.h +181 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/pkgconfig.py +121 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/recompiler.py +1586 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/setuptools_ext.py +231 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/vengine_cpy.py +1058 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/vengine_gen.py +679 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi/verifier.py +306 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi-2.1.1.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi-2.1.1.dist-info/METADATA +67 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi-2.1.1.dist-info/RECORD +53 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi-2.1.1.dist-info/WHEEL +6 -0
- package/python-runtime/python/lib/python3.12/site-packages/cffi-2.1.1.dist-info/entry_points.txt +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/__init__.py +144 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/_compat.py +590 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/_termui_impl.py +970 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/_textwrap.py +188 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/_utils.py +45 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/_winconsole.py +292 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/core.py +3825 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/decorators.py +625 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/exceptions.py +378 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/formatting.py +320 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/globals.py +67 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/parser.py +533 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/shell_completion.py +796 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/termui.py +1024 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/testing.py +796 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/types.py +1437 -0
- package/python-runtime/python/lib/python3.12/site-packages/click/utils.py +676 -0
- package/python-runtime/python/lib/python3.12/site-packages/click-8.5.1.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/click-8.5.1.dist-info/METADATA +83 -0
- package/python-runtime/python/lib/python3.12/site-packages/click-8.5.1.dist-info/RECORD +40 -0
- package/python-runtime/python/lib/python3.12/site-packages/click-8.5.1.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/__about__.py +17 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/__init__.py +13 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/cobblestone.py +21 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/exceptions.py +52 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/fernet.py +240 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/__init__.py +13 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/_oid.py +373 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/asn1/__init__.py +47 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/asn1/asn1.py +533 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/backends/__init__.py +13 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/backends/openssl/__init__.py +9 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/backends/openssl/backend.py +309 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/__init__.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/__init__.pyi +67 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/_openssl.pyi +8 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/asn1.pyi +7 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/cobblestone.pyi +33 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/declarative_asn1.pyi +133 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/exceptions.pyi +17 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/ocsp.pyi +117 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi +82 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/aead.pyi +189 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/ciphers.pyi +38 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi +18 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/dh.pyi +51 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi +41 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/ec.pyi +52 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi +13 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi +13 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi +30 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi +22 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/hpke.pyi +109 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi +205 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/keys.pyi +34 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/keywrap.pyi +28 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/mldsa.pyi +35 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/mlkem.pyi +18 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi +15 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi +55 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi +13 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/openssl/x448.pyi +13 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/pkcs12.pyi +52 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/pkcs7.pyi +50 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/test_support.pyi +23 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust/x509.pyi +313 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust.abi3.so +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/openssl/__init__.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/openssl/_conditional.py +199 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/bindings/openssl/binding.py +107 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/decrepit/__init__.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/decrepit/ciphers/__init__.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/decrepit/ciphers/algorithms.py +145 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/decrepit/ciphers/modes.py +53 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/__init__.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/_asymmetric.py +19 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/_cipheralgorithm.py +60 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/_modes.py +105 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/_serialization.py +136 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/__init__.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/dh.py +253 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py +179 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/ec.py +369 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/ed25519.py +116 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/ed448.py +143 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/mldsa.py +505 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/mlkem.py +278 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/padding.py +141 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/rsa.py +295 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/types.py +94 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/utils.py +28 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py +134 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/x448.py +137 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/__init__.py +27 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/aead.py +23 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/algorithms.py +138 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py +146 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/modes.py +192 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/cmac.py +10 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/constant_time.py +14 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/hashes.py +357 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/hmac.py +13 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/hpke.py +27 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/__init__.py +32 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/argon2.py +17 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/concatkdf.py +16 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/hkdf.py +16 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/kbkdf.py +26 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/pbkdf2.py +13 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/scrypt.py +19 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/kdf/x963kdf.py +13 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/keywrap.py +25 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/padding.py +69 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/poly1305.py +11 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/__init__.py +85 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/base.py +16 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/pkcs12.py +176 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/pkcs7.py +412 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/ssh.py +1615 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/twofactor/__init__.py +9 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/twofactor/hotp.py +101 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/hazmat/primitives/twofactor/totp.py +56 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/utils.py +136 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/x509/__init__.py +270 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/x509/base.py +834 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/x509/certificate_transparency.py +35 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/x509/extensions.py +2533 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/x509/general_name.py +281 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/x509/name.py +489 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/x509/ocsp.py +379 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/x509/oid.py +37 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography/x509/verification.py +34 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography-50.0.2.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography-50.0.2.dist-info/METADATA +111 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography-50.0.2.dist-info/RECORD +199 -0
- package/python-runtime/python/lib/python3.12/site-packages/cryptography-50.0.2.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/dotenv/__init__.py +51 -0
- package/python-runtime/python/lib/python3.12/site-packages/dotenv/__main__.py +6 -0
- package/python-runtime/python/lib/python3.12/site-packages/dotenv/cli.py +246 -0
- package/python-runtime/python/lib/python3.12/site-packages/dotenv/ipython.py +50 -0
- package/python-runtime/python/lib/python3.12/site-packages/dotenv/main.py +487 -0
- package/python-runtime/python/lib/python3.12/site-packages/dotenv/parser.py +191 -0
- package/python-runtime/python/lib/python3.12/site-packages/dotenv/py.typed +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/dotenv/variables.py +86 -0
- package/python-runtime/python/lib/python3.12/site-packages/dotenv/version.py +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/h11/__init__.py +62 -0
- package/python-runtime/python/lib/python3.12/site-packages/h11/_abnf.py +132 -0
- package/python-runtime/python/lib/python3.12/site-packages/h11/_connection.py +659 -0
- package/python-runtime/python/lib/python3.12/site-packages/h11/_events.py +369 -0
- package/python-runtime/python/lib/python3.12/site-packages/h11/_headers.py +282 -0
- package/python-runtime/python/lib/python3.12/site-packages/h11/_readers.py +250 -0
- package/python-runtime/python/lib/python3.12/site-packages/h11/_receivebuffer.py +153 -0
- package/python-runtime/python/lib/python3.12/site-packages/h11/_state.py +365 -0
- package/python-runtime/python/lib/python3.12/site-packages/h11/_util.py +135 -0
- package/python-runtime/python/lib/python3.12/site-packages/h11/_version.py +16 -0
- package/python-runtime/python/lib/python3.12/site-packages/h11/_writers.py +145 -0
- package/python-runtime/python/lib/python3.12/site-packages/h11/py.typed +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/h11-0.16.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/h11-0.16.0.dist-info/METADATA +202 -0
- package/python-runtime/python/lib/python3.12/site-packages/h11-0.16.0.dist-info/RECORD +29 -0
- package/python-runtime/python/lib/python3.12/site-packages/h11-0.16.0.dist-info/WHEEL +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/__init__.py +141 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_api.py +94 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_async/__init__.py +39 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_async/connection.py +222 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_async/connection_pool.py +420 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_async/http11.py +379 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_async/http2.py +592 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_async/http_proxy.py +367 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_async/interfaces.py +137 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_async/socks_proxy.py +341 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_backends/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_backends/anyio.py +146 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_backends/auto.py +52 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_backends/base.py +101 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_backends/mock.py +143 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_backends/sync.py +241 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_backends/trio.py +159 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_exceptions.py +81 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_models.py +516 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_ssl.py +9 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_sync/__init__.py +39 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_sync/connection.py +222 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py +420 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_sync/http11.py +379 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_sync/http2.py +592 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_sync/http_proxy.py +367 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_sync/interfaces.py +137 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_sync/socks_proxy.py +341 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_synchronization.py +318 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_trace.py +107 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/_utils.py +37 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore-1.0.9.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore-1.0.9.dist-info/METADATA +625 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore-1.0.9.dist-info/RECORD +68 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpcore-1.0.9.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/__init__.py +105 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/__version__.py +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_api.py +438 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_auth.py +348 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_client.py +2019 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_config.py +248 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_content.py +240 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_decoders.py +393 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_exceptions.py +379 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_main.py +506 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_models.py +1277 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_multipart.py +300 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_status_codes.py +162 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_transports/__init__.py +15 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_transports/asgi.py +187 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_transports/base.py +86 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_transports/default.py +406 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_transports/mock.py +43 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_transports/wsgi.py +149 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_types.py +114 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_urlparse.py +527 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_urls.py +641 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/_utils.py +242 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx-0.28.1.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx-0.28.1.dist-info/METADATA +203 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx-0.28.1.dist-info/RECORD +54 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx-0.28.1.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx-0.28.1.dist-info/entry_points.txt +2 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx_sse/__init__.py +14 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx_sse/_api.py +93 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx_sse/_decoders.py +139 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx_sse/_exceptions.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx_sse/_models.py +54 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx_sse/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx_sse-0.4.3.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx_sse-0.4.3.dist-info/METADATA +351 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx_sse-0.4.3.dist-info/RECORD +17 -0
- package/python-runtime/python/lib/python3.12/site-packages/httpx_sse-0.4.3.dist-info/WHEEL +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/idna/__init__.py +47 -0
- package/python-runtime/python/lib/python3.12/site-packages/idna/__main__.py +6 -0
- package/python-runtime/python/lib/python3.12/site-packages/idna/cli.py +132 -0
- package/python-runtime/python/lib/python3.12/site-packages/idna/codec.py +225 -0
- package/python-runtime/python/lib/python3.12/site-packages/idna/compat.py +43 -0
- package/python-runtime/python/lib/python3.12/site-packages/idna/core.py +863 -0
- package/python-runtime/python/lib/python3.12/site-packages/idna/idnadata.py +1933 -0
- package/python-runtime/python/lib/python3.12/site-packages/idna/intranges.py +55 -0
- package/python-runtime/python/lib/python3.12/site-packages/idna/package_data.py +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/idna/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/idna/uts46data.py +17117 -0
- package/python-runtime/python/lib/python3.12/site-packages/idna-3.20.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/idna-3.20.dist-info/METADATA +176 -0
- package/python-runtime/python/lib/python3.12/site-packages/idna-3.20.dist-info/RECORD +28 -0
- package/python-runtime/python/lib/python3.12/site-packages/idna-3.20.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/idna-3.20.dist-info/entry_points.txt +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/__init__.py +120 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/__main__.py +6 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/_format.py +546 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/_keywords.py +449 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/_legacy_keywords.py +449 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/_types.py +204 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/_typing.py +29 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/_utils.py +355 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/benchmarks/__init__.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/benchmarks/const_vs_enum.py +30 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/benchmarks/contains.py +28 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/benchmarks/import_benchmark.py +31 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/benchmarks/issue232/issue.json +2653 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/benchmarks/issue232.py +25 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/benchmarks/json_schema_test_suite.py +12 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/benchmarks/nested_schemas.py +56 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/benchmarks/subcomponents.py +42 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/benchmarks/unused_registry.py +35 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/benchmarks/useless_applicator_schemas.py +106 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/benchmarks/useless_keywords.py +32 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/benchmarks/validator_creation.py +14 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/cli.py +292 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/exceptions.py +490 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/protocols.py +230 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema/validators.py +1410 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema-4.26.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema-4.26.0.dist-info/METADATA +170 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema-4.26.0.dist-info/RECORD +82 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema-4.26.0.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema-4.26.0.dist-info/entry_points.txt +2 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/__init__.py +12 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/_core.py +38 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft201909/metaschema.json +42 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/applicator +56 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/content +17 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/core +57 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/format +14 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/meta-data +37 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/validation +98 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft202012/metaschema.json +58 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/applicator +48 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/content +17 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/core +51 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/format-annotation +14 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/format-assertion +14 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/meta-data +37 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/unevaluated +15 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/validation +98 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft3/metaschema.json +172 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft4/metaschema.json +149 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft6/metaschema.json +153 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications/schemas/draft7/metaschema.json +166 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications-2025.9.1.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications-2025.9.1.dist-info/METADATA +54 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications-2025.9.1.dist-info/RECORD +33 -0
- package/python-runtime/python/lib/python3.12/site-packages/jsonschema_specifications-2025.9.1.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/jwt/__init__.py +78 -0
- package/python-runtime/python/lib/python3.12/site-packages/jwt/algorithms.py +1121 -0
- package/python-runtime/python/lib/python3.12/site-packages/jwt/api_jwk.py +196 -0
- package/python-runtime/python/lib/python3.12/site-packages/jwt/api_jws.py +485 -0
- package/python-runtime/python/lib/python3.12/site-packages/jwt/api_jwt.py +595 -0
- package/python-runtime/python/lib/python3.12/site-packages/jwt/exceptions.py +113 -0
- package/python-runtime/python/lib/python3.12/site-packages/jwt/help.py +66 -0
- package/python-runtime/python/lib/python3.12/site-packages/jwt/jwk_set_cache.py +47 -0
- package/python-runtime/python/lib/python3.12/site-packages/jwt/jwks_client.py +333 -0
- package/python-runtime/python/lib/python3.12/site-packages/jwt/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/jwt/types.py +69 -0
- package/python-runtime/python/lib/python3.12/site-packages/jwt/utils.py +146 -0
- package/python-runtime/python/lib/python3.12/site-packages/jwt/warnings.py +11 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/__init__.py +135 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/cli/__init__.py +6 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/cli/claude.py +148 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/cli/cli.py +488 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/__main__.py +85 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/auth/__init__.py +21 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/auth/exceptions.py +10 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/auth/extensions/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/auth/extensions/client_credentials.py +567 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/auth/oauth2.py +682 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/auth/utils.py +395 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/experimental/__init__.py +9 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/experimental/task_handlers.py +290 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/experimental/tasks.py +224 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/session.py +640 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/session_group.py +447 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/sse.py +177 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/stdio/__init__.py +278 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/streamable_http.py +747 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/client/websocket.py +94 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/os/__init__.py +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/os/posix/__init__.py +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/os/posix/utilities.py +60 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/os/win32/__init__.py +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/os/win32/utilities.py +338 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/__init__.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/__main__.py +50 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/auth/__init__.py +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/auth/errors.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/auth/handlers/__init__.py +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/auth/handlers/authorize.py +224 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/auth/handlers/metadata.py +29 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/auth/handlers/register.py +136 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/auth/handlers/revoke.py +91 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/auth/handlers/token.py +241 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/auth/json_response.py +10 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/auth/middleware/__init__.py +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/auth/middleware/auth_context.py +48 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/auth/middleware/bearer_auth.py +173 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/auth/middleware/client_auth.py +115 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/auth/provider.py +314 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/auth/routes.py +254 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/auth/settings.py +56 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/elicitation.py +190 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/experimental/__init__.py +12 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/experimental/request_context.py +285 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/experimental/session_features.py +226 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/experimental/task_context.py +614 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/experimental/task_result_handler.py +243 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/experimental/task_scope.py +75 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/experimental/task_support.py +128 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/__init__.py +11 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/exceptions.py +21 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/prompts/__init__.py +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/prompts/base.py +183 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/prompts/manager.py +60 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/resources/__init__.py +23 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/resources/base.py +50 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/resources/resource_manager.py +115 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/resources/templates.py +122 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/resources/types.py +203 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/server.py +1390 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/tools/__init__.py +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/tools/base.py +126 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/tools/tool_manager.py +93 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/utilities/__init__.py +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/utilities/context_injection.py +68 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/utilities/func_metadata.py +560 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/utilities/logging.py +43 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/fastmcp/utilities/types.py +101 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/lowlevel/__init__.py +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/lowlevel/experimental.py +342 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/lowlevel/func_inspection.py +54 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/lowlevel/helper_types.py +11 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/lowlevel/server.py +830 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/models.py +20 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/session.py +701 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/sse.py +299 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/stdio.py +88 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/streamable_http.py +1131 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/streamable_http_manager.py +425 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/transport_security.py +194 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/validation.py +104 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/server/websocket.py +89 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/_httpx_utils.py +219 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/auth.py +180 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/auth_utils.py +80 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/context.py +32 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/exceptions.py +71 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/experimental/__init__.py +7 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/experimental/tasks/__init__.py +12 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/experimental/tasks/capabilities.py +115 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/experimental/tasks/context.py +101 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/experimental/tasks/helpers.py +181 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/experimental/tasks/in_memory_task_store.py +219 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/experimental/tasks/message_queue.py +241 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/experimental/tasks/polling.py +45 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/experimental/tasks/resolver.py +60 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/experimental/tasks/store.py +156 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/memory.py +98 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/message.py +50 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/metadata_utils.py +45 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/progress.py +58 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/response_router.py +63 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/session.py +552 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/tool_name_validation.py +129 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/shared/version.py +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp/types.py +1999 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp-1.30.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp-1.30.0.dist-info/METADATA +239 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp-1.30.0.dist-info/RECORD +228 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp-1.30.0.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/mcp-1.30.0.dist-info/entry_points.txt +2 -0
- package/python-runtime/python/lib/python3.12/site-packages/multipart/__init__.py +38 -0
- package/python-runtime/python/lib/python3.12/site-packages/multipart/decoders.py +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/multipart/exceptions.py +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/multipart/multipart.py +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/pillow-13.0.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/pillow-13.0.0.dist-info/METADATA +182 -0
- package/python-runtime/python/lib/python3.12/site-packages/pillow-13.0.0.dist-info/RECORD +236 -0
- package/python-runtime/python/lib/python3.12/site-packages/pillow-13.0.0.dist-info/WHEEL +6 -0
- package/python-runtime/python/lib/python3.12/site-packages/pycparser/__init__.py +98 -0
- package/python-runtime/python/lib/python3.12/site-packages/pycparser/_ast_gen.py +385 -0
- package/python-runtime/python/lib/python3.12/site-packages/pycparser/_c_ast.cfg +268 -0
- package/python-runtime/python/lib/python3.12/site-packages/pycparser/ast_transforms.py +201 -0
- package/python-runtime/python/lib/python3.12/site-packages/pycparser/c_ast.py +1670 -0
- package/python-runtime/python/lib/python3.12/site-packages/pycparser/c_generator.py +866 -0
- package/python-runtime/python/lib/python3.12/site-packages/pycparser/c_lexer.py +861 -0
- package/python-runtime/python/lib/python3.12/site-packages/pycparser/c_parser.py +2759 -0
- package/python-runtime/python/lib/python3.12/site-packages/pycparser-3.12.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/pycparser-3.12.dist-info/METADATA +286 -0
- package/python-runtime/python/lib/python3.12/site-packages/pycparser-3.12.dist-info/RECORD +21 -0
- package/python-runtime/python/lib/python3.12/site-packages/pycparser-3.12.dist-info/WHEEL +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/__init__.py +461 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_config.py +408 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_contextlib.py +84 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_core_metadata.py +97 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_core_utils.py +156 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py +327 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_decorators.py +906 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_decorators_v1.py +174 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_discriminated_union.py +510 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_docs_extraction.py +128 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_fields.py +910 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_forward_ref.py +23 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py +3053 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_generics.py +556 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_git.py +27 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_import_utils.py +20 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_known_annotated_metadata.py +412 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_mock_val_ser.py +241 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_model_construction.py +833 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_namespace_utils.py +300 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_repr.py +122 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_schema_gather.py +49 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_schema_generation_shared.py +126 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_serializers.py +59 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_signature.py +193 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_type_refs.py +128 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_typing_extra.py +506 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_utils.py +433 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_validate_call.py +141 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_internal/_validators.py +541 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/_migration.py +317 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/alias_generators.py +62 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/aliases.py +136 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/annotated_handlers.py +123 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/class_validators.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/color.py +605 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/config.py +1295 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/dataclasses.py +385 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/datetime_parse.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/decorator.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/deprecated/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/deprecated/class_validators.py +257 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/deprecated/config.py +72 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/deprecated/copy_internals.py +224 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/deprecated/decorator.py +286 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/deprecated/json.py +142 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/deprecated/parse.py +81 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/deprecated/tools.py +104 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/env_settings.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/error_wrappers.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/errors.py +185 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/experimental/__init__.py +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/experimental/arguments_schema.py +44 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/experimental/missing_sentinel.py +29 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/experimental/pipeline.py +684 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/fields.py +2065 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/functional_serializers.py +461 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/functional_validators.py +920 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/generics.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/json.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/json_schema.py +3281 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/main.py +1947 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/mypy.py +1469 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/networks.py +1417 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/parse.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/plugin/__init__.py +190 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/plugin/_loader.py +56 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/plugin/_schema_validator.py +152 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/root_model.py +189 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/schema.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/tools.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/type_adapter.py +780 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/types.py +3405 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/typing.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/utils.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/__init__.py +131 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/_hypothesis_plugin.py +391 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/annotated_types.py +72 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/class_validators.py +361 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/color.py +494 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/config.py +191 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/dataclasses.py +503 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/datetime_parse.py +248 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/decorator.py +264 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/env_settings.py +350 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/error_wrappers.py +161 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/errors.py +646 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/fields.py +1253 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/generics.py +400 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/json.py +112 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/main.py +1130 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/mypy.py +950 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/networks.py +747 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/parse.py +66 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/schema.py +1163 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/tools.py +92 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/types.py +1213 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/typing.py +627 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/utils.py +807 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/validators.py +768 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/v1/version.py +38 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/validate_call_decorator.py +121 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/validators.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/version.py +113 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic/warnings.py +130 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic-2.14.3.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic-2.14.3.dist-info/METADATA +1646 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic-2.14.3.dist-info/RECORD +219 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic-2.14.3.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_core/__init__.py +194 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_core/_pydantic_core/__init__.pyi +1114 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_core/_pydantic_core/_schema_gather.pyi +34 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_core/_pydantic_core.cpython-312-darwin.so +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_core/core_schema.py +5093 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_core/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_core-2.50.4.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_core-2.50.4.dist-info/METADATA +172 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_core-2.50.4.dist-info/RECORD +14 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_core-2.50.4.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/__init__.py +74 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/exceptions.py +10 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/main.py +1133 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/__init__.py +91 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/base.py +767 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/providers/__init__.py +48 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/providers/aws.py +158 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/providers/azure.py +246 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/providers/cli.py +1942 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/providers/dotenv.py +226 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/providers/env.py +423 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/providers/gcp.py +365 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/providers/json.py +61 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/providers/nested_secrets.py +220 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/providers/pyproject.py +64 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/providers/secrets.py +146 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/providers/toml.py +72 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py +147 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/types.py +109 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/sources/utils.py +515 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/utils.py +46 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings/version.py +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings-2.16.2.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings-2.16.2.dist-info/METADATA +72 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings-2.16.2.dist-info/RECORD +50 -0
- package/python-runtime/python/lib/python3.12/site-packages/pydantic_settings-2.16.2.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/pyjwt-2.15.1.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/pyjwt-2.15.1.dist-info/METADATA +94 -0
- package/python-runtime/python/lib/python3.12/site-packages/pyjwt-2.15.1.dist-info/RECORD +32 -0
- package/python-runtime/python/lib/python3.12/site-packages/pyjwt-2.15.1.dist-info/WHEEL +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/python_dotenv-1.2.4.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/python_dotenv-1.2.4.dist-info/METADATA +835 -0
- package/python-runtime/python/lib/python3.12/site-packages/python_dotenv-1.2.4.dist-info/RECORD +25 -0
- package/python-runtime/python/lib/python3.12/site-packages/python_dotenv-1.2.4.dist-info/WHEEL +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/python_dotenv-1.2.4.dist-info/entry_points.txt +2 -0
- package/python-runtime/python/lib/python3.12/site-packages/python_multipart/__init__.py +35 -0
- package/python-runtime/python/lib/python3.12/site-packages/python_multipart/decoders.py +185 -0
- package/python-runtime/python/lib/python3.12/site-packages/python_multipart/exceptions.py +34 -0
- package/python-runtime/python/lib/python3.12/site-packages/python_multipart/multipart.py +2005 -0
- package/python-runtime/python/lib/python3.12/site-packages/python_multipart/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/python_multipart-0.0.33.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/python_multipart-0.0.33.dist-info/METADATA +179 -0
- package/python-runtime/python/lib/python3.12/site-packages/python_multipart-0.0.33.dist-info/RECORD +22 -0
- package/python-runtime/python/lib/python3.12/site-packages/python_multipart-0.0.33.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/referencing/__init__.py +7 -0
- package/python-runtime/python/lib/python3.12/site-packages/referencing/_attrs.py +31 -0
- package/python-runtime/python/lib/python3.12/site-packages/referencing/_attrs.pyi +21 -0
- package/python-runtime/python/lib/python3.12/site-packages/referencing/_core.py +739 -0
- package/python-runtime/python/lib/python3.12/site-packages/referencing/exceptions.py +165 -0
- package/python-runtime/python/lib/python3.12/site-packages/referencing/jsonschema.py +642 -0
- package/python-runtime/python/lib/python3.12/site-packages/referencing/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/referencing/retrieval.py +94 -0
- package/python-runtime/python/lib/python3.12/site-packages/referencing/typing.py +61 -0
- package/python-runtime/python/lib/python3.12/site-packages/referencing-0.37.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/referencing-0.37.0.dist-info/METADATA +64 -0
- package/python-runtime/python/lib/python3.12/site-packages/referencing-0.37.0.dist-info/RECORD +33 -0
- package/python-runtime/python/lib/python3.12/site-packages/referencing-0.37.0.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/rpds/__init__.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/rpds/__init__.pyi +79 -0
- package/python-runtime/python/lib/python3.12/site-packages/rpds/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/rpds/rpds.cpython-312-darwin.so +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/rpds_py-2026.9.1.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/rpds_py-2026.9.1.dist-info/METADATA +99 -0
- package/python-runtime/python/lib/python3.12/site-packages/rpds_py-2026.9.1.dist-info/RECORD +11 -0
- package/python-runtime/python/lib/python3.12/site-packages/rpds_py-2026.9.1.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/socksio/__init__.py +46 -0
- package/python-runtime/python/lib/python3.12/site-packages/socksio/_types.py +3 -0
- package/python-runtime/python/lib/python3.12/site-packages/socksio/compat.py +86 -0
- package/python-runtime/python/lib/python3.12/site-packages/socksio/exceptions.py +6 -0
- package/python-runtime/python/lib/python3.12/site-packages/socksio/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/socksio/socks4.py +253 -0
- package/python-runtime/python/lib/python3.12/site-packages/socksio/socks5.py +399 -0
- package/python-runtime/python/lib/python3.12/site-packages/socksio/utils.py +95 -0
- package/python-runtime/python/lib/python3.12/site-packages/socksio-1.0.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/socksio-1.0.0.dist-info/METADATA +182 -0
- package/python-runtime/python/lib/python3.12/site-packages/socksio-1.0.0.dist-info/RECORD +20 -0
- package/python-runtime/python/lib/python3.12/site-packages/socksio-1.0.0.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/sse_starlette/__init__.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/sse_starlette/_utils.py +36 -0
- package/python-runtime/python/lib/python3.12/site-packages/sse_starlette/event.py +96 -0
- package/python-runtime/python/lib/python3.12/site-packages/sse_starlette/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/sse_starlette/sse.py +602 -0
- package/python-runtime/python/lib/python3.12/site-packages/sse_starlette-3.7.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/sse_starlette-3.7.0.dist-info/METADATA +493 -0
- package/python-runtime/python/lib/python3.12/site-packages/sse_starlette-3.7.0.dist-info/RECORD +16 -0
- package/python-runtime/python/lib/python3.12/site-packages/sse_starlette-3.7.0.dist-info/WHEEL +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/__init__.py +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/_exception_handler.py +67 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/_utils.py +152 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/applications.py +124 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/authentication.py +157 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/background.py +36 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/concurrency.py +59 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/config.py +142 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/convertors.py +89 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/datastructures.py +717 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/endpoints.py +128 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/exceptions.py +43 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/formparsers.py +289 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/middleware/__init__.py +37 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/middleware/authentication.py +52 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/middleware/base.py +254 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/middleware/body_limit.py +132 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/middleware/cors.py +177 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/middleware/errors.py +259 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/middleware/exceptions.py +73 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/middleware/gzip.py +230 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/middleware/httpsredirect.py +22 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/middleware/opentelemetry.py +126 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/middleware/sessions.py +139 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/middleware/trustedhost.py +66 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/middleware/wsgi.py +157 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/requests.py +357 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/responses.py +616 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/routing.py +772 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/schemas.py +152 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/staticfiles.py +231 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/status.py +211 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/templating.py +156 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/testclient.py +624 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/types.py +26 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette/websockets.py +202 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette-1.10.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette-1.10.0.dist-info/METADATA +181 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette-1.10.0.dist-info/RECORD +78 -0
- package/python-runtime/python/lib/python3.12/site-packages/starlette-1.10.0.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_harness/__init__.py +49 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_harness/budget.py +70 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_harness/completion.py +13 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_harness/generated.py +250 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_harness/policy.py +35 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_harness/retry.py +21 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_harness/safety.py +170 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_harness/tracing.py +138 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_harness-0.9.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_harness-0.9.0.dist-info/METADATA +13 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_harness-0.9.0.dist-info/RECORD +23 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_harness-0.9.0.dist-info/WHEEL +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_protocol/__init__.py +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_protocol/generated.py +250 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_protocol-0.9.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_protocol-0.9.0.dist-info/METADATA +12 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_protocol-0.9.0.dist-info/RECORD +11 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_protocol-0.9.0.dist-info/WHEEL +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/__init__.py +529 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/antihallucination.py +644 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/approval.py +730 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/approval_policy.py +243 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/ask_user.py +324 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/branch.py +419 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/cache_control.py +254 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/calibration.py +318 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/compaction.py +737 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/compaction_policy.py +97 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/config.py +225 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/default.harness.json +32 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/default.harness.yaml +38 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/delegation_gate.py +100 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/errors.py +58 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/gateway_catalog.py +397 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/handoff.py +147 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/harness.py +922 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/harness_spec.py +339 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/history.py +962 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/hooks.py +541 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/llm/__init__.py +204 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/llm/anthropic_native.py +392 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/llm/compat.py +316 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/llm/errors.py +207 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/llm/google_genai.py +454 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/llm/openai_compat.py +769 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/llm/openai_responses.py +554 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/llm/parts.py +69 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/llm/presets.py +259 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/llm/system_proxy.py +309 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/loop.py +1040 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/maintenance.py +238 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/mcp.py +673 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/mcp_server.py +319 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/model_catalog.py +7742 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/model_info.py +472 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/model_resolve.py +271 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/native_bridge.py +1034 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/observation_aging.py +196 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/orchestration.py +462 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/otel.py +384 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/plugins.py +487 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/pool.py +438 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/pricing.py +88 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/pseudo.py +713 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/recording.py +454 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/reminders.py +339 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/replay.py +222 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/resume.py +343 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/retry.py +163 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/sandboxed.py +201 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/skills.py +730 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/spill.py +127 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/storage/__init__.py +138 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/storage/in_memory.py +215 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/storage/sqlalchemy_store.py +472 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/storage/sqlite_store.py +497 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/storage/write_lease.py +173 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/subagent.py +564 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/todo.py +348 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/tokens.py +162 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/tool_presentation.py +132 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/tool_schema.py +124 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/tool_search.py +177 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/tools.py +457 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/tracing.py +285 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/transport/__init__.py +39 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/transport/fastapi_sse.py +116 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/transport/stdio_jsonrpc.py +431 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime/world_state.py +345 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime-0.9.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime-0.9.0.dist-info/METADATA +72 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime-0.9.0.dist-info/RECORD +147 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime-0.9.0.dist-info/WHEEL +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime_native/__init__.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime_native/steerable_agent_runtime_native.abi3.so +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime_native-1.0.7.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime_native-1.0.7.dist-info/METADATA +7 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime_native-1.0.7.dist-info/RECORD +9 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_agent_runtime_native-1.0.7.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/__init__.py +28 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/__main__.py +119 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/_version.py +14 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/acp_adapter.py +890 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/acp_fs.py +64 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/acp_terminal.py +147 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/ag_ui.py +223 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/delivery.py +2933 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/display.py +308 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/egress_ask.py +183 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/file_edit.py +251 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/headless.py +760 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/host_spawn.py +137 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/host_tools.py +255 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/jpeg_ascii.py +314 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/landlock.py +353 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/landlock_run.py +35 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/loop_limits.py +85 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/multi_file_edit.py +109 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/png_ascii.py +294 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/ptc_js.py +986 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/ptc_js_worker.cjs +579 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/run_code.py +634 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/run_code_driver.py +229 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/sandbox.py +771 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/search_tools.py +173 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/shell_session.py +301 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/sidecar.py +3785 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/stream_chunks.py +115 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/todo_tools.py +49 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/tool_contract.json +352 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/tool_contract.py +62 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/web_tools.py +1375 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/workspace_fs.py +71 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar/workspace_tools.py +1472 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar-0.9.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar-0.9.0.dist-info/METADATA +58 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar-0.9.0.dist-info/RECORD +79 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar-0.9.0.dist-info/WHEEL +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/steerable_sidecar-0.9.0.dist-info/entry_points.txt +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/typing_extensions-4.16.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/typing_extensions-4.16.0.dist-info/METADATA +73 -0
- package/python-runtime/python/lib/python3.12/site-packages/typing_extensions-4.16.0.dist-info/RECORD +7 -0
- package/python-runtime/python/lib/python3.12/site-packages/typing_extensions-4.16.0.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/typing_extensions.py +4422 -0
- package/python-runtime/python/lib/python3.12/site-packages/typing_inspection/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/typing_inspection/introspection.py +604 -0
- package/python-runtime/python/lib/python3.12/site-packages/typing_inspection/py.typed +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/typing_inspection/typing_objects.py +620 -0
- package/python-runtime/python/lib/python3.12/site-packages/typing_inspection/typing_objects.pyi +421 -0
- package/python-runtime/python/lib/python3.12/site-packages/typing_inspection-0.4.5.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/typing_inspection-0.4.5.dist-info/METADATA +49 -0
- package/python-runtime/python/lib/python3.12/site-packages/typing_inspection-0.4.5.dist-info/RECORD +13 -0
- package/python-runtime/python/lib/python3.12/site-packages/typing_inspection-0.4.5.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/__init__.py +5 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/__main__.py +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/_ansi.py +29 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/_compat.py +91 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/_subprocess.py +84 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/_types.py +280 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/config.py +618 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/importer.py +34 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/lifespan/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/lifespan/off.py +17 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/lifespan/on.py +137 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/logging.py +117 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/loops/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/loops/asyncio.py +11 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/loops/auto.py +17 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/loops/uvloop.py +10 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/loops/zuvloop.py +10 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/main.py +656 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/middleware/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/middleware/asgi2.py +15 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/middleware/message_logger.py +87 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py +187 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/middleware/wsgi.py +199 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/protocols/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/protocols/http/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/protocols/http/auto.py +15 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/protocols/http/auto_zttp_impl.py +89 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/protocols/http/flow_control.py +54 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/protocols/http/h11_impl.py +540 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/protocols/http/httptools_impl.py +581 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/protocols/http/zttp_h2_impl.py +559 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/protocols/http/zttp_impl.py +537 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/protocols/utils.py +62 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/protocols/websockets/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/protocols/websockets/auto.py +21 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/protocols/websockets/websockets_impl.py +390 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/protocols/websockets/websockets_sansio_impl.py +556 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/protocols/websockets/wsproto_impl.py +500 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/py.typed +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/server.py +356 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/supervisors/__init__.py +16 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/supervisors/basereload.py +124 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/supervisors/multiprocess.py +282 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/supervisors/statreload.py +52 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/supervisors/watchfilesreload.py +86 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn/workers.py +111 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn-0.54.0.dist-info/INSTALLER +1 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn-0.54.0.dist-info/METADATA +189 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn-0.54.0.dist-info/RECORD +98 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn-0.54.0.dist-info/WHEEL +4 -0
- package/python-runtime/python/lib/python3.12/site-packages/uvicorn-0.54.0.dist-info/entry_points.txt +2 -0
- package/python-runtime/python/lib/python3.12/site.py +693 -0
- package/python-runtime/python/lib/python3.12/smtplib.py +1109 -0
- package/python-runtime/python/lib/python3.12/sndhdr.py +271 -0
- package/python-runtime/python/lib/python3.12/socket.py +983 -0
- package/python-runtime/python/lib/python3.12/socketserver.py +863 -0
- package/python-runtime/python/lib/python3.12/sqlite3/__init__.py +70 -0
- package/python-runtime/python/lib/python3.12/sqlite3/__main__.py +127 -0
- package/python-runtime/python/lib/python3.12/sqlite3/dbapi2.py +108 -0
- package/python-runtime/python/lib/python3.12/sqlite3/dump.py +89 -0
- package/python-runtime/python/lib/python3.12/sre_compile.py +7 -0
- package/python-runtime/python/lib/python3.12/sre_constants.py +7 -0
- package/python-runtime/python/lib/python3.12/sre_parse.py +7 -0
- package/python-runtime/python/lib/python3.12/ssl.py +1488 -0
- package/python-runtime/python/lib/python3.12/stat.py +195 -0
- package/python-runtime/python/lib/python3.12/statistics.py +1454 -0
- package/python-runtime/python/lib/python3.12/string.py +309 -0
- package/python-runtime/python/lib/python3.12/stringprep.py +272 -0
- package/python-runtime/python/lib/python3.12/struct.py +15 -0
- package/python-runtime/python/lib/python3.12/subprocess.py +2216 -0
- package/python-runtime/python/lib/python3.12/sunau.py +533 -0
- package/python-runtime/python/lib/python3.12/symtable.py +362 -0
- package/python-runtime/python/lib/python3.12/sysconfig.py +894 -0
- package/python-runtime/python/lib/python3.12/tabnanny.py +340 -0
- package/python-runtime/python/lib/python3.12/tarfile.py +3031 -0
- package/python-runtime/python/lib/python3.12/telnetlib.py +680 -0
- package/python-runtime/python/lib/python3.12/tempfile.py +956 -0
- package/python-runtime/python/lib/python3.12/textwrap.py +491 -0
- package/python-runtime/python/lib/python3.12/this.py +28 -0
- package/python-runtime/python/lib/python3.12/threading.py +1708 -0
- package/python-runtime/python/lib/python3.12/timeit.py +381 -0
- package/python-runtime/python/lib/python3.12/token.py +143 -0
- package/python-runtime/python/lib/python3.12/tokenize.py +594 -0
- package/python-runtime/python/lib/python3.12/tomllib/__init__.py +10 -0
- package/python-runtime/python/lib/python3.12/tomllib/_parser.py +691 -0
- package/python-runtime/python/lib/python3.12/tomllib/_re.py +107 -0
- package/python-runtime/python/lib/python3.12/tomllib/_types.py +10 -0
- package/python-runtime/python/lib/python3.12/trace.py +748 -0
- package/python-runtime/python/lib/python3.12/traceback.py +1187 -0
- package/python-runtime/python/lib/python3.12/tracemalloc.py +560 -0
- package/python-runtime/python/lib/python3.12/tty.py +73 -0
- package/python-runtime/python/lib/python3.12/turtle.py +4207 -0
- package/python-runtime/python/lib/python3.12/types.py +333 -0
- package/python-runtime/python/lib/python3.12/typing.py +3494 -0
- package/python-runtime/python/lib/python3.12/unittest/__init__.py +85 -0
- package/python-runtime/python/lib/python3.12/unittest/__main__.py +18 -0
- package/python-runtime/python/lib/python3.12/unittest/_log.py +86 -0
- package/python-runtime/python/lib/python3.12/unittest/async_case.py +143 -0
- package/python-runtime/python/lib/python3.12/unittest/case.py +1456 -0
- package/python-runtime/python/lib/python3.12/unittest/loader.py +497 -0
- package/python-runtime/python/lib/python3.12/unittest/main.py +291 -0
- package/python-runtime/python/lib/python3.12/unittest/mock.py +3054 -0
- package/python-runtime/python/lib/python3.12/unittest/result.py +256 -0
- package/python-runtime/python/lib/python3.12/unittest/runner.py +292 -0
- package/python-runtime/python/lib/python3.12/unittest/signals.py +71 -0
- package/python-runtime/python/lib/python3.12/unittest/suite.py +379 -0
- package/python-runtime/python/lib/python3.12/unittest/util.py +170 -0
- package/python-runtime/python/lib/python3.12/urllib/__init__.py +0 -0
- package/python-runtime/python/lib/python3.12/urllib/error.py +74 -0
- package/python-runtime/python/lib/python3.12/urllib/parse.py +1262 -0
- package/python-runtime/python/lib/python3.12/urllib/request.py +2816 -0
- package/python-runtime/python/lib/python3.12/urllib/response.py +84 -0
- package/python-runtime/python/lib/python3.12/urllib/robotparser.py +275 -0
- package/python-runtime/python/lib/python3.12/uu.py +216 -0
- package/python-runtime/python/lib/python3.12/uuid.py +793 -0
- package/python-runtime/python/lib/python3.12/warnings.py +598 -0
- package/python-runtime/python/lib/python3.12/wave.py +653 -0
- package/python-runtime/python/lib/python3.12/weakref.py +674 -0
- package/python-runtime/python/lib/python3.12/webbrowser.py +689 -0
- package/python-runtime/python/lib/python3.12/xdrlib.py +242 -0
- package/python-runtime/python/lib/python3.12/xml/__init__.py +20 -0
- package/python-runtime/python/lib/python3.12/xml/dom/NodeFilter.py +27 -0
- package/python-runtime/python/lib/python3.12/xml/dom/__init__.py +140 -0
- package/python-runtime/python/lib/python3.12/xml/dom/domreg.py +99 -0
- package/python-runtime/python/lib/python3.12/xml/dom/expatbuilder.py +962 -0
- package/python-runtime/python/lib/python3.12/xml/dom/minicompat.py +109 -0
- package/python-runtime/python/lib/python3.12/xml/dom/minidom.py +2008 -0
- package/python-runtime/python/lib/python3.12/xml/dom/pulldom.py +336 -0
- package/python-runtime/python/lib/python3.12/xml/dom/xmlbuilder.py +389 -0
- package/python-runtime/python/lib/python3.12/xml/etree/ElementInclude.py +186 -0
- package/python-runtime/python/lib/python3.12/xml/etree/ElementPath.py +423 -0
- package/python-runtime/python/lib/python3.12/xml/etree/ElementTree.py +2085 -0
- package/python-runtime/python/lib/python3.12/xml/etree/__init__.py +33 -0
- package/python-runtime/python/lib/python3.12/xml/etree/cElementTree.py +3 -0
- package/python-runtime/python/lib/python3.12/xml/parsers/__init__.py +8 -0
- package/python-runtime/python/lib/python3.12/xml/parsers/expat.py +8 -0
- package/python-runtime/python/lib/python3.12/xml/sax/__init__.py +94 -0
- package/python-runtime/python/lib/python3.12/xml/sax/_exceptions.py +127 -0
- package/python-runtime/python/lib/python3.12/xml/sax/expatreader.py +454 -0
- package/python-runtime/python/lib/python3.12/xml/sax/handler.py +387 -0
- package/python-runtime/python/lib/python3.12/xml/sax/saxutils.py +369 -0
- package/python-runtime/python/lib/python3.12/xml/sax/xmlreader.py +378 -0
- package/python-runtime/python/lib/python3.12/zipapp.py +206 -0
- package/python-runtime/python/lib/python3.12/zipfile/__init__.py +2340 -0
- package/python-runtime/python/lib/python3.12/zipfile/__main__.py +4 -0
- package/python-runtime/python/lib/python3.12/zipfile/_path/__init__.py +412 -0
- package/python-runtime/python/lib/python3.12/zipfile/_path/glob.py +53 -0
- package/python-runtime/python/lib/python3.12/zipimport.py +712 -0
- package/python-runtime/python/lib/python3.12/zoneinfo/__init__.py +31 -0
- package/python-runtime/python/lib/python3.12/zoneinfo/_common.py +164 -0
- package/python-runtime/python/lib/python3.12/zoneinfo/_tzpath.py +181 -0
- package/python-runtime/python/lib/python3.12/zoneinfo/_zoneinfo.py +772 -0
- package/python-runtime/python/lib/tcl9/9.0/http-2.10.1.tm +5475 -0
- package/python-runtime/python/lib/tcl9/9.0/msgcat-1.7.1.tm +1349 -0
- package/python-runtime/python/lib/tcl9/9.0/platform/shell-1.1.4.tm +241 -0
- package/python-runtime/python/lib/tcl9/9.0/platform-1.1.0.tm +443 -0
- package/python-runtime/python/lib/tcl9/9.0/tcltest-2.5.10.tm +3588 -0
- package/python-runtime/python/lib/tcl9.0/auto.tcl +711 -0
- package/python-runtime/python/lib/tcl9.0/clock.tcl +2110 -0
- package/python-runtime/python/lib/tcl9.0/cookiejar0.2/cookiejar.tcl +746 -0
- package/python-runtime/python/lib/tcl9.0/cookiejar0.2/idna.tcl +292 -0
- package/python-runtime/python/lib/tcl9.0/cookiejar0.2/pkgIndex.tcl +3 -0
- package/python-runtime/python/lib/tcl9.0/cookiejar0.2/public_suffix_list.dat.gz +0 -0
- package/python-runtime/python/lib/tcl9.0/encoding/ascii.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/big5.enc +1516 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cns11643.enc +1584 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp1250.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp1251.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp1252.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp1253.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp1254.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp1255.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp1256.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp1257.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp1258.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp165.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp437.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp737.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp775.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp850.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp852.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp855.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp857.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp860.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp861.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp862.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp863.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp864.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp865.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp866.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp869.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp874.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp932.enc +801 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp936.enc +2162 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp949.enc +2128 -0
- package/python-runtime/python/lib/tcl9.0/encoding/cp950.enc +1499 -0
- package/python-runtime/python/lib/tcl9.0/encoding/dingbats.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/ebcdic.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/euc-cn.enc +1397 -0
- package/python-runtime/python/lib/tcl9.0/encoding/euc-jp.enc +1353 -0
- package/python-runtime/python/lib/tcl9.0/encoding/euc-kr.enc +1533 -0
- package/python-runtime/python/lib/tcl9.0/encoding/gb12345.enc +1414 -0
- package/python-runtime/python/lib/tcl9.0/encoding/gb1988.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/gb2312-raw.enc +1380 -0
- package/python-runtime/python/lib/tcl9.0/encoding/gb2312.enc +1397 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso2022-jp.enc +12 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso2022-kr.enc +7 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso2022.enc +14 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso8859-1.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso8859-10.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso8859-11.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso8859-13.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso8859-14.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso8859-15.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso8859-16.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso8859-2.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso8859-3.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso8859-4.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso8859-5.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso8859-6.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso8859-7.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso8859-8.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/iso8859-9.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/jis0201.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/jis0208.enc +1319 -0
- package/python-runtime/python/lib/tcl9.0/encoding/jis0212.enc +1159 -0
- package/python-runtime/python/lib/tcl9.0/encoding/koi8-r.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/koi8-ru.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/koi8-t.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/koi8-u.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/ksc5601.enc +1516 -0
- package/python-runtime/python/lib/tcl9.0/encoding/macCentEuro.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/macCroatian.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/macCyrillic.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/macDingbats.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/macGreek.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/macIceland.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/macJapan.enc +785 -0
- package/python-runtime/python/lib/tcl9.0/encoding/macRoman.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/macRomania.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/macThai.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/macTurkish.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/macUkraine.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/shiftjis.enc +690 -0
- package/python-runtime/python/lib/tcl9.0/encoding/symbol.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/encoding/tis-620.enc +20 -0
- package/python-runtime/python/lib/tcl9.0/foreachline.tcl +25 -0
- package/python-runtime/python/lib/tcl9.0/history.tcl +335 -0
- package/python-runtime/python/lib/tcl9.0/icu.tcl +145 -0
- package/python-runtime/python/lib/tcl9.0/init.tcl +773 -0
- package/python-runtime/python/lib/tcl9.0/install.tcl +275 -0
- package/python-runtime/python/lib/tcl9.0/opt0.4/optparse.tcl +1069 -0
- package/python-runtime/python/lib/tcl9.0/opt0.4/pkgIndex.tcl +12 -0
- package/python-runtime/python/lib/tcl9.0/package.tcl +767 -0
- package/python-runtime/python/lib/tcl9.0/parray.tcl +28 -0
- package/python-runtime/python/lib/tcl9.0/readfile.tcl +23 -0
- package/python-runtime/python/lib/tcl9.0/safe.tcl +1461 -0
- package/python-runtime/python/lib/tcl9.0/tclAppInit.c +183 -0
- package/python-runtime/python/lib/tcl9.0/tclIndex +112 -0
- package/python-runtime/python/lib/tcl9.0/tm.tcl +378 -0
- package/python-runtime/python/lib/tcl9.0/word.tcl +155 -0
- package/python-runtime/python/lib/tcl9.0/writefile.tcl +37 -0
- package/python-runtime/python/lib/thread3.0.4/libtcl9thread3.0.4.dylib +0 -0
- package/python-runtime/python/lib/thread3.0.4/libthread3.0.4.dylib +0 -0
- package/python-runtime/python/lib/thread3.0.4/pkgIndex.tcl +52 -0
- package/python-runtime/python/lib/thread3.0.4/ttrace.tcl +943 -0
- package/python-runtime/python/lib/tk9.0/bgerror.tcl +282 -0
- package/python-runtime/python/lib/tk9.0/button.tcl +782 -0
- package/python-runtime/python/lib/tk9.0/choosedir.tcl +310 -0
- package/python-runtime/python/lib/tk9.0/clrpick.tcl +696 -0
- package/python-runtime/python/lib/tk9.0/comdlg.tcl +322 -0
- package/python-runtime/python/lib/tk9.0/console.tcl +1148 -0
- package/python-runtime/python/lib/tk9.0/dialog.tcl +175 -0
- package/python-runtime/python/lib/tk9.0/entry.tcl +720 -0
- package/python-runtime/python/lib/tk9.0/focus.tcl +178 -0
- package/python-runtime/python/lib/tk9.0/fontchooser.tcl +512 -0
- package/python-runtime/python/lib/tk9.0/iconbadges.tcl +253 -0
- package/python-runtime/python/lib/tk9.0/iconlist.tcl +705 -0
- package/python-runtime/python/lib/tk9.0/icons.tcl +54 -0
- package/python-runtime/python/lib/tk9.0/images/README +7 -0
- package/python-runtime/python/lib/tk9.0/images/logo.eps +2091 -0
- package/python-runtime/python/lib/tk9.0/images/logo100.gif +0 -0
- package/python-runtime/python/lib/tk9.0/images/logo64.gif +0 -0
- package/python-runtime/python/lib/tk9.0/images/logoLarge.gif +0 -0
- package/python-runtime/python/lib/tk9.0/images/logoMed.gif +0 -0
- package/python-runtime/python/lib/tk9.0/images/pwrdLogo.eps +1897 -0
- package/python-runtime/python/lib/tk9.0/images/pwrdLogo100.gif +0 -0
- package/python-runtime/python/lib/tk9.0/images/pwrdLogo150.gif +0 -0
- package/python-runtime/python/lib/tk9.0/images/pwrdLogo175.gif +0 -0
- package/python-runtime/python/lib/tk9.0/images/pwrdLogo200.gif +0 -0
- package/python-runtime/python/lib/tk9.0/images/pwrdLogo75.gif +0 -0
- package/python-runtime/python/lib/tk9.0/images/tai-ku.gif +0 -0
- package/python-runtime/python/lib/tk9.0/listbox.tcl +522 -0
- package/python-runtime/python/lib/tk9.0/megawidget.tcl +297 -0
- package/python-runtime/python/lib/tk9.0/menu.tcl +1376 -0
- package/python-runtime/python/lib/tk9.0/mkpsenc.tcl +1488 -0
- package/python-runtime/python/lib/tk9.0/msgbox.tcl +454 -0
- package/python-runtime/python/lib/tk9.0/optMenu.tcl +43 -0
- package/python-runtime/python/lib/tk9.0/palette.tcl +283 -0
- package/python-runtime/python/lib/tk9.0/panedwindow.tcl +194 -0
- package/python-runtime/python/lib/tk9.0/pkgIndex.tcl +3 -0
- package/python-runtime/python/lib/tk9.0/print.tcl +1460 -0
- package/python-runtime/python/lib/tk9.0/safetk.tcl +262 -0
- package/python-runtime/python/lib/tk9.0/scale.tcl +299 -0
- package/python-runtime/python/lib/tk9.0/scaling.tcl +232 -0
- package/python-runtime/python/lib/tk9.0/scrlbar.tcl +500 -0
- package/python-runtime/python/lib/tk9.0/spinbox.tcl +580 -0
- package/python-runtime/python/lib/tk9.0/systray.tcl +483 -0
- package/python-runtime/python/lib/tk9.0/tclIndex +252 -0
- package/python-runtime/python/lib/tk9.0/tearoff.tcl +155 -0
- package/python-runtime/python/lib/tk9.0/text.tcl +1295 -0
- package/python-runtime/python/lib/tk9.0/tk.tcl +853 -0
- package/python-runtime/python/lib/tk9.0/tkAppInit.c +200 -0
- package/python-runtime/python/lib/tk9.0/tkfbox.tcl +1251 -0
- package/python-runtime/python/lib/tk9.0/ttk/altTheme.tcl +153 -0
- package/python-runtime/python/lib/tk9.0/ttk/aquaTheme.tcl +178 -0
- package/python-runtime/python/lib/tk9.0/ttk/button.tcl +83 -0
- package/python-runtime/python/lib/tk9.0/ttk/clamTheme.tcl +196 -0
- package/python-runtime/python/lib/tk9.0/ttk/classicTheme.tcl +145 -0
- package/python-runtime/python/lib/tk9.0/ttk/combobox.tcl +555 -0
- package/python-runtime/python/lib/tk9.0/ttk/cursors.tcl +205 -0
- package/python-runtime/python/lib/tk9.0/ttk/defaults.tcl +231 -0
- package/python-runtime/python/lib/tk9.0/ttk/entry.tcl +678 -0
- package/python-runtime/python/lib/tk9.0/ttk/fonts.tcl +152 -0
- package/python-runtime/python/lib/tk9.0/ttk/menubutton.tcl +237 -0
- package/python-runtime/python/lib/tk9.0/ttk/notebook.tcl +255 -0
- package/python-runtime/python/lib/tk9.0/ttk/panedwindow.tcl +89 -0
- package/python-runtime/python/lib/tk9.0/ttk/progress.tcl +55 -0
- package/python-runtime/python/lib/tk9.0/ttk/scale.tcl +94 -0
- package/python-runtime/python/lib/tk9.0/ttk/scrollbar.tcl +119 -0
- package/python-runtime/python/lib/tk9.0/ttk/sizegrip.tcl +102 -0
- package/python-runtime/python/lib/tk9.0/ttk/spinbox.tcl +204 -0
- package/python-runtime/python/lib/tk9.0/ttk/treeview.tcl +464 -0
- package/python-runtime/python/lib/tk9.0/ttk/ttk.tcl +223 -0
- package/python-runtime/python/lib/tk9.0/ttk/utils.tcl +317 -0
- package/python-runtime/python/lib/tk9.0/ttk/vistaTheme.tcl +259 -0
- package/python-runtime/python/lib/tk9.0/ttk/winTheme.tcl +119 -0
- package/python-runtime/python/lib/tk9.0/ttk/xpTheme.tcl +95 -0
- package/python-runtime/python/lib/tk9.0/xmfbox.tcl +982 -0
- package/python-runtime/python/share/man/man1/python3.1 +630 -0
- package/python-runtime/python/share/man/man1/python3.12.1 +630 -0
- package/runtime.json +8768 -0
- package/README.md +0 -3
|
@@ -0,0 +1,2825 @@
|
|
|
1
|
+
# @generated by spec/generator — DO NOT EDIT.
|
|
2
|
+
# Source: https://ag-ui.com/spec/1.0/schema.json
|
|
3
|
+
# Regenerate: pnpm --filter @ag-ui/spec generate
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
from enum import Enum
|
|
8
|
+
from typing import Annotated, Any, Dict, FrozenSet, List, Literal, Optional, Union
|
|
9
|
+
|
|
10
|
+
from pydantic import BaseModel, ConfigDict, Field, model_serializer
|
|
11
|
+
from pydantic.alias_generators import to_camel
|
|
12
|
+
from pydantic.functional_serializers import SerializerFunctionWrapHandler
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
_OMITTABLE_KEYS_CACHE_ATTR = "_agui_omittable_keys"
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class GeneratedBaseModel(BaseModel):
|
|
19
|
+
"""
|
|
20
|
+
The generated base model — the public SDK's ergonomics, not a wire
|
|
21
|
+
artifact. Wire names are camelCase behind snake_case attributes, and both
|
|
22
|
+
spellings populate a model, because Python callers construct with the
|
|
23
|
+
attribute names. Unknown fields are kept, not dropped, so a boundary that
|
|
24
|
+
wants to warn about them can still see them and a re-serialising
|
|
25
|
+
intermediary does not lose them. Coercion is pydantic's default: the
|
|
26
|
+
strict contract is the specification's validation corpus, not this class.
|
|
27
|
+
|
|
28
|
+
Serialization omits every optional field that has no value instead of
|
|
29
|
+
writing it out as JSON ``null``. Pydantic's default is to include it, which
|
|
30
|
+
made this SDK the only AG-UI producer that put ``null`` on the wire where
|
|
31
|
+
TypeScript simply left the key out. Omission is applied here, in the base
|
|
32
|
+
model, so it holds on every serialization path (``model_dump``,
|
|
33
|
+
``model_dump_json``, nesting inside another model, and any
|
|
34
|
+
``TypeAdapter``) rather than depending on each call site remembering
|
|
35
|
+
``exclude_none=True``.
|
|
36
|
+
|
|
37
|
+
"Has no value" means a field that is declared optional *and* defaults to
|
|
38
|
+
``None`` — exactly the set the contract lets a producer leave out. Nulls
|
|
39
|
+
that carry meaning are untouched: a required field (CUSTOM.value, say), a
|
|
40
|
+
``None`` inside a ``dict``/``list`` value, and any extra field all
|
|
41
|
+
serialize as ``null``.
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
model_config = ConfigDict(
|
|
45
|
+
extra="allow",
|
|
46
|
+
alias_generator=to_camel,
|
|
47
|
+
populate_by_name=True,
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
@classmethod
|
|
51
|
+
def _omittable_keys(cls) -> FrozenSet[str]:
|
|
52
|
+
"""
|
|
53
|
+
The serialized keys that may be dropped when their value is ``None``.
|
|
54
|
+
|
|
55
|
+
Both the field name and its alias are included, because the caller
|
|
56
|
+
chooses between them with ``by_alias``. Cached per class in the class's
|
|
57
|
+
own ``__dict__`` so a subclass never inherits its parent's answer.
|
|
58
|
+
"""
|
|
59
|
+
cached = cls.__dict__.get(_OMITTABLE_KEYS_CACHE_ATTR)
|
|
60
|
+
if cached is None:
|
|
61
|
+
keys = set()
|
|
62
|
+
for name, field in cls.model_fields.items():
|
|
63
|
+
if not field.is_required() and field.default is None:
|
|
64
|
+
keys.add(name)
|
|
65
|
+
if field.alias is not None:
|
|
66
|
+
keys.add(field.alias)
|
|
67
|
+
if field.serialization_alias is not None:
|
|
68
|
+
keys.add(field.serialization_alias)
|
|
69
|
+
cached = frozenset(keys)
|
|
70
|
+
setattr(cls, _OMITTABLE_KEYS_CACHE_ATTR, cached)
|
|
71
|
+
return cached
|
|
72
|
+
|
|
73
|
+
@model_serializer(mode="wrap")
|
|
74
|
+
def _omit_fields_without_value(self, handler: SerializerFunctionWrapHandler):
|
|
75
|
+
# Deliberately unannotated return: annotating it (``Dict[str, Any]``, say)
|
|
76
|
+
# makes Pydantic replace the model's serialization JSON schema with a bare
|
|
77
|
+
# ``{"type": "object"}``. Left off, the handler's own schema is kept.
|
|
78
|
+
serialized = handler(self)
|
|
79
|
+
omittable = type(self)._omittable_keys()
|
|
80
|
+
return {
|
|
81
|
+
key: value
|
|
82
|
+
for key, value in serialized.items()
|
|
83
|
+
if value is not None or key not in omittable
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class EventType(str, Enum):
|
|
88
|
+
"""The discriminator carried by every event."""
|
|
89
|
+
|
|
90
|
+
TEXT_MESSAGE_START = "TEXT_MESSAGE_START"
|
|
91
|
+
TEXT_MESSAGE_CONTENT = "TEXT_MESSAGE_CONTENT"
|
|
92
|
+
TEXT_MESSAGE_END = "TEXT_MESSAGE_END"
|
|
93
|
+
TEXT_MESSAGE_CHUNK = "TEXT_MESSAGE_CHUNK"
|
|
94
|
+
TOOL_CALL_START = "TOOL_CALL_START"
|
|
95
|
+
TOOL_CALL_ARGS = "TOOL_CALL_ARGS"
|
|
96
|
+
TOOL_CALL_END = "TOOL_CALL_END"
|
|
97
|
+
TOOL_CALL_CHUNK = "TOOL_CALL_CHUNK"
|
|
98
|
+
TOOL_CALL_RESULT = "TOOL_CALL_RESULT"
|
|
99
|
+
STATE_SNAPSHOT = "STATE_SNAPSHOT"
|
|
100
|
+
STATE_DELTA = "STATE_DELTA"
|
|
101
|
+
MESSAGES_SNAPSHOT = "MESSAGES_SNAPSHOT"
|
|
102
|
+
ACTIVITY_SNAPSHOT = "ACTIVITY_SNAPSHOT"
|
|
103
|
+
ACTIVITY_DELTA = "ACTIVITY_DELTA"
|
|
104
|
+
RAW = "RAW"
|
|
105
|
+
CUSTOM = "CUSTOM"
|
|
106
|
+
RUN_STARTED = "RUN_STARTED"
|
|
107
|
+
RUN_FINISHED = "RUN_FINISHED"
|
|
108
|
+
RUN_ERROR = "RUN_ERROR"
|
|
109
|
+
STEP_STARTED = "STEP_STARTED"
|
|
110
|
+
STEP_FINISHED = "STEP_FINISHED"
|
|
111
|
+
REASONING_START = "REASONING_START"
|
|
112
|
+
REASONING_MESSAGE_START = "REASONING_MESSAGE_START"
|
|
113
|
+
REASONING_MESSAGE_CONTENT = "REASONING_MESSAGE_CONTENT"
|
|
114
|
+
REASONING_MESSAGE_END = "REASONING_MESSAGE_END"
|
|
115
|
+
REASONING_MESSAGE_CHUNK = "REASONING_MESSAGE_CHUNK"
|
|
116
|
+
REASONING_END = "REASONING_END"
|
|
117
|
+
REASONING_ENCRYPTED_VALUE = "REASONING_ENCRYPTED_VALUE"
|
|
118
|
+
SUBAGENT_STARTED = "SUBAGENT_STARTED"
|
|
119
|
+
SUBAGENT_FINISHED = "SUBAGENT_FINISHED"
|
|
120
|
+
SUBAGENT_ERROR = "SUBAGENT_ERROR"
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
Metadata = Dict[str, Any]
|
|
124
|
+
"""
|
|
125
|
+
Extra information attached to an event, a message, a tool call, a tool, an
|
|
126
|
+
interrupt or a resume entry. Open by key: any JSON value is allowed under a
|
|
127
|
+
key, including null, because a null there is meaningful data. The object
|
|
128
|
+
itself may be absent but is never null when present. The key ag-ui is
|
|
129
|
+
reserved for the protocol's own use; reservation is by convention, since
|
|
130
|
+
validating the shape of a key's value would contradict being open by key.
|
|
131
|
+
"""
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
SubagentRunId = str
|
|
135
|
+
"""
|
|
136
|
+
An opaque handle for one subagent invocation, not a reusable name for a
|
|
137
|
+
subagent definition: two invocations of the same subagent carry two
|
|
138
|
+
different values. Named to mirror runId one level down, the way the
|
|
139
|
+
subagent's name mirrors agentId.
|
|
140
|
+
"""
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
TextMessageRole = Literal["developer", "system", "assistant", "user"]
|
|
144
|
+
"""
|
|
145
|
+
The roles a streamed text message may take. Excludes tool, which is carried
|
|
146
|
+
by TOOL_CALL_RESULT rather than streamed as text.
|
|
147
|
+
"""
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
class Attributable(GeneratedBaseModel):
|
|
151
|
+
"""
|
|
152
|
+
Composed into everything that can belong to a subagent's work: the
|
|
153
|
+
events that describe content or progress, the message types, and each
|
|
154
|
+
interrupt. Run-scoped events omit it — RUN_STARTED, RUN_FINISHED and
|
|
155
|
+
RUN_ERROR describe the run itself and MESSAGES_SNAPSHOT is
|
|
156
|
+
conversation-wide, so none of them can belong to one subagent. A tool
|
|
157
|
+
call omits it too and inherits its containing message's attribution.
|
|
158
|
+
"""
|
|
159
|
+
|
|
160
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
161
|
+
"""
|
|
162
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
163
|
+
produced it directly.
|
|
164
|
+
"""
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
class BaseEvent(GeneratedBaseModel):
|
|
168
|
+
"""
|
|
169
|
+
The fields every event carries, whatever its type. Composed into each
|
|
170
|
+
event definition rather than repeated, so a change here reaches every
|
|
171
|
+
event at once.
|
|
172
|
+
"""
|
|
173
|
+
|
|
174
|
+
type: EventType
|
|
175
|
+
"""
|
|
176
|
+
Which event this is. Each event definition narrows this to a single
|
|
177
|
+
value.
|
|
178
|
+
"""
|
|
179
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
180
|
+
"""
|
|
181
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
182
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
183
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
184
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
185
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
186
|
+
another unit will be misread by consumers even though it validates.
|
|
187
|
+
Nothing in the protocol computes with this value.
|
|
188
|
+
"""
|
|
189
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
190
|
+
"""
|
|
191
|
+
The provider-native event this one was translated from, carried verbatim
|
|
192
|
+
for debugging and for consumers that need detail the protocol does not
|
|
193
|
+
model. Any JSON value.
|
|
194
|
+
"""
|
|
195
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
196
|
+
"""Extra information attached to this event."""
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
class BaseMessage(GeneratedBaseModel):
|
|
200
|
+
"""
|
|
201
|
+
The fields shared by the developer, system, assistant and user messages.
|
|
202
|
+
Deliberately excludes content, because a user message's content may be
|
|
203
|
+
an array while the others are strings, and composition here intersects
|
|
204
|
+
rather than overrides: a base that constrained content to a string would
|
|
205
|
+
make an array content invalid. The tool, activity and reasoning messages
|
|
206
|
+
do not compose this, because they carry no name.
|
|
207
|
+
"""
|
|
208
|
+
|
|
209
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
210
|
+
"""
|
|
211
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
212
|
+
produced it directly.
|
|
213
|
+
"""
|
|
214
|
+
id: str
|
|
215
|
+
"""Identifies the message within the conversation."""
|
|
216
|
+
role: str
|
|
217
|
+
"""
|
|
218
|
+
Who the message is from. Each message definition narrows this to a
|
|
219
|
+
single value.
|
|
220
|
+
"""
|
|
221
|
+
name: Optional[str] = Field(default=None)
|
|
222
|
+
"""An optional display name for the author."""
|
|
223
|
+
encrypted_value: Optional[str] = Field(default=None)
|
|
224
|
+
"""
|
|
225
|
+
A provider's opaque artefact belonging to this message, stored by a
|
|
226
|
+
consumer and returned on a later turn.
|
|
227
|
+
"""
|
|
228
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
229
|
+
"""Extra information attached to this message."""
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
class TextMessageStartEvent(BaseEvent):
|
|
233
|
+
"""
|
|
234
|
+
Opens a streamed text message. The content arrives as
|
|
235
|
+
TEXT_MESSAGE_CONTENT events and the message closes with
|
|
236
|
+
TEXT_MESSAGE_END.
|
|
237
|
+
"""
|
|
238
|
+
|
|
239
|
+
type: Literal[EventType.TEXT_MESSAGE_START] = EventType.TEXT_MESSAGE_START
|
|
240
|
+
"""
|
|
241
|
+
Which event this is. Each event definition narrows this to a single
|
|
242
|
+
value.
|
|
243
|
+
"""
|
|
244
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
245
|
+
"""
|
|
246
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
247
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
248
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
249
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
250
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
251
|
+
another unit will be misread by consumers even though it validates.
|
|
252
|
+
Nothing in the protocol computes with this value.
|
|
253
|
+
"""
|
|
254
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
255
|
+
"""
|
|
256
|
+
The provider-native event this one was translated from, carried verbatim
|
|
257
|
+
for debugging and for consumers that need detail the protocol does not
|
|
258
|
+
model. Any JSON value.
|
|
259
|
+
"""
|
|
260
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
261
|
+
"""Extra information attached to this event."""
|
|
262
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
263
|
+
"""
|
|
264
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
265
|
+
produced it directly.
|
|
266
|
+
"""
|
|
267
|
+
message_id: str
|
|
268
|
+
"""
|
|
269
|
+
Identifies the message this stream builds, and ties the later content
|
|
270
|
+
and end events to it.
|
|
271
|
+
"""
|
|
272
|
+
role: Optional[TextMessageRole] = Field(default=None)
|
|
273
|
+
"""
|
|
274
|
+
Who the message is from. An absent role means assistant; that meaning is
|
|
275
|
+
normative and stated in the prose, because a validator treats a default
|
|
276
|
+
as documentation rather than as behaviour.
|
|
277
|
+
"""
|
|
278
|
+
name: Optional[str] = Field(default=None)
|
|
279
|
+
"""
|
|
280
|
+
An optional display name for the author, for providers that distinguish
|
|
281
|
+
several participants in one role.
|
|
282
|
+
"""
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
class TextMessageContentEvent(BaseEvent):
|
|
286
|
+
"""Appends a fragment to a streamed text message."""
|
|
287
|
+
|
|
288
|
+
type: Literal[EventType.TEXT_MESSAGE_CONTENT] = EventType.TEXT_MESSAGE_CONTENT
|
|
289
|
+
"""
|
|
290
|
+
Which event this is. Each event definition narrows this to a single
|
|
291
|
+
value.
|
|
292
|
+
"""
|
|
293
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
294
|
+
"""
|
|
295
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
296
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
297
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
298
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
299
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
300
|
+
another unit will be misread by consumers even though it validates.
|
|
301
|
+
Nothing in the protocol computes with this value.
|
|
302
|
+
"""
|
|
303
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
304
|
+
"""
|
|
305
|
+
The provider-native event this one was translated from, carried verbatim
|
|
306
|
+
for debugging and for consumers that need detail the protocol does not
|
|
307
|
+
model. Any JSON value.
|
|
308
|
+
"""
|
|
309
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
310
|
+
"""Extra information attached to this event."""
|
|
311
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
312
|
+
"""
|
|
313
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
314
|
+
produced it directly.
|
|
315
|
+
"""
|
|
316
|
+
message_id: str
|
|
317
|
+
"""The message this fragment belongs to."""
|
|
318
|
+
delta: str
|
|
319
|
+
"""
|
|
320
|
+
The fragment to append. May be the empty string: providers emit empty
|
|
321
|
+
deltas as keep-alives and while a tool call is being decided, and
|
|
322
|
+
rejecting them would kill runs that are working correctly.
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
class TextMessageEndEvent(BaseEvent):
|
|
327
|
+
"""Closes a streamed text message."""
|
|
328
|
+
|
|
329
|
+
type: Literal[EventType.TEXT_MESSAGE_END] = EventType.TEXT_MESSAGE_END
|
|
330
|
+
"""
|
|
331
|
+
Which event this is. Each event definition narrows this to a single
|
|
332
|
+
value.
|
|
333
|
+
"""
|
|
334
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
335
|
+
"""
|
|
336
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
337
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
338
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
339
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
340
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
341
|
+
another unit will be misread by consumers even though it validates.
|
|
342
|
+
Nothing in the protocol computes with this value.
|
|
343
|
+
"""
|
|
344
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
345
|
+
"""
|
|
346
|
+
The provider-native event this one was translated from, carried verbatim
|
|
347
|
+
for debugging and for consumers that need detail the protocol does not
|
|
348
|
+
model. Any JSON value.
|
|
349
|
+
"""
|
|
350
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
351
|
+
"""Extra information attached to this event."""
|
|
352
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
353
|
+
"""
|
|
354
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
355
|
+
produced it directly.
|
|
356
|
+
"""
|
|
357
|
+
message_id: str
|
|
358
|
+
"""The message being closed."""
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
class TextMessageChunkEvent(BaseEvent):
|
|
362
|
+
"""
|
|
363
|
+
A shorthand that stands in for a start, content and end sequence, for
|
|
364
|
+
producers that cannot know in advance where a message begins. Every
|
|
365
|
+
field is optional because a continuation chunk omits what has not
|
|
366
|
+
changed; which message a field-less chunk continues is a sequence
|
|
367
|
+
question the prose specification answers.
|
|
368
|
+
"""
|
|
369
|
+
|
|
370
|
+
type: Literal[EventType.TEXT_MESSAGE_CHUNK] = EventType.TEXT_MESSAGE_CHUNK
|
|
371
|
+
"""
|
|
372
|
+
Which event this is. Each event definition narrows this to a single
|
|
373
|
+
value.
|
|
374
|
+
"""
|
|
375
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
376
|
+
"""
|
|
377
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
378
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
379
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
380
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
381
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
382
|
+
another unit will be misread by consumers even though it validates.
|
|
383
|
+
Nothing in the protocol computes with this value.
|
|
384
|
+
"""
|
|
385
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
386
|
+
"""
|
|
387
|
+
The provider-native event this one was translated from, carried verbatim
|
|
388
|
+
for debugging and for consumers that need detail the protocol does not
|
|
389
|
+
model. Any JSON value.
|
|
390
|
+
"""
|
|
391
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
392
|
+
"""Extra information attached to this event."""
|
|
393
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
394
|
+
"""
|
|
395
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
396
|
+
produced it directly.
|
|
397
|
+
"""
|
|
398
|
+
message_id: Optional[str] = Field(default=None)
|
|
399
|
+
"""
|
|
400
|
+
The message this chunk belongs to. Absent continues the message already
|
|
401
|
+
open.
|
|
402
|
+
"""
|
|
403
|
+
role: Optional[TextMessageRole] = Field(default=None)
|
|
404
|
+
"""Who the message is from, on the chunk that opens it."""
|
|
405
|
+
delta: Optional[str] = Field(default=None)
|
|
406
|
+
"""The fragment to append. May be the empty string."""
|
|
407
|
+
name: Optional[str] = Field(default=None)
|
|
408
|
+
"""An optional display name for the author."""
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
class ToolCallStartEvent(BaseEvent):
|
|
412
|
+
"""
|
|
413
|
+
Opens a tool call. The arguments arrive as TOOL_CALL_ARGS events and the
|
|
414
|
+
call closes with TOOL_CALL_END.
|
|
415
|
+
"""
|
|
416
|
+
|
|
417
|
+
type: Literal[EventType.TOOL_CALL_START] = EventType.TOOL_CALL_START
|
|
418
|
+
"""
|
|
419
|
+
Which event this is. Each event definition narrows this to a single
|
|
420
|
+
value.
|
|
421
|
+
"""
|
|
422
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
423
|
+
"""
|
|
424
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
425
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
426
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
427
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
428
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
429
|
+
another unit will be misread by consumers even though it validates.
|
|
430
|
+
Nothing in the protocol computes with this value.
|
|
431
|
+
"""
|
|
432
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
433
|
+
"""
|
|
434
|
+
The provider-native event this one was translated from, carried verbatim
|
|
435
|
+
for debugging and for consumers that need detail the protocol does not
|
|
436
|
+
model. Any JSON value.
|
|
437
|
+
"""
|
|
438
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
439
|
+
"""Extra information attached to this event."""
|
|
440
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
441
|
+
"""
|
|
442
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
443
|
+
produced it directly.
|
|
444
|
+
"""
|
|
445
|
+
tool_call_id: str
|
|
446
|
+
"""
|
|
447
|
+
Identifies the call, and ties the later args, end and result events to
|
|
448
|
+
it.
|
|
449
|
+
"""
|
|
450
|
+
tool_call_name: str
|
|
451
|
+
"""Which tool is being called."""
|
|
452
|
+
parent_message_id: Optional[str] = Field(default=None)
|
|
453
|
+
"""
|
|
454
|
+
The assistant message that holds this call. Absent means the producer
|
|
455
|
+
did not attribute it to one.
|
|
456
|
+
"""
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
class ToolCallArgsEvent(BaseEvent):
|
|
460
|
+
"""Appends a fragment of a tool call's arguments."""
|
|
461
|
+
|
|
462
|
+
type: Literal[EventType.TOOL_CALL_ARGS] = EventType.TOOL_CALL_ARGS
|
|
463
|
+
"""
|
|
464
|
+
Which event this is. Each event definition narrows this to a single
|
|
465
|
+
value.
|
|
466
|
+
"""
|
|
467
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
468
|
+
"""
|
|
469
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
470
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
471
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
472
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
473
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
474
|
+
another unit will be misread by consumers even though it validates.
|
|
475
|
+
Nothing in the protocol computes with this value.
|
|
476
|
+
"""
|
|
477
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
478
|
+
"""
|
|
479
|
+
The provider-native event this one was translated from, carried verbatim
|
|
480
|
+
for debugging and for consumers that need detail the protocol does not
|
|
481
|
+
model. Any JSON value.
|
|
482
|
+
"""
|
|
483
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
484
|
+
"""Extra information attached to this event."""
|
|
485
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
486
|
+
"""
|
|
487
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
488
|
+
produced it directly.
|
|
489
|
+
"""
|
|
490
|
+
tool_call_id: str
|
|
491
|
+
"""The call these arguments belong to."""
|
|
492
|
+
delta: str
|
|
493
|
+
"""
|
|
494
|
+
A fragment of the arguments, which concatenate into the call's argument
|
|
495
|
+
text — conventionally a JSON document, though the protocol does not
|
|
496
|
+
validate it (see FunctionCall.arguments). Deliberately a string rather
|
|
497
|
+
than parsed JSON: a fragment is not itself a document. May be the empty
|
|
498
|
+
string.
|
|
499
|
+
"""
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
class ToolCallEndEvent(BaseEvent):
|
|
503
|
+
"""Closes a tool call, meaning its arguments are complete."""
|
|
504
|
+
|
|
505
|
+
type: Literal[EventType.TOOL_CALL_END] = EventType.TOOL_CALL_END
|
|
506
|
+
"""
|
|
507
|
+
Which event this is. Each event definition narrows this to a single
|
|
508
|
+
value.
|
|
509
|
+
"""
|
|
510
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
511
|
+
"""
|
|
512
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
513
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
514
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
515
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
516
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
517
|
+
another unit will be misread by consumers even though it validates.
|
|
518
|
+
Nothing in the protocol computes with this value.
|
|
519
|
+
"""
|
|
520
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
521
|
+
"""
|
|
522
|
+
The provider-native event this one was translated from, carried verbatim
|
|
523
|
+
for debugging and for consumers that need detail the protocol does not
|
|
524
|
+
model. Any JSON value.
|
|
525
|
+
"""
|
|
526
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
527
|
+
"""Extra information attached to this event."""
|
|
528
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
529
|
+
"""
|
|
530
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
531
|
+
produced it directly.
|
|
532
|
+
"""
|
|
533
|
+
tool_call_id: str
|
|
534
|
+
"""The call being closed."""
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
class ToolCallChunkEvent(BaseEvent):
|
|
538
|
+
"""
|
|
539
|
+
A shorthand that stands in for a tool call's start, args and end
|
|
540
|
+
sequence. Every field is optional for the same reason as
|
|
541
|
+
TEXT_MESSAGE_CHUNK.
|
|
542
|
+
"""
|
|
543
|
+
|
|
544
|
+
type: Literal[EventType.TOOL_CALL_CHUNK] = EventType.TOOL_CALL_CHUNK
|
|
545
|
+
"""
|
|
546
|
+
Which event this is. Each event definition narrows this to a single
|
|
547
|
+
value.
|
|
548
|
+
"""
|
|
549
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
550
|
+
"""
|
|
551
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
552
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
553
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
554
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
555
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
556
|
+
another unit will be misread by consumers even though it validates.
|
|
557
|
+
Nothing in the protocol computes with this value.
|
|
558
|
+
"""
|
|
559
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
560
|
+
"""
|
|
561
|
+
The provider-native event this one was translated from, carried verbatim
|
|
562
|
+
for debugging and for consumers that need detail the protocol does not
|
|
563
|
+
model. Any JSON value.
|
|
564
|
+
"""
|
|
565
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
566
|
+
"""Extra information attached to this event."""
|
|
567
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
568
|
+
"""
|
|
569
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
570
|
+
produced it directly.
|
|
571
|
+
"""
|
|
572
|
+
tool_call_id: Optional[str] = Field(default=None)
|
|
573
|
+
"""The call this chunk belongs to. Absent continues the call already open."""
|
|
574
|
+
tool_call_name: Optional[str] = Field(default=None)
|
|
575
|
+
"""Which tool is being called, on the chunk that opens it."""
|
|
576
|
+
parent_message_id: Optional[str] = Field(default=None)
|
|
577
|
+
"""The assistant message that holds this call."""
|
|
578
|
+
delta: Optional[str] = Field(default=None)
|
|
579
|
+
"""A fragment of the arguments. May be the empty string."""
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
class TextPart(GeneratedBaseModel):
|
|
583
|
+
"""A text part."""
|
|
584
|
+
|
|
585
|
+
type: Literal["text"] = "text"
|
|
586
|
+
"""Discriminator."""
|
|
587
|
+
id: Optional[str] = Field(default=None)
|
|
588
|
+
"""
|
|
589
|
+
Identifies this part within its message. Optional, and nothing reads it
|
|
590
|
+
yet: reserved so that a streamed part can be matched to its entry in
|
|
591
|
+
history once assistant messages carry parts too.
|
|
592
|
+
"""
|
|
593
|
+
text: str
|
|
594
|
+
"""The text."""
|
|
595
|
+
metadata: Optional[Any] = Field(default=None)
|
|
596
|
+
"""
|
|
597
|
+
Extra information about this part. Unconstrained, as on the media parts.
|
|
598
|
+
This is where a text search hit carries its source and title, rather
|
|
599
|
+
than the protocol modelling a search-result part of its own.
|
|
600
|
+
"""
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
class DataSource(GeneratedBaseModel):
|
|
604
|
+
"""Bytes carried inline."""
|
|
605
|
+
|
|
606
|
+
type: Literal["data"] = "data"
|
|
607
|
+
"""Discriminator."""
|
|
608
|
+
value: str
|
|
609
|
+
"""
|
|
610
|
+
The bytes, base64-encoded. contentEncoding is an annotation rather than
|
|
611
|
+
a constraint in 2020-12, so a malformed string still validates here;
|
|
612
|
+
rejecting one is the decoder's job.
|
|
613
|
+
"""
|
|
614
|
+
mime_type: str
|
|
615
|
+
"""
|
|
616
|
+
What the bytes are. Required here, unlike on a URL source, because
|
|
617
|
+
nothing else can tell a consumer how to read them.
|
|
618
|
+
"""
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
class UrlSource(GeneratedBaseModel):
|
|
622
|
+
"""Bytes referenced by URL, fetched by whoever needs them."""
|
|
623
|
+
|
|
624
|
+
type: Literal["url"] = "url"
|
|
625
|
+
"""Discriminator."""
|
|
626
|
+
value: str
|
|
627
|
+
"""
|
|
628
|
+
The URL. Deliberately not constrained to a URI format, so a scheme a
|
|
629
|
+
producer already uses is not rejected here.
|
|
630
|
+
"""
|
|
631
|
+
mime_type: Optional[str] = Field(default=None)
|
|
632
|
+
"""
|
|
633
|
+
What the resource is, when the producer knows. Optional, because the
|
|
634
|
+
response can say.
|
|
635
|
+
"""
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
class FileSource(GeneratedBaseModel):
|
|
639
|
+
"""
|
|
640
|
+
Bytes already at the provider, named by a handle the provider issued: an
|
|
641
|
+
OpenAI or Anthropic file id, a Gemini file URI, a storage URL only that
|
|
642
|
+
provider can read. No bytes travel and nothing is fetched. Only the
|
|
643
|
+
provider that minted the handle can resolve it; a peer that cannot drops
|
|
644
|
+
the part as it drops any part it cannot use.
|
|
645
|
+
"""
|
|
646
|
+
|
|
647
|
+
type: Literal["file"] = "file"
|
|
648
|
+
"""Discriminator."""
|
|
649
|
+
value: str
|
|
650
|
+
"""
|
|
651
|
+
The handle, exactly as the provider issued it. Opaque: a consumer MUST
|
|
652
|
+
NOT fetch it, parse it or read a scheme out of it.
|
|
653
|
+
"""
|
|
654
|
+
provider: Optional[str] = Field(default=None)
|
|
655
|
+
"""
|
|
656
|
+
Who issued the handle, when the producer knows. Optional: an agent
|
|
657
|
+
already knows which provider it talks to. When present, SHOULD be the
|
|
658
|
+
lowercase vendor id (openai, anthropic, google) that TokenUsage.provider
|
|
659
|
+
uses, so a peer can tell before sending whether a handle is one it can
|
|
660
|
+
use.
|
|
661
|
+
"""
|
|
662
|
+
mime_type: Optional[str] = Field(default=None)
|
|
663
|
+
"""
|
|
664
|
+
What the file is, when the producer knows. Optional, because the
|
|
665
|
+
provider that holds the bytes knows.
|
|
666
|
+
"""
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
PartSource = Annotated[
|
|
670
|
+
Union[DataSource, UrlSource, FileSource],
|
|
671
|
+
Field(discriminator="type"),
|
|
672
|
+
]
|
|
673
|
+
"""
|
|
674
|
+
Where a media part's bytes come from: carried inline, referenced by URL, or
|
|
675
|
+
already at the provider under a handle it issued.
|
|
676
|
+
"""
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
class ImagePart(GeneratedBaseModel):
|
|
680
|
+
"""An image part."""
|
|
681
|
+
|
|
682
|
+
type: Literal["image"] = "image"
|
|
683
|
+
"""Discriminator."""
|
|
684
|
+
id: Optional[str] = Field(default=None)
|
|
685
|
+
"""
|
|
686
|
+
Identifies this part within its message. Optional, and nothing reads it
|
|
687
|
+
yet: reserved as on the text part.
|
|
688
|
+
"""
|
|
689
|
+
source: PartSource
|
|
690
|
+
"""Where the image comes from."""
|
|
691
|
+
metadata: Optional[Any] = Field(default=None)
|
|
692
|
+
"""
|
|
693
|
+
Extra information about this part. Unconstrained rather than an object:
|
|
694
|
+
inherited from the SDKs, which declare it unknown rather than a record;
|
|
695
|
+
listed under known divergences in the README rather than resolved here.
|
|
696
|
+
"""
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
class AudioPart(GeneratedBaseModel):
|
|
700
|
+
"""An audio part."""
|
|
701
|
+
|
|
702
|
+
type: Literal["audio"] = "audio"
|
|
703
|
+
"""Discriminator."""
|
|
704
|
+
id: Optional[str] = Field(default=None)
|
|
705
|
+
"""
|
|
706
|
+
Identifies this part within its message. Optional, and nothing reads it
|
|
707
|
+
yet: reserved as on the text part.
|
|
708
|
+
"""
|
|
709
|
+
source: PartSource
|
|
710
|
+
"""Where the audio comes from."""
|
|
711
|
+
metadata: Optional[Any] = Field(default=None)
|
|
712
|
+
"""
|
|
713
|
+
Extra information about this part. Unconstrained, as on the other media
|
|
714
|
+
parts.
|
|
715
|
+
"""
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
class VideoPart(GeneratedBaseModel):
|
|
719
|
+
"""A video part."""
|
|
720
|
+
|
|
721
|
+
type: Literal["video"] = "video"
|
|
722
|
+
"""Discriminator."""
|
|
723
|
+
id: Optional[str] = Field(default=None)
|
|
724
|
+
"""
|
|
725
|
+
Identifies this part within its message. Optional, and nothing reads it
|
|
726
|
+
yet: reserved as on the text part.
|
|
727
|
+
"""
|
|
728
|
+
source: PartSource
|
|
729
|
+
"""Where the video comes from."""
|
|
730
|
+
metadata: Optional[Any] = Field(default=None)
|
|
731
|
+
"""
|
|
732
|
+
Extra information about this part. Unconstrained, as on the other media
|
|
733
|
+
parts.
|
|
734
|
+
"""
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
class DocumentPart(GeneratedBaseModel):
|
|
738
|
+
"""A document part."""
|
|
739
|
+
|
|
740
|
+
type: Literal["document"] = "document"
|
|
741
|
+
"""Discriminator."""
|
|
742
|
+
id: Optional[str] = Field(default=None)
|
|
743
|
+
"""
|
|
744
|
+
Identifies this part within its message. Optional, and nothing reads it
|
|
745
|
+
yet: reserved as on the text part.
|
|
746
|
+
"""
|
|
747
|
+
source: PartSource
|
|
748
|
+
"""Where the document comes from."""
|
|
749
|
+
metadata: Optional[Any] = Field(default=None)
|
|
750
|
+
"""
|
|
751
|
+
Extra information about this part. Unconstrained, as on the other media
|
|
752
|
+
parts.
|
|
753
|
+
"""
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
ContentPart = Annotated[
|
|
757
|
+
Union[TextPart, ImagePart, AudioPart, VideoPart, DocumentPart],
|
|
758
|
+
Field(discriminator="type"),
|
|
759
|
+
]
|
|
760
|
+
"""
|
|
761
|
+
One part of a message body: what a person sends in a user message, or what a
|
|
762
|
+
tool returns in a tool message. Discriminated by type. Named by what the
|
|
763
|
+
part is rather than by direction, because the same part travels into the
|
|
764
|
+
model inside a user message and back out of the stream inside a tool result.
|
|
765
|
+
"""
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
class ToolCallResultEvent(BaseEvent):
|
|
769
|
+
"""
|
|
770
|
+
Carries what a tool returned. Mints a tool message rather than appending
|
|
771
|
+
to an existing one, which is why it has its own messageId.
|
|
772
|
+
"""
|
|
773
|
+
|
|
774
|
+
type: Literal[EventType.TOOL_CALL_RESULT] = EventType.TOOL_CALL_RESULT
|
|
775
|
+
"""
|
|
776
|
+
Which event this is. Each event definition narrows this to a single
|
|
777
|
+
value.
|
|
778
|
+
"""
|
|
779
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
780
|
+
"""
|
|
781
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
782
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
783
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
784
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
785
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
786
|
+
another unit will be misread by consumers even though it validates.
|
|
787
|
+
Nothing in the protocol computes with this value.
|
|
788
|
+
"""
|
|
789
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
790
|
+
"""
|
|
791
|
+
The provider-native event this one was translated from, carried verbatim
|
|
792
|
+
for debugging and for consumers that need detail the protocol does not
|
|
793
|
+
model. Any JSON value.
|
|
794
|
+
"""
|
|
795
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
796
|
+
"""Extra information attached to this event."""
|
|
797
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
798
|
+
"""
|
|
799
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
800
|
+
produced it directly.
|
|
801
|
+
"""
|
|
802
|
+
message_id: str
|
|
803
|
+
"""The tool message this result becomes."""
|
|
804
|
+
tool_call_id: str
|
|
805
|
+
"""The call being answered."""
|
|
806
|
+
content: Union[str, List[ContentPart]]
|
|
807
|
+
"""
|
|
808
|
+
What the tool returned: either plain text, or an ordered list of parts,
|
|
809
|
+
exactly as on the tool message this event mints. A tool returning
|
|
810
|
+
structured data serialises it into text; media travel as parts of their
|
|
811
|
+
own.
|
|
812
|
+
"""
|
|
813
|
+
role: Optional[Literal["tool"]] = Field(default=None)
|
|
814
|
+
"""
|
|
815
|
+
Present only for symmetry with the message it mints; the value is fixed,
|
|
816
|
+
so a producer may leave it out.
|
|
817
|
+
"""
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
State = Any
|
|
821
|
+
"""
|
|
822
|
+
Agent state. Any JSON value: the protocol carries state without interpreting
|
|
823
|
+
it, so an object, an array, a string and a number are all valid.
|
|
824
|
+
"""
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
class StateSnapshotEvent(BaseEvent):
|
|
828
|
+
"""
|
|
829
|
+
Replaces the agent state wholesale. Sent when a delta cannot express the
|
|
830
|
+
change, or to resynchronise a consumer.
|
|
831
|
+
"""
|
|
832
|
+
|
|
833
|
+
type: Literal[EventType.STATE_SNAPSHOT] = EventType.STATE_SNAPSHOT
|
|
834
|
+
"""
|
|
835
|
+
Which event this is. Each event definition narrows this to a single
|
|
836
|
+
value.
|
|
837
|
+
"""
|
|
838
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
839
|
+
"""
|
|
840
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
841
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
842
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
843
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
844
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
845
|
+
another unit will be misread by consumers even though it validates.
|
|
846
|
+
Nothing in the protocol computes with this value.
|
|
847
|
+
"""
|
|
848
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
849
|
+
"""
|
|
850
|
+
The provider-native event this one was translated from, carried verbatim
|
|
851
|
+
for debugging and for consumers that need detail the protocol does not
|
|
852
|
+
model. Any JSON value.
|
|
853
|
+
"""
|
|
854
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
855
|
+
"""Extra information attached to this event."""
|
|
856
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
857
|
+
"""
|
|
858
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
859
|
+
produced it directly.
|
|
860
|
+
"""
|
|
861
|
+
snapshot: State
|
|
862
|
+
"""The complete new state."""
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
JsonPointer = Annotated[str, Field(pattern=r"^(/([^/~]|~[01])*)*$")]
|
|
866
|
+
"""
|
|
867
|
+
A JSON Pointer as defined by RFC 6901. Either the empty string, meaning the
|
|
868
|
+
whole document, or a sequence of slash-prefixed reference tokens in which a
|
|
869
|
+
tilde is escaped as ~0 and a slash as ~1. A value with no leading slash, or
|
|
870
|
+
a tilde followed by anything other than 0 or 1, is not a JSON Pointer.
|
|
871
|
+
"""
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
class AddOperation(GeneratedBaseModel):
|
|
875
|
+
"""Inserts value at path. RFC 6902 section 4.1."""
|
|
876
|
+
|
|
877
|
+
op: Literal["add"] = "add"
|
|
878
|
+
"""Discriminator for the add operation."""
|
|
879
|
+
path: JsonPointer
|
|
880
|
+
"""Where to insert the value."""
|
|
881
|
+
value: Any
|
|
882
|
+
"""
|
|
883
|
+
The value to insert. Any JSON value, including null, which is a
|
|
884
|
+
legitimate thing to add.
|
|
885
|
+
"""
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
class RemoveOperation(GeneratedBaseModel):
|
|
889
|
+
"""Removes the value at path. RFC 6902 section 4.2."""
|
|
890
|
+
|
|
891
|
+
op: Literal["remove"] = "remove"
|
|
892
|
+
"""Discriminator for the remove operation."""
|
|
893
|
+
path: JsonPointer
|
|
894
|
+
"""What to remove."""
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
class ReplaceOperation(GeneratedBaseModel):
|
|
898
|
+
"""Replaces the value at path. RFC 6902 section 4.3."""
|
|
899
|
+
|
|
900
|
+
op: Literal["replace"] = "replace"
|
|
901
|
+
"""Discriminator for the replace operation."""
|
|
902
|
+
path: JsonPointer
|
|
903
|
+
"""What to replace."""
|
|
904
|
+
value: Any
|
|
905
|
+
"""The replacement. Any JSON value, including null."""
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
class MoveOperation(GeneratedBaseModel):
|
|
909
|
+
"""Moves the value at from to path. RFC 6902 section 4.4."""
|
|
910
|
+
|
|
911
|
+
model_config = ConfigDict(serialize_by_alias=True)
|
|
912
|
+
|
|
913
|
+
op: Literal["move"] = "move"
|
|
914
|
+
"""Discriminator for the move operation."""
|
|
915
|
+
from_: JsonPointer = Field(alias="from")
|
|
916
|
+
"""Where the value is moved from."""
|
|
917
|
+
path: JsonPointer
|
|
918
|
+
"""Where the value is moved to."""
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
class CopyOperation(GeneratedBaseModel):
|
|
922
|
+
"""Copies the value at from to path. RFC 6902 section 4.5."""
|
|
923
|
+
|
|
924
|
+
model_config = ConfigDict(serialize_by_alias=True)
|
|
925
|
+
|
|
926
|
+
op: Literal["copy"] = "copy"
|
|
927
|
+
"""Discriminator for the copy operation."""
|
|
928
|
+
from_: JsonPointer = Field(alias="from")
|
|
929
|
+
"""Where the value is copied from."""
|
|
930
|
+
path: JsonPointer
|
|
931
|
+
"""Where the value is copied to."""
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
class TestOperation(GeneratedBaseModel):
|
|
935
|
+
"""Asserts that the value at path equals value. RFC 6902 section 4.6."""
|
|
936
|
+
|
|
937
|
+
op: Literal["test"] = "test"
|
|
938
|
+
"""Discriminator for the test operation."""
|
|
939
|
+
path: JsonPointer
|
|
940
|
+
"""What to compare."""
|
|
941
|
+
value: Any
|
|
942
|
+
"""The value the target must equal. Any JSON value, including null."""
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
JsonPatchOperation = Annotated[
|
|
946
|
+
Union[AddOperation, RemoveOperation, ReplaceOperation, MoveOperation, CopyOperation, TestOperation],
|
|
947
|
+
Field(discriminator="op"),
|
|
948
|
+
]
|
|
949
|
+
"""
|
|
950
|
+
A single RFC 6902 operation. Exactly one of the operation shapes must match,
|
|
951
|
+
discriminated by op. Unlike the protocol's own objects, the operations are
|
|
952
|
+
open: RFC 6902 section 4 requires members an operation does not define to be
|
|
953
|
+
ignored rather than rejected, so a remove carrying a leftover value is a
|
|
954
|
+
valid patch. Two of the RFC's rules are relations between values rather than
|
|
955
|
+
shapes, so no static schema can express them and neither is checked here: a
|
|
956
|
+
move whose from is a proper prefix of its path (section 4.4), and any
|
|
957
|
+
operation whose pointer does not resolve in the target document. Both are
|
|
958
|
+
the applier's to reject.
|
|
959
|
+
"""
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
JsonPatch = List[JsonPatchOperation]
|
|
963
|
+
"""
|
|
964
|
+
A JSON Patch document as defined by RFC 6902, referenced by
|
|
965
|
+
STATE_DELTA.delta and ACTIVITY_DELTA.patch: an ordered sequence of
|
|
966
|
+
operations applied to a target document. An empty array is a valid no-op
|
|
967
|
+
patch. Whether the operations actually apply to the document they target is
|
|
968
|
+
a runtime question RFC 6902 leaves to the applier; structural validity here
|
|
969
|
+
says nothing about it.
|
|
970
|
+
"""
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
class StateDeltaEvent(BaseEvent):
|
|
974
|
+
"""Changes the agent state incrementally."""
|
|
975
|
+
|
|
976
|
+
type: Literal[EventType.STATE_DELTA] = EventType.STATE_DELTA
|
|
977
|
+
"""
|
|
978
|
+
Which event this is. Each event definition narrows this to a single
|
|
979
|
+
value.
|
|
980
|
+
"""
|
|
981
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
982
|
+
"""
|
|
983
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
984
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
985
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
986
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
987
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
988
|
+
another unit will be misread by consumers even though it validates.
|
|
989
|
+
Nothing in the protocol computes with this value.
|
|
990
|
+
"""
|
|
991
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
992
|
+
"""
|
|
993
|
+
The provider-native event this one was translated from, carried verbatim
|
|
994
|
+
for debugging and for consumers that need detail the protocol does not
|
|
995
|
+
model. Any JSON value.
|
|
996
|
+
"""
|
|
997
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
998
|
+
"""Extra information attached to this event."""
|
|
999
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
1000
|
+
"""
|
|
1001
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
1002
|
+
produced it directly.
|
|
1003
|
+
"""
|
|
1004
|
+
delta: JsonPatch
|
|
1005
|
+
"""
|
|
1006
|
+
The change, as an RFC 6902 patch against the current state. Structural
|
|
1007
|
+
validity here does not mean the patch applies: a well-formed operation
|
|
1008
|
+
may point at a path that does not exist, which RFC 6902 leaves to the
|
|
1009
|
+
applier.
|
|
1010
|
+
"""
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
class DeveloperMessage(BaseMessage):
|
|
1014
|
+
"""Instructions from the application developer."""
|
|
1015
|
+
|
|
1016
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
1017
|
+
"""
|
|
1018
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
1019
|
+
produced it directly.
|
|
1020
|
+
"""
|
|
1021
|
+
id: str
|
|
1022
|
+
"""Identifies the message within the conversation."""
|
|
1023
|
+
role: Literal["developer"] = "developer"
|
|
1024
|
+
"""
|
|
1025
|
+
Who the message is from. Each message definition narrows this to a
|
|
1026
|
+
single value.
|
|
1027
|
+
"""
|
|
1028
|
+
name: Optional[str] = Field(default=None)
|
|
1029
|
+
"""An optional display name for the author."""
|
|
1030
|
+
encrypted_value: Optional[str] = Field(default=None)
|
|
1031
|
+
"""
|
|
1032
|
+
A provider's opaque artefact belonging to this message, stored by a
|
|
1033
|
+
consumer and returned on a later turn.
|
|
1034
|
+
"""
|
|
1035
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1036
|
+
"""Extra information attached to this message."""
|
|
1037
|
+
content: str
|
|
1038
|
+
"""
|
|
1039
|
+
The instructions. Required: a developer message with nothing in it says
|
|
1040
|
+
nothing.
|
|
1041
|
+
"""
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
class SystemMessage(BaseMessage):
|
|
1045
|
+
"""Instructions from the system."""
|
|
1046
|
+
|
|
1047
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
1048
|
+
"""
|
|
1049
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
1050
|
+
produced it directly.
|
|
1051
|
+
"""
|
|
1052
|
+
id: str
|
|
1053
|
+
"""Identifies the message within the conversation."""
|
|
1054
|
+
role: Literal["system"] = "system"
|
|
1055
|
+
"""
|
|
1056
|
+
Who the message is from. Each message definition narrows this to a
|
|
1057
|
+
single value.
|
|
1058
|
+
"""
|
|
1059
|
+
name: Optional[str] = Field(default=None)
|
|
1060
|
+
"""An optional display name for the author."""
|
|
1061
|
+
encrypted_value: Optional[str] = Field(default=None)
|
|
1062
|
+
"""
|
|
1063
|
+
A provider's opaque artefact belonging to this message, stored by a
|
|
1064
|
+
consumer and returned on a later turn.
|
|
1065
|
+
"""
|
|
1066
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1067
|
+
"""Extra information attached to this message."""
|
|
1068
|
+
content: str
|
|
1069
|
+
"""The instructions. Required."""
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
class FunctionCall(GeneratedBaseModel):
|
|
1073
|
+
"""The name and arguments of a tool call."""
|
|
1074
|
+
|
|
1075
|
+
name: str
|
|
1076
|
+
"""Which tool is being called."""
|
|
1077
|
+
arguments: str
|
|
1078
|
+
"""
|
|
1079
|
+
The arguments as a JSON string, not as parsed JSON. Kept as written
|
|
1080
|
+
because a model can emit arguments that are not valid JSON, and losing
|
|
1081
|
+
them at the protocol boundary would hide the fault from the consumer
|
|
1082
|
+
that has to handle it.
|
|
1083
|
+
"""
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
class ToolCall(GeneratedBaseModel):
|
|
1087
|
+
"""
|
|
1088
|
+
A call an assistant message made. Carries no subagent attribution of its
|
|
1089
|
+
own and inherits its containing message's, since several calls can share
|
|
1090
|
+
one parent.
|
|
1091
|
+
"""
|
|
1092
|
+
|
|
1093
|
+
id: str
|
|
1094
|
+
"""
|
|
1095
|
+
Identifies the call. The answering tool message carries this as its
|
|
1096
|
+
toolCallId.
|
|
1097
|
+
"""
|
|
1098
|
+
type: Literal["function"] = "function"
|
|
1099
|
+
"""The only kind of call the protocol models."""
|
|
1100
|
+
function: FunctionCall
|
|
1101
|
+
"""What is being called, and with what."""
|
|
1102
|
+
encrypted_value: Optional[str] = Field(default=None)
|
|
1103
|
+
"""A provider's opaque artefact belonging to this call."""
|
|
1104
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1105
|
+
"""
|
|
1106
|
+
Extra information attached to this call. Carried here rather than folded
|
|
1107
|
+
into the containing message, because several calls can share one parent
|
|
1108
|
+
and merging them would make the result depend on their order.
|
|
1109
|
+
"""
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
class AssistantMessage(BaseMessage):
|
|
1113
|
+
"""
|
|
1114
|
+
A message from the agent. Content is optional because a turn may consist
|
|
1115
|
+
only of tool calls.
|
|
1116
|
+
"""
|
|
1117
|
+
|
|
1118
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
1119
|
+
"""
|
|
1120
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
1121
|
+
produced it directly.
|
|
1122
|
+
"""
|
|
1123
|
+
id: str
|
|
1124
|
+
"""Identifies the message within the conversation."""
|
|
1125
|
+
role: Literal["assistant"] = "assistant"
|
|
1126
|
+
"""
|
|
1127
|
+
Who the message is from. Each message definition narrows this to a
|
|
1128
|
+
single value.
|
|
1129
|
+
"""
|
|
1130
|
+
name: Optional[str] = Field(default=None)
|
|
1131
|
+
"""An optional display name for the author."""
|
|
1132
|
+
encrypted_value: Optional[str] = Field(default=None)
|
|
1133
|
+
"""
|
|
1134
|
+
A provider's opaque artefact belonging to this message, stored by a
|
|
1135
|
+
consumer and returned on a later turn.
|
|
1136
|
+
"""
|
|
1137
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1138
|
+
"""Extra information attached to this message."""
|
|
1139
|
+
content: Optional[str] = Field(default=None)
|
|
1140
|
+
"""What the agent said, if it said anything."""
|
|
1141
|
+
tool_calls: Optional[List[ToolCall]] = Field(default=None)
|
|
1142
|
+
"""The tool calls this turn made."""
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
class UserMessage(BaseMessage):
|
|
1146
|
+
"""A message from the person using the application."""
|
|
1147
|
+
|
|
1148
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
1149
|
+
"""
|
|
1150
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
1151
|
+
produced it directly.
|
|
1152
|
+
"""
|
|
1153
|
+
id: str
|
|
1154
|
+
"""Identifies the message within the conversation."""
|
|
1155
|
+
role: Literal["user"] = "user"
|
|
1156
|
+
"""
|
|
1157
|
+
Who the message is from. Each message definition narrows this to a
|
|
1158
|
+
single value.
|
|
1159
|
+
"""
|
|
1160
|
+
name: Optional[str] = Field(default=None)
|
|
1161
|
+
"""An optional display name for the author."""
|
|
1162
|
+
encrypted_value: Optional[str] = Field(default=None)
|
|
1163
|
+
"""
|
|
1164
|
+
A provider's opaque artefact belonging to this message, stored by a
|
|
1165
|
+
consumer and returned on a later turn.
|
|
1166
|
+
"""
|
|
1167
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1168
|
+
"""Extra information attached to this message."""
|
|
1169
|
+
content: Union[str, List[ContentPart]]
|
|
1170
|
+
"""
|
|
1171
|
+
What the person sent: either plain text, or an ordered list of parts for
|
|
1172
|
+
a multimodal message.
|
|
1173
|
+
"""
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
class ToolMessage(GeneratedBaseModel):
|
|
1177
|
+
"""
|
|
1178
|
+
What a tool returned, as a message in the conversation. Stands alone
|
|
1179
|
+
rather than composing BaseMessage, because it carries no name.
|
|
1180
|
+
"""
|
|
1181
|
+
|
|
1182
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
1183
|
+
"""
|
|
1184
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
1185
|
+
produced it directly.
|
|
1186
|
+
"""
|
|
1187
|
+
id: str
|
|
1188
|
+
"""Identifies the message."""
|
|
1189
|
+
role: Literal["tool"] = "tool"
|
|
1190
|
+
"""
|
|
1191
|
+
Fixed. Declared here rather than inherited, because this message does
|
|
1192
|
+
not compose BaseMessage.
|
|
1193
|
+
"""
|
|
1194
|
+
content: Union[str, List[ContentPart]]
|
|
1195
|
+
"""
|
|
1196
|
+
What the tool returned: either plain text, or an ordered list of parts.
|
|
1197
|
+
A tool returning structured data serialises it into text; media travel
|
|
1198
|
+
as parts of their own.
|
|
1199
|
+
"""
|
|
1200
|
+
tool_call_id: str
|
|
1201
|
+
"""The call this answers."""
|
|
1202
|
+
error: Optional[str] = Field(default=None)
|
|
1203
|
+
"""
|
|
1204
|
+
Why the tool failed, when it did. Present alongside content rather than
|
|
1205
|
+
instead of it, so a partial result survives a failure.
|
|
1206
|
+
"""
|
|
1207
|
+
encrypted_value: Optional[str] = Field(default=None)
|
|
1208
|
+
"""A provider's opaque artefact belonging to this message."""
|
|
1209
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1210
|
+
"""Extra information attached to this message."""
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
class ActivityMessage(GeneratedBaseModel):
|
|
1214
|
+
"""
|
|
1215
|
+
Structured progress that is not conversation content, materialised as a
|
|
1216
|
+
message so it keeps its place in the sequence. Stands alone rather than
|
|
1217
|
+
composing BaseMessage, because its content is an object rather than a
|
|
1218
|
+
string.
|
|
1219
|
+
"""
|
|
1220
|
+
|
|
1221
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
1222
|
+
"""
|
|
1223
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
1224
|
+
produced it directly.
|
|
1225
|
+
"""
|
|
1226
|
+
id: str
|
|
1227
|
+
"""Identifies the message."""
|
|
1228
|
+
role: Literal["activity"] = "activity"
|
|
1229
|
+
"""
|
|
1230
|
+
Fixed. Declared here rather than inherited, because this message does
|
|
1231
|
+
not compose BaseMessage.
|
|
1232
|
+
"""
|
|
1233
|
+
activity_type: str
|
|
1234
|
+
"""
|
|
1235
|
+
What kind of activity this is. An open string: the set is the
|
|
1236
|
+
producer's.
|
|
1237
|
+
"""
|
|
1238
|
+
content: Dict[str, Any]
|
|
1239
|
+
"""The activity's payload, open by key."""
|
|
1240
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1241
|
+
"""Extra information attached to this message."""
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
class ReasoningMessage(GeneratedBaseModel):
|
|
1245
|
+
"""
|
|
1246
|
+
A span of the agent's reasoning, materialised as a message. Stands alone
|
|
1247
|
+
rather than composing BaseMessage, because it carries no name.
|
|
1248
|
+
"""
|
|
1249
|
+
|
|
1250
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
1251
|
+
"""
|
|
1252
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
1253
|
+
produced it directly.
|
|
1254
|
+
"""
|
|
1255
|
+
id: str
|
|
1256
|
+
"""Identifies the message."""
|
|
1257
|
+
role: Literal["reasoning"] = "reasoning"
|
|
1258
|
+
"""
|
|
1259
|
+
Fixed. Declared here rather than inherited, because this message does
|
|
1260
|
+
not compose BaseMessage.
|
|
1261
|
+
"""
|
|
1262
|
+
content: str
|
|
1263
|
+
"""The reasoning text."""
|
|
1264
|
+
encrypted_value: Optional[str] = Field(default=None)
|
|
1265
|
+
"""A provider's opaque reasoning artefact belonging to this message."""
|
|
1266
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1267
|
+
"""Extra information attached to this message."""
|
|
1268
|
+
|
|
1269
|
+
|
|
1270
|
+
Message = Annotated[
|
|
1271
|
+
Union[DeveloperMessage, SystemMessage, AssistantMessage, UserMessage, ToolMessage, ActivityMessage, ReasoningMessage],
|
|
1272
|
+
Field(discriminator="role"),
|
|
1273
|
+
]
|
|
1274
|
+
"""Any message in a conversation. Discriminated by role."""
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
class MessagesSnapshotEvent(BaseEvent):
|
|
1278
|
+
"""
|
|
1279
|
+
The complete set of messages the producer owns, in order.
|
|
1280
|
+
Conversation-wide rather than a plain overwrite: a consumer may keep
|
|
1281
|
+
messages of its own that no producer tracks, so exactly how a snapshot
|
|
1282
|
+
reconciles with those is behavioural and belongs in the prose. Being
|
|
1283
|
+
conversation-wide it cannot belong to a single subagent, so it carries
|
|
1284
|
+
no attribution; it does establish which subagent owns each message it
|
|
1285
|
+
contains, through the messages themselves.
|
|
1286
|
+
"""
|
|
1287
|
+
|
|
1288
|
+
type: Literal[EventType.MESSAGES_SNAPSHOT] = EventType.MESSAGES_SNAPSHOT
|
|
1289
|
+
"""
|
|
1290
|
+
Which event this is. Each event definition narrows this to a single
|
|
1291
|
+
value.
|
|
1292
|
+
"""
|
|
1293
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
1294
|
+
"""
|
|
1295
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
1296
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
1297
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
1298
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
1299
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
1300
|
+
another unit will be misread by consumers even though it validates.
|
|
1301
|
+
Nothing in the protocol computes with this value.
|
|
1302
|
+
"""
|
|
1303
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
1304
|
+
"""
|
|
1305
|
+
The provider-native event this one was translated from, carried verbatim
|
|
1306
|
+
for debugging and for consumers that need detail the protocol does not
|
|
1307
|
+
model. Any JSON value.
|
|
1308
|
+
"""
|
|
1309
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1310
|
+
"""Extra information attached to this event."""
|
|
1311
|
+
messages: List[Message]
|
|
1312
|
+
"""The messages the producer is declaring, in order."""
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
class ActivitySnapshotEvent(BaseEvent):
|
|
1316
|
+
"""
|
|
1317
|
+
Reports structured progress that is not conversation content, such as a
|
|
1318
|
+
step a UI renders as its own widget.
|
|
1319
|
+
"""
|
|
1320
|
+
|
|
1321
|
+
type: Literal[EventType.ACTIVITY_SNAPSHOT] = EventType.ACTIVITY_SNAPSHOT
|
|
1322
|
+
"""
|
|
1323
|
+
Which event this is. Each event definition narrows this to a single
|
|
1324
|
+
value.
|
|
1325
|
+
"""
|
|
1326
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
1327
|
+
"""
|
|
1328
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
1329
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
1330
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
1331
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
1332
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
1333
|
+
another unit will be misread by consumers even though it validates.
|
|
1334
|
+
Nothing in the protocol computes with this value.
|
|
1335
|
+
"""
|
|
1336
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
1337
|
+
"""
|
|
1338
|
+
The provider-native event this one was translated from, carried verbatim
|
|
1339
|
+
for debugging and for consumers that need detail the protocol does not
|
|
1340
|
+
model. Any JSON value.
|
|
1341
|
+
"""
|
|
1342
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1343
|
+
"""Extra information attached to this event."""
|
|
1344
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
1345
|
+
"""
|
|
1346
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
1347
|
+
produced it directly.
|
|
1348
|
+
"""
|
|
1349
|
+
message_id: str
|
|
1350
|
+
"""The activity message this describes."""
|
|
1351
|
+
activity_type: str
|
|
1352
|
+
"""
|
|
1353
|
+
What kind of activity this is. An open string: the set is the
|
|
1354
|
+
producer's, not the protocol's.
|
|
1355
|
+
"""
|
|
1356
|
+
content: Dict[str, Any]
|
|
1357
|
+
"""The activity's payload, open by key."""
|
|
1358
|
+
replace: Optional[bool] = Field(default=None)
|
|
1359
|
+
"""
|
|
1360
|
+
Whether this snapshot overwrites the activity's existing content. Absent
|
|
1361
|
+
means it does, and that meaning is normative; only an explicit false
|
|
1362
|
+
asks a consumer to leave what is already there. It does not ask for a
|
|
1363
|
+
merge — ACTIVITY_DELTA is how content is changed incrementally. What a
|
|
1364
|
+
consumer does with a non-overwriting snapshot is behavioural and belongs
|
|
1365
|
+
in the prose.
|
|
1366
|
+
"""
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
class ActivityDeltaEvent(BaseEvent):
|
|
1370
|
+
"""Changes an activity message's content incrementally."""
|
|
1371
|
+
|
|
1372
|
+
type: Literal[EventType.ACTIVITY_DELTA] = EventType.ACTIVITY_DELTA
|
|
1373
|
+
"""
|
|
1374
|
+
Which event this is. Each event definition narrows this to a single
|
|
1375
|
+
value.
|
|
1376
|
+
"""
|
|
1377
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
1378
|
+
"""
|
|
1379
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
1380
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
1381
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
1382
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
1383
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
1384
|
+
another unit will be misread by consumers even though it validates.
|
|
1385
|
+
Nothing in the protocol computes with this value.
|
|
1386
|
+
"""
|
|
1387
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
1388
|
+
"""
|
|
1389
|
+
The provider-native event this one was translated from, carried verbatim
|
|
1390
|
+
for debugging and for consumers that need detail the protocol does not
|
|
1391
|
+
model. Any JSON value.
|
|
1392
|
+
"""
|
|
1393
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1394
|
+
"""Extra information attached to this event."""
|
|
1395
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
1396
|
+
"""
|
|
1397
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
1398
|
+
produced it directly.
|
|
1399
|
+
"""
|
|
1400
|
+
message_id: str
|
|
1401
|
+
"""The activity message being changed."""
|
|
1402
|
+
activity_type: str
|
|
1403
|
+
"""What kind of activity this is."""
|
|
1404
|
+
patch: JsonPatch
|
|
1405
|
+
"""The change, as an RFC 6902 patch against the activity's content."""
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
class RawEvent(BaseEvent):
|
|
1409
|
+
"""
|
|
1410
|
+
Passes a provider-native event through untranslated, for consumers that
|
|
1411
|
+
need detail the protocol does not model.
|
|
1412
|
+
"""
|
|
1413
|
+
|
|
1414
|
+
type: Literal[EventType.RAW] = EventType.RAW
|
|
1415
|
+
"""
|
|
1416
|
+
Which event this is. Each event definition narrows this to a single
|
|
1417
|
+
value.
|
|
1418
|
+
"""
|
|
1419
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
1420
|
+
"""
|
|
1421
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
1422
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
1423
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
1424
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
1425
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
1426
|
+
another unit will be misread by consumers even though it validates.
|
|
1427
|
+
Nothing in the protocol computes with this value.
|
|
1428
|
+
"""
|
|
1429
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
1430
|
+
"""
|
|
1431
|
+
The provider-native event this one was translated from, carried verbatim
|
|
1432
|
+
for debugging and for consumers that need detail the protocol does not
|
|
1433
|
+
model. Any JSON value.
|
|
1434
|
+
"""
|
|
1435
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1436
|
+
"""Extra information attached to this event."""
|
|
1437
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
1438
|
+
"""
|
|
1439
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
1440
|
+
produced it directly.
|
|
1441
|
+
"""
|
|
1442
|
+
event: Any
|
|
1443
|
+
"""
|
|
1444
|
+
The provider's own event. Any JSON value, and required: an event whose
|
|
1445
|
+
only purpose is to carry this would say nothing without it.
|
|
1446
|
+
"""
|
|
1447
|
+
source: Optional[str] = Field(default=None)
|
|
1448
|
+
"""Which provider or framework the event came from."""
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
class CustomEvent(BaseEvent):
|
|
1452
|
+
"""
|
|
1453
|
+
The protocol's extension point for an application's own events. Anything
|
|
1454
|
+
a consumer does with one is outside the protocol.
|
|
1455
|
+
"""
|
|
1456
|
+
|
|
1457
|
+
type: Literal[EventType.CUSTOM] = EventType.CUSTOM
|
|
1458
|
+
"""
|
|
1459
|
+
Which event this is. Each event definition narrows this to a single
|
|
1460
|
+
value.
|
|
1461
|
+
"""
|
|
1462
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
1463
|
+
"""
|
|
1464
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
1465
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
1466
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
1467
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
1468
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
1469
|
+
another unit will be misread by consumers even though it validates.
|
|
1470
|
+
Nothing in the protocol computes with this value.
|
|
1471
|
+
"""
|
|
1472
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
1473
|
+
"""
|
|
1474
|
+
The provider-native event this one was translated from, carried verbatim
|
|
1475
|
+
for debugging and for consumers that need detail the protocol does not
|
|
1476
|
+
model. Any JSON value.
|
|
1477
|
+
"""
|
|
1478
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1479
|
+
"""Extra information attached to this event."""
|
|
1480
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
1481
|
+
"""
|
|
1482
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
1483
|
+
produced it directly.
|
|
1484
|
+
"""
|
|
1485
|
+
name: str
|
|
1486
|
+
"""
|
|
1487
|
+
What this custom event is. Required: without it a consumer cannot route
|
|
1488
|
+
the value.
|
|
1489
|
+
"""
|
|
1490
|
+
value: Any
|
|
1491
|
+
"""The payload. Any JSON value, and required."""
|
|
1492
|
+
|
|
1493
|
+
|
|
1494
|
+
class Tool(GeneratedBaseModel):
|
|
1495
|
+
"""A tool the agent may call."""
|
|
1496
|
+
|
|
1497
|
+
name: str
|
|
1498
|
+
"""The tool's name, as the agent will call it."""
|
|
1499
|
+
description: str
|
|
1500
|
+
"""What the tool does, for the agent to decide when to use it."""
|
|
1501
|
+
parameters: Optional[Any] = Field(default=None)
|
|
1502
|
+
"""
|
|
1503
|
+
A JSON Schema describing the tool's arguments. Carried opaquely: the
|
|
1504
|
+
protocol does not constrain or validate it. Optional, because all three
|
|
1505
|
+
SDKs already treat it that way and a tool that takes no arguments has
|
|
1506
|
+
nothing to declare; an absent schema and an empty one mean the same
|
|
1507
|
+
thing to an agent.
|
|
1508
|
+
"""
|
|
1509
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1510
|
+
"""
|
|
1511
|
+
Extra information about the tool, for consumers that attach their own
|
|
1512
|
+
rendering or routing information to it.
|
|
1513
|
+
"""
|
|
1514
|
+
|
|
1515
|
+
|
|
1516
|
+
class Context(GeneratedBaseModel):
|
|
1517
|
+
"""
|
|
1518
|
+
A named piece of ambient information given to the agent for the run,
|
|
1519
|
+
distinct from the conversation.
|
|
1520
|
+
"""
|
|
1521
|
+
|
|
1522
|
+
description: str
|
|
1523
|
+
"""What this context is, for the agent to interpret."""
|
|
1524
|
+
value: str
|
|
1525
|
+
"""The context itself."""
|
|
1526
|
+
|
|
1527
|
+
|
|
1528
|
+
class ResumeEntry(GeneratedBaseModel):
|
|
1529
|
+
"""An answer to one interrupt, sent on the run that continues from it."""
|
|
1530
|
+
|
|
1531
|
+
interrupt_id: str
|
|
1532
|
+
"""The interrupt being answered."""
|
|
1533
|
+
status: Literal["resolved", "cancelled"]
|
|
1534
|
+
"""Whether the interrupt was answered or abandoned."""
|
|
1535
|
+
payload: Optional[Any] = Field(default=None)
|
|
1536
|
+
"""The answer the agent asked for and will act on. Any JSON value."""
|
|
1537
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1538
|
+
"""
|
|
1539
|
+
Envelope information about the response, such as signatures or routing
|
|
1540
|
+
keys, as opposed to payload, which is the answer itself.
|
|
1541
|
+
"""
|
|
1542
|
+
|
|
1543
|
+
|
|
1544
|
+
class RunAgentInput(GeneratedBaseModel):
|
|
1545
|
+
"""
|
|
1546
|
+
A request to run an agent. Also echoed back as RUN_STARTED.input. Only
|
|
1547
|
+
threadId, runId and messages are required: those are the three the SDKs
|
|
1548
|
+
already agree on, and for tools and context an absent key and an empty
|
|
1549
|
+
array mean the same thing, so requiring them would catch nothing a
|
|
1550
|
+
producer could get wrong.
|
|
1551
|
+
"""
|
|
1552
|
+
|
|
1553
|
+
thread_id: str
|
|
1554
|
+
"""The conversation this run belongs to."""
|
|
1555
|
+
run_id: str
|
|
1556
|
+
"""Identifies this run."""
|
|
1557
|
+
protocol_version: Optional[str] = Field(default=None)
|
|
1558
|
+
"""
|
|
1559
|
+
The protocol version this consumer speaks, such as "1.0". Absent means
|
|
1560
|
+
the input was produced before the protocol carried a version — the
|
|
1561
|
+
versioning rules in the prose govern what each side does with that. Sent
|
|
1562
|
+
in-band rather than by the transport, so a recorded exchange stays
|
|
1563
|
+
self-describing.
|
|
1564
|
+
"""
|
|
1565
|
+
parent_run_id: Optional[str] = Field(default=None)
|
|
1566
|
+
"""The run that spawned this one."""
|
|
1567
|
+
state: Optional[State] = Field(default=None)
|
|
1568
|
+
"""The state the run starts from."""
|
|
1569
|
+
messages: List[Message]
|
|
1570
|
+
"""The conversation so far, in order."""
|
|
1571
|
+
tools: Optional[List[Tool]] = Field(default=None)
|
|
1572
|
+
"""The tools the agent may call. Absent means none."""
|
|
1573
|
+
context: Optional[List[Context]] = Field(default=None)
|
|
1574
|
+
"""Ambient information for the run. Absent means none."""
|
|
1575
|
+
forwarded_props: Optional[Any] = Field(default=None)
|
|
1576
|
+
"""
|
|
1577
|
+
Application-specific values passed through to the agent untouched. Any
|
|
1578
|
+
JSON value.
|
|
1579
|
+
"""
|
|
1580
|
+
resume: Optional[List[ResumeEntry]] = Field(default=None)
|
|
1581
|
+
"""
|
|
1582
|
+
Answers to the interrupts that ended a previous run, when this run
|
|
1583
|
+
continues from one.
|
|
1584
|
+
"""
|
|
1585
|
+
|
|
1586
|
+
|
|
1587
|
+
class RunStartedEvent(BaseEvent):
|
|
1588
|
+
"""Opens a run. Run-scoped, so it carries no subagent attribution."""
|
|
1589
|
+
|
|
1590
|
+
type: Literal[EventType.RUN_STARTED] = EventType.RUN_STARTED
|
|
1591
|
+
"""
|
|
1592
|
+
Which event this is. Each event definition narrows this to a single
|
|
1593
|
+
value.
|
|
1594
|
+
"""
|
|
1595
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
1596
|
+
"""
|
|
1597
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
1598
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
1599
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
1600
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
1601
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
1602
|
+
another unit will be misread by consumers even though it validates.
|
|
1603
|
+
Nothing in the protocol computes with this value.
|
|
1604
|
+
"""
|
|
1605
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
1606
|
+
"""
|
|
1607
|
+
The provider-native event this one was translated from, carried verbatim
|
|
1608
|
+
for debugging and for consumers that need detail the protocol does not
|
|
1609
|
+
model. Any JSON value.
|
|
1610
|
+
"""
|
|
1611
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1612
|
+
"""Extra information attached to this event."""
|
|
1613
|
+
thread_id: str
|
|
1614
|
+
"""The conversation this run belongs to."""
|
|
1615
|
+
run_id: str
|
|
1616
|
+
"""Identifies this run."""
|
|
1617
|
+
protocol_version: Optional[str] = Field(default=None)
|
|
1618
|
+
"""
|
|
1619
|
+
The protocol version this producer speaks, such as "1.0" — the
|
|
1620
|
+
producer's own version, not an echo of the input's, which is what makes
|
|
1621
|
+
the pair a negotiation: each side declares itself and the consumer sees
|
|
1622
|
+
a downgrade the moment it happens. Absent means a producer from before
|
|
1623
|
+
the protocol carried a version.
|
|
1624
|
+
"""
|
|
1625
|
+
parent_run_id: Optional[str] = Field(default=None)
|
|
1626
|
+
"""
|
|
1627
|
+
The run that spawned this one, when an agent invokes another agent as a
|
|
1628
|
+
separate run rather than as a subagent within one.
|
|
1629
|
+
"""
|
|
1630
|
+
input: Optional[RunAgentInput] = Field(default=None)
|
|
1631
|
+
"""
|
|
1632
|
+
The request this run was started from, echoed back so a consumer that
|
|
1633
|
+
did not make the request can still see what the agent was asked.
|
|
1634
|
+
"""
|
|
1635
|
+
|
|
1636
|
+
|
|
1637
|
+
class RunFinishedSuccessOutcome(GeneratedBaseModel):
|
|
1638
|
+
"""
|
|
1639
|
+
The run completed. Equivalent to an absent outcome. Closed like every
|
|
1640
|
+
other object, which is also what keeps it from carrying the suspended
|
|
1641
|
+
sibling's interrupts — a success with an interrupt still pending would
|
|
1642
|
+
be a contradiction, not an extension. A completed run may still have
|
|
1643
|
+
left frontend tool calls for the application to answer;
|
|
1644
|
+
pendingToolCallIds names them.
|
|
1645
|
+
"""
|
|
1646
|
+
|
|
1647
|
+
type: Literal["success"] = "success"
|
|
1648
|
+
"""Discriminator."""
|
|
1649
|
+
pending_tool_call_ids: Optional[List[str]] = Field(default=None)
|
|
1650
|
+
"""
|
|
1651
|
+
The tool calls this run started and left unanswered — no
|
|
1652
|
+
TOOL_CALL_RESULT in the run — for the application to answer in the next
|
|
1653
|
+
input's messages, in the order they were made. Absent or empty means the
|
|
1654
|
+
producer named none, and a consumer derives the list from the stream;
|
|
1655
|
+
otherwise it is the list, and it agrees with the stream. On the success
|
|
1656
|
+
outcome rather than the event because a run that stopped on a frontend
|
|
1657
|
+
tool call is a completed run: whether the application continues the
|
|
1658
|
+
thread is its own decision, so the producer reports what it knows and no
|
|
1659
|
+
more. Each item: A tool call id, as carried by TOOL_CALL_START.
|
|
1660
|
+
"""
|
|
1661
|
+
|
|
1662
|
+
|
|
1663
|
+
class Interrupt(GeneratedBaseModel):
|
|
1664
|
+
"""
|
|
1665
|
+
Something a run needs from outside before it can continue, such as an
|
|
1666
|
+
approval or a missing value.
|
|
1667
|
+
"""
|
|
1668
|
+
|
|
1669
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
1670
|
+
"""
|
|
1671
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
1672
|
+
produced it directly.
|
|
1673
|
+
"""
|
|
1674
|
+
id: str
|
|
1675
|
+
"""Identifies the interrupt. A resume entry answers it by this id."""
|
|
1676
|
+
reason: str
|
|
1677
|
+
"""
|
|
1678
|
+
Why the run stopped. An open string rather than an enumeration: the
|
|
1679
|
+
protocol does not attempt to classify every reason an agent might need
|
|
1680
|
+
input.
|
|
1681
|
+
"""
|
|
1682
|
+
message: Optional[str] = Field(default=None)
|
|
1683
|
+
"""A human-readable prompt for whoever answers."""
|
|
1684
|
+
tool_call_id: Optional[str] = Field(default=None)
|
|
1685
|
+
"""The tool call this interrupt concerns, when it is a tool approval."""
|
|
1686
|
+
response_schema: Optional[Dict[str, Any]] = Field(default=None)
|
|
1687
|
+
"""
|
|
1688
|
+
A JSON Schema describing the answer this interrupt expects, so a
|
|
1689
|
+
consumer can build a form for it. Carried opaquely: the protocol does
|
|
1690
|
+
not constrain or validate it. Restricted to an object because TypeScript
|
|
1691
|
+
and Python both declare it that way; .NET holds it as any JSON, and the
|
|
1692
|
+
ticket that commissioned this schema lists it among the arbitrary-JSON
|
|
1693
|
+
fields. Following the two that constrain it keeps the schema from
|
|
1694
|
+
accepting documents the reference client rejects, at the cost of
|
|
1695
|
+
rejecting the boolean schemas JSON Schema also permits — a bare true for
|
|
1696
|
+
"any answer". Recorded as a known divergence rather than settled.
|
|
1697
|
+
"""
|
|
1698
|
+
expires_at: Optional[str] = Field(default=None)
|
|
1699
|
+
"""
|
|
1700
|
+
When the interrupt stops being answerable. Deliberately unconstrained
|
|
1701
|
+
rather than a date-time format, because producers already disagree about
|
|
1702
|
+
the representation and tightening it here would reject streams that work
|
|
1703
|
+
today. The documented convention is ISO 8601, and a consumer comparing
|
|
1704
|
+
this value will parse it as a date, so a value that is not one leaves
|
|
1705
|
+
the interrupt looking permanently unexpired.
|
|
1706
|
+
"""
|
|
1707
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1708
|
+
"""Extra information attached to this interrupt."""
|
|
1709
|
+
|
|
1710
|
+
|
|
1711
|
+
class RunFinishedInterruptOutcome(GeneratedBaseModel):
|
|
1712
|
+
"""
|
|
1713
|
+
The run is paused, waiting for something outside it. Resuming means
|
|
1714
|
+
starting a new run whose resume entries answer these interrupts.
|
|
1715
|
+
"""
|
|
1716
|
+
|
|
1717
|
+
type: Literal["interrupt"] = "interrupt"
|
|
1718
|
+
"""Discriminator."""
|
|
1719
|
+
interrupts: List[Interrupt] = Field(min_length=1)
|
|
1720
|
+
"""
|
|
1721
|
+
What the run is waiting for. At least one: an interrupt outcome with
|
|
1722
|
+
nothing to answer would leave a consumer with nothing to do.
|
|
1723
|
+
"""
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
class RunFinishedCancelledOutcome(GeneratedBaseModel):
|
|
1727
|
+
"""
|
|
1728
|
+
The run was stopped before it completed, by whoever was running it, and
|
|
1729
|
+
did not fail. Neither success nor interrupt: nothing was produced as a
|
|
1730
|
+
result, and nothing is waited for, so the next run on the thread is an
|
|
1731
|
+
ordinary new run rather than a resume. Closed like its siblings: a
|
|
1732
|
+
cancelled run has no interrupts to carry. Named in the schema before 1.0
|
|
1733
|
+
because an outcome a consumer does not recognise is stripped and read as
|
|
1734
|
+
success — a cancellation added later would reach every 1.0 consumer as a
|
|
1735
|
+
completed run.
|
|
1736
|
+
"""
|
|
1737
|
+
|
|
1738
|
+
type: Literal["cancelled"] = "cancelled"
|
|
1739
|
+
"""Discriminator."""
|
|
1740
|
+
|
|
1741
|
+
|
|
1742
|
+
RunFinishedOutcome = Annotated[
|
|
1743
|
+
Union[RunFinishedSuccessOutcome, RunFinishedInterruptOutcome, RunFinishedCancelledOutcome],
|
|
1744
|
+
Field(discriminator="type"),
|
|
1745
|
+
]
|
|
1746
|
+
"""Why a run ended."""
|
|
1747
|
+
|
|
1748
|
+
|
|
1749
|
+
class TokenUsage(GeneratedBaseModel):
|
|
1750
|
+
"""
|
|
1751
|
+
Token counts for one provider and model, in the protocol's own
|
|
1752
|
+
accounting: every count is either a total or a named part of one, so
|
|
1753
|
+
entries from different providers add up without double-counting.
|
|
1754
|
+
inputTokens and outputTokens are the totals; reasoningTokens,
|
|
1755
|
+
cachedInputTokens and cacheWriteInputTokens are parts of them, never
|
|
1756
|
+
additions to them; totalTokens is the two totals summed. Every field is
|
|
1757
|
+
a label or a number — nothing content-bearing or identifying, no
|
|
1758
|
+
prompts, completions, messages, or thread, run and user identifiers.
|
|
1759
|
+
"""
|
|
1760
|
+
|
|
1761
|
+
provider: Optional[str] = Field(default=None)
|
|
1762
|
+
"""Which provider served the request."""
|
|
1763
|
+
model: Optional[str] = Field(default=None)
|
|
1764
|
+
"""Which model served the request."""
|
|
1765
|
+
input_tokens: Optional[int] = Field(default=None, ge=0, le=9007199254740991)
|
|
1766
|
+
"""
|
|
1767
|
+
Every prompt token the call was charged for: tokens read from a provider
|
|
1768
|
+
cache, tokens written to one, and audio or other non-text input all
|
|
1769
|
+
count here. cachedInputTokens and cacheWriteInputTokens break this
|
|
1770
|
+
number down and are never added to it — a provider that reports its
|
|
1771
|
+
cache counts beside a smaller input count has them added in by the
|
|
1772
|
+
producer before the entry leaves. Bounded like timestamp and for the
|
|
1773
|
+
same reason: a count above the JSON safe-integer range does not survive
|
|
1774
|
+
a round trip, so a consumer would silently read a different number than
|
|
1775
|
+
the producer wrote.
|
|
1776
|
+
"""
|
|
1777
|
+
output_tokens: Optional[int] = Field(default=None, ge=0, le=9007199254740991)
|
|
1778
|
+
"""
|
|
1779
|
+
Every generated token, reasoning included where the provider
|
|
1780
|
+
distinguishes it. reasoningTokens breaks this number down and is never
|
|
1781
|
+
added to it — a provider that reports reasoning tokens beside a smaller
|
|
1782
|
+
completion count has them added in by the producer.
|
|
1783
|
+
"""
|
|
1784
|
+
total_tokens: Optional[int] = Field(default=None, ge=0, le=9007199254740991)
|
|
1785
|
+
"""
|
|
1786
|
+
inputTokens plus outputTokens, under the accounting above. A producer
|
|
1787
|
+
MAY compute it rather than copy a provider's total, and copies a
|
|
1788
|
+
provider's total only when that total counts the same way, so a consumer
|
|
1789
|
+
can read this field as the sum of the other two.
|
|
1790
|
+
"""
|
|
1791
|
+
reasoning_tokens: Optional[int] = Field(default=None, ge=0, le=9007199254740991)
|
|
1792
|
+
"""
|
|
1793
|
+
Output tokens spent on reasoning, where the provider distinguishes them.
|
|
1794
|
+
Part of outputTokens, not in addition to it.
|
|
1795
|
+
"""
|
|
1796
|
+
cached_input_tokens: Optional[int] = Field(default=None, ge=0, le=9007199254740991)
|
|
1797
|
+
"""
|
|
1798
|
+
Input tokens read from a provider cache. Part of inputTokens, not in
|
|
1799
|
+
addition to it, and disjoint from cacheWriteInputTokens.
|
|
1800
|
+
"""
|
|
1801
|
+
cache_write_input_tokens: Optional[int] = Field(default=None, ge=0, le=9007199254740991)
|
|
1802
|
+
"""
|
|
1803
|
+
Input tokens written to a provider cache on this call, where the
|
|
1804
|
+
provider distinguishes them. Part of inputTokens, not in addition to it,
|
|
1805
|
+
and disjoint from cachedInputTokens. Its own field because providers
|
|
1806
|
+
price a cache write differently from a cache read, so a consumer
|
|
1807
|
+
computing cost cannot do without it.
|
|
1808
|
+
"""
|
|
1809
|
+
|
|
1810
|
+
|
|
1811
|
+
class RunFinishedEvent(BaseEvent):
|
|
1812
|
+
"""
|
|
1813
|
+
Closes a run that did not fail. Run-scoped, so it carries no subagent
|
|
1814
|
+
attribution.
|
|
1815
|
+
"""
|
|
1816
|
+
|
|
1817
|
+
type: Literal[EventType.RUN_FINISHED] = EventType.RUN_FINISHED
|
|
1818
|
+
"""
|
|
1819
|
+
Which event this is. Each event definition narrows this to a single
|
|
1820
|
+
value.
|
|
1821
|
+
"""
|
|
1822
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
1823
|
+
"""
|
|
1824
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
1825
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
1826
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
1827
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
1828
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
1829
|
+
another unit will be misread by consumers even though it validates.
|
|
1830
|
+
Nothing in the protocol computes with this value.
|
|
1831
|
+
"""
|
|
1832
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
1833
|
+
"""
|
|
1834
|
+
The provider-native event this one was translated from, carried verbatim
|
|
1835
|
+
for debugging and for consumers that need detail the protocol does not
|
|
1836
|
+
model. Any JSON value.
|
|
1837
|
+
"""
|
|
1838
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1839
|
+
"""Extra information attached to this event."""
|
|
1840
|
+
thread_id: str
|
|
1841
|
+
"""The conversation this run belongs to."""
|
|
1842
|
+
run_id: str
|
|
1843
|
+
"""The run being closed."""
|
|
1844
|
+
result: Optional[Any] = Field(default=None)
|
|
1845
|
+
"""The run's return value, if it has one. Any JSON value."""
|
|
1846
|
+
outcome: Optional[RunFinishedOutcome] = Field(default=None)
|
|
1847
|
+
"""
|
|
1848
|
+
Why the run ended. Absent means success, so every producer written
|
|
1849
|
+
before outcomes existed is already conformant.
|
|
1850
|
+
"""
|
|
1851
|
+
usage: Optional[List[TokenUsage]] = Field(default=None)
|
|
1852
|
+
"""
|
|
1853
|
+
Token usage for the run, one entry per provider and model, so a run that
|
|
1854
|
+
invoked several models keeps them separate. A consumer that only wants
|
|
1855
|
+
totals sums across the entries. The run is the accounting boundary:
|
|
1856
|
+
usage covers every model call made within the run, calls made by its
|
|
1857
|
+
subagents included; an agent invoked as a separate run under parentRunId
|
|
1858
|
+
reports its own usage on its own terminal event; and a run that resumes
|
|
1859
|
+
an interrupted one reports only the calls it made itself, not the
|
|
1860
|
+
interrupted run's.
|
|
1861
|
+
"""
|
|
1862
|
+
|
|
1863
|
+
|
|
1864
|
+
class RunErrorEvent(BaseEvent):
|
|
1865
|
+
"""
|
|
1866
|
+
Ends a run that failed. Run-scoped, so it carries no subagent
|
|
1867
|
+
attribution; a subagent that fails without ending the run reports
|
|
1868
|
+
SUBAGENT_ERROR instead.
|
|
1869
|
+
"""
|
|
1870
|
+
|
|
1871
|
+
type: Literal[EventType.RUN_ERROR] = EventType.RUN_ERROR
|
|
1872
|
+
"""
|
|
1873
|
+
Which event this is. Each event definition narrows this to a single
|
|
1874
|
+
value.
|
|
1875
|
+
"""
|
|
1876
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
1877
|
+
"""
|
|
1878
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
1879
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
1880
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
1881
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
1882
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
1883
|
+
another unit will be misread by consumers even though it validates.
|
|
1884
|
+
Nothing in the protocol computes with this value.
|
|
1885
|
+
"""
|
|
1886
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
1887
|
+
"""
|
|
1888
|
+
The provider-native event this one was translated from, carried verbatim
|
|
1889
|
+
for debugging and for consumers that need detail the protocol does not
|
|
1890
|
+
model. Any JSON value.
|
|
1891
|
+
"""
|
|
1892
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1893
|
+
"""Extra information attached to this event."""
|
|
1894
|
+
message: str
|
|
1895
|
+
"""What went wrong, for a person to read."""
|
|
1896
|
+
code: Optional[str] = Field(default=None)
|
|
1897
|
+
"""
|
|
1898
|
+
A machine-readable error code. An open string: the protocol defines no
|
|
1899
|
+
vocabulary.
|
|
1900
|
+
"""
|
|
1901
|
+
usage: Optional[List[TokenUsage]] = Field(default=None)
|
|
1902
|
+
"""
|
|
1903
|
+
Token usage accrued before the failure, for a run that completed one or
|
|
1904
|
+
more model calls before dying. Scoped as on RUN_FINISHED: the run's own
|
|
1905
|
+
calls, subagents included.
|
|
1906
|
+
"""
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
class StepStartedEvent(BaseEvent):
|
|
1910
|
+
"""
|
|
1911
|
+
Opens a named step within a run, for producers whose frameworks have a
|
|
1912
|
+
step concept worth surfacing.
|
|
1913
|
+
"""
|
|
1914
|
+
|
|
1915
|
+
type: Literal[EventType.STEP_STARTED] = EventType.STEP_STARTED
|
|
1916
|
+
"""
|
|
1917
|
+
Which event this is. Each event definition narrows this to a single
|
|
1918
|
+
value.
|
|
1919
|
+
"""
|
|
1920
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
1921
|
+
"""
|
|
1922
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
1923
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
1924
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
1925
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
1926
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
1927
|
+
another unit will be misread by consumers even though it validates.
|
|
1928
|
+
Nothing in the protocol computes with this value.
|
|
1929
|
+
"""
|
|
1930
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
1931
|
+
"""
|
|
1932
|
+
The provider-native event this one was translated from, carried verbatim
|
|
1933
|
+
for debugging and for consumers that need detail the protocol does not
|
|
1934
|
+
model. Any JSON value.
|
|
1935
|
+
"""
|
|
1936
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1937
|
+
"""Extra information attached to this event."""
|
|
1938
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
1939
|
+
"""
|
|
1940
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
1941
|
+
produced it directly.
|
|
1942
|
+
"""
|
|
1943
|
+
step_name: str
|
|
1944
|
+
"""
|
|
1945
|
+
The step's name. Identifies it: the matching STEP_FINISHED carries the
|
|
1946
|
+
same name.
|
|
1947
|
+
"""
|
|
1948
|
+
|
|
1949
|
+
|
|
1950
|
+
class StepFinishedEvent(BaseEvent):
|
|
1951
|
+
"""Closes a named step."""
|
|
1952
|
+
|
|
1953
|
+
type: Literal[EventType.STEP_FINISHED] = EventType.STEP_FINISHED
|
|
1954
|
+
"""
|
|
1955
|
+
Which event this is. Each event definition narrows this to a single
|
|
1956
|
+
value.
|
|
1957
|
+
"""
|
|
1958
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
1959
|
+
"""
|
|
1960
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
1961
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
1962
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
1963
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
1964
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
1965
|
+
another unit will be misread by consumers even though it validates.
|
|
1966
|
+
Nothing in the protocol computes with this value.
|
|
1967
|
+
"""
|
|
1968
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
1969
|
+
"""
|
|
1970
|
+
The provider-native event this one was translated from, carried verbatim
|
|
1971
|
+
for debugging and for consumers that need detail the protocol does not
|
|
1972
|
+
model. Any JSON value.
|
|
1973
|
+
"""
|
|
1974
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
1975
|
+
"""Extra information attached to this event."""
|
|
1976
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
1977
|
+
"""
|
|
1978
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
1979
|
+
produced it directly.
|
|
1980
|
+
"""
|
|
1981
|
+
step_name: str
|
|
1982
|
+
"""The step being closed."""
|
|
1983
|
+
|
|
1984
|
+
|
|
1985
|
+
class ReasoningStartEvent(BaseEvent):
|
|
1986
|
+
"""
|
|
1987
|
+
Opens a span of reasoning. A span may contain several reasoning
|
|
1988
|
+
messages.
|
|
1989
|
+
"""
|
|
1990
|
+
|
|
1991
|
+
type: Literal[EventType.REASONING_START] = EventType.REASONING_START
|
|
1992
|
+
"""
|
|
1993
|
+
Which event this is. Each event definition narrows this to a single
|
|
1994
|
+
value.
|
|
1995
|
+
"""
|
|
1996
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
1997
|
+
"""
|
|
1998
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
1999
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
2000
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
2001
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
2002
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
2003
|
+
another unit will be misread by consumers even though it validates.
|
|
2004
|
+
Nothing in the protocol computes with this value.
|
|
2005
|
+
"""
|
|
2006
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
2007
|
+
"""
|
|
2008
|
+
The provider-native event this one was translated from, carried verbatim
|
|
2009
|
+
for debugging and for consumers that need detail the protocol does not
|
|
2010
|
+
model. Any JSON value.
|
|
2011
|
+
"""
|
|
2012
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
2013
|
+
"""Extra information attached to this event."""
|
|
2014
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
2015
|
+
"""
|
|
2016
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
2017
|
+
produced it directly.
|
|
2018
|
+
"""
|
|
2019
|
+
message_id: str
|
|
2020
|
+
"""The span being opened."""
|
|
2021
|
+
|
|
2022
|
+
|
|
2023
|
+
class ReasoningMessageStartEvent(BaseEvent):
|
|
2024
|
+
"""Opens a streamed reasoning message."""
|
|
2025
|
+
|
|
2026
|
+
type: Literal[EventType.REASONING_MESSAGE_START] = EventType.REASONING_MESSAGE_START
|
|
2027
|
+
"""
|
|
2028
|
+
Which event this is. Each event definition narrows this to a single
|
|
2029
|
+
value.
|
|
2030
|
+
"""
|
|
2031
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
2032
|
+
"""
|
|
2033
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
2034
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
2035
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
2036
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
2037
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
2038
|
+
another unit will be misread by consumers even though it validates.
|
|
2039
|
+
Nothing in the protocol computes with this value.
|
|
2040
|
+
"""
|
|
2041
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
2042
|
+
"""
|
|
2043
|
+
The provider-native event this one was translated from, carried verbatim
|
|
2044
|
+
for debugging and for consumers that need detail the protocol does not
|
|
2045
|
+
model. Any JSON value.
|
|
2046
|
+
"""
|
|
2047
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
2048
|
+
"""Extra information attached to this event."""
|
|
2049
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
2050
|
+
"""
|
|
2051
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
2052
|
+
produced it directly.
|
|
2053
|
+
"""
|
|
2054
|
+
message_id: str
|
|
2055
|
+
"""The reasoning message this stream builds."""
|
|
2056
|
+
role: Literal["reasoning"] = "reasoning"
|
|
2057
|
+
"""
|
|
2058
|
+
Fixed, and required rather than defaulted. The requirement is inherited
|
|
2059
|
+
from the SDKs rather than chosen.
|
|
2060
|
+
"""
|
|
2061
|
+
|
|
2062
|
+
|
|
2063
|
+
class ReasoningMessageContentEvent(BaseEvent):
|
|
2064
|
+
"""Appends a fragment to a streamed reasoning message."""
|
|
2065
|
+
|
|
2066
|
+
type: Literal[EventType.REASONING_MESSAGE_CONTENT] = EventType.REASONING_MESSAGE_CONTENT
|
|
2067
|
+
"""
|
|
2068
|
+
Which event this is. Each event definition narrows this to a single
|
|
2069
|
+
value.
|
|
2070
|
+
"""
|
|
2071
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
2072
|
+
"""
|
|
2073
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
2074
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
2075
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
2076
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
2077
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
2078
|
+
another unit will be misread by consumers even though it validates.
|
|
2079
|
+
Nothing in the protocol computes with this value.
|
|
2080
|
+
"""
|
|
2081
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
2082
|
+
"""
|
|
2083
|
+
The provider-native event this one was translated from, carried verbatim
|
|
2084
|
+
for debugging and for consumers that need detail the protocol does not
|
|
2085
|
+
model. Any JSON value.
|
|
2086
|
+
"""
|
|
2087
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
2088
|
+
"""Extra information attached to this event."""
|
|
2089
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
2090
|
+
"""
|
|
2091
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
2092
|
+
produced it directly.
|
|
2093
|
+
"""
|
|
2094
|
+
message_id: str
|
|
2095
|
+
"""The reasoning message this fragment belongs to."""
|
|
2096
|
+
delta: str
|
|
2097
|
+
"""The fragment to append. May be the empty string."""
|
|
2098
|
+
|
|
2099
|
+
|
|
2100
|
+
class ReasoningMessageEndEvent(BaseEvent):
|
|
2101
|
+
"""Closes a streamed reasoning message."""
|
|
2102
|
+
|
|
2103
|
+
type: Literal[EventType.REASONING_MESSAGE_END] = EventType.REASONING_MESSAGE_END
|
|
2104
|
+
"""
|
|
2105
|
+
Which event this is. Each event definition narrows this to a single
|
|
2106
|
+
value.
|
|
2107
|
+
"""
|
|
2108
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
2109
|
+
"""
|
|
2110
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
2111
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
2112
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
2113
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
2114
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
2115
|
+
another unit will be misread by consumers even though it validates.
|
|
2116
|
+
Nothing in the protocol computes with this value.
|
|
2117
|
+
"""
|
|
2118
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
2119
|
+
"""
|
|
2120
|
+
The provider-native event this one was translated from, carried verbatim
|
|
2121
|
+
for debugging and for consumers that need detail the protocol does not
|
|
2122
|
+
model. Any JSON value.
|
|
2123
|
+
"""
|
|
2124
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
2125
|
+
"""Extra information attached to this event."""
|
|
2126
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
2127
|
+
"""
|
|
2128
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
2129
|
+
produced it directly.
|
|
2130
|
+
"""
|
|
2131
|
+
message_id: str
|
|
2132
|
+
"""The reasoning message being closed."""
|
|
2133
|
+
|
|
2134
|
+
|
|
2135
|
+
class ReasoningMessageChunkEvent(BaseEvent):
|
|
2136
|
+
"""
|
|
2137
|
+
A shorthand that stands in for a reasoning message's start, content and
|
|
2138
|
+
end sequence.
|
|
2139
|
+
"""
|
|
2140
|
+
|
|
2141
|
+
type: Literal[EventType.REASONING_MESSAGE_CHUNK] = EventType.REASONING_MESSAGE_CHUNK
|
|
2142
|
+
"""
|
|
2143
|
+
Which event this is. Each event definition narrows this to a single
|
|
2144
|
+
value.
|
|
2145
|
+
"""
|
|
2146
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
2147
|
+
"""
|
|
2148
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
2149
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
2150
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
2151
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
2152
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
2153
|
+
another unit will be misread by consumers even though it validates.
|
|
2154
|
+
Nothing in the protocol computes with this value.
|
|
2155
|
+
"""
|
|
2156
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
2157
|
+
"""
|
|
2158
|
+
The provider-native event this one was translated from, carried verbatim
|
|
2159
|
+
for debugging and for consumers that need detail the protocol does not
|
|
2160
|
+
model. Any JSON value.
|
|
2161
|
+
"""
|
|
2162
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
2163
|
+
"""Extra information attached to this event."""
|
|
2164
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
2165
|
+
"""
|
|
2166
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
2167
|
+
produced it directly.
|
|
2168
|
+
"""
|
|
2169
|
+
message_id: Optional[str] = Field(default=None)
|
|
2170
|
+
"""
|
|
2171
|
+
The reasoning message this chunk belongs to. Absent continues the one
|
|
2172
|
+
already open.
|
|
2173
|
+
"""
|
|
2174
|
+
delta: Optional[str] = Field(default=None)
|
|
2175
|
+
"""The fragment to append. May be the empty string."""
|
|
2176
|
+
|
|
2177
|
+
|
|
2178
|
+
class ReasoningEndEvent(BaseEvent):
|
|
2179
|
+
"""Closes a span of reasoning."""
|
|
2180
|
+
|
|
2181
|
+
type: Literal[EventType.REASONING_END] = EventType.REASONING_END
|
|
2182
|
+
"""
|
|
2183
|
+
Which event this is. Each event definition narrows this to a single
|
|
2184
|
+
value.
|
|
2185
|
+
"""
|
|
2186
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
2187
|
+
"""
|
|
2188
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
2189
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
2190
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
2191
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
2192
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
2193
|
+
another unit will be misread by consumers even though it validates.
|
|
2194
|
+
Nothing in the protocol computes with this value.
|
|
2195
|
+
"""
|
|
2196
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
2197
|
+
"""
|
|
2198
|
+
The provider-native event this one was translated from, carried verbatim
|
|
2199
|
+
for debugging and for consumers that need detail the protocol does not
|
|
2200
|
+
model. Any JSON value.
|
|
2201
|
+
"""
|
|
2202
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
2203
|
+
"""Extra information attached to this event."""
|
|
2204
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
2205
|
+
"""
|
|
2206
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
2207
|
+
produced it directly.
|
|
2208
|
+
"""
|
|
2209
|
+
message_id: str
|
|
2210
|
+
"""The span being closed."""
|
|
2211
|
+
|
|
2212
|
+
|
|
2213
|
+
ReasoningEncryptedValueSubtype = Literal["tool-call", "message"]
|
|
2214
|
+
"""Whether a REASONING_ENCRYPTED_VALUE belongs to a message or to a tool call."""
|
|
2215
|
+
|
|
2216
|
+
|
|
2217
|
+
class ReasoningEncryptedValueEvent(BaseEvent):
|
|
2218
|
+
"""
|
|
2219
|
+
Carries a provider's opaque, encrypted reasoning artefact, which a
|
|
2220
|
+
consumer stores and returns on a later turn without being able to read
|
|
2221
|
+
it.
|
|
2222
|
+
"""
|
|
2223
|
+
|
|
2224
|
+
type: Literal[EventType.REASONING_ENCRYPTED_VALUE] = EventType.REASONING_ENCRYPTED_VALUE
|
|
2225
|
+
"""
|
|
2226
|
+
Which event this is. Each event definition narrows this to a single
|
|
2227
|
+
value.
|
|
2228
|
+
"""
|
|
2229
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
2230
|
+
"""
|
|
2231
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
2232
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
2233
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
2234
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
2235
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
2236
|
+
another unit will be misread by consumers even though it validates.
|
|
2237
|
+
Nothing in the protocol computes with this value.
|
|
2238
|
+
"""
|
|
2239
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
2240
|
+
"""
|
|
2241
|
+
The provider-native event this one was translated from, carried verbatim
|
|
2242
|
+
for debugging and for consumers that need detail the protocol does not
|
|
2243
|
+
model. Any JSON value.
|
|
2244
|
+
"""
|
|
2245
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
2246
|
+
"""Extra information attached to this event."""
|
|
2247
|
+
subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
2248
|
+
"""
|
|
2249
|
+
The subagent invocation this belongs to. Absent means the parent agent
|
|
2250
|
+
produced it directly.
|
|
2251
|
+
"""
|
|
2252
|
+
subtype: ReasoningEncryptedValueSubtype
|
|
2253
|
+
"""
|
|
2254
|
+
What kind of thing entityId names, which decides where the value is
|
|
2255
|
+
stored.
|
|
2256
|
+
"""
|
|
2257
|
+
entity_id: str
|
|
2258
|
+
"""
|
|
2259
|
+
What the value belongs to: a message id or a tool call id, according to
|
|
2260
|
+
subtype.
|
|
2261
|
+
"""
|
|
2262
|
+
encrypted_value: str
|
|
2263
|
+
"""The provider's opaque artefact."""
|
|
2264
|
+
|
|
2265
|
+
|
|
2266
|
+
class SubagentStartedEvent(BaseEvent):
|
|
2267
|
+
"""
|
|
2268
|
+
Announces that a subagent invocation has begun. Everything the subagent
|
|
2269
|
+
produces afterwards is attributed by carrying its subagentRunId, so a
|
|
2270
|
+
consumer can group the work without replaying the stream. Composed from
|
|
2271
|
+
BaseEvent alone rather than Attributable, because here subagentRunId
|
|
2272
|
+
identifies the subagent rather than attributing the event to one;
|
|
2273
|
+
attribution to an enclosing subagent is parentSubagentRunId.
|
|
2274
|
+
"""
|
|
2275
|
+
|
|
2276
|
+
type: Literal[EventType.SUBAGENT_STARTED] = EventType.SUBAGENT_STARTED
|
|
2277
|
+
"""
|
|
2278
|
+
Which event this is. Each event definition narrows this to a single
|
|
2279
|
+
value.
|
|
2280
|
+
"""
|
|
2281
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
2282
|
+
"""
|
|
2283
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
2284
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
2285
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
2286
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
2287
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
2288
|
+
another unit will be misread by consumers even though it validates.
|
|
2289
|
+
Nothing in the protocol computes with this value.
|
|
2290
|
+
"""
|
|
2291
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
2292
|
+
"""
|
|
2293
|
+
The provider-native event this one was translated from, carried verbatim
|
|
2294
|
+
for debugging and for consumers that need detail the protocol does not
|
|
2295
|
+
model. Any JSON value.
|
|
2296
|
+
"""
|
|
2297
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
2298
|
+
"""Extra information attached to this event."""
|
|
2299
|
+
subagent_run_id: SubagentRunId
|
|
2300
|
+
"""The invocation being announced."""
|
|
2301
|
+
name: str
|
|
2302
|
+
"""
|
|
2303
|
+
The subagent's name, which is reusable across invocations, unlike
|
|
2304
|
+
subagentRunId.
|
|
2305
|
+
"""
|
|
2306
|
+
description: Optional[str] = Field(default=None)
|
|
2307
|
+
"""What this subagent is for, for a consumer to display."""
|
|
2308
|
+
parent_subagent_run_id: Optional[SubagentRunId] = Field(default=None)
|
|
2309
|
+
"""
|
|
2310
|
+
The subagent invocation that spawned this one, for nested delegation.
|
|
2311
|
+
Absent means the parent agent spawned it directly.
|
|
2312
|
+
"""
|
|
2313
|
+
parent_tool_call_id: Optional[str] = Field(default=None)
|
|
2314
|
+
"""
|
|
2315
|
+
The tool call that spawned this subagent, for the pattern where agents
|
|
2316
|
+
are exposed to a model as tools. Lets a consumer tie the subagent to the
|
|
2317
|
+
call without reading rawEvent.
|
|
2318
|
+
"""
|
|
2319
|
+
parent_message_id: Optional[str] = Field(default=None)
|
|
2320
|
+
"""The message that held the spawning tool call."""
|
|
2321
|
+
|
|
2322
|
+
|
|
2323
|
+
class SubagentFinishedSuccessOutcome(GeneratedBaseModel):
|
|
2324
|
+
"""The subagent completed its work. Equivalent to an absent outcome."""
|
|
2325
|
+
|
|
2326
|
+
type: Literal["success"] = "success"
|
|
2327
|
+
"""Discriminator."""
|
|
2328
|
+
|
|
2329
|
+
|
|
2330
|
+
class SubagentFinishedSuspendedOutcome(GeneratedBaseModel):
|
|
2331
|
+
"""
|
|
2332
|
+
The subagent is paused awaiting outside input. Terminal for this stream,
|
|
2333
|
+
not for the subagent: a later run may continue the same invocation once
|
|
2334
|
+
the interrupts are answered.
|
|
2335
|
+
"""
|
|
2336
|
+
|
|
2337
|
+
type: Literal["suspended"] = "suspended"
|
|
2338
|
+
"""Discriminator."""
|
|
2339
|
+
interrupt_ids: Optional[List[str]] = Field(default=None)
|
|
2340
|
+
"""
|
|
2341
|
+
The run-level interrupts this subagent raised itself. May be empty or
|
|
2342
|
+
absent: a subagent suspended because a descendant interrupted owns no
|
|
2343
|
+
interrupt of its own. Each item: An Interrupt.id.
|
|
2344
|
+
"""
|
|
2345
|
+
|
|
2346
|
+
|
|
2347
|
+
SubagentFinishedOutcome = Annotated[
|
|
2348
|
+
Union[SubagentFinishedSuccessOutcome, SubagentFinishedSuspendedOutcome],
|
|
2349
|
+
Field(discriminator="type"),
|
|
2350
|
+
]
|
|
2351
|
+
"""
|
|
2352
|
+
Why a subagent's segment of a run ended. Mirrors RunFinishedOutcome one
|
|
2353
|
+
level down.
|
|
2354
|
+
"""
|
|
2355
|
+
|
|
2356
|
+
|
|
2357
|
+
class SubagentFinishedEvent(BaseEvent):
|
|
2358
|
+
"""
|
|
2359
|
+
Ends a subagent invocation's segment of this run, either because the
|
|
2360
|
+
work completed or because it is suspended awaiting outside input.
|
|
2361
|
+
"""
|
|
2362
|
+
|
|
2363
|
+
type: Literal[EventType.SUBAGENT_FINISHED] = EventType.SUBAGENT_FINISHED
|
|
2364
|
+
"""
|
|
2365
|
+
Which event this is. Each event definition narrows this to a single
|
|
2366
|
+
value.
|
|
2367
|
+
"""
|
|
2368
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
2369
|
+
"""
|
|
2370
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
2371
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
2372
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
2373
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
2374
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
2375
|
+
another unit will be misread by consumers even though it validates.
|
|
2376
|
+
Nothing in the protocol computes with this value.
|
|
2377
|
+
"""
|
|
2378
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
2379
|
+
"""
|
|
2380
|
+
The provider-native event this one was translated from, carried verbatim
|
|
2381
|
+
for debugging and for consumers that need detail the protocol does not
|
|
2382
|
+
model. Any JSON value.
|
|
2383
|
+
"""
|
|
2384
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
2385
|
+
"""Extra information attached to this event."""
|
|
2386
|
+
subagent_run_id: SubagentRunId
|
|
2387
|
+
"""The invocation being closed."""
|
|
2388
|
+
result: Optional[Any] = Field(default=None)
|
|
2389
|
+
"""
|
|
2390
|
+
The subagent's return value, if it has one. Any JSON value, mirroring
|
|
2391
|
+
RUN_FINISHED.result.
|
|
2392
|
+
"""
|
|
2393
|
+
outcome: Optional[SubagentFinishedOutcome] = Field(default=None)
|
|
2394
|
+
"""
|
|
2395
|
+
Why the segment ended. Absent means success. A suspended subagent is
|
|
2396
|
+
neither a success nor a failure, which is why saying so needs its own
|
|
2397
|
+
value rather than being inferred from a later interrupt.
|
|
2398
|
+
"""
|
|
2399
|
+
|
|
2400
|
+
|
|
2401
|
+
class SubagentErrorEvent(BaseEvent):
|
|
2402
|
+
"""
|
|
2403
|
+
Reports that a subagent invocation failed. The run may continue: a
|
|
2404
|
+
parent agent is free to handle a failed subagent, which is why this is
|
|
2405
|
+
not RUN_ERROR.
|
|
2406
|
+
"""
|
|
2407
|
+
|
|
2408
|
+
type: Literal[EventType.SUBAGENT_ERROR] = EventType.SUBAGENT_ERROR
|
|
2409
|
+
"""
|
|
2410
|
+
Which event this is. Each event definition narrows this to a single
|
|
2411
|
+
value.
|
|
2412
|
+
"""
|
|
2413
|
+
timestamp: Optional[int] = Field(default=None, ge=-9007199254740991, le=9007199254740991)
|
|
2414
|
+
"""
|
|
2415
|
+
When the event was created. Bounded to the range JSON numbers survive a
|
|
2416
|
+
round trip in, so the value a consumer reads is the value the producer
|
|
2417
|
+
wrote. Deliberately not a float. The unit is not constrained here,
|
|
2418
|
+
because it never has been stated normatively; every SDK that sets it in
|
|
2419
|
+
practice uses milliseconds since the Unix epoch, and a producer choosing
|
|
2420
|
+
another unit will be misread by consumers even though it validates.
|
|
2421
|
+
Nothing in the protocol computes with this value.
|
|
2422
|
+
"""
|
|
2423
|
+
raw_event: Optional[Any] = Field(default=None)
|
|
2424
|
+
"""
|
|
2425
|
+
The provider-native event this one was translated from, carried verbatim
|
|
2426
|
+
for debugging and for consumers that need detail the protocol does not
|
|
2427
|
+
model. Any JSON value.
|
|
2428
|
+
"""
|
|
2429
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
2430
|
+
"""Extra information attached to this event."""
|
|
2431
|
+
subagent_run_id: SubagentRunId
|
|
2432
|
+
"""The invocation that failed."""
|
|
2433
|
+
message: str
|
|
2434
|
+
"""What went wrong, for a person to read."""
|
|
2435
|
+
code: Optional[str] = Field(default=None)
|
|
2436
|
+
"""A machine-readable error code. An open string."""
|
|
2437
|
+
|
|
2438
|
+
|
|
2439
|
+
Event = Annotated[
|
|
2440
|
+
Union[TextMessageStartEvent, TextMessageContentEvent, TextMessageEndEvent, TextMessageChunkEvent, ToolCallStartEvent, ToolCallArgsEvent, ToolCallEndEvent, ToolCallChunkEvent, ToolCallResultEvent, StateSnapshotEvent, StateDeltaEvent, MessagesSnapshotEvent, ActivitySnapshotEvent, ActivityDeltaEvent, RawEvent, CustomEvent, RunStartedEvent, RunFinishedEvent, RunErrorEvent, StepStartedEvent, StepFinishedEvent, ReasoningStartEvent, ReasoningMessageStartEvent, ReasoningMessageContentEvent, ReasoningMessageEndEvent, ReasoningMessageChunkEvent, ReasoningEndEvent, ReasoningEncryptedValueEvent, SubagentStartedEvent, SubagentFinishedEvent, SubagentErrorEvent],
|
|
2441
|
+
Field(discriminator="type"),
|
|
2442
|
+
]
|
|
2443
|
+
"""
|
|
2444
|
+
Any AG-UI event. Every member is normative: there is no optional tier and no
|
|
2445
|
+
event a consumer may decline to implement. Discriminated by the type
|
|
2446
|
+
property.
|
|
2447
|
+
"""
|
|
2448
|
+
|
|
2449
|
+
|
|
2450
|
+
Role = Literal["developer", "system", "assistant", "user", "tool", "activity", "reasoning"]
|
|
2451
|
+
"""Every role a materialised message may have."""
|
|
2452
|
+
|
|
2453
|
+
|
|
2454
|
+
class SubagentInfo(GeneratedBaseModel):
|
|
2455
|
+
"""Describes a subagent that can be invoked by a parent agent."""
|
|
2456
|
+
|
|
2457
|
+
name: str
|
|
2458
|
+
"""Unique name or identifier of the subagent."""
|
|
2459
|
+
description: Optional[str] = Field(default=None)
|
|
2460
|
+
"""
|
|
2461
|
+
What this subagent specializes in. Helps clients build agent selection
|
|
2462
|
+
UIs.
|
|
2463
|
+
"""
|
|
2464
|
+
|
|
2465
|
+
|
|
2466
|
+
class IdentityCapabilities(GeneratedBaseModel):
|
|
2467
|
+
"""
|
|
2468
|
+
Basic metadata about the agent. Useful for discovery UIs, agent
|
|
2469
|
+
marketplaces, and debugging. Set these when you want clients to display
|
|
2470
|
+
agent information or when multiple agents are available and users need
|
|
2471
|
+
to pick one.
|
|
2472
|
+
"""
|
|
2473
|
+
|
|
2474
|
+
name: Optional[str] = Field(default=None)
|
|
2475
|
+
"""Human-readable name shown in UIs and agent selectors."""
|
|
2476
|
+
type: Optional[str] = Field(default=None)
|
|
2477
|
+
"""
|
|
2478
|
+
The framework or platform powering this agent (e.g., "langgraph",
|
|
2479
|
+
"mastra", "crewai").
|
|
2480
|
+
"""
|
|
2481
|
+
description: Optional[str] = Field(default=None)
|
|
2482
|
+
"""
|
|
2483
|
+
What this agent does — helps users and routing logic decide when to use
|
|
2484
|
+
it.
|
|
2485
|
+
"""
|
|
2486
|
+
version: Optional[str] = Field(default=None)
|
|
2487
|
+
"""
|
|
2488
|
+
Semantic version of the agent (e.g., "1.2.0"). Useful for compatibility
|
|
2489
|
+
checks.
|
|
2490
|
+
"""
|
|
2491
|
+
provider: Optional[str] = Field(default=None)
|
|
2492
|
+
"""Organization or team that maintains this agent."""
|
|
2493
|
+
documentation_url: Optional[str] = Field(default=None)
|
|
2494
|
+
"""URL to the agent's documentation or homepage."""
|
|
2495
|
+
metadata: Optional[Metadata] = Field(default=None)
|
|
2496
|
+
"""Arbitrary key-value pairs for integration-specific identity info."""
|
|
2497
|
+
|
|
2498
|
+
|
|
2499
|
+
class TransportCapabilities(GeneratedBaseModel):
|
|
2500
|
+
"""
|
|
2501
|
+
Declares which transport mechanisms the agent supports. Clients use this
|
|
2502
|
+
to pick the best connection strategy. Only set flags to true for
|
|
2503
|
+
transports your agent actually handles — omit or set false for
|
|
2504
|
+
unsupported ones.
|
|
2505
|
+
"""
|
|
2506
|
+
|
|
2507
|
+
streaming: Optional[bool] = Field(default=None)
|
|
2508
|
+
"""
|
|
2509
|
+
Set true if the agent streams responses via SSE. Most agents enable
|
|
2510
|
+
this.
|
|
2511
|
+
"""
|
|
2512
|
+
websocket: Optional[bool] = Field(default=None)
|
|
2513
|
+
"""Set true if the agent accepts persistent WebSocket connections."""
|
|
2514
|
+
http_binary: Optional[bool] = Field(default=None)
|
|
2515
|
+
"""
|
|
2516
|
+
Set true if the agent supports the AG-UI binary protocol (protobuf over
|
|
2517
|
+
HTTP).
|
|
2518
|
+
"""
|
|
2519
|
+
push_notifications: Optional[bool] = Field(default=None)
|
|
2520
|
+
"""
|
|
2521
|
+
Set true if the agent can send async updates via webhooks after a run
|
|
2522
|
+
finishes.
|
|
2523
|
+
"""
|
|
2524
|
+
resumable: Optional[bool] = Field(default=None)
|
|
2525
|
+
"""
|
|
2526
|
+
Set true if the agent supports resuming interrupted streams via sequence
|
|
2527
|
+
numbers.
|
|
2528
|
+
"""
|
|
2529
|
+
|
|
2530
|
+
|
|
2531
|
+
class ToolsCapabilities(GeneratedBaseModel):
|
|
2532
|
+
"""
|
|
2533
|
+
Tool calling capabilities. Distinguishes between tools the agent itself
|
|
2534
|
+
provides (listed in items) and tools the client passes at runtime via
|
|
2535
|
+
RunAgentInput.tools. Enable this when your agent can call functions,
|
|
2536
|
+
search the web, execute code, etc.
|
|
2537
|
+
"""
|
|
2538
|
+
|
|
2539
|
+
supported: Optional[bool] = Field(default=None)
|
|
2540
|
+
"""
|
|
2541
|
+
Set true if the agent can make tool calls at all. Set false to
|
|
2542
|
+
explicitly signal tool calling is disabled even if items are present.
|
|
2543
|
+
"""
|
|
2544
|
+
items: Optional[List[Tool]] = Field(default=None)
|
|
2545
|
+
"""
|
|
2546
|
+
The tools this agent provides on its own (full JSON Schema definitions).
|
|
2547
|
+
These are distinct from client-provided tools passed in
|
|
2548
|
+
RunAgentInput.tools.
|
|
2549
|
+
"""
|
|
2550
|
+
parallel_calls: Optional[bool] = Field(default=None)
|
|
2551
|
+
"""
|
|
2552
|
+
Set true if the agent can invoke multiple tools concurrently within a
|
|
2553
|
+
single step.
|
|
2554
|
+
"""
|
|
2555
|
+
client_provided: Optional[bool] = Field(default=None)
|
|
2556
|
+
"""
|
|
2557
|
+
Set true if the agent accepts and uses tools provided by the client at
|
|
2558
|
+
runtime.
|
|
2559
|
+
"""
|
|
2560
|
+
|
|
2561
|
+
|
|
2562
|
+
class OutputCapabilities(GeneratedBaseModel):
|
|
2563
|
+
"""
|
|
2564
|
+
Output format support. Enable structuredOutput when your agent can
|
|
2565
|
+
return responses conforming to a JSON schema, which is useful for
|
|
2566
|
+
programmatic consumption.
|
|
2567
|
+
"""
|
|
2568
|
+
|
|
2569
|
+
structured_output: Optional[bool] = Field(default=None)
|
|
2570
|
+
"""
|
|
2571
|
+
Set true if the agent can produce structured JSON output matching a
|
|
2572
|
+
provided schema.
|
|
2573
|
+
"""
|
|
2574
|
+
supported_mime_types: Optional[List[str]] = Field(default=None)
|
|
2575
|
+
"""
|
|
2576
|
+
MIME types the agent can produce (e.g., ["text/plain",
|
|
2577
|
+
"application/json"]). Omit if the agent only produces plain text.
|
|
2578
|
+
"""
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
class StateCapabilities(GeneratedBaseModel):
|
|
2582
|
+
"""
|
|
2583
|
+
State and memory management capabilities. These tell the client how the
|
|
2584
|
+
agent handles shared state and whether conversation context persists
|
|
2585
|
+
across runs.
|
|
2586
|
+
"""
|
|
2587
|
+
|
|
2588
|
+
snapshots: Optional[bool] = Field(default=None)
|
|
2589
|
+
"""
|
|
2590
|
+
Set true if the agent emits STATE_SNAPSHOT events (full state
|
|
2591
|
+
replacement).
|
|
2592
|
+
"""
|
|
2593
|
+
deltas: Optional[bool] = Field(default=None)
|
|
2594
|
+
"""
|
|
2595
|
+
Set true if the agent emits STATE_DELTA events (JSON Patch incremental
|
|
2596
|
+
updates).
|
|
2597
|
+
"""
|
|
2598
|
+
memory: Optional[bool] = Field(default=None)
|
|
2599
|
+
"""
|
|
2600
|
+
Set true if the agent has long-term memory beyond the current thread
|
|
2601
|
+
(e.g., vector store, knowledge base, or cross-session recall).
|
|
2602
|
+
"""
|
|
2603
|
+
persistent_state: Optional[bool] = Field(default=None)
|
|
2604
|
+
"""
|
|
2605
|
+
Set true if state is preserved across multiple runs within the same
|
|
2606
|
+
thread. When false, state resets on each run.
|
|
2607
|
+
"""
|
|
2608
|
+
|
|
2609
|
+
|
|
2610
|
+
class MultiAgentCapabilities(GeneratedBaseModel):
|
|
2611
|
+
"""
|
|
2612
|
+
Multi-agent coordination capabilities. Enable these when your agent can
|
|
2613
|
+
orchestrate or hand off work to other agents.
|
|
2614
|
+
"""
|
|
2615
|
+
|
|
2616
|
+
supported: Optional[bool] = Field(default=None)
|
|
2617
|
+
"""
|
|
2618
|
+
Set true if the agent participates in any form of multi-agent
|
|
2619
|
+
coordination.
|
|
2620
|
+
"""
|
|
2621
|
+
delegation: Optional[bool] = Field(default=None)
|
|
2622
|
+
"""
|
|
2623
|
+
Set true if the agent can delegate subtasks to other agents while
|
|
2624
|
+
retaining control.
|
|
2625
|
+
"""
|
|
2626
|
+
handoffs: Optional[bool] = Field(default=None)
|
|
2627
|
+
"""
|
|
2628
|
+
Set true if the agent can transfer the conversation entirely to another
|
|
2629
|
+
agent.
|
|
2630
|
+
"""
|
|
2631
|
+
subagents: Optional[List[SubagentInfo]] = Field(default=None)
|
|
2632
|
+
"""
|
|
2633
|
+
List of subagents this agent can invoke. Helps clients build agent
|
|
2634
|
+
selection UIs.
|
|
2635
|
+
"""
|
|
2636
|
+
|
|
2637
|
+
|
|
2638
|
+
class ReasoningCapabilities(GeneratedBaseModel):
|
|
2639
|
+
"""
|
|
2640
|
+
Reasoning and thinking capabilities. Enable these when your agent
|
|
2641
|
+
exposes its internal thought process (e.g., chain-of-thought, extended
|
|
2642
|
+
thinking).
|
|
2643
|
+
"""
|
|
2644
|
+
|
|
2645
|
+
supported: Optional[bool] = Field(default=None)
|
|
2646
|
+
"""
|
|
2647
|
+
Set true if the agent produces reasoning/thinking tokens visible to the
|
|
2648
|
+
client.
|
|
2649
|
+
"""
|
|
2650
|
+
streaming: Optional[bool] = Field(default=None)
|
|
2651
|
+
"""
|
|
2652
|
+
Set true if reasoning tokens are streamed incrementally (vs. returned
|
|
2653
|
+
all at once).
|
|
2654
|
+
"""
|
|
2655
|
+
encrypted: Optional[bool] = Field(default=None)
|
|
2656
|
+
"""
|
|
2657
|
+
Set true if reasoning content is encrypted (zero-data-retention mode).
|
|
2658
|
+
Clients should expect opaque encryptedValue fields instead of readable
|
|
2659
|
+
content.
|
|
2660
|
+
"""
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
class MultimodalInputCapabilities(GeneratedBaseModel):
|
|
2664
|
+
"""
|
|
2665
|
+
Modalities the agent can accept as input. Clients use this to show or
|
|
2666
|
+
hide file upload buttons, audio recorders, image pickers, etc.
|
|
2667
|
+
"""
|
|
2668
|
+
|
|
2669
|
+
image: Optional[bool] = Field(default=None)
|
|
2670
|
+
"""
|
|
2671
|
+
Set true if the agent can process image inputs (e.g., screenshots,
|
|
2672
|
+
photos).
|
|
2673
|
+
"""
|
|
2674
|
+
audio: Optional[bool] = Field(default=None)
|
|
2675
|
+
"""Set true if the agent can process audio inputs (speech, recordings)."""
|
|
2676
|
+
video: Optional[bool] = Field(default=None)
|
|
2677
|
+
"""Set true if the agent can process video inputs."""
|
|
2678
|
+
pdf: Optional[bool] = Field(default=None)
|
|
2679
|
+
"""Set true if the agent can process PDF documents."""
|
|
2680
|
+
file: Optional[bool] = Field(default=None)
|
|
2681
|
+
"""
|
|
2682
|
+
Set true if the agent can process arbitrary file uploads: files of a
|
|
2683
|
+
kind the image, audio, video and document parts do not cover. Says
|
|
2684
|
+
nothing about how a file arrives; a part's source (inline, URL or
|
|
2685
|
+
provider handle) is a separate question.
|
|
2686
|
+
"""
|
|
2687
|
+
|
|
2688
|
+
|
|
2689
|
+
class MultimodalOutputCapabilities(GeneratedBaseModel):
|
|
2690
|
+
"""
|
|
2691
|
+
Modalities the agent can produce as output. Clients use this to
|
|
2692
|
+
anticipate rich content in the agent's response.
|
|
2693
|
+
"""
|
|
2694
|
+
|
|
2695
|
+
image: Optional[bool] = Field(default=None)
|
|
2696
|
+
"""Set true if the agent can generate images as part of its response."""
|
|
2697
|
+
audio: Optional[bool] = Field(default=None)
|
|
2698
|
+
"""
|
|
2699
|
+
Set true if the agent can produce audio output (text-to-speech, audio
|
|
2700
|
+
files).
|
|
2701
|
+
"""
|
|
2702
|
+
|
|
2703
|
+
|
|
2704
|
+
class MultimodalCapabilities(GeneratedBaseModel):
|
|
2705
|
+
"""
|
|
2706
|
+
Multimodal input and output support. Organized into input and output
|
|
2707
|
+
sub-objects so clients can independently query what the agent accepts
|
|
2708
|
+
versus what it produces.
|
|
2709
|
+
"""
|
|
2710
|
+
|
|
2711
|
+
input: Optional[MultimodalInputCapabilities] = Field(default=None)
|
|
2712
|
+
"""
|
|
2713
|
+
Modalities the agent can accept as input (images, audio, video, PDFs,
|
|
2714
|
+
files).
|
|
2715
|
+
"""
|
|
2716
|
+
output: Optional[MultimodalOutputCapabilities] = Field(default=None)
|
|
2717
|
+
"""Modalities the agent can produce as output (images, audio)."""
|
|
2718
|
+
|
|
2719
|
+
|
|
2720
|
+
class ExecutionCapabilities(GeneratedBaseModel):
|
|
2721
|
+
"""
|
|
2722
|
+
Execution control and limits. Declare these so clients can set
|
|
2723
|
+
expectations about how long or how many steps an agent run might take.
|
|
2724
|
+
"""
|
|
2725
|
+
|
|
2726
|
+
code_execution: Optional[bool] = Field(default=None)
|
|
2727
|
+
"""
|
|
2728
|
+
Set true if the agent can execute code (e.g., Python, JavaScript) during
|
|
2729
|
+
a run.
|
|
2730
|
+
"""
|
|
2731
|
+
sandboxed: Optional[bool] = Field(default=None)
|
|
2732
|
+
"""
|
|
2733
|
+
Set true if code execution happens in a sandboxed or isolated
|
|
2734
|
+
environment. Only meaningful when codeExecution is true.
|
|
2735
|
+
"""
|
|
2736
|
+
max_iterations: Optional[int] = Field(default=None, ge=0, le=9007199254740991)
|
|
2737
|
+
"""
|
|
2738
|
+
Maximum number of tool-call/reasoning iterations the agent will perform
|
|
2739
|
+
per run. Helps clients display progress or set timeout expectations.
|
|
2740
|
+
"""
|
|
2741
|
+
max_execution_time: Optional[int] = Field(default=None, ge=0, le=9007199254740991)
|
|
2742
|
+
"""
|
|
2743
|
+
Maximum wall-clock time (in milliseconds) the agent will run before
|
|
2744
|
+
timing out.
|
|
2745
|
+
"""
|
|
2746
|
+
|
|
2747
|
+
|
|
2748
|
+
class HumanInTheLoopCapabilities(GeneratedBaseModel):
|
|
2749
|
+
"""
|
|
2750
|
+
Human-in-the-loop interaction support. Enable these when your agent can
|
|
2751
|
+
pause execution to request human input, approval, or feedback before
|
|
2752
|
+
continuing.
|
|
2753
|
+
"""
|
|
2754
|
+
|
|
2755
|
+
supported: Optional[bool] = Field(default=None)
|
|
2756
|
+
"""
|
|
2757
|
+
Set true if the agent supports any form of human-in-the-loop
|
|
2758
|
+
interaction.
|
|
2759
|
+
"""
|
|
2760
|
+
approvals: Optional[bool] = Field(default=None)
|
|
2761
|
+
"""
|
|
2762
|
+
Set true if the agent can pause and request explicit approval before
|
|
2763
|
+
performing sensitive actions (e.g., sending emails, deleting data).
|
|
2764
|
+
"""
|
|
2765
|
+
interventions: Optional[bool] = Field(default=None)
|
|
2766
|
+
"""
|
|
2767
|
+
Set true if the agent allows humans to intervene and modify its plan
|
|
2768
|
+
mid-execution.
|
|
2769
|
+
"""
|
|
2770
|
+
feedback: Optional[bool] = Field(default=None)
|
|
2771
|
+
"""
|
|
2772
|
+
Set true if the agent can incorporate user feedback (thumbs up/down,
|
|
2773
|
+
corrections) to improve its behavior within the current session.
|
|
2774
|
+
"""
|
|
2775
|
+
interrupts: Optional[bool] = Field(default=None)
|
|
2776
|
+
"""
|
|
2777
|
+
Set true if the agent participates in the AG-UI interrupt protocol: it
|
|
2778
|
+
ends a run with RUN_FINISHED carrying an interrupt outcome, and accepts
|
|
2779
|
+
the answers back in RunAgentInput.resume.
|
|
2780
|
+
"""
|
|
2781
|
+
approve_with_edits: Optional[bool] = Field(default=None)
|
|
2782
|
+
"""
|
|
2783
|
+
Set true if tool-call interrupts accept editedArgs in the resume
|
|
2784
|
+
payload. Only meaningful when interrupts is true.
|
|
2785
|
+
"""
|
|
2786
|
+
|
|
2787
|
+
|
|
2788
|
+
class AgentCapabilities(GeneratedBaseModel):
|
|
2789
|
+
"""
|
|
2790
|
+
A typed, categorized snapshot of an agent's current capabilities. All
|
|
2791
|
+
fields are optional — agents only declare what they support. An omitted
|
|
2792
|
+
field means the capability is not declared (unknown), not that it is
|
|
2793
|
+
unsupported. The custom field is an escape hatch for
|
|
2794
|
+
integration-specific capabilities that do not fit into the standard
|
|
2795
|
+
categories.
|
|
2796
|
+
"""
|
|
2797
|
+
|
|
2798
|
+
identity: Optional[IdentityCapabilities] = Field(default=None)
|
|
2799
|
+
"""Agent identity and metadata."""
|
|
2800
|
+
transport: Optional[TransportCapabilities] = Field(default=None)
|
|
2801
|
+
"""Supported transport mechanisms (SSE, WebSocket, binary, etc.)."""
|
|
2802
|
+
tools: Optional[ToolsCapabilities] = Field(default=None)
|
|
2803
|
+
"""Tools the agent provides and tool calling configuration."""
|
|
2804
|
+
output: Optional[OutputCapabilities] = Field(default=None)
|
|
2805
|
+
"""Output format support (structured output, MIME types)."""
|
|
2806
|
+
state: Optional[StateCapabilities] = Field(default=None)
|
|
2807
|
+
"""State and memory management (snapshots, deltas, persistence)."""
|
|
2808
|
+
multi_agent: Optional[MultiAgentCapabilities] = Field(default=None)
|
|
2809
|
+
"""Multi-agent coordination (delegation, handoffs, subagents)."""
|
|
2810
|
+
reasoning: Optional[ReasoningCapabilities] = Field(default=None)
|
|
2811
|
+
"""Reasoning and thinking support (chain-of-thought, encrypted thinking)."""
|
|
2812
|
+
multimodal: Optional[MultimodalCapabilities] = Field(default=None)
|
|
2813
|
+
"""Multimodal input/output support (images, audio, video, files)."""
|
|
2814
|
+
execution: Optional[ExecutionCapabilities] = Field(default=None)
|
|
2815
|
+
"""Execution control and limits (code execution, timeouts, iteration caps)."""
|
|
2816
|
+
human_in_the_loop: Optional[HumanInTheLoopCapabilities] = Field(default=None)
|
|
2817
|
+
"""Human-in-the-loop support (approvals, interventions, feedback)."""
|
|
2818
|
+
custom: Optional[Dict[str, Any]] = Field(default=None)
|
|
2819
|
+
"""
|
|
2820
|
+
Integration-specific capabilities not covered by the standard
|
|
2821
|
+
categories. Open by key: any JSON value is allowed under a key, because
|
|
2822
|
+
the categories above cannot anticipate what an integration declares.
|
|
2823
|
+
"""
|
|
2824
|
+
|
|
2825
|
+
|