@levencode/deploom 0.0.0-stage → 0.2.21-next.1
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/LICENSE +202 -0
- package/README.md +40 -3
- package/THIRD_PARTY_NOTICES/CPython/CPython-third-party-license.rst +1183 -0
- package/THIRD_PARTY_NOTICES/CPython/LICENSE.txt +645 -0
- package/THIRD_PARTY_NOTICES/CPython/bzip2-1.0.8/LICENSE +42 -0
- package/THIRD_PARTY_NOTICES/CPython/expat-2.8.5/AUTHORS +10 -0
- package/THIRD_PARTY_NOTICES/CPython/expat-2.8.5/COPYING +21 -0
- package/THIRD_PARTY_NOTICES/CPython/hacl-star-bb3d0dc8d9d15a5cd51094d5b69e70aa09005ff0/LICENSE +201 -0
- package/THIRD_PARTY_NOTICES/CPython/libb2-0.98.1/COPYING +117 -0
- package/THIRD_PARTY_NOTICES/CPython/libffi-3.4.4/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/CPython/libffi-3.4.4/LICENSE-BUILDTOOLS +353 -0
- package/THIRD_PARTY_NOTICES/CPython/mpdecimal-4.0.0/COPYRIGHT.txt +23 -0
- package/THIRD_PARTY_NOTICES/CPython/official-embed.spdx.json +433 -0
- package/THIRD_PARTY_NOTICES/CPython/openssl-3.5.9/AUTHORS.md +53 -0
- package/THIRD_PARTY_NOTICES/CPython/openssl-3.5.9/LICENSE.txt +177 -0
- package/THIRD_PARTY_NOTICES/CPython/sqlite-3.50.4.0/public-domain.txt +32 -0
- package/THIRD_PARTY_NOTICES/CPython/xz-5.2.5/AUTHORS +27 -0
- package/THIRD_PARTY_NOTICES/CPython/xz-5.2.5/COPYING +65 -0
- package/THIRD_PARTY_NOTICES/CPython/xz-5.2.5/COPYING.GPLv2 +339 -0
- package/THIRD_PARTY_NOTICES/CPython/xz-5.2.5/COPYING.GPLv3 +674 -0
- package/THIRD_PARTY_NOTICES/CPython/xz-5.2.5/COPYING.LGPLv2.1 +502 -0
- package/THIRD_PARTY_NOTICES/CPython/zlib-1.3.1/LICENSE +22 -0
- package/THIRD_PARTY_NOTICES/CPython/zlib-1.3.1/README +117 -0
- package/THIRD_PARTY_NOTICES/PyJWT/pyjwt-2.15.1.dist-info/licenses/AUTHORS.rst +7 -0
- package/THIRD_PARTY_NOTICES/PyJWT/pyjwt-2.15.1.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/PyYAML/pyyaml-6.0.3.dist-info/licenses/LICENSE +20 -0
- package/THIRD_PARTY_NOTICES/annotated-types/annotated_types-0.8.0.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/anyio/anyio-4.15.1.dist-info/licenses/LICENSE +20 -0
- package/THIRD_PARTY_NOTICES/attrs/attrs-26.1.0.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/certifi/certifi-2026.10.23.dist-info/licenses/LICENSE +20 -0
- package/THIRD_PARTY_NOTICES/cffi/cffi-2.1.1.dist-info/licenses/LICENSE +23 -0
- package/THIRD_PARTY_NOTICES/charset-normalizer/charset_normalizer-3.5.2.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/click/click-8.5.0.dist-info/licenses/LICENSE.txt +28 -0
- package/THIRD_PARTY_NOTICES/cryptography/cryptography-50.0.2.dist-info/licenses/LICENSE +3 -0
- package/THIRD_PARTY_NOTICES/cryptography/cryptography-50.0.2.dist-info/licenses/LICENSE.APACHE +202 -0
- package/THIRD_PARTY_NOTICES/cryptography/cryptography-50.0.2.dist-info/licenses/LICENSE.BSD +27 -0
- package/THIRD_PARTY_NOTICES/deploom-mcp/deploom_mcp-0.2.21.dist-info/licenses/LICENSE +202 -0
- package/THIRD_PARTY_NOTICES/h11/h11-0.16.0.dist-info/licenses/LICENSE.txt +22 -0
- package/THIRD_PARTY_NOTICES/httpcore2/httpcore2-2.16.0.dist-info/licenses/LICENSE.md +28 -0
- package/THIRD_PARTY_NOTICES/httpx2/httpx2-2.16.0.dist-info/licenses/LICENSE.md +13 -0
- package/THIRD_PARTY_NOTICES/idna/idna-3.20.dist-info/licenses/LICENSE.md +31 -0
- package/THIRD_PARTY_NOTICES/jsonschema/jsonschema-4.26.0.dist-info/licenses/COPYING +19 -0
- package/THIRD_PARTY_NOTICES/jsonschema-specifications/jsonschema_specifications-2025.9.1.dist-info/licenses/COPYING +19 -0
- package/THIRD_PARTY_NOTICES/mcp/mcp-2.3.0.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/mcp-types/mcp_types-2.3.0.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/opentelemetry-api/opentelemetry_api-1.45.2.dist-info/licenses/LICENSE +201 -0
- package/THIRD_PARTY_NOTICES/pycparser/pycparser-3.12.dist-info/licenses/LICENSE +27 -0
- package/THIRD_PARTY_NOTICES/pydantic/pydantic-2.14.2.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/pydantic_core/pydantic_core-2.50.2.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/python-dateutil/python_dateutil-3.0.0.dist-info/licenses/LICENSE +54 -0
- package/THIRD_PARTY_NOTICES/python-multipart/python_multipart-0.0.32.dist-info/licenses/LICENSE.txt +202 -0
- package/THIRD_PARTY_NOTICES/pywin32/adodbapi/license.txt +505 -0
- package/THIRD_PARTY_NOTICES/pywin32/pythonwin/license.txt +30 -0
- package/THIRD_PARTY_NOTICES/pywin32/win32/license.txt +30 -0
- package/THIRD_PARTY_NOTICES/pywin32/win32com/License.txt +30 -0
- package/THIRD_PARTY_NOTICES/referencing/referencing-0.37.0.dist-info/licenses/COPYING +19 -0
- package/THIRD_PARTY_NOTICES/requests/requests-2.34.2.dist-info/licenses/LICENSE +175 -0
- package/THIRD_PARTY_NOTICES/requests/requests-2.34.2.dist-info/licenses/NOTICE +2 -0
- package/THIRD_PARTY_NOTICES/rpds-py/rpds_py-2026.9.1.dist-info/licenses/LICENSE +19 -0
- package/THIRD_PARTY_NOTICES/semantic-version/semantic_version-2.10.0.dist-info/LICENSE +22 -0
- package/THIRD_PARTY_NOTICES/six/six-1.17.0.dist-info/LICENSE +18 -0
- package/THIRD_PARTY_NOTICES/sse-starlette/sse_starlette-3.6.0.dist-info/licenses/AUTHORS +10 -0
- package/THIRD_PARTY_NOTICES/sse-starlette/sse_starlette-3.6.0.dist-info/licenses/LICENSE +27 -0
- package/THIRD_PARTY_NOTICES/starlette/starlette-1.10.0.dist-info/licenses/LICENSE.md +27 -0
- package/THIRD_PARTY_NOTICES/truststore/truststore-0.10.5.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/typing-inspection/typing_inspection-0.4.4.dist-info/licenses/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES/typing_extensions/typing_extensions-4.16.0.dist-info/licenses/LICENSE +279 -0
- package/THIRD_PARTY_NOTICES/tzdata/tzdata-2026.6.dist-info/licenses/LICENSE +16 -0
- package/THIRD_PARTY_NOTICES/tzdata/tzdata-2026.6.dist-info/licenses/licenses/LICENSE_APACHE +201 -0
- package/THIRD_PARTY_NOTICES/urllib3/urllib3-2.8.0.dist-info/licenses/LICENSE.txt +21 -0
- package/THIRD_PARTY_NOTICES/uvicorn/uvicorn-0.54.0.dist-info/licenses/LICENSE.md +27 -0
- package/THIRD_PARTY_NOTICES/z3-solver/BUILD-INFO.txt +3 -0
- package/THIRD_PARTY_NOTICES/z3-solver/GCC-COPYRIGHT.txt +1532 -0
- package/THIRD_PARTY_NOTICES/z3-solver/GCC-GPL-3.txt +674 -0
- package/THIRD_PARTY_NOTICES/z3-solver/GCC-RUNTIME-EXCEPTION.txt +73 -0
- package/THIRD_PARTY_NOTICES/z3-solver/MinGW-COPYRIGHT.txt +998 -0
- package/THIRD_PARTY_NOTICES/z3-solver/Z3-LICENSE.txt +10 -0
- package/THIRD_PARTY_NOTICES/z3-solver/compiler-copyright.txt +1714 -0
- package/bin/client-config.cjs +86 -0
- package/bin/deploom.cjs +223 -0
- package/bin/launch.cjs +71 -0
- package/bin/verify-runtime.cjs +42 -0
- package/package.json +41 -6
- package/runtime/LICENSE.txt +645 -0
- package/runtime/Lib/site-packages/00_deploom_runtime.pth +1 -0
- package/runtime/Lib/site-packages/PyWin32.chm +0 -0
- package/runtime/Lib/site-packages/_cffi_backend.cp313-win_amd64.pyd +0 -0
- package/runtime/Lib/site-packages/_yaml/__init__.py +33 -0
- package/runtime/Lib/site-packages/adodbapi/__init__.py +82 -0
- package/runtime/Lib/site-packages/adodbapi/ado_consts.py +283 -0
- package/runtime/Lib/site-packages/adodbapi/adodbapi.py +1153 -0
- package/runtime/Lib/site-packages/adodbapi/apibase.py +723 -0
- package/runtime/Lib/site-packages/adodbapi/examples/db_print.py +72 -0
- package/runtime/Lib/site-packages/adodbapi/examples/db_table_names.py +21 -0
- package/runtime/Lib/site-packages/adodbapi/examples/xls_read.py +41 -0
- package/runtime/Lib/site-packages/adodbapi/examples/xls_write.py +41 -0
- package/runtime/Lib/site-packages/adodbapi/is64bit.py +34 -0
- package/runtime/Lib/site-packages/adodbapi/license.txt +505 -0
- package/runtime/Lib/site-packages/adodbapi/process_connect_string.py +137 -0
- package/runtime/Lib/site-packages/adodbapi/readme.txt +88 -0
- package/runtime/Lib/site-packages/adodbapi/schema_table.py +16 -0
- package/runtime/Lib/site-packages/adodbapi/setup.py +68 -0
- package/runtime/Lib/site-packages/adodbapi/test/adodbapitest.py +1547 -0
- package/runtime/Lib/site-packages/adodbapi/test/adodbapitestconfig.py +184 -0
- package/runtime/Lib/site-packages/adodbapi/test/dbapi20.py +879 -0
- package/runtime/Lib/site-packages/adodbapi/test/is64bit.py +34 -0
- package/runtime/Lib/site-packages/adodbapi/test/setuptestframework.py +98 -0
- package/runtime/Lib/site-packages/adodbapi/test/test_adodbapi_dbapi20.py +195 -0
- package/runtime/Lib/site-packages/adodbapi/test/tryconnection.py +30 -0
- package/runtime/Lib/site-packages/annotated_types/__init__.py +416 -0
- package/runtime/Lib/site-packages/annotated_types/py.typed +0 -0
- package/runtime/Lib/site-packages/annotated_types/test_cases.py +146 -0
- package/runtime/Lib/site-packages/annotated_types-0.8.0.dist-info/METADATA +295 -0
- package/runtime/Lib/site-packages/annotated_types-0.8.0.dist-info/RECORD +7 -0
- package/runtime/Lib/site-packages/annotated_types-0.8.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/annotated_types-0.8.0.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/anyio/__init__.py +154 -0
- package/runtime/Lib/site-packages/anyio/_backends/__init__.py +0 -0
- package/runtime/Lib/site-packages/anyio/_backends/_asyncio.py +3201 -0
- package/runtime/Lib/site-packages/anyio/_backends/_trio.py +1473 -0
- package/runtime/Lib/site-packages/anyio/_core/__init__.py +0 -0
- package/runtime/Lib/site-packages/anyio/_core/_asyncio_selector_thread.py +167 -0
- package/runtime/Lib/site-packages/anyio/_core/_concurrency_utils.py +156 -0
- package/runtime/Lib/site-packages/anyio/_core/_contextmanagers.py +200 -0
- package/runtime/Lib/site-packages/anyio/_core/_eventloop.py +240 -0
- package/runtime/Lib/site-packages/anyio/_core/_exceptions.py +205 -0
- package/runtime/Lib/site-packages/anyio/_core/_fileio.py +1045 -0
- package/runtime/Lib/site-packages/anyio/_core/_futures.py +191 -0
- package/runtime/Lib/site-packages/anyio/_core/_resources.py +18 -0
- package/runtime/Lib/site-packages/anyio/_core/_signals.py +29 -0
- package/runtime/Lib/site-packages/anyio/_core/_sockets.py +1011 -0
- package/runtime/Lib/site-packages/anyio/_core/_streams.py +52 -0
- package/runtime/Lib/site-packages/anyio/_core/_subprocesses.py +196 -0
- package/runtime/Lib/site-packages/anyio/_core/_synchronization.py +778 -0
- package/runtime/Lib/site-packages/anyio/_core/_tasks.py +464 -0
- package/runtime/Lib/site-packages/anyio/_core/_tempfile.py +615 -0
- package/runtime/Lib/site-packages/anyio/_core/_testing.py +82 -0
- package/runtime/Lib/site-packages/anyio/_core/_typedattr.py +85 -0
- package/runtime/Lib/site-packages/anyio/_lazyimport.py +176 -0
- package/runtime/Lib/site-packages/anyio/abc/__init__.py +63 -0
- package/runtime/Lib/site-packages/anyio/abc/_eventloop.py +428 -0
- package/runtime/Lib/site-packages/anyio/abc/_resources.py +39 -0
- package/runtime/Lib/site-packages/anyio/abc/_sockets.py +401 -0
- package/runtime/Lib/site-packages/anyio/abc/_streams.py +237 -0
- package/runtime/Lib/site-packages/anyio/abc/_subprocesses.py +82 -0
- package/runtime/Lib/site-packages/anyio/abc/_tasks.py +223 -0
- package/runtime/Lib/site-packages/anyio/abc/_testing.py +79 -0
- package/runtime/Lib/site-packages/anyio/from_thread.py +588 -0
- package/runtime/Lib/site-packages/anyio/functools.py +400 -0
- package/runtime/Lib/site-packages/anyio/itertools.py +629 -0
- package/runtime/Lib/site-packages/anyio/lowlevel.py +228 -0
- package/runtime/Lib/site-packages/anyio/py.typed +0 -0
- package/runtime/Lib/site-packages/anyio/pytest_plugin.py +404 -0
- package/runtime/Lib/site-packages/anyio/streams/__init__.py +0 -0
- package/runtime/Lib/site-packages/anyio/streams/buffered.py +201 -0
- package/runtime/Lib/site-packages/anyio/streams/file.py +157 -0
- package/runtime/Lib/site-packages/anyio/streams/memory.py +326 -0
- package/runtime/Lib/site-packages/anyio/streams/stapled.py +160 -0
- package/runtime/Lib/site-packages/anyio/streams/text.py +176 -0
- package/runtime/Lib/site-packages/anyio/streams/tls.py +436 -0
- package/runtime/Lib/site-packages/anyio/to_interpreter.py +246 -0
- package/runtime/Lib/site-packages/anyio/to_process.py +269 -0
- package/runtime/Lib/site-packages/anyio/to_thread.py +80 -0
- package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/METADATA +108 -0
- package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/RECORD +53 -0
- package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/entry_points.txt +2 -0
- package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/licenses/LICENSE +20 -0
- package/runtime/Lib/site-packages/anyio-4.15.1.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/attr/__init__.py +104 -0
- package/runtime/Lib/site-packages/attr/__init__.pyi +389 -0
- package/runtime/Lib/site-packages/attr/_cmp.py +160 -0
- package/runtime/Lib/site-packages/attr/_cmp.pyi +13 -0
- package/runtime/Lib/site-packages/attr/_compat.py +99 -0
- package/runtime/Lib/site-packages/attr/_config.py +31 -0
- package/runtime/Lib/site-packages/attr/_funcs.py +497 -0
- package/runtime/Lib/site-packages/attr/_make.py +3406 -0
- package/runtime/Lib/site-packages/attr/_next_gen.py +674 -0
- package/runtime/Lib/site-packages/attr/_typing_compat.pyi +15 -0
- package/runtime/Lib/site-packages/attr/_version_info.py +89 -0
- package/runtime/Lib/site-packages/attr/_version_info.pyi +9 -0
- package/runtime/Lib/site-packages/attr/converters.py +162 -0
- package/runtime/Lib/site-packages/attr/converters.pyi +19 -0
- package/runtime/Lib/site-packages/attr/exceptions.py +95 -0
- package/runtime/Lib/site-packages/attr/exceptions.pyi +17 -0
- package/runtime/Lib/site-packages/attr/filters.py +72 -0
- package/runtime/Lib/site-packages/attr/filters.pyi +6 -0
- package/runtime/Lib/site-packages/attr/py.typed +0 -0
- package/runtime/Lib/site-packages/attr/setters.py +79 -0
- package/runtime/Lib/site-packages/attr/setters.pyi +20 -0
- package/runtime/Lib/site-packages/attr/validators.py +750 -0
- package/runtime/Lib/site-packages/attr/validators.pyi +140 -0
- package/runtime/Lib/site-packages/attrs/__init__.py +72 -0
- package/runtime/Lib/site-packages/attrs/__init__.pyi +314 -0
- package/runtime/Lib/site-packages/attrs/converters.py +3 -0
- package/runtime/Lib/site-packages/attrs/exceptions.py +3 -0
- package/runtime/Lib/site-packages/attrs/filters.py +3 -0
- package/runtime/Lib/site-packages/attrs/py.typed +0 -0
- package/runtime/Lib/site-packages/attrs/setters.py +3 -0
- package/runtime/Lib/site-packages/attrs/validators.py +3 -0
- package/runtime/Lib/site-packages/attrs-26.1.0.dist-info/METADATA +199 -0
- package/runtime/Lib/site-packages/attrs-26.1.0.dist-info/RECORD +35 -0
- package/runtime/Lib/site-packages/attrs-26.1.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/attrs-26.1.0.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/certifi/__init__.py +4 -0
- package/runtime/Lib/site-packages/certifi/__main__.py +12 -0
- package/runtime/Lib/site-packages/certifi/cacert.pem +3885 -0
- package/runtime/Lib/site-packages/certifi/core.py +83 -0
- package/runtime/Lib/site-packages/certifi/py.typed +0 -0
- package/runtime/Lib/site-packages/certifi/tests/__init__.py +0 -0
- package/runtime/Lib/site-packages/certifi/tests/test_certify.py +18 -0
- package/runtime/Lib/site-packages/certifi-2026.10.23.dist-info/METADATA +79 -0
- package/runtime/Lib/site-packages/certifi-2026.10.23.dist-info/RECORD +12 -0
- package/runtime/Lib/site-packages/certifi-2026.10.23.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/certifi-2026.10.23.dist-info/licenses/LICENSE +20 -0
- package/runtime/Lib/site-packages/certifi-2026.10.23.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/cffi/__init__.py +14 -0
- package/runtime/Lib/site-packages/cffi/_cffi_errors.h +135 -0
- package/runtime/Lib/site-packages/cffi/_cffi_gen_src.py +216 -0
- package/runtime/Lib/site-packages/cffi/_cffi_include.h +397 -0
- package/runtime/Lib/site-packages/cffi/_embedding.h +512 -0
- package/runtime/Lib/site-packages/cffi/_imp_emulation.py +83 -0
- package/runtime/Lib/site-packages/cffi/_shimmed_dist_utils.py +45 -0
- package/runtime/Lib/site-packages/cffi/api.py +960 -0
- package/runtime/Lib/site-packages/cffi/backend_ctypes.py +1120 -0
- package/runtime/Lib/site-packages/cffi/cffi_opcode.py +187 -0
- package/runtime/Lib/site-packages/cffi/commontypes.py +82 -0
- package/runtime/Lib/site-packages/cffi/cparser.py +1014 -0
- package/runtime/Lib/site-packages/cffi/error.py +31 -0
- package/runtime/Lib/site-packages/cffi/ffiplatform.py +113 -0
- package/runtime/Lib/site-packages/cffi/gen_src.py +5 -0
- package/runtime/Lib/site-packages/cffi/lock.py +30 -0
- package/runtime/Lib/site-packages/cffi/model.py +617 -0
- package/runtime/Lib/site-packages/cffi/parse_c_type.h +181 -0
- package/runtime/Lib/site-packages/cffi/pkgconfig.py +121 -0
- package/runtime/Lib/site-packages/cffi/recompiler.py +1586 -0
- package/runtime/Lib/site-packages/cffi/setuptools_ext.py +231 -0
- package/runtime/Lib/site-packages/cffi/vengine_cpy.py +1058 -0
- package/runtime/Lib/site-packages/cffi/vengine_gen.py +679 -0
- package/runtime/Lib/site-packages/cffi/verifier.py +306 -0
- package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/METADATA +67 -0
- package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/RECORD +31 -0
- package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/entry_points.txt +5 -0
- package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/licenses/LICENSE +23 -0
- package/runtime/Lib/site-packages/cffi-2.1.1.dist-info/top_level.txt +2 -0
- package/runtime/Lib/site-packages/charset_normalizer/__init__.py +48 -0
- package/runtime/Lib/site-packages/charset_normalizer/__main__.py +6 -0
- package/runtime/Lib/site-packages/charset_normalizer/api.py +934 -0
- package/runtime/Lib/site-packages/charset_normalizer/cd.cp313-win_amd64.pyd +0 -0
- package/runtime/Lib/site-packages/charset_normalizer/cd.py +467 -0
- package/runtime/Lib/site-packages/charset_normalizer/cli/__init__.py +8 -0
- package/runtime/Lib/site-packages/charset_normalizer/cli/__main__.py +363 -0
- package/runtime/Lib/site-packages/charset_normalizer/constant.py +2497 -0
- package/runtime/Lib/site-packages/charset_normalizer/legacy.py +79 -0
- package/runtime/Lib/site-packages/charset_normalizer/md.cp313-win_amd64.pyd +0 -0
- package/runtime/Lib/site-packages/charset_normalizer/md.py +1065 -0
- package/runtime/Lib/site-packages/charset_normalizer/models.py +387 -0
- package/runtime/Lib/site-packages/charset_normalizer/py.typed +0 -0
- package/runtime/Lib/site-packages/charset_normalizer/utils.py +452 -0
- package/runtime/Lib/site-packages/charset_normalizer/version.py +8 -0
- package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/METADATA +892 -0
- package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/RECORD +21 -0
- package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/entry_points.txt +2 -0
- package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/charset_normalizer-3.5.2.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/click/__init__.py +144 -0
- package/runtime/Lib/site-packages/click/_compat.py +590 -0
- package/runtime/Lib/site-packages/click/_termui_impl.py +972 -0
- package/runtime/Lib/site-packages/click/_textwrap.py +188 -0
- package/runtime/Lib/site-packages/click/_utils.py +36 -0
- package/runtime/Lib/site-packages/click/_winconsole.py +297 -0
- package/runtime/Lib/site-packages/click/core.py +3799 -0
- package/runtime/Lib/site-packages/click/decorators.py +627 -0
- package/runtime/Lib/site-packages/click/exceptions.py +378 -0
- package/runtime/Lib/site-packages/click/formatting.py +320 -0
- package/runtime/Lib/site-packages/click/globals.py +67 -0
- package/runtime/Lib/site-packages/click/parser.py +533 -0
- package/runtime/Lib/site-packages/click/py.typed +0 -0
- package/runtime/Lib/site-packages/click/shell_completion.py +801 -0
- package/runtime/Lib/site-packages/click/termui.py +1014 -0
- package/runtime/Lib/site-packages/click/testing.py +798 -0
- package/runtime/Lib/site-packages/click/types.py +1422 -0
- package/runtime/Lib/site-packages/click/utils.py +688 -0
- package/runtime/Lib/site-packages/click-8.5.0.dist-info/METADATA +83 -0
- package/runtime/Lib/site-packages/click-8.5.0.dist-info/RECORD +22 -0
- package/runtime/Lib/site-packages/click-8.5.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/click-8.5.0.dist-info/licenses/LICENSE.txt +28 -0
- package/runtime/Lib/site-packages/cryptography/__about__.py +17 -0
- package/runtime/Lib/site-packages/cryptography/__init__.py +13 -0
- package/runtime/Lib/site-packages/cryptography/cobblestone.py +21 -0
- package/runtime/Lib/site-packages/cryptography/exceptions.py +52 -0
- package/runtime/Lib/site-packages/cryptography/fernet.py +240 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/__init__.py +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/_oid.py +373 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/asn1/__init__.py +47 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/asn1/asn1.py +533 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/backends/__init__.py +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/backends/openssl/__init__.py +9 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/backends/openssl/backend.py +309 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/__init__.py +5 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/__init__.pyi +67 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/_openssl.pyi +8 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/asn1.pyi +7 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/cobblestone.pyi +33 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/declarative_asn1.pyi +133 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/exceptions.pyi +17 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/ocsp.pyi +117 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi +82 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/aead.pyi +189 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ciphers.pyi +38 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi +18 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/dh.pyi +51 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi +41 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ec.pyi +52 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi +30 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi +22 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/hpke.pyi +109 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi +205 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/keys.pyi +34 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/keywrap.pyi +28 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/mldsa.pyi +35 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/mlkem.pyi +18 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi +15 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi +55 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/openssl/x448.pyi +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/pkcs12.pyi +52 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/pkcs7.pyi +50 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/test_support.pyi +23 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust/x509.pyi +313 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/_rust.pyd +0 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/openssl/__init__.py +5 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/openssl/_conditional.py +199 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/bindings/openssl/binding.py +107 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/decrepit/__init__.py +5 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/decrepit/ciphers/__init__.py +5 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/decrepit/ciphers/algorithms.py +145 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/decrepit/ciphers/modes.py +53 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/__init__.py +5 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/_asymmetric.py +19 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/_cipheralgorithm.py +60 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/_modes.py +105 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/_serialization.py +136 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/__init__.py +5 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/dh.py +253 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py +179 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/ec.py +369 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/ed25519.py +116 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/ed448.py +143 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/mldsa.py +505 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/mlkem.py +278 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/padding.py +141 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/rsa.py +295 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/types.py +94 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/utils.py +28 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py +134 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/asymmetric/x448.py +137 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/ciphers/__init__.py +27 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/ciphers/aead.py +23 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/ciphers/algorithms.py +138 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/ciphers/base.py +146 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/ciphers/modes.py +192 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/cmac.py +10 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/constant_time.py +14 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/hashes.py +357 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/hmac.py +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/hpke.py +27 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/__init__.py +32 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/argon2.py +17 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/concatkdf.py +16 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/hkdf.py +16 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/kbkdf.py +26 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/pbkdf2.py +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/scrypt.py +19 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/kdf/x963kdf.py +13 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/keywrap.py +25 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/padding.py +69 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/poly1305.py +11 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/serialization/__init__.py +85 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/serialization/base.py +16 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/serialization/pkcs12.py +176 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/serialization/pkcs7.py +412 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/serialization/ssh.py +1615 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/twofactor/__init__.py +9 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/twofactor/hotp.py +101 -0
- package/runtime/Lib/site-packages/cryptography/hazmat/primitives/twofactor/totp.py +56 -0
- package/runtime/Lib/site-packages/cryptography/py.typed +0 -0
- package/runtime/Lib/site-packages/cryptography/utils.py +136 -0
- package/runtime/Lib/site-packages/cryptography/x509/__init__.py +270 -0
- package/runtime/Lib/site-packages/cryptography/x509/base.py +834 -0
- package/runtime/Lib/site-packages/cryptography/x509/certificate_transparency.py +35 -0
- package/runtime/Lib/site-packages/cryptography/x509/extensions.py +2533 -0
- package/runtime/Lib/site-packages/cryptography/x509/general_name.py +281 -0
- package/runtime/Lib/site-packages/cryptography/x509/name.py +489 -0
- package/runtime/Lib/site-packages/cryptography/x509/ocsp.py +379 -0
- package/runtime/Lib/site-packages/cryptography/x509/oid.py +37 -0
- package/runtime/Lib/site-packages/cryptography/x509/verification.py +34 -0
- package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/METADATA +111 -0
- package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/RECORD +120 -0
- package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/licenses/LICENSE +3 -0
- package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/licenses/LICENSE.APACHE +202 -0
- package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/licenses/LICENSE.BSD +27 -0
- package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/sboms/cryptography-rust.cyclonedx.json +1365 -0
- package/runtime/Lib/site-packages/cryptography-50.0.2.dist-info/sboms/sbom.json +43 -0
- package/runtime/Lib/site-packages/dateutil/__init__.py +26 -0
- package/runtime/Lib/site-packages/dateutil/_common.py +43 -0
- package/runtime/Lib/site-packages/dateutil/_tzdata_impl.py +147 -0
- package/runtime/Lib/site-packages/dateutil/_version.py +4 -0
- package/runtime/Lib/site-packages/dateutil/easter.py +89 -0
- package/runtime/Lib/site-packages/dateutil/parser/__init__.py +61 -0
- package/runtime/Lib/site-packages/dateutil/parser/_parser.py +1613 -0
- package/runtime/Lib/site-packages/dateutil/parser/isoparser.py +416 -0
- package/runtime/Lib/site-packages/dateutil/relativedelta.py +596 -0
- package/runtime/Lib/site-packages/dateutil/rrule.py +1764 -0
- package/runtime/Lib/site-packages/dateutil/tz/__init__.py +60 -0
- package/runtime/Lib/site-packages/dateutil/tz/_common.py +419 -0
- package/runtime/Lib/site-packages/dateutil/tz/_factories.py +80 -0
- package/runtime/Lib/site-packages/dateutil/tz/_tzfile.py +1428 -0
- package/runtime/Lib/site-packages/dateutil/tz/_tzpath.py +104 -0
- package/runtime/Lib/site-packages/dateutil/tz/tz.py +1472 -0
- package/runtime/Lib/site-packages/dateutil/tz/win.py +370 -0
- package/runtime/Lib/site-packages/dateutil/tzwin.py +2 -0
- package/runtime/Lib/site-packages/dateutil/utils.py +71 -0
- package/runtime/Lib/site-packages/dateutil/zoneinfo/__init__.py +233 -0
- package/runtime/Lib/site-packages/dateutil/zoneinfo/rebuild.py +42 -0
- package/runtime/Lib/site-packages/deploom_mcp/__init__.py +7 -0
- package/runtime/Lib/site-packages/deploom_mcp/__main__.py +7 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/VERSION +1 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/analyze_verification_telemetry.py +426 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/artifact_integrity.py +468 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/baseline_cohort_inference.py +352 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/baseline_constraint_verifier.py +5903 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/baseline_performance_summary.py +270 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/baseline_repair_handoff.py +208 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi54_branch_search.py +225 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi55_resolver_overrides.py +244 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi56_causal_anytime_search.py +285 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi57_yarn1_resolver_seed.py +622 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi581_probe_budget_and_cohort.py +194 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi582_pre_run_closure.py +168 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi583_duplicate_fallback_control.py +43 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi58_bounded_causal_search.py +193 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi58_reuse_economics.py +44 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi591_unified_cohort_handoff.py +214 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi59_transitive_override_search.py +525 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi_anytime.py +313 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_psi_progressive_baseline.py +166 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_v_predicate_search.py +427 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_v_predicate_state.py +385 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_v_prepared_artifact.py +1094 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_v_recovery.py +916 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_vex_storage.py +352 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/block_vf_active_search.py +167 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/bounded_telemetry.py +68 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/checkpoint_build_upgrade.py +158 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/checkpoint_index_recovery.py +63 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/cli_io.py +30 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/cohort_action_cost.py +50 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/cohort_attempt_telemetry.py +131 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/cohort_conflict_regions.py +114 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/cohort_size_policy.py +22 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/cohort_telemetry_report.py +105 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/constraint_cache.py +757 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/constraint_verify.py +669 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/cross_process_io.py +135 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/delivery_audit_recovery.py +53 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/delivery_git_status.py +62 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/delivery_source_identity.py +196 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/delivery_worktree.py +53 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/dependency-knowledge.schema.json +61 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_audit_branch.py +651 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_compatibility_evidence.py +364 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_interaction.py +60 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_live_roadmap_generator.py +28192 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_live_roadmap_worker.py +162 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/dependency_release_branch.py +407 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/deploom_failure.py +619 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/document_locales/en.json +83 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/document_locales/ru.json +83 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/draft_decision_contract.py +159 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/draft_input_identity.py +218 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/draft_npm_preflight.py +171 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/draft_publication_guard.py +68 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/frontend_source_policy.py +54 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/git_hook_policy.py +102 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/git_identity.py +65 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/io_governor.py +124 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_adaptive_budget.py +109 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_audit_policy.py +79 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_checkpoint_publication.py +90 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_cohort_planner.py +378 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_cohort_review.py +98 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_delivery.py +701 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_delivery_checkout.py +59 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_delivery_notes.py +228 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_delivery_preflight.py +112 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_delivery_submodules.py +31 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_discovery_checkpoint.py +94 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_migration.py +6249 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_progress.py +52 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_registry_metadata.py +98 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_registry_yarn.py +127 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_restart.py +70 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_resume.py +73 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_scope_expansion.py +101 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_stage_checkpoint.py +211 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_state_transaction.py +124 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_target_deferrals.py +61 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_task.py +1411 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/iterative_trial_workspace.py +54 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/lockfile_consistency.py +1242 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/lockfile_preflight.py +102 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/manual_dependency_audit.py +2081 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/materialization_retention.py +148 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/materialized_workspace_verifier.py +320 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/migration_documents.py +506 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/migration_research.py +158 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/migration_validation.py +231 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/npm_bundle_obligations.py +240 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/npm_platform_obligations.py +256 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/npm_semver_batch.py +111 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/npm_shared_transition.py +88 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/osv_offline.py +105 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/package_manager_profile.py +331 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/package_manager_telemetry.py +73 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/peer_solver_goal.py +109 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/peer_solver_model.py +304 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/peer_solver_transition.py +308 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/peer_solver_z3.py +300 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/planning_cache.py +180 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/prepared_workspace_fastpath.py +1528 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/project_execution_environment.py +105 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/project_runtime.py +433 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/project_topology.py +813 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/proven_dependency_state.py +234 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/registry_advisory_evidence.py +202 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/registry_candidate_diagnostics.py +334 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/registry_metadata_cache.py +233 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/registry_request_context.py +36 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/reparse_materialization.py +335 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/resolution_inventory.py +481 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/resolved_dependency_state.py +820 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/run_tool_tests.py +69 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/run_writer_lock.py +78 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/runtime_metrics.py +185 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/scoped_source_policy.py +111 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/security_workspace_scope.py +136 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/settings.schema.json +1229 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/snapshot_compaction.py +288 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/source_snapshot.py +2635 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/source_snapshot_storage.py +96 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/standalone_build_outputs.py +167 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/storage_capacity.py +19 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/storage_cleanup_inventory.py +379 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/storage_maintenance_control.py +84 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/storybook_release_policy.py +37 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/substrate_identity.py +129 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/validate_dependency_regression.py +402 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/validate_dependency_update.py +920 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_experiment_registry.py +299 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_identity_diagnostics.py +38 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_invocation.py +145 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_linux_pid_namespace.py +134 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_observability.py +857 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_process_supervisor.py +790 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_proof.py +1526 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_source_closure.py +337 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_stage_checkpoint.py +367 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_storage_maintenance.py +298 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/verification_workspace_backend.py +398 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/windows_unc.py +48 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/worker_runtime_state.py +26 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_glob.py +208 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_health_evidence.py +145 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_health_policy.py +142 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_noise.py +83 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_npm_lock_delta.py +351 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_npm_obligations.py +190 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_npm_preflight.py +535 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_npm_transitive_override.py +239 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_peer_model.py +936 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/workspace_registry_metadata.py +73 -0
- package/runtime/Lib/site-packages/deploom_mcp/_core/yarn_berry.py +151 -0
- package/runtime/Lib/site-packages/deploom_mcp/audit_evidence.py +186 -0
- package/runtime/Lib/site-packages/deploom_mcp/audit_server.py +57 -0
- package/runtime/Lib/site-packages/deploom_mcp/audit_worker.py +738 -0
- package/runtime/Lib/site-packages/deploom_mcp/blueprint.py +1344 -0
- package/runtime/Lib/site-packages/deploom_mcp/decision_followups.py +384 -0
- package/runtime/Lib/site-packages/deploom_mcp/decisions.py +485 -0
- package/runtime/Lib/site-packages/deploom_mcp/dependency_audit.py +237 -0
- package/runtime/Lib/site-packages/deploom_mcp/distribution.py +51 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_artifact_scope.py +65 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_candidate.py +174 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_candidate_worker.py +30 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_check_bindings.py +236 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_choice_contract.py +79 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_choice_issuance.py +58 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_choice_lineage.py +115 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_choice_profile.py +38 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_choice_worker.py +66 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_contract.py +173 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_core_integrity.py +28 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_current_proof_boundary.py +41 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_current_proof_budget.py +135 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_current_proof_process.py +137 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_current_read_trace.py +66 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_delta_trial.py +413 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_execution_environment.py +71 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_execution_registry.py +207 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_final_authorization.py +133 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_final_auxiliary.py +114 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_final_candidate.py +102 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_final_checkpoint.py +342 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_final_materialization.py +150 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_final_resource_policy.py +49 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_final_transaction.py +243 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_final_worker.py +19 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_frozen_candidate.py +187 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_generated_outputs.py +94 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_historical_checkpoint.py +220 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_historical_lineage.py +97 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_invocation_adapter.py +179 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_lock_scope.py +476 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_published_edges.py +263 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_report.py +134 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_shared_scope.py +36 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_tap_nyc_execution.py +153 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_tap_nyc_input.py +174 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_tap_nyc_outputs.py +64 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_tap_nyc_spawn.py +66 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_tool_cache.py +146 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_tools.py +90 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_verifier_bridge.py +293 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_windows_file_swap.py +233 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_windows_tree_swap.py +105 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_worker.py +103 -0
- package/runtime/Lib/site-packages/deploom_mcp/goal_workspace_observation.py +49 -0
- package/runtime/Lib/site-packages/deploom_mcp/migration_evidence.py +191 -0
- package/runtime/Lib/site-packages/deploom_mcp/migration_sources.py +217 -0
- package/runtime/Lib/site-packages/deploom_mcp/migration_usage.cjs +91 -0
- package/runtime/Lib/site-packages/deploom_mcp/migration_usage.py +76 -0
- package/runtime/Lib/site-packages/deploom_mcp/migration_worker.py +56 -0
- package/runtime/Lib/site-packages/deploom_mcp/planning_registry.py +130 -0
- package/runtime/Lib/site-packages/deploom_mcp/process_runner.py +313 -0
- package/runtime/Lib/site-packages/deploom_mcp/project_capabilities.py +103 -0
- package/runtime/Lib/site-packages/deploom_mcp/proxy_settings.py +60 -0
- package/runtime/Lib/site-packages/deploom_mcp/public_cache.py +152 -0
- package/runtime/Lib/site-packages/deploom_mcp/py.typed +0 -0
- package/runtime/Lib/site-packages/deploom_mcp/registry_projection.py +313 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/release-manifest.json +176 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/scripts/check_skill.py +36 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/scripts/install_skill.py +280 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/scripts/skill_integrity.py +95 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/SKILL.md +281 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/contract.json +20 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/examples/blocked-upgrade.md +37 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/examples/plan-only.md +20 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/examples/yellow-exclude-react.md +29 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/blueprint-contract.md +160 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/evidence-report.md +150 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/execution-policy.md +143 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/goal-and-migration-evidence.md +124 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/npm-workspaces.md +241 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/preflight.md +75 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/references/verification-policy.md +77 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/skills/deploom-upgrade/scripts/validate_evidence.py +264 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/upgrade-blueprint.schema.json +1080 -0
- package/runtime/Lib/site-packages/deploom_mcp/resources/workspace-upgrade-blueprint.schema.json +1770 -0
- package/runtime/Lib/site-packages/deploom_mcp/server.py +1345 -0
- package/runtime/Lib/site-packages/deploom_mcp/shared_records.py +75 -0
- package/runtime/Lib/site-packages/deploom_mcp/standalone_audit_guard.cjs +71 -0
- package/runtime/Lib/site-packages/deploom_mcp/target_assessment.py +185 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_acceptance.py +311 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_candidate_policy.py +123 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_delivery_apply.py +149 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_edits.py +413 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_finalize.py +85 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_goal_request.py +95 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_input_io.py +123 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_inventory.py +428 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_migration_card.py +343 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_native_intent.py +155 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_plan_details.py +172 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_plan_snapshot.py +429 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_policy_delivery.py +88 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_policy_request.py +139 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_source_delivery.py +138 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_tools.py +313 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_upgrade.py +237 -0
- package/runtime/Lib/site-packages/deploom_mcp/workspace_verification_attempt.py +127 -0
- package/runtime/Lib/site-packages/deploom_mcp/yarn_candidate_audit.py +72 -0
- package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/METADATA +85 -0
- package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/RECORD +272 -0
- package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/entry_points.txt +4 -0
- package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/licenses/LICENSE +202 -0
- package/runtime/Lib/site-packages/deploom_mcp-0.2.21.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/h11/__init__.py +62 -0
- package/runtime/Lib/site-packages/h11/_abnf.py +132 -0
- package/runtime/Lib/site-packages/h11/_connection.py +659 -0
- package/runtime/Lib/site-packages/h11/_events.py +369 -0
- package/runtime/Lib/site-packages/h11/_headers.py +282 -0
- package/runtime/Lib/site-packages/h11/_readers.py +250 -0
- package/runtime/Lib/site-packages/h11/_receivebuffer.py +153 -0
- package/runtime/Lib/site-packages/h11/_state.py +365 -0
- package/runtime/Lib/site-packages/h11/_util.py +135 -0
- package/runtime/Lib/site-packages/h11/_version.py +16 -0
- package/runtime/Lib/site-packages/h11/_writers.py +145 -0
- package/runtime/Lib/site-packages/h11/py.typed +1 -0
- package/runtime/Lib/site-packages/h11-0.16.0.dist-info/METADATA +202 -0
- package/runtime/Lib/site-packages/h11-0.16.0.dist-info/RECORD +17 -0
- package/runtime/Lib/site-packages/h11-0.16.0.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/h11-0.16.0.dist-info/licenses/LICENSE.txt +22 -0
- package/runtime/Lib/site-packages/h11-0.16.0.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/httpcore2/__init__.py +141 -0
- package/runtime/Lib/site-packages/httpcore2/_api.py +95 -0
- package/runtime/Lib/site-packages/httpcore2/_async/__init__.py +39 -0
- package/runtime/Lib/site-packages/httpcore2/_async/connection.py +208 -0
- package/runtime/Lib/site-packages/httpcore2/_async/connection_pool.py +440 -0
- package/runtime/Lib/site-packages/httpcore2/_async/http11.py +357 -0
- package/runtime/Lib/site-packages/httpcore2/_async/http2.py +582 -0
- package/runtime/Lib/site-packages/httpcore2/_async/http_proxy.py +357 -0
- package/runtime/Lib/site-packages/httpcore2/_async/interfaces.py +160 -0
- package/runtime/Lib/site-packages/httpcore2/_async/socks_proxy.py +327 -0
- package/runtime/Lib/site-packages/httpcore2/_backends/__init__.py +0 -0
- package/runtime/Lib/site-packages/httpcore2/_backends/anyio.py +149 -0
- package/runtime/Lib/site-packages/httpcore2/_backends/auto.py +50 -0
- package/runtime/Lib/site-packages/httpcore2/_backends/base.py +97 -0
- package/runtime/Lib/site-packages/httpcore2/_backends/mock.py +143 -0
- package/runtime/Lib/site-packages/httpcore2/_backends/sync.py +235 -0
- package/runtime/Lib/site-packages/httpcore2/_backends/trio.py +157 -0
- package/runtime/Lib/site-packages/httpcore2/_exceptions.py +84 -0
- package/runtime/Lib/site-packages/httpcore2/_models.py +490 -0
- package/runtime/Lib/site-packages/httpcore2/_ssl.py +40 -0
- package/runtime/Lib/site-packages/httpcore2/_sync/__init__.py +39 -0
- package/runtime/Lib/site-packages/httpcore2/_sync/connection.py +208 -0
- package/runtime/Lib/site-packages/httpcore2/_sync/connection_pool.py +440 -0
- package/runtime/Lib/site-packages/httpcore2/_sync/http11.py +357 -0
- package/runtime/Lib/site-packages/httpcore2/_sync/http2.py +582 -0
- package/runtime/Lib/site-packages/httpcore2/_sync/http_proxy.py +357 -0
- package/runtime/Lib/site-packages/httpcore2/_sync/interfaces.py +160 -0
- package/runtime/Lib/site-packages/httpcore2/_sync/socks_proxy.py +327 -0
- package/runtime/Lib/site-packages/httpcore2/_synchronization.py +338 -0
- package/runtime/Lib/site-packages/httpcore2/_trace.py +105 -0
- package/runtime/Lib/site-packages/httpcore2/_utils.py +65 -0
- package/runtime/Lib/site-packages/httpcore2/py.typed +0 -0
- package/runtime/Lib/site-packages/httpcore2-2.16.0.dist-info/METADATA +785 -0
- package/runtime/Lib/site-packages/httpcore2-2.16.0.dist-info/RECORD +36 -0
- package/runtime/Lib/site-packages/httpcore2-2.16.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/httpcore2-2.16.0.dist-info/licenses/LICENSE.md +28 -0
- package/runtime/Lib/site-packages/httpx2/__init__.py +130 -0
- package/runtime/Lib/site-packages/httpx2/__version__.py +5 -0
- package/runtime/Lib/site-packages/httpx2/_alias.py +71 -0
- package/runtime/Lib/site-packages/httpx2/_api.py +532 -0
- package/runtime/Lib/site-packages/httpx2/_auth.py +335 -0
- package/runtime/Lib/site-packages/httpx2/_client.py +2236 -0
- package/runtime/Lib/site-packages/httpx2/_config.py +221 -0
- package/runtime/Lib/site-packages/httpx2/_content.py +237 -0
- package/runtime/Lib/site-packages/httpx2/_cookies.py +74 -0
- package/runtime/Lib/site-packages/httpx2/_decoders.py +458 -0
- package/runtime/Lib/site-packages/httpx2/_exceptions.py +380 -0
- package/runtime/Lib/site-packages/httpx2/_main.py +483 -0
- package/runtime/Lib/site-packages/httpx2/_models.py +1274 -0
- package/runtime/Lib/site-packages/httpx2/_multipart.py +284 -0
- package/runtime/Lib/site-packages/httpx2/_sse.py +226 -0
- package/runtime/Lib/site-packages/httpx2/_status_codes.py +189 -0
- package/runtime/Lib/site-packages/httpx2/_transports/__init__.py +27 -0
- package/runtime/Lib/site-packages/httpx2/_transports/asgi.py +178 -0
- package/runtime/Lib/site-packages/httpx2/_transports/base.py +83 -0
- package/runtime/Lib/site-packages/httpx2/_transports/default.py +400 -0
- package/runtime/Lib/site-packages/httpx2/_transports/mock.py +40 -0
- package/runtime/Lib/site-packages/httpx2/_transports/wsgi.py +145 -0
- package/runtime/Lib/site-packages/httpx2/_types.py +86 -0
- package/runtime/Lib/site-packages/httpx2/_urlparse.py +502 -0
- package/runtime/Lib/site-packages/httpx2/_urls.py +689 -0
- package/runtime/Lib/site-packages/httpx2/_utils.py +282 -0
- package/runtime/Lib/site-packages/httpx2/py.typed +0 -0
- package/runtime/Lib/site-packages/httpx2/websockets/__init__.py +57 -0
- package/runtime/Lib/site-packages/httpx2/websockets/_api.py +1676 -0
- package/runtime/Lib/site-packages/httpx2/websockets/_exceptions.py +55 -0
- package/runtime/Lib/site-packages/httpx2/websockets/_ping.py +43 -0
- package/runtime/Lib/site-packages/httpx2/websockets/_transport.py +289 -0
- package/runtime/Lib/site-packages/httpx2-2.16.0.dist-info/METADATA +230 -0
- package/runtime/Lib/site-packages/httpx2-2.16.0.dist-info/RECORD +37 -0
- package/runtime/Lib/site-packages/httpx2-2.16.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/httpx2-2.16.0.dist-info/entry_points.txt +2 -0
- package/runtime/Lib/site-packages/httpx2-2.16.0.dist-info/licenses/LICENSE.md +13 -0
- package/runtime/Lib/site-packages/idna/__init__.py +47 -0
- package/runtime/Lib/site-packages/idna/__main__.py +6 -0
- package/runtime/Lib/site-packages/idna/cli.py +132 -0
- package/runtime/Lib/site-packages/idna/codec.py +225 -0
- package/runtime/Lib/site-packages/idna/compat.py +43 -0
- package/runtime/Lib/site-packages/idna/core.py +863 -0
- package/runtime/Lib/site-packages/idna/idnadata.py +1933 -0
- package/runtime/Lib/site-packages/idna/intranges.py +55 -0
- package/runtime/Lib/site-packages/idna/package_data.py +1 -0
- package/runtime/Lib/site-packages/idna/py.typed +0 -0
- package/runtime/Lib/site-packages/idna/uts46data.py +17117 -0
- package/runtime/Lib/site-packages/idna-3.20.dist-info/METADATA +176 -0
- package/runtime/Lib/site-packages/idna-3.20.dist-info/RECORD +16 -0
- package/runtime/Lib/site-packages/idna-3.20.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/idna-3.20.dist-info/entry_points.txt +3 -0
- package/runtime/Lib/site-packages/idna-3.20.dist-info/licenses/LICENSE.md +31 -0
- package/runtime/Lib/site-packages/isapi/PyISAPI_loader.dll +0 -0
- package/runtime/Lib/site-packages/isapi/README.txt +7 -0
- package/runtime/Lib/site-packages/isapi/__init__.py +39 -0
- package/runtime/Lib/site-packages/isapi/doc/isapi.html +92 -0
- package/runtime/Lib/site-packages/isapi/install.py +809 -0
- package/runtime/Lib/site-packages/isapi/isapicon.py +121 -0
- package/runtime/Lib/site-packages/isapi/samples/README.txt +20 -0
- package/runtime/Lib/site-packages/isapi/samples/advanced.py +218 -0
- package/runtime/Lib/site-packages/isapi/samples/redirector.py +116 -0
- package/runtime/Lib/site-packages/isapi/samples/redirector_asynch.py +85 -0
- package/runtime/Lib/site-packages/isapi/samples/redirector_with_filter.py +162 -0
- package/runtime/Lib/site-packages/isapi/samples/test.py +195 -0
- package/runtime/Lib/site-packages/isapi/simple.py +73 -0
- package/runtime/Lib/site-packages/isapi/test/README.txt +3 -0
- package/runtime/Lib/site-packages/isapi/test/extension_simple.py +114 -0
- package/runtime/Lib/site-packages/isapi/threaded_extension.py +193 -0
- package/runtime/Lib/site-packages/jsonschema/__init__.py +120 -0
- package/runtime/Lib/site-packages/jsonschema/__main__.py +6 -0
- package/runtime/Lib/site-packages/jsonschema/_format.py +546 -0
- package/runtime/Lib/site-packages/jsonschema/_keywords.py +449 -0
- package/runtime/Lib/site-packages/jsonschema/_legacy_keywords.py +449 -0
- package/runtime/Lib/site-packages/jsonschema/_types.py +204 -0
- package/runtime/Lib/site-packages/jsonschema/_typing.py +29 -0
- package/runtime/Lib/site-packages/jsonschema/_utils.py +355 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/__init__.py +5 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/const_vs_enum.py +30 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/contains.py +28 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/import_benchmark.py +31 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/issue232/issue.json +2653 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/issue232.py +25 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/json_schema_test_suite.py +12 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/nested_schemas.py +56 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/subcomponents.py +42 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/unused_registry.py +35 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/useless_applicator_schemas.py +106 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/useless_keywords.py +32 -0
- package/runtime/Lib/site-packages/jsonschema/benchmarks/validator_creation.py +14 -0
- package/runtime/Lib/site-packages/jsonschema/cli.py +292 -0
- package/runtime/Lib/site-packages/jsonschema/exceptions.py +490 -0
- package/runtime/Lib/site-packages/jsonschema/protocols.py +230 -0
- package/runtime/Lib/site-packages/jsonschema/tests/__init__.py +0 -0
- package/runtime/Lib/site-packages/jsonschema/tests/_suite.py +285 -0
- package/runtime/Lib/site-packages/jsonschema/tests/fuzz_validate.py +50 -0
- package/runtime/Lib/site-packages/jsonschema/tests/test_cli.py +904 -0
- package/runtime/Lib/site-packages/jsonschema/tests/test_deprecations.py +432 -0
- package/runtime/Lib/site-packages/jsonschema/tests/test_exceptions.py +759 -0
- package/runtime/Lib/site-packages/jsonschema/tests/test_format.py +91 -0
- package/runtime/Lib/site-packages/jsonschema/tests/test_jsonschema_test_suite.py +262 -0
- package/runtime/Lib/site-packages/jsonschema/tests/test_types.py +221 -0
- package/runtime/Lib/site-packages/jsonschema/tests/test_utils.py +138 -0
- package/runtime/Lib/site-packages/jsonschema/tests/test_validators.py +2573 -0
- package/runtime/Lib/site-packages/jsonschema/tests/typing/__init__.py +0 -0
- package/runtime/Lib/site-packages/jsonschema/tests/typing/test_all_concrete_validators_match_protocol.py +38 -0
- package/runtime/Lib/site-packages/jsonschema/validators.py +1410 -0
- package/runtime/Lib/site-packages/jsonschema-4.26.0.dist-info/METADATA +170 -0
- package/runtime/Lib/site-packages/jsonschema-4.26.0.dist-info/RECORD +43 -0
- package/runtime/Lib/site-packages/jsonschema-4.26.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/jsonschema-4.26.0.dist-info/entry_points.txt +2 -0
- package/runtime/Lib/site-packages/jsonschema-4.26.0.dist-info/licenses/COPYING +19 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/__init__.py +12 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/_core.py +38 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/metaschema.json +42 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/applicator +56 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/content +17 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/core +57 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/format +14 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/meta-data +37 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/validation +98 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/metaschema.json +58 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/applicator +48 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/content +17 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/core +51 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/format-annotation +14 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/format-assertion +14 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/meta-data +37 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/unevaluated +15 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/validation +98 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft3/metaschema.json +172 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft4/metaschema.json +149 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft6/metaschema.json +153 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/schemas/draft7/metaschema.json +166 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/tests/__init__.py +0 -0
- package/runtime/Lib/site-packages/jsonschema_specifications/tests/test_jsonschema_specifications.py +41 -0
- package/runtime/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/METADATA +54 -0
- package/runtime/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/RECORD +28 -0
- package/runtime/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/jsonschema_specifications-2025.9.1.dist-info/licenses/COPYING +19 -0
- package/runtime/Lib/site-packages/jwt/__init__.py +78 -0
- package/runtime/Lib/site-packages/jwt/algorithms.py +1121 -0
- package/runtime/Lib/site-packages/jwt/api_jwk.py +196 -0
- package/runtime/Lib/site-packages/jwt/api_jws.py +485 -0
- package/runtime/Lib/site-packages/jwt/api_jwt.py +595 -0
- package/runtime/Lib/site-packages/jwt/exceptions.py +113 -0
- package/runtime/Lib/site-packages/jwt/help.py +66 -0
- package/runtime/Lib/site-packages/jwt/jwk_set_cache.py +47 -0
- package/runtime/Lib/site-packages/jwt/jwks_client.py +333 -0
- package/runtime/Lib/site-packages/jwt/py.typed +0 -0
- package/runtime/Lib/site-packages/jwt/types.py +69 -0
- package/runtime/Lib/site-packages/jwt/utils.py +146 -0
- package/runtime/Lib/site-packages/jwt/warnings.py +11 -0
- package/runtime/Lib/site-packages/mcp/__init__.py +145 -0
- package/runtime/Lib/site-packages/mcp/cli/__init__.py +6 -0
- package/runtime/Lib/site-packages/mcp/cli/claude.py +170 -0
- package/runtime/Lib/site-packages/mcp/cli/cli.py +486 -0
- package/runtime/Lib/site-packages/mcp/client/__init__.py +44 -0
- package/runtime/Lib/site-packages/mcp/client/__main__.py +81 -0
- package/runtime/Lib/site-packages/mcp/client/_input_required.py +127 -0
- package/runtime/Lib/site-packages/mcp/client/_memory.py +109 -0
- package/runtime/Lib/site-packages/mcp/client/_probe.py +114 -0
- package/runtime/Lib/site-packages/mcp/client/_transport.py +21 -0
- package/runtime/Lib/site-packages/mcp/client/auth/__init__.py +22 -0
- package/runtime/Lib/site-packages/mcp/client/auth/exceptions.py +10 -0
- package/runtime/Lib/site-packages/mcp/client/auth/extensions/__init__.py +0 -0
- package/runtime/Lib/site-packages/mcp/client/auth/extensions/client_credentials.py +416 -0
- package/runtime/Lib/site-packages/mcp/client/auth/extensions/identity_assertion.py +216 -0
- package/runtime/Lib/site-packages/mcp/client/auth/oauth2.py +793 -0
- package/runtime/Lib/site-packages/mcp/client/auth/utils.py +442 -0
- package/runtime/Lib/site-packages/mcp/client/caching.py +387 -0
- package/runtime/Lib/site-packages/mcp/client/client.py +985 -0
- package/runtime/Lib/site-packages/mcp/client/context.py +5 -0
- package/runtime/Lib/site-packages/mcp/client/extension.py +196 -0
- package/runtime/Lib/site-packages/mcp/client/session.py +1506 -0
- package/runtime/Lib/site-packages/mcp/client/session_group.py +453 -0
- package/runtime/Lib/site-packages/mcp/client/sse.py +171 -0
- package/runtime/Lib/site-packages/mcp/client/stdio.py +355 -0
- package/runtime/Lib/site-packages/mcp/client/streamable_http.py +793 -0
- package/runtime/Lib/site-packages/mcp/client/subscriptions.py +282 -0
- package/runtime/Lib/site-packages/mcp/os/__init__.py +1 -0
- package/runtime/Lib/site-packages/mcp/os/posix/__init__.py +1 -0
- package/runtime/Lib/site-packages/mcp/os/posix/utilities.py +63 -0
- package/runtime/Lib/site-packages/mcp/os/win32/__init__.py +1 -0
- package/runtime/Lib/site-packages/mcp/os/win32/utilities.py +292 -0
- package/runtime/Lib/site-packages/mcp/py.typed +0 -0
- package/runtime/Lib/site-packages/mcp/server/__init__.py +7 -0
- package/runtime/Lib/site-packages/mcp/server/__main__.py +24 -0
- package/runtime/Lib/site-packages/mcp/server/_otel.py +72 -0
- package/runtime/Lib/site-packages/mcp/server/_streamable_http_modern.py +526 -0
- package/runtime/Lib/site-packages/mcp/server/apps.py +241 -0
- package/runtime/Lib/site-packages/mcp/server/auth/__init__.py +1 -0
- package/runtime/Lib/site-packages/mcp/server/auth/errors.py +5 -0
- package/runtime/Lib/site-packages/mcp/server/auth/handlers/__init__.py +1 -0
- package/runtime/Lib/site-packages/mcp/server/auth/handlers/authorize.py +221 -0
- package/runtime/Lib/site-packages/mcp/server/auth/handlers/metadata.py +29 -0
- package/runtime/Lib/site-packages/mcp/server/auth/handlers/register.py +154 -0
- package/runtime/Lib/site-packages/mcp/server/auth/handlers/revoke.py +87 -0
- package/runtime/Lib/site-packages/mcp/server/auth/handlers/token.py +275 -0
- package/runtime/Lib/site-packages/mcp/server/auth/json_response.py +10 -0
- package/runtime/Lib/site-packages/mcp/server/auth/middleware/__init__.py +1 -0
- package/runtime/Lib/site-packages/mcp/server/auth/middleware/auth_context.py +46 -0
- package/runtime/Lib/site-packages/mcp/server/auth/middleware/bearer_auth.py +165 -0
- package/runtime/Lib/site-packages/mcp/server/auth/middleware/client_auth.py +119 -0
- package/runtime/Lib/site-packages/mcp/server/auth/provider.py +380 -0
- package/runtime/Lib/site-packages/mcp/server/auth/routes.py +261 -0
- package/runtime/Lib/site-packages/mcp/server/auth/settings.py +70 -0
- package/runtime/Lib/site-packages/mcp/server/caching.py +85 -0
- package/runtime/Lib/site-packages/mcp/server/connection.py +493 -0
- package/runtime/Lib/site-packages/mcp/server/context.py +194 -0
- package/runtime/Lib/site-packages/mcp/server/elicitation.py +191 -0
- package/runtime/Lib/site-packages/mcp/server/extension.py +185 -0
- package/runtime/Lib/site-packages/mcp/server/fastmcp.py +16 -0
- package/runtime/Lib/site-packages/mcp/server/lowlevel/__init__.py +3 -0
- package/runtime/Lib/site-packages/mcp/server/lowlevel/helper_types.py +11 -0
- package/runtime/Lib/site-packages/mcp/server/lowlevel/server.py +852 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/__init__.py +61 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/context.py +391 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/exceptions.py +76 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/prompts/__init__.py +4 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/prompts/base.py +213 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/prompts/manager.py +67 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/resolve.py +846 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/resources/__init__.py +26 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/resources/base.py +43 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/resources/resource_manager.py +137 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/resources/templates.py +248 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/resources/types.py +230 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/server.py +1418 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/tools/__init__.py +4 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/tools/base.py +213 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/tools/tool_manager.py +87 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/utilities/__init__.py +1 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/utilities/context_injection.py +68 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/utilities/func_metadata.py +655 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/utilities/logging.py +39 -0
- package/runtime/Lib/site-packages/mcp/server/mcpserver/utilities/types.py +101 -0
- package/runtime/Lib/site-packages/mcp/server/models.py +17 -0
- package/runtime/Lib/site-packages/mcp/server/request_state.py +454 -0
- package/runtime/Lib/site-packages/mcp/server/runner.py +872 -0
- package/runtime/Lib/site-packages/mcp/server/session.py +489 -0
- package/runtime/Lib/site-packages/mcp/server/sse.py +287 -0
- package/runtime/Lib/site-packages/mcp/server/stdio.py +217 -0
- package/runtime/Lib/site-packages/mcp/server/streamable_http.py +1135 -0
- package/runtime/Lib/site-packages/mcp/server/streamable_http_manager.py +427 -0
- package/runtime/Lib/site-packages/mcp/server/subscriptions.py +254 -0
- package/runtime/Lib/site-packages/mcp/server/transport_security.py +183 -0
- package/runtime/Lib/site-packages/mcp/server/validation.py +93 -0
- package/runtime/Lib/site-packages/mcp/shared/__init__.py +0 -0
- package/runtime/Lib/site-packages/mcp/shared/_callable_inspection.py +33 -0
- package/runtime/Lib/site-packages/mcp/shared/_compat.py +19 -0
- package/runtime/Lib/site-packages/mcp/shared/_context_streams.py +119 -0
- package/runtime/Lib/site-packages/mcp/shared/_httpx_utils.py +222 -0
- package/runtime/Lib/site-packages/mcp/shared/_otel.py +60 -0
- package/runtime/Lib/site-packages/mcp/shared/_request_clock.py +81 -0
- package/runtime/Lib/site-packages/mcp/shared/_stream_protocols.py +49 -0
- package/runtime/Lib/site-packages/mcp/shared/auth.py +258 -0
- package/runtime/Lib/site-packages/mcp/shared/auth_utils.py +80 -0
- package/runtime/Lib/site-packages/mcp/shared/context.py +85 -0
- package/runtime/Lib/site-packages/mcp/shared/direct_dispatcher.py +337 -0
- package/runtime/Lib/site-packages/mcp/shared/dispatcher.py +283 -0
- package/runtime/Lib/site-packages/mcp/shared/exceptions.py +119 -0
- package/runtime/Lib/site-packages/mcp/shared/extension.py +28 -0
- package/runtime/Lib/site-packages/mcp/shared/inbound.py +595 -0
- package/runtime/Lib/site-packages/mcp/shared/jsonrpc_dispatcher.py +856 -0
- package/runtime/Lib/site-packages/mcp/shared/memory.py +33 -0
- package/runtime/Lib/site-packages/mcp/shared/message.py +63 -0
- package/runtime/Lib/site-packages/mcp/shared/metadata_utils.py +46 -0
- package/runtime/Lib/site-packages/mcp/shared/path_security.py +176 -0
- package/runtime/Lib/site-packages/mcp/shared/peer.py +240 -0
- package/runtime/Lib/site-packages/mcp/shared/subscriptions.py +111 -0
- package/runtime/Lib/site-packages/mcp/shared/tool_name_validation.py +129 -0
- package/runtime/Lib/site-packages/mcp/shared/transport_context.py +45 -0
- package/runtime/Lib/site-packages/mcp/shared/uri_template.py +1116 -0
- package/runtime/Lib/site-packages/mcp/types/__init__.py +31 -0
- package/runtime/Lib/site-packages/mcp/types/jsonrpc.py +13 -0
- package/runtime/Lib/site-packages/mcp/types/methods.py +13 -0
- package/runtime/Lib/site-packages/mcp/types/version.py +13 -0
- package/runtime/Lib/site-packages/mcp-2.3.0.dist-info/METADATA +172 -0
- package/runtime/Lib/site-packages/mcp-2.3.0.dist-info/RECORD +130 -0
- package/runtime/Lib/site-packages/mcp-2.3.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/mcp-2.3.0.dist-info/entry_points.txt +2 -0
- package/runtime/Lib/site-packages/mcp-2.3.0.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/mcp_types/__init__.py +453 -0
- package/runtime/Lib/site-packages/mcp_types/_types.py +2198 -0
- package/runtime/Lib/site-packages/mcp_types/_v2025_11_25/__init__.py +3391 -0
- package/runtime/Lib/site-packages/mcp_types/_v2026_07_28/__init__.py +3617 -0
- package/runtime/Lib/site-packages/mcp_types/_wire_base.py +9 -0
- package/runtime/Lib/site-packages/mcp_types/jsonrpc.py +148 -0
- package/runtime/Lib/site-packages/mcp_types/methods.py +746 -0
- package/runtime/Lib/site-packages/mcp_types/py.typed +0 -0
- package/runtime/Lib/site-packages/mcp_types/version.py +74 -0
- package/runtime/Lib/site-packages/mcp_types-2.3.0.dist-info/METADATA +43 -0
- package/runtime/Lib/site-packages/mcp_types-2.3.0.dist-info/RECORD +13 -0
- package/runtime/Lib/site-packages/mcp_types-2.3.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/mcp_types-2.3.0.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/multipart/__init__.py +38 -0
- package/runtime/Lib/site-packages/multipart/decoders.py +1 -0
- package/runtime/Lib/site-packages/multipart/exceptions.py +1 -0
- package/runtime/Lib/site-packages/multipart/multipart.py +1 -0
- package/runtime/Lib/site-packages/opentelemetry/_logs/__init__.py +47 -0
- package/runtime/Lib/site-packages/opentelemetry/_logs/_internal/__init__.py +484 -0
- package/runtime/Lib/site-packages/opentelemetry/_logs/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/_logs/severity/__init__.py +44 -0
- package/runtime/Lib/site-packages/opentelemetry/attributes/__init__.py +243 -0
- package/runtime/Lib/site-packages/opentelemetry/attributes/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/baggage/__init__.py +122 -0
- package/runtime/Lib/site-packages/opentelemetry/baggage/propagation/__init__.py +179 -0
- package/runtime/Lib/site-packages/opentelemetry/baggage/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/context/__init__.py +147 -0
- package/runtime/Lib/site-packages/opentelemetry/context/context.py +65 -0
- package/runtime/Lib/site-packages/opentelemetry/context/contextvars_context.py +43 -0
- package/runtime/Lib/site-packages/opentelemetry/context/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/environment_variables/__init__.py +72 -0
- package/runtime/Lib/site-packages/opentelemetry/environment_variables/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/metrics/__init__.py +121 -0
- package/runtime/Lib/site-packages/opentelemetry/metrics/_internal/__init__.py +892 -0
- package/runtime/Lib/site-packages/opentelemetry/metrics/_internal/instrument.py +540 -0
- package/runtime/Lib/site-packages/opentelemetry/metrics/_internal/observation.py +51 -0
- package/runtime/Lib/site-packages/opentelemetry/metrics/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/propagate/__init__.py +171 -0
- package/runtime/Lib/site-packages/opentelemetry/propagate/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/propagators/_envcarrier.py +94 -0
- package/runtime/Lib/site-packages/opentelemetry/propagators/composite.py +78 -0
- package/runtime/Lib/site-packages/opentelemetry/propagators/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/propagators/textmap.py +181 -0
- package/runtime/Lib/site-packages/opentelemetry/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/trace/__init__.py +661 -0
- package/runtime/Lib/site-packages/opentelemetry/trace/propagation/__init__.py +37 -0
- package/runtime/Lib/site-packages/opentelemetry/trace/propagation/tracecontext.py +126 -0
- package/runtime/Lib/site-packages/opentelemetry/trace/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/trace/span.py +616 -0
- package/runtime/Lib/site-packages/opentelemetry/trace/status.py +68 -0
- package/runtime/Lib/site-packages/opentelemetry/util/_decorator.py +75 -0
- package/runtime/Lib/site-packages/opentelemetry/util/_importlib_metadata.py +61 -0
- package/runtime/Lib/site-packages/opentelemetry/util/_once.py +36 -0
- package/runtime/Lib/site-packages/opentelemetry/util/_providers.py +42 -0
- package/runtime/Lib/site-packages/opentelemetry/util/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry/util/re.py +93 -0
- package/runtime/Lib/site-packages/opentelemetry/util/types.py +28 -0
- package/runtime/Lib/site-packages/opentelemetry/version/__init__.py +4 -0
- package/runtime/Lib/site-packages/opentelemetry/version/py.typed +0 -0
- package/runtime/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/METADATA +43 -0
- package/runtime/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/RECORD +47 -0
- package/runtime/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/entry_points.txt +15 -0
- package/runtime/Lib/site-packages/opentelemetry_api-1.45.2.dist-info/licenses/LICENSE +201 -0
- package/runtime/Lib/site-packages/pycparser/__init__.py +98 -0
- package/runtime/Lib/site-packages/pycparser/_ast_gen.py +385 -0
- package/runtime/Lib/site-packages/pycparser/_c_ast.cfg +268 -0
- package/runtime/Lib/site-packages/pycparser/ast_transforms.py +201 -0
- package/runtime/Lib/site-packages/pycparser/c_ast.py +1670 -0
- package/runtime/Lib/site-packages/pycparser/c_generator.py +866 -0
- package/runtime/Lib/site-packages/pycparser/c_lexer.py +861 -0
- package/runtime/Lib/site-packages/pycparser/c_parser.py +2759 -0
- package/runtime/Lib/site-packages/pycparser-3.12.dist-info/METADATA +286 -0
- package/runtime/Lib/site-packages/pycparser-3.12.dist-info/RECORD +13 -0
- package/runtime/Lib/site-packages/pycparser-3.12.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/pycparser-3.12.dist-info/licenses/LICENSE +27 -0
- package/runtime/Lib/site-packages/pycparser-3.12.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/pydantic/__init__.py +461 -0
- package/runtime/Lib/site-packages/pydantic/_internal/__init__.py +0 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_config.py +408 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_core_metadata.py +97 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_core_utils.py +156 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_dataclasses.py +327 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_decorators.py +906 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_decorators_v1.py +174 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_discriminated_union.py +510 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_docs_extraction.py +128 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_fields.py +910 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_forward_ref.py +23 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_generate_schema.py +2984 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_generics.py +556 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_git.py +27 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_import_utils.py +20 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_known_annotated_metadata.py +405 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_mock_val_ser.py +237 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_model_construction.py +833 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_namespace_utils.py +299 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_repr.py +122 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_schema_gather.py +49 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_schema_generation_shared.py +126 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_serializers.py +59 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_signature.py +193 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_type_refs.py +128 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_typing_extra.py +502 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_utils.py +433 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_validate_call.py +141 -0
- package/runtime/Lib/site-packages/pydantic/_internal/_validators.py +541 -0
- package/runtime/Lib/site-packages/pydantic/_migration.py +317 -0
- package/runtime/Lib/site-packages/pydantic/alias_generators.py +62 -0
- package/runtime/Lib/site-packages/pydantic/aliases.py +136 -0
- package/runtime/Lib/site-packages/pydantic/annotated_handlers.py +123 -0
- package/runtime/Lib/site-packages/pydantic/class_validators.py +5 -0
- package/runtime/Lib/site-packages/pydantic/color.py +605 -0
- package/runtime/Lib/site-packages/pydantic/config.py +1295 -0
- package/runtime/Lib/site-packages/pydantic/dataclasses.py +385 -0
- package/runtime/Lib/site-packages/pydantic/datetime_parse.py +5 -0
- package/runtime/Lib/site-packages/pydantic/decorator.py +5 -0
- package/runtime/Lib/site-packages/pydantic/deprecated/__init__.py +0 -0
- package/runtime/Lib/site-packages/pydantic/deprecated/class_validators.py +257 -0
- package/runtime/Lib/site-packages/pydantic/deprecated/config.py +72 -0
- package/runtime/Lib/site-packages/pydantic/deprecated/copy_internals.py +224 -0
- package/runtime/Lib/site-packages/pydantic/deprecated/decorator.py +286 -0
- package/runtime/Lib/site-packages/pydantic/deprecated/json.py +142 -0
- package/runtime/Lib/site-packages/pydantic/deprecated/parse.py +81 -0
- package/runtime/Lib/site-packages/pydantic/deprecated/tools.py +104 -0
- package/runtime/Lib/site-packages/pydantic/env_settings.py +5 -0
- package/runtime/Lib/site-packages/pydantic/error_wrappers.py +5 -0
- package/runtime/Lib/site-packages/pydantic/errors.py +185 -0
- package/runtime/Lib/site-packages/pydantic/experimental/__init__.py +1 -0
- package/runtime/Lib/site-packages/pydantic/experimental/arguments_schema.py +44 -0
- package/runtime/Lib/site-packages/pydantic/experimental/missing_sentinel.py +29 -0
- package/runtime/Lib/site-packages/pydantic/experimental/pipeline.py +684 -0
- package/runtime/Lib/site-packages/pydantic/fields.py +2065 -0
- package/runtime/Lib/site-packages/pydantic/functional_serializers.py +461 -0
- package/runtime/Lib/site-packages/pydantic/functional_validators.py +920 -0
- package/runtime/Lib/site-packages/pydantic/generics.py +5 -0
- package/runtime/Lib/site-packages/pydantic/json.py +5 -0
- package/runtime/Lib/site-packages/pydantic/json_schema.py +3261 -0
- package/runtime/Lib/site-packages/pydantic/main.py +1947 -0
- package/runtime/Lib/site-packages/pydantic/mypy.py +1469 -0
- package/runtime/Lib/site-packages/pydantic/networks.py +1417 -0
- package/runtime/Lib/site-packages/pydantic/parse.py +5 -0
- package/runtime/Lib/site-packages/pydantic/plugin/__init__.py +190 -0
- package/runtime/Lib/site-packages/pydantic/plugin/_loader.py +58 -0
- package/runtime/Lib/site-packages/pydantic/plugin/_schema_validator.py +152 -0
- package/runtime/Lib/site-packages/pydantic/py.typed +0 -0
- package/runtime/Lib/site-packages/pydantic/root_model.py +189 -0
- package/runtime/Lib/site-packages/pydantic/schema.py +5 -0
- package/runtime/Lib/site-packages/pydantic/tools.py +5 -0
- package/runtime/Lib/site-packages/pydantic/type_adapter.py +780 -0
- package/runtime/Lib/site-packages/pydantic/types.py +3405 -0
- package/runtime/Lib/site-packages/pydantic/typing.py +5 -0
- package/runtime/Lib/site-packages/pydantic/utils.py +5 -0
- package/runtime/Lib/site-packages/pydantic/v1/__init__.py +131 -0
- package/runtime/Lib/site-packages/pydantic/v1/_hypothesis_plugin.py +391 -0
- package/runtime/Lib/site-packages/pydantic/v1/annotated_types.py +72 -0
- package/runtime/Lib/site-packages/pydantic/v1/class_validators.py +361 -0
- package/runtime/Lib/site-packages/pydantic/v1/color.py +494 -0
- package/runtime/Lib/site-packages/pydantic/v1/config.py +191 -0
- package/runtime/Lib/site-packages/pydantic/v1/dataclasses.py +503 -0
- package/runtime/Lib/site-packages/pydantic/v1/datetime_parse.py +248 -0
- package/runtime/Lib/site-packages/pydantic/v1/decorator.py +264 -0
- package/runtime/Lib/site-packages/pydantic/v1/env_settings.py +350 -0
- package/runtime/Lib/site-packages/pydantic/v1/error_wrappers.py +161 -0
- package/runtime/Lib/site-packages/pydantic/v1/errors.py +646 -0
- package/runtime/Lib/site-packages/pydantic/v1/fields.py +1253 -0
- package/runtime/Lib/site-packages/pydantic/v1/generics.py +400 -0
- package/runtime/Lib/site-packages/pydantic/v1/json.py +112 -0
- package/runtime/Lib/site-packages/pydantic/v1/main.py +1130 -0
- package/runtime/Lib/site-packages/pydantic/v1/mypy.py +950 -0
- package/runtime/Lib/site-packages/pydantic/v1/networks.py +747 -0
- package/runtime/Lib/site-packages/pydantic/v1/parse.py +66 -0
- package/runtime/Lib/site-packages/pydantic/v1/py.typed +0 -0
- package/runtime/Lib/site-packages/pydantic/v1/schema.py +1163 -0
- package/runtime/Lib/site-packages/pydantic/v1/tools.py +92 -0
- package/runtime/Lib/site-packages/pydantic/v1/types.py +1213 -0
- package/runtime/Lib/site-packages/pydantic/v1/typing.py +627 -0
- package/runtime/Lib/site-packages/pydantic/v1/utils.py +807 -0
- package/runtime/Lib/site-packages/pydantic/v1/validators.py +768 -0
- package/runtime/Lib/site-packages/pydantic/v1/version.py +38 -0
- package/runtime/Lib/site-packages/pydantic/validate_call_decorator.py +121 -0
- package/runtime/Lib/site-packages/pydantic/validators.py +5 -0
- package/runtime/Lib/site-packages/pydantic/version.py +113 -0
- package/runtime/Lib/site-packages/pydantic/warnings.py +130 -0
- package/runtime/Lib/site-packages/pydantic-2.14.2.dist-info/METADATA +1602 -0
- package/runtime/Lib/site-packages/pydantic-2.14.2.dist-info/RECORD +111 -0
- package/runtime/Lib/site-packages/pydantic-2.14.2.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/pydantic-2.14.2.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/pydantic_core/__init__.py +193 -0
- package/runtime/Lib/site-packages/pydantic_core/_pydantic_core/__init__.pyi +1118 -0
- package/runtime/Lib/site-packages/pydantic_core/_pydantic_core/_schema_gather.pyi +34 -0
- package/runtime/Lib/site-packages/pydantic_core/_pydantic_core.cp313-win_amd64.pyd +0 -0
- package/runtime/Lib/site-packages/pydantic_core/core_schema.py +5092 -0
- package/runtime/Lib/site-packages/pydantic_core/py.typed +0 -0
- package/runtime/Lib/site-packages/pydantic_core-2.50.2.dist-info/METADATA +171 -0
- package/runtime/Lib/site-packages/pydantic_core-2.50.2.dist-info/RECORD +11 -0
- package/runtime/Lib/site-packages/pydantic_core-2.50.2.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/pydantic_core-2.50.2.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/pydantic_core-2.50.2.dist-info/sboms/pydantic-core.cyclonedx.json +3889 -0
- package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/METADATA +94 -0
- package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/RECORD +19 -0
- package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/licenses/AUTHORS.rst +7 -0
- package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/pyjwt-2.15.1.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/METADATA +204 -0
- package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/RECORD +27 -0
- package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/WHEEL +6 -0
- package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/licenses/LICENSE +54 -0
- package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/python_dateutil-3.0.0.dist-info/zip-safe +1 -0
- package/runtime/Lib/site-packages/python_multipart/__init__.py +35 -0
- package/runtime/Lib/site-packages/python_multipart/decoders.py +185 -0
- package/runtime/Lib/site-packages/python_multipart/exceptions.py +34 -0
- package/runtime/Lib/site-packages/python_multipart/multipart.py +1925 -0
- package/runtime/Lib/site-packages/python_multipart/py.typed +0 -0
- package/runtime/Lib/site-packages/python_multipart-0.0.32.dist-info/METADATA +43 -0
- package/runtime/Lib/site-packages/python_multipart-0.0.32.dist-info/RECORD +13 -0
- package/runtime/Lib/site-packages/python_multipart-0.0.32.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/python_multipart-0.0.32.dist-info/licenses/LICENSE.txt +202 -0
- package/runtime/Lib/site-packages/pythoncom.py +4 -0
- package/runtime/Lib/site-packages/pywin32-311.dist-info/METADATA +233 -0
- package/runtime/Lib/site-packages/pywin32-311.dist-info/RECORD +477 -0
- package/runtime/Lib/site-packages/pywin32-311.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/pywin32-311.dist-info/entry_points.txt +3 -0
- package/runtime/Lib/site-packages/pywin32-311.dist-info/top_level.txt +93 -0
- package/runtime/Lib/site-packages/pywin32.pth +7 -0
- package/runtime/Lib/site-packages/pywin32.version.txt +1 -0
- package/runtime/Lib/site-packages/pywin32_system32/pythoncom313.dll +0 -0
- package/runtime/Lib/site-packages/pywin32_system32/pywintypes313.dll +0 -0
- package/runtime/Lib/site-packages/pyyaml-6.0.3.dist-info/METADATA +59 -0
- package/runtime/Lib/site-packages/pyyaml-6.0.3.dist-info/RECORD +24 -0
- package/runtime/Lib/site-packages/pyyaml-6.0.3.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/pyyaml-6.0.3.dist-info/licenses/LICENSE +20 -0
- package/runtime/Lib/site-packages/pyyaml-6.0.3.dist-info/top_level.txt +2 -0
- package/runtime/Lib/site-packages/referencing/__init__.py +7 -0
- package/runtime/Lib/site-packages/referencing/_attrs.py +31 -0
- package/runtime/Lib/site-packages/referencing/_attrs.pyi +21 -0
- package/runtime/Lib/site-packages/referencing/_core.py +739 -0
- package/runtime/Lib/site-packages/referencing/exceptions.py +165 -0
- package/runtime/Lib/site-packages/referencing/jsonschema.py +642 -0
- package/runtime/Lib/site-packages/referencing/py.typed +0 -0
- package/runtime/Lib/site-packages/referencing/retrieval.py +94 -0
- package/runtime/Lib/site-packages/referencing/tests/__init__.py +0 -0
- package/runtime/Lib/site-packages/referencing/tests/test_core.py +1057 -0
- package/runtime/Lib/site-packages/referencing/tests/test_exceptions.py +34 -0
- package/runtime/Lib/site-packages/referencing/tests/test_jsonschema.py +382 -0
- package/runtime/Lib/site-packages/referencing/tests/test_referencing_suite.py +66 -0
- package/runtime/Lib/site-packages/referencing/tests/test_retrieval.py +106 -0
- package/runtime/Lib/site-packages/referencing/typing.py +61 -0
- package/runtime/Lib/site-packages/referencing-0.37.0.dist-info/METADATA +64 -0
- package/runtime/Lib/site-packages/referencing-0.37.0.dist-info/RECORD +19 -0
- package/runtime/Lib/site-packages/referencing-0.37.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/referencing-0.37.0.dist-info/licenses/COPYING +19 -0
- package/runtime/Lib/site-packages/requests/__init__.py +219 -0
- package/runtime/Lib/site-packages/requests/__version__.py +14 -0
- package/runtime/Lib/site-packages/requests/_internal_utils.py +51 -0
- package/runtime/Lib/site-packages/requests/_types.py +183 -0
- package/runtime/Lib/site-packages/requests/adapters.py +748 -0
- package/runtime/Lib/site-packages/requests/api.py +180 -0
- package/runtime/Lib/site-packages/requests/auth.py +354 -0
- package/runtime/Lib/site-packages/requests/certs.py +18 -0
- package/runtime/Lib/site-packages/requests/compat.py +113 -0
- package/runtime/Lib/site-packages/requests/cookies.py +625 -0
- package/runtime/Lib/site-packages/requests/exceptions.py +162 -0
- package/runtime/Lib/site-packages/requests/help.py +134 -0
- package/runtime/Lib/site-packages/requests/hooks.py +48 -0
- package/runtime/Lib/site-packages/requests/models.py +1180 -0
- package/runtime/Lib/site-packages/requests/packages.py +23 -0
- package/runtime/Lib/site-packages/requests/py.typed +0 -0
- package/runtime/Lib/site-packages/requests/sessions.py +920 -0
- package/runtime/Lib/site-packages/requests/status_codes.py +128 -0
- package/runtime/Lib/site-packages/requests/structures.py +130 -0
- package/runtime/Lib/site-packages/requests/utils.py +1155 -0
- package/runtime/Lib/site-packages/requests-2.34.2.dist-info/METADATA +120 -0
- package/runtime/Lib/site-packages/requests-2.34.2.dist-info/RECORD +26 -0
- package/runtime/Lib/site-packages/requests-2.34.2.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/requests-2.34.2.dist-info/licenses/LICENSE +175 -0
- package/runtime/Lib/site-packages/requests-2.34.2.dist-info/licenses/NOTICE +2 -0
- package/runtime/Lib/site-packages/requests-2.34.2.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/rpds/__init__.py +5 -0
- package/runtime/Lib/site-packages/rpds/__init__.pyi +79 -0
- package/runtime/Lib/site-packages/rpds/py.typed +0 -0
- package/runtime/Lib/site-packages/rpds/rpds.cp313-win_amd64.pyd +0 -0
- package/runtime/Lib/site-packages/rpds_py-2026.9.1.dist-info/METADATA +99 -0
- package/runtime/Lib/site-packages/rpds_py-2026.9.1.dist-info/RECORD +9 -0
- package/runtime/Lib/site-packages/rpds_py-2026.9.1.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/rpds_py-2026.9.1.dist-info/licenses/LICENSE +19 -0
- package/runtime/Lib/site-packages/rpds_py-2026.9.1.dist-info/sboms/rpds-py.cyclonedx.json +680 -0
- package/runtime/Lib/site-packages/semantic_version/__init__.py +18 -0
- package/runtime/Lib/site-packages/semantic_version/base.py +1449 -0
- package/runtime/Lib/site-packages/semantic_version/django_fields.py +107 -0
- package/runtime/Lib/site-packages/semantic_version-2.10.0.dist-info/LICENSE +22 -0
- package/runtime/Lib/site-packages/semantic_version-2.10.0.dist-info/METADATA +324 -0
- package/runtime/Lib/site-packages/semantic_version-2.10.0.dist-info/RECORD +8 -0
- package/runtime/Lib/site-packages/semantic_version-2.10.0.dist-info/WHEEL +6 -0
- package/runtime/Lib/site-packages/semantic_version-2.10.0.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/six-1.17.0.dist-info/LICENSE +18 -0
- package/runtime/Lib/site-packages/six-1.17.0.dist-info/METADATA +43 -0
- package/runtime/Lib/site-packages/six-1.17.0.dist-info/RECORD +6 -0
- package/runtime/Lib/site-packages/six-1.17.0.dist-info/WHEEL +6 -0
- package/runtime/Lib/site-packages/six-1.17.0.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/six.py +1003 -0
- package/runtime/Lib/site-packages/sse_starlette/__init__.py +5 -0
- package/runtime/Lib/site-packages/sse_starlette/_utils.py +36 -0
- package/runtime/Lib/site-packages/sse_starlette/event.py +96 -0
- package/runtime/Lib/site-packages/sse_starlette/py.typed +0 -0
- package/runtime/Lib/site-packages/sse_starlette/sse.py +579 -0
- package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/METADATA +494 -0
- package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/RECORD +11 -0
- package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/WHEEL +5 -0
- package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/licenses/AUTHORS +10 -0
- package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/licenses/LICENSE +27 -0
- package/runtime/Lib/site-packages/sse_starlette-3.6.0.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/starlette/__init__.py +1 -0
- package/runtime/Lib/site-packages/starlette/_exception_handler.py +67 -0
- package/runtime/Lib/site-packages/starlette/_utils.py +152 -0
- package/runtime/Lib/site-packages/starlette/applications.py +124 -0
- package/runtime/Lib/site-packages/starlette/authentication.py +157 -0
- package/runtime/Lib/site-packages/starlette/background.py +36 -0
- package/runtime/Lib/site-packages/starlette/concurrency.py +59 -0
- package/runtime/Lib/site-packages/starlette/config.py +142 -0
- package/runtime/Lib/site-packages/starlette/convertors.py +89 -0
- package/runtime/Lib/site-packages/starlette/datastructures.py +717 -0
- package/runtime/Lib/site-packages/starlette/endpoints.py +128 -0
- package/runtime/Lib/site-packages/starlette/exceptions.py +43 -0
- package/runtime/Lib/site-packages/starlette/formparsers.py +289 -0
- package/runtime/Lib/site-packages/starlette/middleware/__init__.py +37 -0
- package/runtime/Lib/site-packages/starlette/middleware/authentication.py +52 -0
- package/runtime/Lib/site-packages/starlette/middleware/base.py +254 -0
- package/runtime/Lib/site-packages/starlette/middleware/body_limit.py +132 -0
- package/runtime/Lib/site-packages/starlette/middleware/cors.py +177 -0
- package/runtime/Lib/site-packages/starlette/middleware/errors.py +259 -0
- package/runtime/Lib/site-packages/starlette/middleware/exceptions.py +73 -0
- package/runtime/Lib/site-packages/starlette/middleware/gzip.py +230 -0
- package/runtime/Lib/site-packages/starlette/middleware/httpsredirect.py +22 -0
- package/runtime/Lib/site-packages/starlette/middleware/opentelemetry.py +126 -0
- package/runtime/Lib/site-packages/starlette/middleware/sessions.py +139 -0
- package/runtime/Lib/site-packages/starlette/middleware/trustedhost.py +66 -0
- package/runtime/Lib/site-packages/starlette/middleware/wsgi.py +157 -0
- package/runtime/Lib/site-packages/starlette/py.typed +0 -0
- package/runtime/Lib/site-packages/starlette/requests.py +357 -0
- package/runtime/Lib/site-packages/starlette/responses.py +616 -0
- package/runtime/Lib/site-packages/starlette/routing.py +772 -0
- package/runtime/Lib/site-packages/starlette/schemas.py +152 -0
- package/runtime/Lib/site-packages/starlette/staticfiles.py +231 -0
- package/runtime/Lib/site-packages/starlette/status.py +211 -0
- package/runtime/Lib/site-packages/starlette/templating.py +156 -0
- package/runtime/Lib/site-packages/starlette/testclient.py +624 -0
- package/runtime/Lib/site-packages/starlette/types.py +26 -0
- package/runtime/Lib/site-packages/starlette/websockets.py +202 -0
- package/runtime/Lib/site-packages/starlette-1.10.0.dist-info/METADATA +181 -0
- package/runtime/Lib/site-packages/starlette-1.10.0.dist-info/RECORD +41 -0
- package/runtime/Lib/site-packages/starlette-1.10.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/starlette-1.10.0.dist-info/licenses/LICENSE.md +27 -0
- package/runtime/Lib/site-packages/truststore/__init__.py +36 -0
- package/runtime/Lib/site-packages/truststore/_api.py +377 -0
- package/runtime/Lib/site-packages/truststore/_macos.py +571 -0
- package/runtime/Lib/site-packages/truststore/_openssl.py +65 -0
- package/runtime/Lib/site-packages/truststore/_ssl_constants.py +30 -0
- package/runtime/Lib/site-packages/truststore/_windows.py +567 -0
- package/runtime/Lib/site-packages/truststore/py.typed +0 -0
- package/runtime/Lib/site-packages/truststore-0.10.5.dist-info/METADATA +110 -0
- package/runtime/Lib/site-packages/truststore-0.10.5.dist-info/RECORD +11 -0
- package/runtime/Lib/site-packages/truststore-0.10.5.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/truststore-0.10.5.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/typing_extensions-4.16.0.dist-info/METADATA +73 -0
- package/runtime/Lib/site-packages/typing_extensions-4.16.0.dist-info/RECORD +5 -0
- package/runtime/Lib/site-packages/typing_extensions-4.16.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/typing_extensions-4.16.0.dist-info/licenses/LICENSE +279 -0
- package/runtime/Lib/site-packages/typing_extensions.py +4422 -0
- package/runtime/Lib/site-packages/typing_inspection/__init__.py +0 -0
- package/runtime/Lib/site-packages/typing_inspection/introspection.py +587 -0
- package/runtime/Lib/site-packages/typing_inspection/py.typed +0 -0
- package/runtime/Lib/site-packages/typing_inspection/typing_objects.py +620 -0
- package/runtime/Lib/site-packages/typing_inspection/typing_objects.pyi +421 -0
- package/runtime/Lib/site-packages/typing_inspection-0.4.4.dist-info/METADATA +49 -0
- package/runtime/Lib/site-packages/typing_inspection-0.4.4.dist-info/RECORD +9 -0
- package/runtime/Lib/site-packages/typing_inspection-0.4.4.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/typing_inspection-0.4.4.dist-info/licenses/LICENSE +21 -0
- package/runtime/Lib/site-packages/tzdata/__init__.py +6 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Abidjan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Accra +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Addis_Ababa +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Algiers +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Asmara +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Asmera +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Bamako +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Bangui +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Banjul +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Bissau +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Blantyre +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Brazzaville +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Bujumbura +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Cairo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Casablanca +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Ceuta +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Conakry +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Dakar +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Dar_es_Salaam +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Djibouti +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Douala +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/El_Aaiun +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Freetown +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Gaborone +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Harare +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Johannesburg +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Juba +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Kampala +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Khartoum +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Kigali +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Kinshasa +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Lagos +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Libreville +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Lome +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Luanda +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Lubumbashi +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Lusaka +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Malabo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Maputo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Maseru +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Mbabane +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Mogadishu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Monrovia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Nairobi +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Ndjamena +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Niamey +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Nouakchott +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Ouagadougou +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Porto-Novo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Sao_Tome +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Timbuktu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Tripoli +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Tunis +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/Windhoek +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Africa/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Adak +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Anchorage +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Anguilla +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Antigua +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Araguaina +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Buenos_Aires +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Catamarca +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/ComodRivadavia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Cordoba +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Jujuy +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/La_Rioja +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Mendoza +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Rio_Gallegos +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Salta +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/San_Juan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/San_Luis +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Tucuman +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/Ushuaia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Argentina/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Aruba +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Asuncion +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Atikokan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Atka +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Bahia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Bahia_Banderas +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Barbados +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Belem +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Belize +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Blanc-Sablon +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Boa_Vista +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Bogota +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Boise +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Buenos_Aires +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cambridge_Bay +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Campo_Grande +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cancun +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Caracas +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Catamarca +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cayenne +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cayman +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Chicago +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Chihuahua +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Ciudad_Juarez +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Coral_Harbour +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cordoba +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Costa_Rica +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Coyhaique +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Creston +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Cuiaba +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Curacao +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Danmarkshavn +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Dawson +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Dawson_Creek +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Denver +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Detroit +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Dominica +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Edmonton +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Eirunepe +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/El_Salvador +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Ensenada +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Fort_Nelson +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Fort_Wayne +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Fortaleza +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Glace_Bay +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Godthab +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Goose_Bay +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Grand_Turk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Grenada +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Guadeloupe +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Guatemala +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Guayaquil +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Guyana +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Halifax +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Havana +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Hermosillo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Indianapolis +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Knox +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Marengo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Petersburg +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Tell_City +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Vevay +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Vincennes +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/Winamac +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indiana/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Indianapolis +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Inuvik +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Iqaluit +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Jamaica +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Jujuy +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Juneau +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Kentucky/Louisville +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Kentucky/Monticello +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Kentucky/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Knox_IN +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Kralendijk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/La_Paz +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Lima +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Los_Angeles +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Louisville +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Lower_Princes +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Maceio +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Managua +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Manaus +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Marigot +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Martinique +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Matamoros +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Mazatlan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Mendoza +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Menominee +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Merida +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Metlakatla +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Mexico_City +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Miquelon +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Moncton +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Monterrey +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Montevideo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Montreal +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Montserrat +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Nassau +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/New_York +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Nipigon +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Nome +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Noronha +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/North_Dakota/Beulah +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/North_Dakota/Center +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/North_Dakota/New_Salem +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/North_Dakota/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Nuuk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Ojinaga +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Panama +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Pangnirtung +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Paramaribo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Phoenix +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Port-au-Prince +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Port_of_Spain +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Porto_Acre +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Porto_Velho +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Puerto_Rico +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Punta_Arenas +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Rainy_River +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Rankin_Inlet +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Recife +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Regina +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Resolute +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Rio_Branco +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Rosario +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Santa_Isabel +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Santarem +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Santiago +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Santo_Domingo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Sao_Paulo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Scoresbysund +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Shiprock +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Sitka +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Barthelemy +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Johns +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Kitts +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Lucia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Thomas +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/St_Vincent +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Swift_Current +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Tegucigalpa +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Thule +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Thunder_Bay +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Tijuana +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Toronto +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Tortola +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Vancouver +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Virgin +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Whitehorse +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Winnipeg +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Yakutat +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/Yellowknife +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/America/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Casey +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Davis +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/DumontDUrville +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Macquarie +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Mawson +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/McMurdo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Palmer +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Rothera +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/South_Pole +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Syowa +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Troll +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/Vostok +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Antarctica/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Arctic/Longyearbyen +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Arctic/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Aden +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Almaty +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Amman +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Anadyr +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Aqtau +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Aqtobe +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ashgabat +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ashkhabad +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Atyrau +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Baghdad +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Bahrain +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Baku +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Bangkok +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Barnaul +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Beirut +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Bishkek +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Brunei +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Calcutta +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Chita +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Choibalsan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Chongqing +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Chungking +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Colombo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Dacca +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Damascus +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Dhaka +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Dili +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Dubai +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Dushanbe +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Famagusta +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Gaza +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Harbin +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Hebron +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ho_Chi_Minh +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Hong_Kong +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Hovd +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Irkutsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Istanbul +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Jakarta +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Jayapura +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Jerusalem +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kabul +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kamchatka +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Karachi +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kashgar +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kathmandu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Katmandu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Khandyga +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kolkata +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Krasnoyarsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kuala_Lumpur +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kuching +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Kuwait +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Macao +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Macau +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Magadan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Makassar +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Manila +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Muscat +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Nicosia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Novokuznetsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Novosibirsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Omsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Oral +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Phnom_Penh +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Pontianak +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Pyongyang +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Qatar +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Qostanay +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Qyzylorda +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Rangoon +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Riyadh +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Saigon +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Sakhalin +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Samarkand +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Seoul +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Shanghai +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Singapore +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Srednekolymsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Taipei +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tashkent +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tbilisi +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tehran +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tel_Aviv +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Thimbu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Thimphu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tokyo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Tomsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ujung_Pandang +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ulaanbaatar +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ulan_Bator +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Urumqi +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Ust-Nera +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Vientiane +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Vladivostok +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Yakutsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Yangon +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Yekaterinburg +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/Yerevan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Asia/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Azores +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Bermuda +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Canary +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Cape_Verde +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Faeroe +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Faroe +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Jan_Mayen +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Madeira +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Reykjavik +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/South_Georgia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/St_Helena +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/Stanley +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Atlantic/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/ACT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Adelaide +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Brisbane +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Broken_Hill +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Canberra +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Currie +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Darwin +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Eucla +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Hobart +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/LHI +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Lindeman +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Lord_Howe +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Melbourne +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/NSW +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/North +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Perth +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Queensland +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/South +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Sydney +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Tasmania +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Victoria +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/West +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/Yancowinna +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Australia/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Brazil/Acre +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Brazil/DeNoronha +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Brazil/East +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Brazil/West +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Brazil/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/CET +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/CST6CDT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Atlantic +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Central +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Eastern +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Mountain +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Newfoundland +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Pacific +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Saskatchewan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/Yukon +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Canada/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Chile/Continental +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Chile/EasterIsland +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Chile/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Cuba +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/EET +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/EST +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/EST5EDT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Egypt +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Eire +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+0 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+1 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+10 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+11 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+12 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+2 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+3 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+4 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+5 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+6 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+7 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+8 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT+9 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-0 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-1 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-10 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-11 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-12 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-13 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-14 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-2 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-3 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-4 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-5 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-6 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-7 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-8 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT-9 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/GMT0 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/Greenwich +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/UCT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/UTC +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/Universal +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/Zulu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Etc/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Amsterdam +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Andorra +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Astrakhan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Athens +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Belfast +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Belgrade +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Berlin +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Bratislava +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Brussels +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Bucharest +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Budapest +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Busingen +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Chisinau +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Copenhagen +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Dublin +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Gibraltar +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Guernsey +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Helsinki +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Isle_of_Man +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Istanbul +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Jersey +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Kaliningrad +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Kiev +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Kirov +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Kyiv +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Lisbon +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Ljubljana +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/London +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Luxembourg +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Madrid +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Malta +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Mariehamn +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Minsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Monaco +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Moscow +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Nicosia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Oslo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Paris +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Podgorica +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Prague +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Riga +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Rome +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Samara +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/San_Marino +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Sarajevo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Saratov +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Simferopol +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Skopje +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Sofia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Stockholm +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Tallinn +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Tirane +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Tiraspol +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Ulyanovsk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Uzhgorod +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Vaduz +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Vatican +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Vienna +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Vilnius +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Volgograd +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Warsaw +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Zagreb +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Zaporozhye +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/Zurich +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Europe/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Factory +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/GB +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/GB-Eire +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/GMT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/GMT+0 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/GMT-0 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/GMT0 +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Greenwich +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/HST +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Hongkong +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Iceland +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Antananarivo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Chagos +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Christmas +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Cocos +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Comoro +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Kerguelen +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Mahe +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Maldives +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Mauritius +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Mayotte +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/Reunion +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Indian/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Iran +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Israel +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Jamaica +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Japan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Kwajalein +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Libya +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/MET +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/MST +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/MST7MDT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Mexico/BajaNorte +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Mexico/BajaSur +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Mexico/General +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Mexico/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/NZ +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/NZ-CHAT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Navajo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/PRC +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/PST8PDT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Apia +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Auckland +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Bougainville +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Chatham +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Chuuk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Easter +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Efate +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Enderbury +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Fakaofo +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Fiji +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Funafuti +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Galapagos +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Gambier +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Guadalcanal +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Guam +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Honolulu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Johnston +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Kanton +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Kiritimati +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Kosrae +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Kwajalein +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Majuro +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Marquesas +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Midway +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Nauru +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Niue +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Norfolk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Noumea +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Pago_Pago +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Palau +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Pitcairn +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Pohnpei +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Ponape +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Port_Moresby +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Rarotonga +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Saipan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Samoa +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Tahiti +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Tarawa +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Tongatapu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Truk +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Wake +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Wallis +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/Yap +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Pacific/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Poland +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Portugal +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/ROC +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/ROK +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Singapore +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Turkey +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/UCT +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Alaska +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Aleutian +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Arizona +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Central +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/East-Indiana +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Eastern +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Hawaii +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Indiana-Starke +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Michigan +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Mountain +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Pacific +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/Samoa +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/US/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/UTC +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Universal +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/W-SU +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/WET +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/Zulu +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/__init__.py +0 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/iso3166.tab +279 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/leapseconds +84 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/tzdata.zi +4202 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/zone.tab +448 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/zone1970.tab +375 -0
- package/runtime/Lib/site-packages/tzdata/zoneinfo/zonenow.tab +302 -0
- package/runtime/Lib/site-packages/tzdata/zones +598 -0
- package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/METADATA +33 -0
- package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/RECORD +633 -0
- package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/WHEEL +6 -0
- package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/licenses/LICENSE +16 -0
- package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/licenses/licenses/LICENSE_APACHE +201 -0
- package/runtime/Lib/site-packages/tzdata-2026.6.dist-info/top_level.txt +1 -0
- package/runtime/Lib/site-packages/urllib3/__init__.py +211 -0
- package/runtime/Lib/site-packages/urllib3/_base_connection.py +167 -0
- package/runtime/Lib/site-packages/urllib3/_collections.py +490 -0
- package/runtime/Lib/site-packages/urllib3/_request_methods.py +278 -0
- package/runtime/Lib/site-packages/urllib3/_version.py +24 -0
- package/runtime/Lib/site-packages/urllib3/connection.py +1204 -0
- package/runtime/Lib/site-packages/urllib3/connectionpool.py +1211 -0
- package/runtime/Lib/site-packages/urllib3/contrib/__init__.py +0 -0
- package/runtime/Lib/site-packages/urllib3/contrib/emscripten/__init__.py +17 -0
- package/runtime/Lib/site-packages/urllib3/contrib/emscripten/connection.py +260 -0
- package/runtime/Lib/site-packages/urllib3/contrib/emscripten/emscripten_fetch_worker.js +110 -0
- package/runtime/Lib/site-packages/urllib3/contrib/emscripten/fetch.py +726 -0
- package/runtime/Lib/site-packages/urllib3/contrib/emscripten/request.py +22 -0
- package/runtime/Lib/site-packages/urllib3/contrib/emscripten/response.py +281 -0
- package/runtime/Lib/site-packages/urllib3/contrib/pyopenssl.py +603 -0
- package/runtime/Lib/site-packages/urllib3/contrib/socks.py +226 -0
- package/runtime/Lib/site-packages/urllib3/exceptions.py +335 -0
- package/runtime/Lib/site-packages/urllib3/fields.py +341 -0
- package/runtime/Lib/site-packages/urllib3/filepost.py +89 -0
- package/runtime/Lib/site-packages/urllib3/http2/__init__.py +53 -0
- package/runtime/Lib/site-packages/urllib3/http2/connection.py +357 -0
- package/runtime/Lib/site-packages/urllib3/http2/probe.py +87 -0
- package/runtime/Lib/site-packages/urllib3/poolmanager.py +677 -0
- package/runtime/Lib/site-packages/urllib3/py.typed +2 -0
- package/runtime/Lib/site-packages/urllib3/response.py +1526 -0
- package/runtime/Lib/site-packages/urllib3/util/__init__.py +42 -0
- package/runtime/Lib/site-packages/urllib3/util/connection.py +137 -0
- package/runtime/Lib/site-packages/urllib3/util/proxy.py +43 -0
- package/runtime/Lib/site-packages/urllib3/util/request.py +299 -0
- package/runtime/Lib/site-packages/urllib3/util/response.py +101 -0
- package/runtime/Lib/site-packages/urllib3/util/retry.py +569 -0
- package/runtime/Lib/site-packages/urllib3/util/ssl_.py +481 -0
- package/runtime/Lib/site-packages/urllib3/util/ssl_match_hostname.py +153 -0
- package/runtime/Lib/site-packages/urllib3/util/ssltransport.py +271 -0
- package/runtime/Lib/site-packages/urllib3/util/timeout.py +275 -0
- package/runtime/Lib/site-packages/urllib3/util/url.py +577 -0
- package/runtime/Lib/site-packages/urllib3/util/util.py +42 -0
- package/runtime/Lib/site-packages/urllib3/util/wait.py +124 -0
- package/runtime/Lib/site-packages/urllib3-2.8.0.dist-info/METADATA +175 -0
- package/runtime/Lib/site-packages/urllib3-2.8.0.dist-info/RECORD +42 -0
- package/runtime/Lib/site-packages/urllib3-2.8.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/urllib3-2.8.0.dist-info/licenses/LICENSE.txt +21 -0
- package/runtime/Lib/site-packages/uvicorn/__init__.py +5 -0
- package/runtime/Lib/site-packages/uvicorn/__main__.py +4 -0
- package/runtime/Lib/site-packages/uvicorn/_ansi.py +29 -0
- package/runtime/Lib/site-packages/uvicorn/_compat.py +91 -0
- package/runtime/Lib/site-packages/uvicorn/_subprocess.py +84 -0
- package/runtime/Lib/site-packages/uvicorn/_types.py +280 -0
- package/runtime/Lib/site-packages/uvicorn/config.py +618 -0
- package/runtime/Lib/site-packages/uvicorn/importer.py +34 -0
- package/runtime/Lib/site-packages/uvicorn/lifespan/__init__.py +0 -0
- package/runtime/Lib/site-packages/uvicorn/lifespan/off.py +17 -0
- package/runtime/Lib/site-packages/uvicorn/lifespan/on.py +137 -0
- package/runtime/Lib/site-packages/uvicorn/logging.py +117 -0
- package/runtime/Lib/site-packages/uvicorn/loops/__init__.py +0 -0
- package/runtime/Lib/site-packages/uvicorn/loops/asyncio.py +11 -0
- package/runtime/Lib/site-packages/uvicorn/loops/auto.py +17 -0
- package/runtime/Lib/site-packages/uvicorn/loops/uvloop.py +10 -0
- package/runtime/Lib/site-packages/uvicorn/loops/zuvloop.py +10 -0
- package/runtime/Lib/site-packages/uvicorn/main.py +656 -0
- package/runtime/Lib/site-packages/uvicorn/middleware/__init__.py +0 -0
- package/runtime/Lib/site-packages/uvicorn/middleware/asgi2.py +15 -0
- package/runtime/Lib/site-packages/uvicorn/middleware/message_logger.py +87 -0
- package/runtime/Lib/site-packages/uvicorn/middleware/proxy_headers.py +187 -0
- package/runtime/Lib/site-packages/uvicorn/middleware/wsgi.py +199 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/__init__.py +0 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/http/__init__.py +0 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/http/auto.py +15 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/http/auto_zttp_impl.py +89 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/http/flow_control.py +54 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/http/h11_impl.py +540 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/http/httptools_impl.py +581 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/http/zttp_h2_impl.py +559 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/http/zttp_impl.py +537 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/utils.py +62 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/websockets/__init__.py +0 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/websockets/auto.py +21 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/websockets/websockets_impl.py +390 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/websockets/websockets_sansio_impl.py +556 -0
- package/runtime/Lib/site-packages/uvicorn/protocols/websockets/wsproto_impl.py +500 -0
- package/runtime/Lib/site-packages/uvicorn/py.typed +1 -0
- package/runtime/Lib/site-packages/uvicorn/server.py +356 -0
- package/runtime/Lib/site-packages/uvicorn/supervisors/__init__.py +16 -0
- package/runtime/Lib/site-packages/uvicorn/supervisors/basereload.py +124 -0
- package/runtime/Lib/site-packages/uvicorn/supervisors/multiprocess.py +282 -0
- package/runtime/Lib/site-packages/uvicorn/supervisors/statreload.py +52 -0
- package/runtime/Lib/site-packages/uvicorn/supervisors/watchfilesreload.py +86 -0
- package/runtime/Lib/site-packages/uvicorn/workers.py +111 -0
- package/runtime/Lib/site-packages/uvicorn-0.54.0.dist-info/METADATA +189 -0
- package/runtime/Lib/site-packages/uvicorn-0.54.0.dist-info/RECORD +51 -0
- package/runtime/Lib/site-packages/uvicorn-0.54.0.dist-info/WHEEL +4 -0
- package/runtime/Lib/site-packages/uvicorn-0.54.0.dist-info/entry_points.txt +2 -0
- package/runtime/Lib/site-packages/uvicorn-0.54.0.dist-info/licenses/LICENSE.md +27 -0
- package/runtime/Lib/site-packages/win32/Demos/BackupRead_BackupWrite.py +119 -0
- package/runtime/Lib/site-packages/win32/Demos/BackupSeek_streamheaders.py +137 -0
- package/runtime/Lib/site-packages/win32/Demos/CopyFileEx.py +57 -0
- package/runtime/Lib/site-packages/win32/Demos/CreateFileTransacted_MiniVersion.py +122 -0
- package/runtime/Lib/site-packages/win32/Demos/EvtFormatMessage.py +83 -0
- package/runtime/Lib/site-packages/win32/Demos/EvtSubscribe_pull.py +28 -0
- package/runtime/Lib/site-packages/win32/Demos/EvtSubscribe_push.py +32 -0
- package/runtime/Lib/site-packages/win32/Demos/FileSecurityTest.py +137 -0
- package/runtime/Lib/site-packages/win32/Demos/GetSaveFileName.py +43 -0
- package/runtime/Lib/site-packages/win32/Demos/NetValidatePasswordPolicy.py +127 -0
- package/runtime/Lib/site-packages/win32/Demos/OpenEncryptedFileRaw.py +66 -0
- package/runtime/Lib/site-packages/win32/Demos/RegCreateKeyTransacted.py +60 -0
- package/runtime/Lib/site-packages/win32/Demos/RegRestoreKey.py +71 -0
- package/runtime/Lib/site-packages/win32/Demos/SystemParametersInfo.py +210 -0
- package/runtime/Lib/site-packages/win32/Demos/c_extension/setup.py +26 -0
- package/runtime/Lib/site-packages/win32/Demos/dde/ddeclient.py +18 -0
- package/runtime/Lib/site-packages/win32/Demos/dde/ddeserver.py +42 -0
- package/runtime/Lib/site-packages/win32/Demos/desktopmanager.py +246 -0
- package/runtime/Lib/site-packages/win32/Demos/eventLogDemo.py +138 -0
- package/runtime/Lib/site-packages/win32/Demos/getfilever.py +33 -0
- package/runtime/Lib/site-packages/win32/Demos/images/frowny.bmp +0 -0
- package/runtime/Lib/site-packages/win32/Demos/images/smiley.bmp +0 -0
- package/runtime/Lib/site-packages/win32/Demos/mmapfile_demo.py +101 -0
- package/runtime/Lib/site-packages/win32/Demos/pipes/cat.py +17 -0
- package/runtime/Lib/site-packages/win32/Demos/pipes/runproc.py +114 -0
- package/runtime/Lib/site-packages/win32/Demos/print_desktop.py +113 -0
- package/runtime/Lib/site-packages/win32/Demos/rastest.py +166 -0
- package/runtime/Lib/site-packages/win32/Demos/security/GetTokenInformation.py +110 -0
- package/runtime/Lib/site-packages/win32/Demos/security/account_rights.py +49 -0
- package/runtime/Lib/site-packages/win32/Demos/security/explicit_entries.py +170 -0
- package/runtime/Lib/site-packages/win32/Demos/security/get_policy_info.py +39 -0
- package/runtime/Lib/site-packages/win32/Demos/security/list_rights.py +35 -0
- package/runtime/Lib/site-packages/win32/Demos/security/localized_names.py +70 -0
- package/runtime/Lib/site-packages/win32/Demos/security/lsaregevent.py +14 -0
- package/runtime/Lib/site-packages/win32/Demos/security/lsastore.py +12 -0
- package/runtime/Lib/site-packages/win32/Demos/security/query_information.py +25 -0
- package/runtime/Lib/site-packages/win32/Demos/security/regsave_sa.py +61 -0
- package/runtime/Lib/site-packages/win32/Demos/security/regsecurity.py +36 -0
- package/runtime/Lib/site-packages/win32/Demos/security/sa_inherit.py +8 -0
- package/runtime/Lib/site-packages/win32/Demos/security/security_enums.py +336 -0
- package/runtime/Lib/site-packages/win32/Demos/security/set_file_audit.py +106 -0
- package/runtime/Lib/site-packages/win32/Demos/security/set_file_owner.py +73 -0
- package/runtime/Lib/site-packages/win32/Demos/security/set_policy_info.py +25 -0
- package/runtime/Lib/site-packages/win32/Demos/security/setkernelobjectsecurity.py +134 -0
- package/runtime/Lib/site-packages/win32/Demos/security/setnamedsecurityinfo.py +131 -0
- package/runtime/Lib/site-packages/win32/Demos/security/setsecurityinfo.py +131 -0
- package/runtime/Lib/site-packages/win32/Demos/security/setuserobjectsecurity.py +102 -0
- package/runtime/Lib/site-packages/win32/Demos/security/sspi/fetch_url.py +158 -0
- package/runtime/Lib/site-packages/win32/Demos/security/sspi/simple_auth.py +72 -0
- package/runtime/Lib/site-packages/win32/Demos/security/sspi/socket_server.py +199 -0
- package/runtime/Lib/site-packages/win32/Demos/security/sspi/validate_password.py +41 -0
- package/runtime/Lib/site-packages/win32/Demos/service/nativePipeTestService.py +63 -0
- package/runtime/Lib/site-packages/win32/Demos/service/pipeTestService.py +185 -0
- package/runtime/Lib/site-packages/win32/Demos/service/pipeTestServiceClient.py +158 -0
- package/runtime/Lib/site-packages/win32/Demos/service/serviceEvents.py +98 -0
- package/runtime/Lib/site-packages/win32/Demos/timer_demo.py +72 -0
- package/runtime/Lib/site-packages/win32/Demos/win32clipboardDemo.py +155 -0
- package/runtime/Lib/site-packages/win32/Demos/win32clipboard_bitmapdemo.py +117 -0
- package/runtime/Lib/site-packages/win32/Demos/win32comport_demo.py +174 -0
- package/runtime/Lib/site-packages/win32/Demos/win32console_demo.py +132 -0
- package/runtime/Lib/site-packages/win32/Demos/win32cred_demo.py +82 -0
- package/runtime/Lib/site-packages/win32/Demos/win32fileDemo.py +41 -0
- package/runtime/Lib/site-packages/win32/Demos/win32gui_demo.py +177 -0
- package/runtime/Lib/site-packages/win32/Demos/win32gui_devicenotify.py +106 -0
- package/runtime/Lib/site-packages/win32/Demos/win32gui_dialog.py +445 -0
- package/runtime/Lib/site-packages/win32/Demos/win32gui_menu.py +464 -0
- package/runtime/Lib/site-packages/win32/Demos/win32gui_taskbar.py +136 -0
- package/runtime/Lib/site-packages/win32/Demos/win32netdemo.py +272 -0
- package/runtime/Lib/site-packages/win32/Demos/win32rcparser_demo.py +86 -0
- package/runtime/Lib/site-packages/win32/Demos/win32servicedemo.py +23 -0
- package/runtime/Lib/site-packages/win32/Demos/win32ts_logoff_disconnected.py +25 -0
- package/runtime/Lib/site-packages/win32/Demos/win32wnet/testwnet.py +123 -0
- package/runtime/Lib/site-packages/win32/Demos/win32wnet/winnetwk.py +100 -0
- package/runtime/Lib/site-packages/win32/Demos/winprocess.py +230 -0
- package/runtime/Lib/site-packages/win32/_win32sysloader.pyd +0 -0
- package/runtime/Lib/site-packages/win32/_winxptheme.pyd +0 -0
- package/runtime/Lib/site-packages/win32/include/PyWinTypes.h +739 -0
- package/runtime/Lib/site-packages/win32/lib/_win32verstamp_pywin32ctypes.py +164 -0
- package/runtime/Lib/site-packages/win32/lib/afxres.py +9 -0
- package/runtime/Lib/site-packages/win32/lib/commctrl.py +1551 -0
- package/runtime/Lib/site-packages/win32/lib/mmsystem.py +956 -0
- package/runtime/Lib/site-packages/win32/lib/netbios.py +293 -0
- package/runtime/Lib/site-packages/win32/lib/ntsecuritycon.py +731 -0
- package/runtime/Lib/site-packages/win32/lib/pywin32_bootstrap.py +21 -0
- package/runtime/Lib/site-packages/win32/lib/pywin32_testutil.py +291 -0
- package/runtime/Lib/site-packages/win32/lib/pywintypes.py +124 -0
- package/runtime/Lib/site-packages/win32/lib/rasutil.py +40 -0
- package/runtime/Lib/site-packages/win32/lib/regcheck.py +162 -0
- package/runtime/Lib/site-packages/win32/lib/regutil.py +395 -0
- package/runtime/Lib/site-packages/win32/lib/sspi.py +413 -0
- package/runtime/Lib/site-packages/win32/lib/sspicon.py +477 -0
- package/runtime/Lib/site-packages/win32/lib/win2kras.py +14 -0
- package/runtime/Lib/site-packages/win32/lib/win32con.py +5066 -0
- package/runtime/Lib/site-packages/win32/lib/win32cryptcon.py +1922 -0
- package/runtime/Lib/site-packages/win32/lib/win32evtlogutil.py +225 -0
- package/runtime/Lib/site-packages/win32/lib/win32gui_struct.py +961 -0
- package/runtime/Lib/site-packages/win32/lib/win32inetcon.py +1086 -0
- package/runtime/Lib/site-packages/win32/lib/win32netcon.py +627 -0
- package/runtime/Lib/site-packages/win32/lib/win32pdhquery.py +570 -0
- package/runtime/Lib/site-packages/win32/lib/win32pdhutil.py +212 -0
- package/runtime/Lib/site-packages/win32/lib/win32rcparser.py +674 -0
- package/runtime/Lib/site-packages/win32/lib/win32serviceutil.py +1077 -0
- package/runtime/Lib/site-packages/win32/lib/win32timezone.py +1201 -0
- package/runtime/Lib/site-packages/win32/lib/win32traceutil.py +59 -0
- package/runtime/Lib/site-packages/win32/lib/win32verstamp.py +235 -0
- package/runtime/Lib/site-packages/win32/lib/winerror.py +7361 -0
- package/runtime/Lib/site-packages/win32/lib/winioctlcon.py +1079 -0
- package/runtime/Lib/site-packages/win32/lib/winnt.py +1347 -0
- package/runtime/Lib/site-packages/win32/lib/winperf.py +236 -0
- package/runtime/Lib/site-packages/win32/lib/winxptheme.py +8 -0
- package/runtime/Lib/site-packages/win32/libs/pywintypes.lib +0 -0
- package/runtime/Lib/site-packages/win32/license.txt +30 -0
- package/runtime/Lib/site-packages/win32/mmapfile.pyd +0 -0
- package/runtime/Lib/site-packages/win32/odbc.pyd +0 -0
- package/runtime/Lib/site-packages/win32/perfmon.pyd +0 -0
- package/runtime/Lib/site-packages/win32/perfmondata.dll +0 -0
- package/runtime/Lib/site-packages/win32/pythonservice.exe +0 -0
- package/runtime/Lib/site-packages/win32/scripts/ControlService.py +594 -0
- package/runtime/Lib/site-packages/win32/scripts/VersionStamp/BrandProject.py +97 -0
- package/runtime/Lib/site-packages/win32/scripts/VersionStamp/bulkstamp.py +156 -0
- package/runtime/Lib/site-packages/win32/scripts/VersionStamp/vssutil.py +201 -0
- package/runtime/Lib/site-packages/win32/scripts/backupEventLog.py +46 -0
- package/runtime/Lib/site-packages/win32/scripts/h2py.py +194 -0
- package/runtime/Lib/site-packages/win32/scripts/killProcName.py +62 -0
- package/runtime/Lib/site-packages/win32/scripts/pywin32_postinstall.py +733 -0
- package/runtime/Lib/site-packages/win32/scripts/pywin32_testall.py +120 -0
- package/runtime/Lib/site-packages/win32/scripts/rasutil.py +98 -0
- package/runtime/Lib/site-packages/win32/scripts/regsetup.py +607 -0
- package/runtime/Lib/site-packages/win32/scripts/setup_d.py +111 -0
- package/runtime/Lib/site-packages/win32/servicemanager.pyd +0 -0
- package/runtime/Lib/site-packages/win32/test/handles.py +175 -0
- package/runtime/Lib/site-packages/win32/test/test_clipboard.py +137 -0
- package/runtime/Lib/site-packages/win32/test/test_exceptions.py +213 -0
- package/runtime/Lib/site-packages/win32/test/test_odbc.py +264 -0
- package/runtime/Lib/site-packages/win32/test/test_pywintypes.py +111 -0
- package/runtime/Lib/site-packages/win32/test/test_security.py +166 -0
- package/runtime/Lib/site-packages/win32/test/test_sspi.py +229 -0
- package/runtime/Lib/site-packages/win32/test/test_win32api.py +273 -0
- package/runtime/Lib/site-packages/win32/test/test_win32clipboard.py +59 -0
- package/runtime/Lib/site-packages/win32/test/test_win32cred.py +91 -0
- package/runtime/Lib/site-packages/win32/test/test_win32crypt.py +144 -0
- package/runtime/Lib/site-packages/win32/test/test_win32event.py +119 -0
- package/runtime/Lib/site-packages/win32/test/test_win32file.py +1097 -0
- package/runtime/Lib/site-packages/win32/test/test_win32gui.py +188 -0
- package/runtime/Lib/site-packages/win32/test/test_win32guistruct.py +333 -0
- package/runtime/Lib/site-packages/win32/test/test_win32inet.py +108 -0
- package/runtime/Lib/site-packages/win32/test/test_win32net.py +23 -0
- package/runtime/Lib/site-packages/win32/test/test_win32pipe.py +148 -0
- package/runtime/Lib/site-packages/win32/test/test_win32print.py +24 -0
- package/runtime/Lib/site-packages/win32/test/test_win32profile.py +19 -0
- package/runtime/Lib/site-packages/win32/test/test_win32rcparser.py +70 -0
- package/runtime/Lib/site-packages/win32/test/test_win32timezone.py +16 -0
- package/runtime/Lib/site-packages/win32/test/test_win32trace.py +366 -0
- package/runtime/Lib/site-packages/win32/test/test_win32ts.py +19 -0
- package/runtime/Lib/site-packages/win32/test/test_win32wnet.py +174 -0
- package/runtime/Lib/site-packages/win32/test/testall.py +223 -0
- package/runtime/Lib/site-packages/win32/test/win32rcparser/python.bmp +0 -0
- package/runtime/Lib/site-packages/win32/test/win32rcparser/python.ico +0 -0
- package/runtime/Lib/site-packages/win32/test/win32rcparser/test.h +46 -0
- package/runtime/Lib/site-packages/win32/test/win32rcparser/test.rc +215 -0
- package/runtime/Lib/site-packages/win32/timer.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32api.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32clipboard.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32console.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32cred.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32crypt.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32event.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32evtlog.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32file.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32gui.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32help.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32inet.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32job.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32lz.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32net.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32pdh.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32pipe.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32print.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32process.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32profile.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32ras.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32security.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32service.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32trace.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32transaction.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32ts.pyd +0 -0
- package/runtime/Lib/site-packages/win32/win32wnet.pyd +0 -0
- package/runtime/Lib/site-packages/win32/winxpgui.py +13 -0
- package/runtime/Lib/site-packages/win32com/HTML/COM_Records.html +382 -0
- package/runtime/Lib/site-packages/win32com/HTML/GeneratedSupport.html +104 -0
- package/runtime/Lib/site-packages/win32com/HTML/PythonCOM.html +90 -0
- package/runtime/Lib/site-packages/win32com/HTML/QuickStartClientCom.html +82 -0
- package/runtime/Lib/site-packages/win32com/HTML/QuickStartServerCom.html +195 -0
- package/runtime/Lib/site-packages/win32com/HTML/docindex.html +23 -0
- package/runtime/Lib/site-packages/win32com/HTML/image/BTN_HomePage.gif +0 -0
- package/runtime/Lib/site-packages/win32com/HTML/image/BTN_ManualTop.gif +0 -0
- package/runtime/Lib/site-packages/win32com/HTML/image/BTN_NextPage.gif +0 -0
- package/runtime/Lib/site-packages/win32com/HTML/image/BTN_PrevPage.gif +0 -0
- package/runtime/Lib/site-packages/win32com/HTML/image/blank.gif +0 -0
- package/runtime/Lib/site-packages/win32com/HTML/image/pycom_blowing.gif +0 -0
- package/runtime/Lib/site-packages/win32com/HTML/image/pythoncom.gif +0 -0
- package/runtime/Lib/site-packages/win32com/HTML/image/www_icon.gif +0 -0
- package/runtime/Lib/site-packages/win32com/HTML/index.html +31 -0
- package/runtime/Lib/site-packages/win32com/HTML/misc.html +18 -0
- package/runtime/Lib/site-packages/win32com/HTML/package.html +37 -0
- package/runtime/Lib/site-packages/win32com/HTML/variant.html +162 -0
- package/runtime/Lib/site-packages/win32com/License.txt +30 -0
- package/runtime/Lib/site-packages/win32com/__init__.py +134 -0
- package/runtime/Lib/site-packages/win32com/client/CLSIDToClass.py +60 -0
- package/runtime/Lib/site-packages/win32com/client/__init__.py +703 -0
- package/runtime/Lib/site-packages/win32com/client/build.py +774 -0
- package/runtime/Lib/site-packages/win32com/client/combrowse.py +605 -0
- package/runtime/Lib/site-packages/win32com/client/connect.py +48 -0
- package/runtime/Lib/site-packages/win32com/client/dynamic.py +699 -0
- package/runtime/Lib/site-packages/win32com/client/gencache.py +825 -0
- package/runtime/Lib/site-packages/win32com/client/genpy.py +1352 -0
- package/runtime/Lib/site-packages/win32com/client/makepy.py +453 -0
- package/runtime/Lib/site-packages/win32com/client/selecttlb.py +182 -0
- package/runtime/Lib/site-packages/win32com/client/tlbrowse.py +277 -0
- package/runtime/Lib/site-packages/win32com/client/util.py +103 -0
- package/runtime/Lib/site-packages/win32com/demos/__init__.py +0 -0
- package/runtime/Lib/site-packages/win32com/demos/connect.py +97 -0
- package/runtime/Lib/site-packages/win32com/demos/dump_clipboard.py +74 -0
- package/runtime/Lib/site-packages/win32com/demos/eventsApartmentThreaded.py +98 -0
- package/runtime/Lib/site-packages/win32com/demos/eventsFreeThreaded.py +92 -0
- package/runtime/Lib/site-packages/win32com/demos/excelAddin.py +169 -0
- package/runtime/Lib/site-packages/win32com/demos/excelRTDServer.py +434 -0
- package/runtime/Lib/site-packages/win32com/demos/iebutton.py +214 -0
- package/runtime/Lib/site-packages/win32com/demos/ietoolbar.py +368 -0
- package/runtime/Lib/site-packages/win32com/demos/outlookAddin.py +135 -0
- package/runtime/Lib/site-packages/win32com/demos/trybag.py +78 -0
- package/runtime/Lib/site-packages/win32com/include/PythonCOM.h +746 -0
- package/runtime/Lib/site-packages/win32com/include/PythonCOMRegister.h +56 -0
- package/runtime/Lib/site-packages/win32com/include/PythonCOMServer.h +167 -0
- package/runtime/Lib/site-packages/win32com/libs/axscript.lib +0 -0
- package/runtime/Lib/site-packages/win32com/libs/pythoncom.lib +0 -0
- package/runtime/Lib/site-packages/win32com/makegw/__init__.py +1 -0
- package/runtime/Lib/site-packages/win32com/makegw/makegw.py +618 -0
- package/runtime/Lib/site-packages/win32com/makegw/makegwenum.py +331 -0
- package/runtime/Lib/site-packages/win32com/makegw/makegwparse.py +1017 -0
- package/runtime/Lib/site-packages/win32com/olectl.py +70 -0
- package/runtime/Lib/site-packages/win32com/readme.html +87 -0
- package/runtime/Lib/site-packages/win32com/server/__init__.py +1 -0
- package/runtime/Lib/site-packages/win32com/server/connect.py +85 -0
- package/runtime/Lib/site-packages/win32com/server/dispatcher.py +239 -0
- package/runtime/Lib/site-packages/win32com/server/exception.py +99 -0
- package/runtime/Lib/site-packages/win32com/server/factory.py +26 -0
- package/runtime/Lib/site-packages/win32com/server/localserver.py +53 -0
- package/runtime/Lib/site-packages/win32com/server/policy.py +803 -0
- package/runtime/Lib/site-packages/win32com/server/register.py +677 -0
- package/runtime/Lib/site-packages/win32com/server/util.py +229 -0
- package/runtime/Lib/site-packages/win32com/servers/PythonTools.py +47 -0
- package/runtime/Lib/site-packages/win32com/servers/__init__.py +0 -0
- package/runtime/Lib/site-packages/win32com/servers/dictionary.py +133 -0
- package/runtime/Lib/site-packages/win32com/servers/interp.py +59 -0
- package/runtime/Lib/site-packages/win32com/servers/perfmon.py +36 -0
- package/runtime/Lib/site-packages/win32com/servers/test_pycomtest.py +181 -0
- package/runtime/Lib/site-packages/win32com/storagecon.py +142 -0
- package/runtime/Lib/site-packages/win32com/test/GenTestScripts.py +95 -0
- package/runtime/Lib/site-packages/win32com/test/Testpys.sct +63 -0
- package/runtime/Lib/site-packages/win32com/test/__init__.py +1 -0
- package/runtime/Lib/site-packages/win32com/test/daodump.py +88 -0
- package/runtime/Lib/site-packages/win32com/test/errorSemantics.py +243 -0
- package/runtime/Lib/site-packages/win32com/test/pippo.idl +66 -0
- package/runtime/Lib/site-packages/win32com/test/pippo_server.py +96 -0
- package/runtime/Lib/site-packages/win32com/test/policySemantics.py +115 -0
- package/runtime/Lib/site-packages/win32com/test/readme.txt +19 -0
- package/runtime/Lib/site-packages/win32com/test/testADOEvents.py +100 -0
- package/runtime/Lib/site-packages/win32com/test/testAXScript.py +44 -0
- package/runtime/Lib/site-packages/win32com/test/testAccess.py +185 -0
- package/runtime/Lib/site-packages/win32com/test/testArrays.py +99 -0
- package/runtime/Lib/site-packages/win32com/test/testClipboard.py +169 -0
- package/runtime/Lib/site-packages/win32com/test/testCollections.py +159 -0
- package/runtime/Lib/site-packages/win32com/test/testConversionErrors.py +35 -0
- package/runtime/Lib/site-packages/win32com/test/testDCOM.py +50 -0
- package/runtime/Lib/site-packages/win32com/test/testDates.py +74 -0
- package/runtime/Lib/site-packages/win32com/test/testDictionary.py +101 -0
- package/runtime/Lib/site-packages/win32com/test/testDictionary.vbs +24 -0
- package/runtime/Lib/site-packages/win32com/test/testDynamic.py +84 -0
- package/runtime/Lib/site-packages/win32com/test/testExchange.py +121 -0
- package/runtime/Lib/site-packages/win32com/test/testExplorer.py +139 -0
- package/runtime/Lib/site-packages/win32com/test/testGIT.py +142 -0
- package/runtime/Lib/site-packages/win32com/test/testGatewayAddresses.py +149 -0
- package/runtime/Lib/site-packages/win32com/test/testInterp.vbs +11 -0
- package/runtime/Lib/site-packages/win32com/test/testIterators.py +140 -0
- package/runtime/Lib/site-packages/win32com/test/testMSOffice.py +184 -0
- package/runtime/Lib/site-packages/win32com/test/testMSOfficeEvents.py +138 -0
- package/runtime/Lib/site-packages/win32com/test/testMarshal.py +164 -0
- package/runtime/Lib/site-packages/win32com/test/testPersist.py +227 -0
- package/runtime/Lib/site-packages/win32com/test/testPippo.py +80 -0
- package/runtime/Lib/site-packages/win32com/test/testPyComTest.py +963 -0
- package/runtime/Lib/site-packages/win32com/test/testPyScriptlet.js +33 -0
- package/runtime/Lib/site-packages/win32com/test/testROT.py +29 -0
- package/runtime/Lib/site-packages/win32com/test/testServers.py +51 -0
- package/runtime/Lib/site-packages/win32com/test/testShell.py +272 -0
- package/runtime/Lib/site-packages/win32com/test/testStorage.py +88 -0
- package/runtime/Lib/site-packages/win32com/test/testStreams.py +147 -0
- package/runtime/Lib/site-packages/win32com/test/testWMI.py +18 -0
- package/runtime/Lib/site-packages/win32com/test/testall.py +321 -0
- package/runtime/Lib/site-packages/win32com/test/testmakepy.py +54 -0
- package/runtime/Lib/site-packages/win32com/test/testvb.py +578 -0
- package/runtime/Lib/site-packages/win32com/test/testvbscript_regexp.py +40 -0
- package/runtime/Lib/site-packages/win32com/test/testxslt.js +12 -0
- package/runtime/Lib/site-packages/win32com/test/testxslt.py +34 -0
- package/runtime/Lib/site-packages/win32com/test/testxslt.xsl +54 -0
- package/runtime/Lib/site-packages/win32com/test/util.py +262 -0
- package/runtime/Lib/site-packages/win32com/universal.py +224 -0
- package/runtime/Lib/site-packages/win32com/util.py +35 -0
- package/runtime/Lib/site-packages/win32comext/adsi/__init__.py +113 -0
- package/runtime/Lib/site-packages/win32comext/adsi/adsi.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/adsi/adsicon.py +340 -0
- package/runtime/Lib/site-packages/win32comext/adsi/demos/objectPicker.py +68 -0
- package/runtime/Lib/site-packages/win32comext/adsi/demos/scp.py +565 -0
- package/runtime/Lib/site-packages/win32comext/adsi/demos/search.py +151 -0
- package/runtime/Lib/site-packages/win32comext/adsi/demos/test.py +274 -0
- package/runtime/Lib/site-packages/win32comext/authorization/__init__.py +6 -0
- package/runtime/Lib/site-packages/win32comext/authorization/authorization.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/authorization/demos/EditSecurity.py +229 -0
- package/runtime/Lib/site-packages/win32comext/authorization/demos/EditServiceSecurity.py +219 -0
- package/runtime/Lib/site-packages/win32comext/axcontrol/__init__.py +4 -0
- package/runtime/Lib/site-packages/win32comext/axcontrol/axcontrol.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/__init__.py +4 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/adb.py +467 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/codecontainer.py +279 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/contexts.py +58 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/debugger.py +238 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/documents.py +135 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/dump.py +57 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/expressions.py +212 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/gateways.py +583 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/stackframe.py +178 -0
- package/runtime/Lib/site-packages/win32comext/axdebug/util.py +98 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/CreateObject.asp +18 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/caps.asp +52 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/interrupt/test.asp +4 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/interrupt/test.html +10 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/interrupt/test1.asp +6 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/interrupt/test1.html +10 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/asp/tut1.asp +10 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/CHARTPY.HTM +179 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/FOO.HTM +46 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/MarqueeText1.htm +24 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/calc.htm +115 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/dbgtest.htm +16 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/demo.htm +25 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/demo_check.htm +39 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/demo_intro.htm +37 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/demo_menu.htm +14 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/docwrite.htm +25 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/foo2.htm +105 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/form.htm +25 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/marqueeDemo.htm +59 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/mousetrack.htm +82 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/ie/pycom_blowing.gif +0 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/wsh/blank.pys +0 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/wsh/excel.pys +31 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/wsh/registry.pys +44 -0
- package/runtime/Lib/site-packages/win32comext/axscript/Demos/client/wsh/test.pys +14 -0
- package/runtime/Lib/site-packages/win32comext/axscript/__init__.py +4 -0
- package/runtime/Lib/site-packages/win32comext/axscript/asputil.py +13 -0
- package/runtime/Lib/site-packages/win32comext/axscript/axscript.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/axscript/client/__init__.py +1 -0
- package/runtime/Lib/site-packages/win32comext/axscript/client/debug.py +223 -0
- package/runtime/Lib/site-packages/win32comext/axscript/client/error.py +260 -0
- package/runtime/Lib/site-packages/win32comext/axscript/client/framework.py +1291 -0
- package/runtime/Lib/site-packages/win32comext/axscript/client/pydumper.py +78 -0
- package/runtime/Lib/site-packages/win32comext/axscript/client/pyscript.py +438 -0
- package/runtime/Lib/site-packages/win32comext/axscript/client/pyscript_rexec.py +54 -0
- package/runtime/Lib/site-packages/win32comext/axscript/client/scriptdispatch.py +103 -0
- package/runtime/Lib/site-packages/win32comext/axscript/server/__init__.py +0 -0
- package/runtime/Lib/site-packages/win32comext/axscript/server/axsite.py +145 -0
- package/runtime/Lib/site-packages/win32comext/axscript/test/debugTest.pys +16 -0
- package/runtime/Lib/site-packages/win32comext/axscript/test/debugTest.vbs +7 -0
- package/runtime/Lib/site-packages/win32comext/axscript/test/leakTest.py +186 -0
- package/runtime/Lib/site-packages/win32comext/axscript/test/testHost.py +241 -0
- package/runtime/Lib/site-packages/win32comext/axscript/test/testHost4Dbg.py +83 -0
- package/runtime/Lib/site-packages/win32comext/bits/__init__.py +6 -0
- package/runtime/Lib/site-packages/win32comext/bits/bits.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/bits/test/show_all_jobs.py +48 -0
- package/runtime/Lib/site-packages/win32comext/bits/test/test_bits.py +119 -0
- package/runtime/Lib/site-packages/win32comext/directsound/__init__.py +4 -0
- package/runtime/Lib/site-packages/win32comext/directsound/directsound.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/directsound/test/__init__.py +1 -0
- package/runtime/Lib/site-packages/win32comext/directsound/test/ds_record.py +60 -0
- package/runtime/Lib/site-packages/win32comext/directsound/test/ds_test.py +402 -0
- package/runtime/Lib/site-packages/win32comext/ifilter/__init__.py +1 -0
- package/runtime/Lib/site-packages/win32comext/ifilter/demo/filterDemo.py +300 -0
- package/runtime/Lib/site-packages/win32comext/ifilter/ifilter.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/ifilter/ifiltercon.py +110 -0
- package/runtime/Lib/site-packages/win32comext/internet/__init__.py +4 -0
- package/runtime/Lib/site-packages/win32comext/internet/inetcon.py +261 -0
- package/runtime/Lib/site-packages/win32comext/internet/internet.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/propsys/__init__.py +1 -0
- package/runtime/Lib/site-packages/win32comext/propsys/propsys.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/propsys/pscon.py +839 -0
- package/runtime/Lib/site-packages/win32comext/propsys/test/testpropsys.py +5 -0
- package/runtime/Lib/site-packages/win32comext/shell/__init__.py +4 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/IActiveDesktop.py +83 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/IFileOperationProgressSink.py +179 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/IShellLinkDataList.py +67 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/ITransferAdviseSink.py +93 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/IUniformResourceLocator.py +56 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/browse_for_folder.py +45 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/create_link.py +73 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/dump_link.py +58 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/explorer_browser.py +143 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/servers/column_provider.py +125 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/servers/context_menu.py +122 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/servers/copy_hook.py +84 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/servers/empty_volume_cache.py +188 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/servers/folder_view.py +866 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/servers/icon_handler.py +81 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/servers/shell_view.py +971 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/shellexecuteex.py +19 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/viewstate.py +68 -0
- package/runtime/Lib/site-packages/win32comext/shell/demos/walk_shell_folders.py +24 -0
- package/runtime/Lib/site-packages/win32comext/shell/shell.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/shell/shellcon.py +1615 -0
- package/runtime/Lib/site-packages/win32comext/shell/test/testSHFileOperation.py +75 -0
- package/runtime/Lib/site-packages/win32comext/shell/test/testShellFolder.py +21 -0
- package/runtime/Lib/site-packages/win32comext/shell/test/testShellItem.py +69 -0
- package/runtime/Lib/site-packages/win32comext/taskscheduler/__init__.py +6 -0
- package/runtime/Lib/site-packages/win32comext/taskscheduler/taskscheduler.pyd +0 -0
- package/runtime/Lib/site-packages/win32comext/taskscheduler/test/test_addtask.py +66 -0
- package/runtime/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_1.py +68 -0
- package/runtime/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_2.py +49 -0
- package/runtime/Lib/site-packages/win32comext/taskscheduler/test/test_localsystem.py +3 -0
- package/runtime/Lib/site-packages/yaml/__init__.py +390 -0
- package/runtime/Lib/site-packages/yaml/_yaml.cp313-win_amd64.pyd +0 -0
- package/runtime/Lib/site-packages/yaml/composer.py +139 -0
- package/runtime/Lib/site-packages/yaml/constructor.py +748 -0
- package/runtime/Lib/site-packages/yaml/cyaml.py +101 -0
- package/runtime/Lib/site-packages/yaml/dumper.py +62 -0
- package/runtime/Lib/site-packages/yaml/emitter.py +1137 -0
- package/runtime/Lib/site-packages/yaml/error.py +75 -0
- package/runtime/Lib/site-packages/yaml/events.py +86 -0
- package/runtime/Lib/site-packages/yaml/loader.py +63 -0
- package/runtime/Lib/site-packages/yaml/nodes.py +49 -0
- package/runtime/Lib/site-packages/yaml/parser.py +589 -0
- package/runtime/Lib/site-packages/yaml/reader.py +185 -0
- package/runtime/Lib/site-packages/yaml/representer.py +389 -0
- package/runtime/Lib/site-packages/yaml/resolver.py +227 -0
- package/runtime/Lib/site-packages/yaml/scanner.py +1435 -0
- package/runtime/Lib/site-packages/yaml/serializer.py +111 -0
- package/runtime/Lib/site-packages/yaml/tokens.py +104 -0
- package/runtime/Lib/site-packages/z3/__init__.py +12 -0
- package/runtime/Lib/site-packages/z3/include/z3++.h +4528 -0
- package/runtime/Lib/site-packages/z3/include/z3.h +35 -0
- package/runtime/Lib/site-packages/z3/include/z3_algebraic.h +249 -0
- package/runtime/Lib/site-packages/z3/include/z3_api.h +7463 -0
- package/runtime/Lib/site-packages/z3/include/z3_ast_containers.h +198 -0
- package/runtime/Lib/site-packages/z3/include/z3_fixedpoint.h +382 -0
- package/runtime/Lib/site-packages/z3/include/z3_fpa.h +1346 -0
- package/runtime/Lib/site-packages/z3/include/z3_macros.h +22 -0
- package/runtime/Lib/site-packages/z3/include/z3_optimization.h +377 -0
- package/runtime/Lib/site-packages/z3/include/z3_polynomial.h +52 -0
- package/runtime/Lib/site-packages/z3/include/z3_rcf.h +321 -0
- package/runtime/Lib/site-packages/z3/include/z3_spacer.h +141 -0
- package/runtime/Lib/site-packages/z3/include/z3_v1.h +62 -0
- package/runtime/Lib/site-packages/z3/include/z3_version.h +7 -0
- package/runtime/Lib/site-packages/z3/lib/libz3.dll +0 -0
- package/runtime/Lib/site-packages/z3/z3.py +11780 -0
- package/runtime/Lib/site-packages/z3/z3consts.py +359 -0
- package/runtime/Lib/site-packages/z3/z3core.py +5499 -0
- package/runtime/Lib/site-packages/z3/z3num.py +579 -0
- package/runtime/Lib/site-packages/z3/z3poly.py +37 -0
- package/runtime/Lib/site-packages/z3/z3printer.py +1532 -0
- package/runtime/Lib/site-packages/z3/z3rcf.py +168 -0
- package/runtime/Lib/site-packages/z3/z3types.py +254 -0
- package/runtime/Lib/site-packages/z3/z3util.py +502 -0
- package/runtime/Lib/site-packages/z3_solver-4.13.0.0.dist-info/METADATA +17 -0
- package/runtime/Lib/site-packages/z3_solver-4.13.0.0.dist-info/RECORD +30 -0
- package/runtime/Lib/site-packages/z3_solver-4.13.0.0.dist-info/WHEEL +6 -0
- package/runtime/Lib/site-packages/z3_solver-4.13.0.0.dist-info/top_level.txt +1 -0
- package/runtime/Scripts/pywin32_postinstall.py +733 -0
- package/runtime/Scripts/pywin32_testall.py +120 -0
- package/runtime/_asyncio.pyd +0 -0
- package/runtime/_bz2.pyd +0 -0
- package/runtime/_ctypes.pyd +0 -0
- package/runtime/_decimal.pyd +0 -0
- package/runtime/_elementtree.pyd +0 -0
- package/runtime/_hashlib.pyd +0 -0
- package/runtime/_lzma.pyd +0 -0
- package/runtime/_multiprocessing.pyd +0 -0
- package/runtime/_overlapped.pyd +0 -0
- package/runtime/_queue.pyd +0 -0
- package/runtime/_socket.pyd +0 -0
- package/runtime/_sqlite3.pyd +0 -0
- package/runtime/_ssl.pyd +0 -0
- package/runtime/_uuid.pyd +0 -0
- package/runtime/_wmi.pyd +0 -0
- package/runtime/_zoneinfo.pyd +0 -0
- package/runtime/bin/z3.exe +0 -0
- package/runtime/libcrypto-3.dll +0 -0
- package/runtime/libffi-8.dll +0 -0
- package/runtime/libssl-3.dll +0 -0
- package/runtime/pyexpat.pyd +0 -0
- package/runtime/python.cat +0 -0
- package/runtime/python.exe +0 -0
- package/runtime/python3.dll +0 -0
- package/runtime/python313._pth +7 -0
- package/runtime/python313.dll +0 -0
- package/runtime/python313.zip +0 -0
- package/runtime/pythonw.exe +0 -0
- package/runtime/select.pyd +0 -0
- package/runtime/sqlite3.dll +0 -0
- package/runtime/unicodedata.pyd +0 -0
- package/runtime/vcruntime140.dll +0 -0
- package/runtime/vcruntime140_1.dll +0 -0
- package/runtime/winsound.pyd +0 -0
- package/runtime-manifest.json +10547 -0
- package/vendor/jsonc-parser/LICENSE.md +21 -0
- package/vendor/jsonc-parser/lib/umd/impl/edit.js +201 -0
- package/vendor/jsonc-parser/lib/umd/impl/format.js +275 -0
- package/vendor/jsonc-parser/lib/umd/impl/parser.js +682 -0
- package/vendor/jsonc-parser/lib/umd/impl/scanner.js +456 -0
- package/vendor/jsonc-parser/lib/umd/impl/string-intern.js +42 -0
- package/vendor/jsonc-parser/lib/umd/main.d.ts +351 -0
- package/vendor/jsonc-parser/lib/umd/main.js +194 -0
- package/vendor/jsonc-parser/package.json +37 -0
|
@@ -0,0 +1,2081 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Small, auditable dependency check for one npm/yarn/pnpm project.
|
|
3
|
+
|
|
4
|
+
It intentionally does only two things:
|
|
5
|
+
1. runs the package manager's own audit command and prints package/severity counts;
|
|
6
|
+
2. checks publish-date lag for every direct declaration through `npm view`.
|
|
7
|
+
|
|
8
|
+
The implementation is independent from roadmap target selection, so its output
|
|
9
|
+
can be used as a manual cross-check for the dashboard.
|
|
10
|
+
"""
|
|
11
|
+
from __future__ import annotations
|
|
12
|
+
|
|
13
|
+
import argparse
|
|
14
|
+
import datetime as dt
|
|
15
|
+
import hashlib
|
|
16
|
+
import json
|
|
17
|
+
import os
|
|
18
|
+
import re
|
|
19
|
+
import shlex
|
|
20
|
+
import shutil
|
|
21
|
+
import stat
|
|
22
|
+
import subprocess
|
|
23
|
+
import sys
|
|
24
|
+
import tempfile
|
|
25
|
+
import time
|
|
26
|
+
from collections import Counter, defaultdict
|
|
27
|
+
from concurrent.futures import ThreadPoolExecutor, as_completed
|
|
28
|
+
from pathlib import Path
|
|
29
|
+
from typing import Any, Dict, Iterable, List, Optional, Tuple
|
|
30
|
+
|
|
31
|
+
from dateutil.relativedelta import relativedelta
|
|
32
|
+
|
|
33
|
+
from cli_io import configure_utf8_stdio
|
|
34
|
+
|
|
35
|
+
SECTIONS = ("dependencies", "devDependencies", "optionalDependencies", "peerDependencies")
|
|
36
|
+
AUDIT_ROOT_SECTIONS = ("dependencies", "devDependencies", "optionalDependencies")
|
|
37
|
+
SEVERITIES = ("critical", "high", "moderate", "low", "unknown")
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def read_json(path: Path) -> Dict[str, Any]:
|
|
41
|
+
return json.loads(path.read_text(encoding="utf-8-sig"))
|
|
42
|
+
|
|
43
|
+
DEPENDENCY_INPUT_FILES = ("package.json", "yarn.lock", "pnpm-lock.yaml", "package-lock.json", "npm-shrinkwrap.json")
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def dependency_input_identity(project: Path) -> Tuple[str, List[str]]:
|
|
47
|
+
"""Bind audit authority to the exact dependency inputs it inspected.
|
|
48
|
+
|
|
49
|
+
The order and NUL framing intentionally match Desktop's Node implementation.
|
|
50
|
+
Unknown/extra lockfile situations remain visible because every recognized
|
|
51
|
+
dependency input present in the project participates in the digest.
|
|
52
|
+
"""
|
|
53
|
+
project = project.resolve()
|
|
54
|
+
digest = hashlib.sha256()
|
|
55
|
+
files: List[str] = []
|
|
56
|
+
names = [*DEPENDENCY_INPUT_FILES, '.npmrc', '.yarnrc', '.yarnrc.yml', '.pnpmfile.cjs']
|
|
57
|
+
# Bind root installation inputs when the selected workspace has no own lock.
|
|
58
|
+
# Node uses the same ordering and names, so a changed root invalidates audit.
|
|
59
|
+
if not any((project / name).is_file() for name in DEPENDENCY_INPUT_FILES[1:]):
|
|
60
|
+
ancestors = list(project.resolve().parents)
|
|
61
|
+
boundary = next((folder for folder in ancestors if (folder / ".git").exists()), None)
|
|
62
|
+
if boundary is not None:
|
|
63
|
+
for folder in ancestors:
|
|
64
|
+
names.extend(os.path.relpath(folder / name, project).replace("\\", "/")
|
|
65
|
+
for name in (*DEPENDENCY_INPUT_FILES, '.npmrc', '.yarnrc', '.yarnrc.yml', '.pnpmfile.cjs'))
|
|
66
|
+
if folder == boundary:
|
|
67
|
+
break
|
|
68
|
+
for name in names:
|
|
69
|
+
path = project / name
|
|
70
|
+
if not path.exists() or not path.is_file():
|
|
71
|
+
continue
|
|
72
|
+
files.append(name)
|
|
73
|
+
digest.update(name.encode("utf-8"))
|
|
74
|
+
digest.update(b"\0")
|
|
75
|
+
digest.update(path.read_bytes())
|
|
76
|
+
digest.update(b"\0")
|
|
77
|
+
return digest.hexdigest(), files
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
def _normalize_iso_for_fromisoformat(value: Any) -> str:
|
|
82
|
+
"""Normalize npm timestamps for Python 3.10 ``fromisoformat``.
|
|
83
|
+
|
|
84
|
+
Python 3.10 accepts three or six fractional-second digits, while npm
|
|
85
|
+
metadata may legally contain one, two, four or five digits (for example
|
|
86
|
+
``2022-06-14T19:46:48.37Z``). Pad/truncate the fraction to microseconds
|
|
87
|
+
before parsing so the CLI behaves identically on Python 3.10+ runtimes.
|
|
88
|
+
"""
|
|
89
|
+
text = str(value or "").strip()
|
|
90
|
+
if not text:
|
|
91
|
+
return ""
|
|
92
|
+
if text.endswith(("Z", "z")):
|
|
93
|
+
text = text[:-1] + "+00:00"
|
|
94
|
+
match = re.fullmatch(
|
|
95
|
+
r"(?P<prefix>\d{4}-\d{2}-\d{2}[Tt ]\d{2}:\d{2}:\d{2})"
|
|
96
|
+
r"(?:\.(?P<fraction>\d+))?"
|
|
97
|
+
r"(?P<timezone>[+-]\d{2}:?\d{2})?",
|
|
98
|
+
text,
|
|
99
|
+
)
|
|
100
|
+
if not match:
|
|
101
|
+
return text
|
|
102
|
+
fraction = match.group("fraction")
|
|
103
|
+
timezone = match.group("timezone") or ""
|
|
104
|
+
if timezone and len(timezone) == 5 and ":" not in timezone:
|
|
105
|
+
timezone = timezone[:3] + ":" + timezone[3:]
|
|
106
|
+
if fraction is None:
|
|
107
|
+
return match.group("prefix") + timezone
|
|
108
|
+
microseconds = (fraction + "000000")[:6]
|
|
109
|
+
return f"{match.group('prefix')}.{microseconds}{timezone}"
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
def parse_iso(value: Any) -> Optional[dt.datetime]:
|
|
113
|
+
normalized = _normalize_iso_for_fromisoformat(value)
|
|
114
|
+
if not normalized:
|
|
115
|
+
return None
|
|
116
|
+
try:
|
|
117
|
+
parsed = dt.datetime.fromisoformat(normalized)
|
|
118
|
+
return parsed if parsed.tzinfo else parsed.replace(tzinfo=dt.timezone.utc)
|
|
119
|
+
except ValueError:
|
|
120
|
+
return None
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
def version_text(value: str) -> str:
|
|
124
|
+
match = re.search(r"(\d+\.\d+\.\d+(?:[-+][0-9A-Za-z.-]+)?)", str(value or ""))
|
|
125
|
+
return match.group(1) if match else str(value or "").strip()
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
def exact_semver_spec(value: str) -> bool:
|
|
129
|
+
return bool(re.fullmatch(r"\s*v?\d+\.\d+\.\d+(?:[-+][0-9A-Za-z.-]+)?\s*", str(value or "")))
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
def split_yarn_keys(line: str) -> List[str]:
|
|
133
|
+
text = line.strip().rstrip(":")
|
|
134
|
+
result: List[str] = []
|
|
135
|
+
current = ""
|
|
136
|
+
quoted = False
|
|
137
|
+
quote = ""
|
|
138
|
+
for char in text:
|
|
139
|
+
if char in ('"', "'"):
|
|
140
|
+
if not quoted:
|
|
141
|
+
quoted, quote = True, char
|
|
142
|
+
elif quote == char:
|
|
143
|
+
quoted = False
|
|
144
|
+
else:
|
|
145
|
+
current += char
|
|
146
|
+
elif char == "," and not quoted:
|
|
147
|
+
if current.strip():
|
|
148
|
+
result.append(current.strip().strip('"\''))
|
|
149
|
+
current = ""
|
|
150
|
+
else:
|
|
151
|
+
current += char
|
|
152
|
+
if current.strip():
|
|
153
|
+
result.append(current.strip().strip('"\''))
|
|
154
|
+
return result
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
def parse_yarn_lock(path: Path) -> Dict[str, str]:
|
|
158
|
+
from yarn_berry import is_berry_lock, lock_mapping
|
|
159
|
+
if is_berry_lock(path):
|
|
160
|
+
return lock_mapping(path)
|
|
161
|
+
mapping: Dict[str, str] = {}
|
|
162
|
+
keys: List[str] = []
|
|
163
|
+
for line in path.read_text(encoding="utf-8", errors="replace").splitlines():
|
|
164
|
+
if not line.strip() or line.startswith("#"):
|
|
165
|
+
continue
|
|
166
|
+
if not line.startswith(" ") and line.rstrip().endswith(":"):
|
|
167
|
+
keys = split_yarn_keys(line)
|
|
168
|
+
continue
|
|
169
|
+
if keys and line.startswith(" version "):
|
|
170
|
+
match = re.search(r'version\s+"?([^"\s]+)"?', line.strip())
|
|
171
|
+
if match:
|
|
172
|
+
for key in keys:
|
|
173
|
+
mapping[key] = match.group(1)
|
|
174
|
+
keys = []
|
|
175
|
+
return mapping
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
def parse_yarn_lock_entries(path: Path) -> List[Dict[str, Any]]:
|
|
179
|
+
"""Parse the subset of Yarn Classic lock syntax needed for graph reachability.
|
|
180
|
+
|
|
181
|
+
``yarn.lock`` already contains the exact versions and dependency requests
|
|
182
|
+
selected by Yarn. The manual audit must preserve that inventory rather
|
|
183
|
+
than asking npm to resolve the ranges again. This parser intentionally
|
|
184
|
+
handles only stable Yarn v1 fields: selectors, version, dependencies and
|
|
185
|
+
optionalDependencies. Unknown fields are ignored.
|
|
186
|
+
"""
|
|
187
|
+
from yarn_berry import is_berry_lock, lock_entries
|
|
188
|
+
if is_berry_lock(path):
|
|
189
|
+
return lock_entries(path)
|
|
190
|
+
entries: List[Dict[str, Any]] = []
|
|
191
|
+
current: Optional[Dict[str, Any]] = None
|
|
192
|
+
dependency_block = ""
|
|
193
|
+
|
|
194
|
+
def flush() -> None:
|
|
195
|
+
nonlocal current
|
|
196
|
+
if current is not None and current.get("selectors"):
|
|
197
|
+
entries.append(current)
|
|
198
|
+
current = None
|
|
199
|
+
|
|
200
|
+
for raw_line in path.read_text(encoding="utf-8", errors="replace").splitlines():
|
|
201
|
+
if not raw_line.strip() or raw_line.startswith("#"):
|
|
202
|
+
continue
|
|
203
|
+
if not raw_line.startswith(" ") and raw_line.rstrip().endswith(":"):
|
|
204
|
+
flush()
|
|
205
|
+
current = {
|
|
206
|
+
"selectors": split_yarn_keys(raw_line),
|
|
207
|
+
"version": "",
|
|
208
|
+
"dependencies": {},
|
|
209
|
+
"optionalDependencies": {},
|
|
210
|
+
}
|
|
211
|
+
dependency_block = ""
|
|
212
|
+
continue
|
|
213
|
+
if current is None:
|
|
214
|
+
continue
|
|
215
|
+
|
|
216
|
+
stripped = raw_line.strip()
|
|
217
|
+
if raw_line.startswith(" ") and not raw_line.startswith(" "):
|
|
218
|
+
dependency_block = ""
|
|
219
|
+
if stripped in {"dependencies:", "optionalDependencies:"}:
|
|
220
|
+
dependency_block = stripped[:-1]
|
|
221
|
+
continue
|
|
222
|
+
if stripped.startswith("version "):
|
|
223
|
+
try:
|
|
224
|
+
parts = shlex.split(stripped)
|
|
225
|
+
except ValueError:
|
|
226
|
+
parts = stripped.split(maxsplit=1)
|
|
227
|
+
if len(parts) >= 2:
|
|
228
|
+
current["version"] = parts[1]
|
|
229
|
+
continue
|
|
230
|
+
if dependency_block and raw_line.startswith(" "):
|
|
231
|
+
try:
|
|
232
|
+
parts = shlex.split(stripped)
|
|
233
|
+
except ValueError:
|
|
234
|
+
parts = stripped.split(maxsplit=1)
|
|
235
|
+
if len(parts) >= 2:
|
|
236
|
+
current[dependency_block][parts[0]] = parts[1]
|
|
237
|
+
flush()
|
|
238
|
+
return entries
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
def _yarn_selector_name_and_spec(selector: str) -> Tuple[str, str]:
|
|
242
|
+
value = str(selector or "").strip().strip('"\'')
|
|
243
|
+
if value.startswith("@"):
|
|
244
|
+
slash = value.find("/")
|
|
245
|
+
boundary = value.find("@", slash + 1) if slash >= 0 else -1
|
|
246
|
+
else:
|
|
247
|
+
boundary = value.find("@")
|
|
248
|
+
if boundary <= 0:
|
|
249
|
+
return value, ""
|
|
250
|
+
return value[:boundary], value[boundary + 1:]
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
def _npm_alias_target(name: str, spec: str) -> str:
|
|
254
|
+
"""Return the package name audited for ``alias@npm:real-package@range``."""
|
|
255
|
+
value = str(spec or "").strip()
|
|
256
|
+
if not value.startswith("npm:"):
|
|
257
|
+
return name
|
|
258
|
+
target = value[4:]
|
|
259
|
+
if target.startswith("@"):
|
|
260
|
+
slash = target.find("/")
|
|
261
|
+
boundary = target.find("@", slash + 1) if slash >= 0 else -1
|
|
262
|
+
else:
|
|
263
|
+
boundary = target.rfind("@")
|
|
264
|
+
return target[:boundary] if boundary > 0 else target
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
def canonical_yarn_inventory(project: Path, *, lock_path: Path | None = None) -> Dict[str, Any]:
|
|
268
|
+
"""Build the reachable package/version inventory selected by Yarn Classic.
|
|
269
|
+
|
|
270
|
+
The result is suitable for npm's bulk security endpoint: it contains exact
|
|
271
|
+
package/version pairs but does not reinterpret semver ranges through npm's
|
|
272
|
+
resolver. Normal Yarn v1 locks resolve every edge by an exact selector.
|
|
273
|
+
Any unresolved edge is reported and makes the inventory incomplete rather
|
|
274
|
+
than silently claiming a complete vulnerability audit.
|
|
275
|
+
"""
|
|
276
|
+
from yarn_berry import owning_yarn_lock
|
|
277
|
+
lock_path = lock_path if lock_path is not None else owning_yarn_lock(project)
|
|
278
|
+
entries = parse_yarn_lock_entries(lock_path)
|
|
279
|
+
from yarn_berry import is_berry_lock
|
|
280
|
+
modern = is_berry_lock(lock_path)
|
|
281
|
+
selector_map: Dict[str, Dict[str, Any]] = {}
|
|
282
|
+
entries_by_name: Dict[str, List[Dict[str, Any]]] = defaultdict(list)
|
|
283
|
+
for entry in entries:
|
|
284
|
+
for selector in entry.get("selectors") or []:
|
|
285
|
+
selector_map[str(selector)] = entry
|
|
286
|
+
selector_name, _ = _yarn_selector_name_and_spec(str(selector))
|
|
287
|
+
if selector_name and entry not in entries_by_name[selector_name]:
|
|
288
|
+
entries_by_name[selector_name].append(entry)
|
|
289
|
+
|
|
290
|
+
unresolved: List[str] = []
|
|
291
|
+
resolutions = (read_json(lock_path.parent / "package.json").get("resolutions") or {}) if modern else {}
|
|
292
|
+
|
|
293
|
+
def resolve(name: str, spec: str, parent: str = "") -> Optional[Dict[str, Any]]:
|
|
294
|
+
# Yarn root resolutions rewrite descriptors before lock lookup. Support
|
|
295
|
+
# exact package and parent/package rules, preserving declaration order.
|
|
296
|
+
# Other forms stay incomplete rather than inventing an installed version.
|
|
297
|
+
for pattern, replacement in resolutions.items():
|
|
298
|
+
if pattern == name or (parent and pattern == f"{parent}/{name}"):
|
|
299
|
+
spec = str(replacement)
|
|
300
|
+
break
|
|
301
|
+
if name in str(pattern) and not re.fullmatch(r"(?:@[^/]+/)?[^/@*]+(?:/(?:@[^/]+/)?[^/@*]+)?", str(pattern)):
|
|
302
|
+
unresolved.append(f"unsupported-resolution:{pattern}")
|
|
303
|
+
return None
|
|
304
|
+
candidates = [f"{name}@{spec}"]
|
|
305
|
+
if not str(spec).startswith("npm:"):
|
|
306
|
+
candidates.append(f"{name}@npm:{spec}")
|
|
307
|
+
for candidate in candidates:
|
|
308
|
+
if candidate in selector_map:
|
|
309
|
+
return selector_map[candidate]
|
|
310
|
+
matching = entries_by_name.get(name) or []
|
|
311
|
+
if len(matching) == 1 and (not modern or str(spec).startswith(("workspace:", "file:", "link:", "portal:"))):
|
|
312
|
+
# This is safe for git/file selectors and lockfiles produced by
|
|
313
|
+
# tools that normalize selector spelling, because no alternative
|
|
314
|
+
# version exists for the requested package name.
|
|
315
|
+
return matching[0]
|
|
316
|
+
return None
|
|
317
|
+
|
|
318
|
+
package_json = read_json(project / "package.json")
|
|
319
|
+
queue: List[Tuple[str, str, Dict[str, Any], bool]] = []
|
|
320
|
+
direct_names: set[str] = set()
|
|
321
|
+
for section in AUDIT_ROOT_SECTIONS:
|
|
322
|
+
declared = package_json.get(section) or {}
|
|
323
|
+
if not isinstance(declared, dict):
|
|
324
|
+
continue
|
|
325
|
+
for raw_name, raw_spec in declared.items():
|
|
326
|
+
name, spec = str(raw_name), str(raw_spec)
|
|
327
|
+
entry = resolve(name, spec, str(package_json.get("name") or ""))
|
|
328
|
+
if entry is None:
|
|
329
|
+
unresolved.append(f"root:{section}:{name}@{spec}")
|
|
330
|
+
continue
|
|
331
|
+
audit_name = _npm_alias_target(name, spec)
|
|
332
|
+
direct_names.add(audit_name)
|
|
333
|
+
queue.append((audit_name, spec, entry, True))
|
|
334
|
+
|
|
335
|
+
visited_entries: set[int] = set()
|
|
336
|
+
pairs: set[Tuple[str, str]] = set()
|
|
337
|
+
while queue:
|
|
338
|
+
audit_name, requested_spec, entry, _is_direct = queue.pop()
|
|
339
|
+
entry_id = id(entry)
|
|
340
|
+
version = str(entry.get("version") or "").strip()
|
|
341
|
+
# Workspace/file/patch locators are not published npm versions. Their
|
|
342
|
+
# dependencies still participate in graph reachability and coverage.
|
|
343
|
+
from yarn_berry import registry_identity
|
|
344
|
+
identity = registry_identity(entry, audit_name)
|
|
345
|
+
if identity is not None and version:
|
|
346
|
+
pairs.add((identity, version))
|
|
347
|
+
if entry_id in visited_entries:
|
|
348
|
+
continue
|
|
349
|
+
visited_entries.add(entry_id)
|
|
350
|
+
for field in ("dependencies", "optionalDependencies"):
|
|
351
|
+
dependencies = entry.get(field) or {}
|
|
352
|
+
if not isinstance(dependencies, dict):
|
|
353
|
+
continue
|
|
354
|
+
for raw_name, raw_spec in dependencies.items():
|
|
355
|
+
name, spec = str(raw_name), str(raw_spec)
|
|
356
|
+
child = resolve(name, spec, audit_name)
|
|
357
|
+
if child is None:
|
|
358
|
+
parent = f"{audit_name}@{version}" if version else audit_name
|
|
359
|
+
unresolved.append(f"{parent}->{name}@{spec}")
|
|
360
|
+
continue
|
|
361
|
+
queue.append((_npm_alias_target(name, spec), spec, child, False))
|
|
362
|
+
|
|
363
|
+
# An empty project has a complete empty inventory. A non-empty declaration
|
|
364
|
+
# set with zero reachable pairs is incomplete and must not produce a green
|
|
365
|
+
# vulnerability result.
|
|
366
|
+
declared_count = sum(
|
|
367
|
+
len(values)
|
|
368
|
+
for section in AUDIT_ROOT_SECTIONS
|
|
369
|
+
for values in [package_json.get(section) or {}]
|
|
370
|
+
if isinstance(values, dict)
|
|
371
|
+
)
|
|
372
|
+
complete = not unresolved and (bool(visited_entries) or declared_count == 0)
|
|
373
|
+
return {
|
|
374
|
+
"pairs": sorted(pairs),
|
|
375
|
+
"directPackages": sorted(direct_names),
|
|
376
|
+
"unresolvedEdges": sorted(set(unresolved)),
|
|
377
|
+
"reachableEntries": len(visited_entries),
|
|
378
|
+
"lockEntries": len(entries),
|
|
379
|
+
"complete": complete,
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
def yarn_classic_finding_roots(
|
|
384
|
+
project: Path, affected: set[Tuple[str, str]], *, max_paths: int = 4, lock_path: Path | None = None,
|
|
385
|
+
) -> Dict[str, Any]:
|
|
386
|
+
"""Find one exact lockfile witness per direct declaration for affected versions.
|
|
387
|
+
|
|
388
|
+
Missing selectors do not fall back to a same-name package. The result
|
|
389
|
+
describes declared lock reachability, including optional edges, without
|
|
390
|
+
claiming physical installation or runtime exploitability.
|
|
391
|
+
"""
|
|
392
|
+
from collections import deque
|
|
393
|
+
from yarn_berry import owning_yarn_lock, registry_identity
|
|
394
|
+
|
|
395
|
+
lock_path = lock_path if lock_path is not None else owning_yarn_lock(project)
|
|
396
|
+
entries = parse_yarn_lock_entries(lock_path)
|
|
397
|
+
by_selector: Dict[str, int] = {}
|
|
398
|
+
duplicates = set()
|
|
399
|
+
for index, entry in enumerate(entries):
|
|
400
|
+
for selector in entry["selectors"]:
|
|
401
|
+
if selector in by_selector and by_selector[selector] != index:
|
|
402
|
+
duplicates.add(selector)
|
|
403
|
+
by_selector[selector] = index
|
|
404
|
+
|
|
405
|
+
def exact(name: str, spec: str) -> Optional[int]:
|
|
406
|
+
selector = f"{name}@{spec}"
|
|
407
|
+
if selector in duplicates:
|
|
408
|
+
return None
|
|
409
|
+
return by_selector.get(selector)
|
|
410
|
+
|
|
411
|
+
findings = {pair: {"rootCount": 0, "paths": []} for pair in affected}
|
|
412
|
+
manifest = read_json(project / "package.json")
|
|
413
|
+
complete = not duplicates
|
|
414
|
+
visits = 0
|
|
415
|
+
for section in AUDIT_ROOT_SECTIONS:
|
|
416
|
+
for direct, spec in sorted((manifest.get(section) or {}).items()):
|
|
417
|
+
entry_index = exact(direct, str(spec))
|
|
418
|
+
if entry_index is None:
|
|
419
|
+
complete = False
|
|
420
|
+
continue
|
|
421
|
+
queue = deque([(entry_index, _npm_alias_target(direct, str(spec)), (), 0)])
|
|
422
|
+
seen = set()
|
|
423
|
+
witnessed = set()
|
|
424
|
+
while queue:
|
|
425
|
+
index, name, prefix, depth = queue.popleft()
|
|
426
|
+
if (index, name) in seen:
|
|
427
|
+
continue
|
|
428
|
+
seen.add((index, name))
|
|
429
|
+
visits += 1
|
|
430
|
+
if visits > 100_000:
|
|
431
|
+
return {"complete": False, "findings": findings}
|
|
432
|
+
entry = entries[index]
|
|
433
|
+
version = str(entry.get("version") or "")
|
|
434
|
+
path = (*prefix, (name, version)) if depth < 20 else prefix
|
|
435
|
+
identity = registry_identity(entry, name)
|
|
436
|
+
pair = (identity, version)
|
|
437
|
+
if pair in findings and pair not in witnessed:
|
|
438
|
+
witnessed.add(pair)
|
|
439
|
+
result = findings[pair]
|
|
440
|
+
result["rootCount"] += 1
|
|
441
|
+
if len(result["paths"]) < max_paths:
|
|
442
|
+
result["paths"].append({
|
|
443
|
+
"section": section, "directPackage": direct,
|
|
444
|
+
"chain": [{"name": n, "version": v} for n, v in path],
|
|
445
|
+
"chainTruncated": depth >= 20,
|
|
446
|
+
})
|
|
447
|
+
for field in ("dependencies", "optionalDependencies"):
|
|
448
|
+
for child, child_spec in sorted(entry[field].items()):
|
|
449
|
+
child_index = exact(child, str(child_spec))
|
|
450
|
+
if child_index is None:
|
|
451
|
+
complete = False
|
|
452
|
+
else:
|
|
453
|
+
queue.append((child_index, _npm_alias_target(child, str(child_spec)), path, depth + 1))
|
|
454
|
+
return {"complete": complete, "findings": findings}
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
def package_lock_version(path: Path, name: str) -> Optional[str]:
|
|
458
|
+
data = read_json(path)
|
|
459
|
+
packages = data.get("packages") or {}
|
|
460
|
+
entry = packages.get(f"node_modules/{name}") if isinstance(packages, dict) else None
|
|
461
|
+
if isinstance(entry, dict) and entry.get("version"):
|
|
462
|
+
return str(entry["version"])
|
|
463
|
+
deps = data.get("dependencies") or {}
|
|
464
|
+
entry = deps.get(name) if isinstance(deps, dict) else None
|
|
465
|
+
if isinstance(entry, dict) and entry.get("version"):
|
|
466
|
+
return str(entry["version"])
|
|
467
|
+
return None
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
def resolved_version(project: Path, name: str, spec: str, yarn_map: Optional[Dict[str, str]]) -> Tuple[str, str]:
|
|
471
|
+
for filename in ("package-lock.json", "npm-shrinkwrap.json"):
|
|
472
|
+
path = project / filename
|
|
473
|
+
if path.exists():
|
|
474
|
+
value = package_lock_version(path, name)
|
|
475
|
+
return (value, filename) if value else (version_text(spec), "package.json fallback")
|
|
476
|
+
if yarn_map is not None:
|
|
477
|
+
exact = [value for key, value in yarn_map.items() if key.startswith(f"{name}@")]
|
|
478
|
+
unique = sorted(set(exact))
|
|
479
|
+
if len(unique) == 1:
|
|
480
|
+
return unique[0], "yarn.lock"
|
|
481
|
+
for candidate in (f"{name}@{spec}", f"{name}@npm:{spec}"):
|
|
482
|
+
if candidate in yarn_map:
|
|
483
|
+
return yarn_map[candidate], "yarn.lock"
|
|
484
|
+
return version_text(spec), "package.json fallback"
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
def direct_dependencies(project: Path) -> List[Dict[str, str]]:
|
|
488
|
+
"""Read direct dependency state only from package.json.
|
|
489
|
+
|
|
490
|
+
Lockfiles are install/audit evidence, not the source of truth for what the
|
|
491
|
+
project declares. This avoids showing stale pre-migration versions when a
|
|
492
|
+
lockfile has not yet been refreshed.
|
|
493
|
+
"""
|
|
494
|
+
package_json = read_json(project / "package.json")
|
|
495
|
+
result: List[Dict[str, str]] = []
|
|
496
|
+
for section in SECTIONS:
|
|
497
|
+
values = package_json.get(section) or {}
|
|
498
|
+
if not isinstance(values, dict):
|
|
499
|
+
continue
|
|
500
|
+
for name, spec in sorted(values.items()):
|
|
501
|
+
text = str(spec)
|
|
502
|
+
current = version_text(text)
|
|
503
|
+
result.append({
|
|
504
|
+
"section": section,
|
|
505
|
+
"name": str(name),
|
|
506
|
+
"spec": text,
|
|
507
|
+
"current": current,
|
|
508
|
+
"source": "package.json",
|
|
509
|
+
# The dashboard/audit deliberately uses the semantic version
|
|
510
|
+
# declared in package.json, even when the declaration is a
|
|
511
|
+
# range such as ^1.2.3. Lockfiles are consistency evidence,
|
|
512
|
+
# never the displayed direct-version source.
|
|
513
|
+
"declaredExact": exact_semver_spec(text),
|
|
514
|
+
"resolvedExact": bool(re.fullmatch(r"v?\d+\.\d+\.\d+(?:[-+][0-9A-Za-z.-]+)?", current)),
|
|
515
|
+
})
|
|
516
|
+
return result
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
def run(command: List[str], cwd: Path, env: Optional[Dict[str, str]] = None, timeout: Optional[int] = None) -> Tuple[int, str, str]:
|
|
520
|
+
if not command:
|
|
521
|
+
return 127, "", "cannot execute empty command"
|
|
522
|
+
|
|
523
|
+
executable = shutil.which(command[0])
|
|
524
|
+
if executable is None:
|
|
525
|
+
return 127, "", f"cannot execute {command[0]}: executable not found on PATH"
|
|
526
|
+
|
|
527
|
+
resolved_command = [executable, *command[1:]]
|
|
528
|
+
try:
|
|
529
|
+
completed = subprocess.run(
|
|
530
|
+
resolved_command,
|
|
531
|
+
cwd=str(cwd),
|
|
532
|
+
text=True,
|
|
533
|
+
encoding="utf-8",
|
|
534
|
+
errors="replace",
|
|
535
|
+
capture_output=True,
|
|
536
|
+
check=False,
|
|
537
|
+
env=env,
|
|
538
|
+
timeout=timeout,
|
|
539
|
+
)
|
|
540
|
+
return completed.returncode, completed.stdout, completed.stderr
|
|
541
|
+
except subprocess.TimeoutExpired as exc:
|
|
542
|
+
stdout = exc.stdout if isinstance(exc.stdout, str) else ""
|
|
543
|
+
stderr = exc.stderr if isinstance(exc.stderr, str) else ""
|
|
544
|
+
detail = stderr.strip() or stdout.strip() or f"command timed out after {timeout}s"
|
|
545
|
+
return 124, stdout, detail
|
|
546
|
+
except OSError as exc:
|
|
547
|
+
return 127, "", f"cannot execute {command[0]}: {exc}"
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
def registry_environment(registry: str, runtime_env: Optional[Dict[str, str]] = None) -> Dict[str, str]:
|
|
551
|
+
env = os.environ.copy()
|
|
552
|
+
if runtime_env:
|
|
553
|
+
env.update(runtime_env)
|
|
554
|
+
if registry:
|
|
555
|
+
env["npm_config_registry"] = registry
|
|
556
|
+
env["NPM_CONFIG_REGISTRY"] = registry
|
|
557
|
+
return env
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
def _progress(message: str) -> None:
|
|
561
|
+
print(f"[audit] {message}", file=sys.stderr, flush=True)
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
def _sha256(path: Path) -> str:
|
|
565
|
+
if not path.exists():
|
|
566
|
+
return ""
|
|
567
|
+
digest = __import__("hashlib").sha256()
|
|
568
|
+
with path.open("rb") as stream:
|
|
569
|
+
for chunk in iter(lambda: stream.read(1024 * 1024), b""):
|
|
570
|
+
digest.update(chunk)
|
|
571
|
+
return digest.hexdigest()
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
def _normalized_registry(value: str) -> str:
|
|
575
|
+
return str(value or "").strip().rstrip("/").lower()
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
def _registry_from_command_output(stdout: str, fallback: str) -> str:
|
|
579
|
+
"""Extract a registry URL from noisy npm/Yarn command output."""
|
|
580
|
+
lines = [line.strip() for line in str(stdout or "").splitlines() if line.strip()]
|
|
581
|
+
for line in reversed(lines):
|
|
582
|
+
if re.match(r"^https?://", line, flags=re.IGNORECASE):
|
|
583
|
+
return line.rstrip("/")
|
|
584
|
+
return str(fallback or "").strip().rstrip("/")
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
def _audit_input_state(project: Path, registry: str) -> Dict[str, str]:
|
|
588
|
+
return {
|
|
589
|
+
"schemaVersion": "1",
|
|
590
|
+
"packageJsonSha256": _sha256(project / "package.json"),
|
|
591
|
+
"yarnLockSha256": _sha256(project / "yarn.lock"),
|
|
592
|
+
"registry": _normalized_registry(registry),
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
def _read_optional_json(path: Path) -> Dict[str, Any]:
|
|
597
|
+
try:
|
|
598
|
+
value = json.loads(path.read_text(encoding="utf-8-sig"))
|
|
599
|
+
except (OSError, json.JSONDecodeError):
|
|
600
|
+
return {}
|
|
601
|
+
return value if isinstance(value, dict) else {}
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
def _safe_reset_workspace(workspace: Path) -> None:
|
|
605
|
+
"""Prepare a persistent manual-audit workspace.
|
|
606
|
+
|
|
607
|
+
The workspace lives outside the project checkout and belongs only to the
|
|
608
|
+
explicitly invoked manual audit command. Its isolated package-lock may be
|
|
609
|
+
reused only while package.json, yarn.lock and registry inputs are identical;
|
|
610
|
+
changed inputs force a from-scratch bridge rebuild. Dashboard generation
|
|
611
|
+
never reads this lockfile.
|
|
612
|
+
"""
|
|
613
|
+
workspace = workspace.resolve()
|
|
614
|
+
if workspace == workspace.parent:
|
|
615
|
+
raise ValueError(f"unsafe audit workspace: {workspace}")
|
|
616
|
+
marker = workspace / ".dependency-roadmap-audit-workspace.json"
|
|
617
|
+
if workspace.exists():
|
|
618
|
+
entries = list(workspace.iterdir())
|
|
619
|
+
if entries and not marker.exists():
|
|
620
|
+
raise ValueError(
|
|
621
|
+
f"audit workspace is not empty and is not tool-managed: {workspace}"
|
|
622
|
+
)
|
|
623
|
+
for entry in entries:
|
|
624
|
+
if entry.name in {marker.name, "package-lock.json", "audit-input.json", "npm-metadata-cache.json"}:
|
|
625
|
+
continue
|
|
626
|
+
if entry.is_dir() and not entry.is_symlink():
|
|
627
|
+
shutil.rmtree(entry)
|
|
628
|
+
else:
|
|
629
|
+
if not entry.is_symlink():
|
|
630
|
+
entry.chmod(entry.stat().st_mode | stat.S_IWRITE)
|
|
631
|
+
entry.unlink()
|
|
632
|
+
else:
|
|
633
|
+
workspace.mkdir(parents=True, exist_ok=True)
|
|
634
|
+
marker.write_text(
|
|
635
|
+
json.dumps({"schemaVersion": 1, "managedBy": "dependency-roadmap-tool"}, indent=2),
|
|
636
|
+
encoding="utf-8",
|
|
637
|
+
)
|
|
638
|
+
|
|
639
|
+
def _copy_if_exists(source: Path, destination: Path) -> None:
|
|
640
|
+
if source.exists():
|
|
641
|
+
# Audit inputs are mutable working copies of sealed read-only sources.
|
|
642
|
+
shutil.copyfile(source, destination)
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
def _write_text(path: Path, value: str) -> None:
|
|
646
|
+
path.write_text(value or "", encoding="utf-8")
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
def package_manager(project: Path) -> str:
|
|
650
|
+
from project_topology import resolve_project_topology, ProjectTopologyError
|
|
651
|
+
try:
|
|
652
|
+
return resolve_project_topology(project, allow_discovery=False, require_supported=False).profile.manager
|
|
653
|
+
except ProjectTopologyError:
|
|
654
|
+
pass # Existing standalone audit diagnostics also support missing locks.
|
|
655
|
+
package_json = read_json(project / "package.json")
|
|
656
|
+
declared = str(package_json.get("packageManager") or "").lower()
|
|
657
|
+
if declared.startswith("pnpm@") or (project / "pnpm-lock.yaml").exists():
|
|
658
|
+
return "pnpm"
|
|
659
|
+
if declared.startswith("yarn@") or (project / "yarn.lock").exists():
|
|
660
|
+
return "yarn"
|
|
661
|
+
return "npm"
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
def severity(value: Any) -> str:
|
|
665
|
+
normalized = str(value or "unknown").lower()
|
|
666
|
+
return normalized if normalized in SEVERITIES else "unknown"
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
def parse_audit(manager: str, stdout: str) -> Tuple[Dict[str, Counter], Counter, List[str]]:
|
|
670
|
+
packages: Dict[str, Counter] = defaultdict(Counter)
|
|
671
|
+
totals: Counter = Counter()
|
|
672
|
+
notes: List[str] = []
|
|
673
|
+
if not stdout.strip():
|
|
674
|
+
return packages, totals, ["audit returned no JSON output"]
|
|
675
|
+
|
|
676
|
+
if manager == "yarn":
|
|
677
|
+
for line in stdout.splitlines():
|
|
678
|
+
try:
|
|
679
|
+
item = json.loads(line)
|
|
680
|
+
except json.JSONDecodeError:
|
|
681
|
+
continue
|
|
682
|
+
if item.get("type") == "auditAdvisory":
|
|
683
|
+
advisory = (item.get("data") or {}).get("advisory") or {}
|
|
684
|
+
name = str(advisory.get("module_name") or advisory.get("moduleName") or "unknown")
|
|
685
|
+
level = severity(advisory.get("severity"))
|
|
686
|
+
packages[name][level] += 1
|
|
687
|
+
totals[level] += 1
|
|
688
|
+
elif item.get("type") == "auditSummary":
|
|
689
|
+
counts = ((item.get("data") or {}).get("vulnerabilities") or {})
|
|
690
|
+
for level in SEVERITIES:
|
|
691
|
+
if isinstance(counts.get(level), int):
|
|
692
|
+
totals[level] = max(totals[level], counts[level])
|
|
693
|
+
return packages, totals, notes
|
|
694
|
+
|
|
695
|
+
try:
|
|
696
|
+
data = json.loads(stdout)
|
|
697
|
+
except json.JSONDecodeError as exc:
|
|
698
|
+
return packages, totals, [f"cannot parse audit JSON: {exc}"]
|
|
699
|
+
if isinstance(data, dict) and data.get("error"):
|
|
700
|
+
error = data.get("error")
|
|
701
|
+
notes.append(f"audit error: {json.dumps(error, ensure_ascii=False) if isinstance(error, (dict, list)) else error}")
|
|
702
|
+
|
|
703
|
+
advisories = data.get("advisories") or {}
|
|
704
|
+
if isinstance(advisories, dict) and advisories:
|
|
705
|
+
for advisory in advisories.values():
|
|
706
|
+
if not isinstance(advisory, dict):
|
|
707
|
+
continue
|
|
708
|
+
name = str(advisory.get("module_name") or advisory.get("moduleName") or "unknown")
|
|
709
|
+
level = severity(advisory.get("severity"))
|
|
710
|
+
packages[name][level] += 1
|
|
711
|
+
totals[level] += 1
|
|
712
|
+
vulnerabilities = data.get("vulnerabilities") or {}
|
|
713
|
+
if isinstance(vulnerabilities, dict):
|
|
714
|
+
for name, record in vulnerabilities.items():
|
|
715
|
+
if not isinstance(record, dict):
|
|
716
|
+
continue
|
|
717
|
+
objects = [item for item in (record.get("via") or []) if isinstance(item, dict)]
|
|
718
|
+
if objects:
|
|
719
|
+
for item in objects:
|
|
720
|
+
level = severity(item.get("severity") or record.get("severity"))
|
|
721
|
+
packages[str(name)][level] += 1
|
|
722
|
+
else:
|
|
723
|
+
# npm audit v2 may list transitive package names in `via`. Those
|
|
724
|
+
# strings do not expose distinct advisory records, so count the
|
|
725
|
+
# vulnerability record once instead of inflating it by edge count.
|
|
726
|
+
level = severity(record.get("severity"))
|
|
727
|
+
packages[str(name)][level] += 1
|
|
728
|
+
metadata_counts = ((data.get("metadata") or {}).get("vulnerabilities") or {})
|
|
729
|
+
for level in SEVERITIES:
|
|
730
|
+
if isinstance(metadata_counts.get(level), int):
|
|
731
|
+
totals[level] = metadata_counts[level]
|
|
732
|
+
if not any(totals.values()):
|
|
733
|
+
for counts in packages.values():
|
|
734
|
+
totals.update(counts)
|
|
735
|
+
return packages, totals, notes
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
def parse_npm_audit_details(stdout: str) -> Dict[str, Any]:
|
|
739
|
+
"""Preserve npm audit v2 evidence that the compact summary used to lose.
|
|
740
|
+
|
|
741
|
+
npm's ``metadata.vulnerabilities`` counts vulnerable dependency nodes, while
|
|
742
|
+
the objects in ``via`` are advisory records. Mixing the two units produced
|
|
743
|
+
reports such as one package row with ``C:1`` but ``TOTAL C:2`` without any
|
|
744
|
+
explanation. Keep package severity, affected nodes/paths, ranges and unique
|
|
745
|
+
advisories separately so the report is diagnosable.
|
|
746
|
+
"""
|
|
747
|
+
try:
|
|
748
|
+
data = json.loads(stdout)
|
|
749
|
+
except json.JSONDecodeError:
|
|
750
|
+
return {
|
|
751
|
+
"packages": {},
|
|
752
|
+
"packageTotals": {level: 0 for level in SEVERITIES},
|
|
753
|
+
"advisoryTotals": {level: 0 for level in SEVERITIES},
|
|
754
|
+
"nodeTotals": {level: 0 for level in SEVERITIES},
|
|
755
|
+
}
|
|
756
|
+
vulnerabilities = data.get("vulnerabilities") or {}
|
|
757
|
+
details: Dict[str, Any] = {}
|
|
758
|
+
package_totals: Counter = Counter()
|
|
759
|
+
advisory_totals: Counter = Counter()
|
|
760
|
+
seen_advisories: set[str] = set()
|
|
761
|
+
if isinstance(vulnerabilities, dict):
|
|
762
|
+
for name, record in sorted(vulnerabilities.items()):
|
|
763
|
+
if not isinstance(record, dict):
|
|
764
|
+
continue
|
|
765
|
+
record_severity = severity(record.get("severity"))
|
|
766
|
+
package_totals[record_severity] += 1
|
|
767
|
+
advisories: List[Dict[str, Any]] = []
|
|
768
|
+
for via in record.get("via") or []:
|
|
769
|
+
if not isinstance(via, dict):
|
|
770
|
+
continue
|
|
771
|
+
advisory = {
|
|
772
|
+
"source": via.get("source"),
|
|
773
|
+
"name": str(via.get("name") or via.get("dependency") or name),
|
|
774
|
+
"title": str(via.get("title") or ""),
|
|
775
|
+
"url": str(via.get("url") or ""),
|
|
776
|
+
"severity": severity(via.get("severity") or record_severity),
|
|
777
|
+
"range": str(via.get("range") or ""),
|
|
778
|
+
"cwe": list(via.get("cwe") or []),
|
|
779
|
+
"cvss": via.get("cvss") if isinstance(via.get("cvss"), dict) else {},
|
|
780
|
+
}
|
|
781
|
+
advisories.append(advisory)
|
|
782
|
+
identity = str(
|
|
783
|
+
advisory.get("source")
|
|
784
|
+
or advisory.get("url")
|
|
785
|
+
or f"{advisory['name']}|{advisory['title']}|{advisory['range']}"
|
|
786
|
+
)
|
|
787
|
+
if identity not in seen_advisories:
|
|
788
|
+
seen_advisories.add(identity)
|
|
789
|
+
advisory_totals[advisory["severity"]] += 1
|
|
790
|
+
details[str(name)] = {
|
|
791
|
+
"severity": record_severity,
|
|
792
|
+
"isDirect": bool(record.get("isDirect")),
|
|
793
|
+
"range": str(record.get("range") or ""),
|
|
794
|
+
"nodes": [str(node) for node in (record.get("nodes") or [])],
|
|
795
|
+
"effects": [str(effect) for effect in (record.get("effects") or [])],
|
|
796
|
+
"fixAvailable": record.get("fixAvailable"),
|
|
797
|
+
"advisories": advisories,
|
|
798
|
+
"transitiveVia": [str(via) for via in (record.get("via") or []) if isinstance(via, str)],
|
|
799
|
+
}
|
|
800
|
+
metadata_counts = ((data.get("metadata") or {}).get("vulnerabilities") or {})
|
|
801
|
+
node_totals = {
|
|
802
|
+
level: int(metadata_counts.get(level) or 0)
|
|
803
|
+
for level in SEVERITIES
|
|
804
|
+
}
|
|
805
|
+
return {
|
|
806
|
+
"packages": details,
|
|
807
|
+
"packageTotals": {level: package_totals[level] for level in SEVERITIES},
|
|
808
|
+
"advisoryTotals": {level: advisory_totals[level] for level in SEVERITIES},
|
|
809
|
+
"nodeTotals": node_totals,
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
def _yarn_selector_package_name(selector: str) -> str:
|
|
814
|
+
value = str(selector or "").strip().strip('"\'')
|
|
815
|
+
if value.startswith("@"):
|
|
816
|
+
slash = value.find("/")
|
|
817
|
+
boundary = value.find("@", slash + 1) if slash >= 0 else -1
|
|
818
|
+
return value[:boundary] if boundary > 0 else value
|
|
819
|
+
boundary = value.rfind("@")
|
|
820
|
+
return value[:boundary] if boundary > 0 else value
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
def yarn_lock_package_versions(path: Path) -> set[Tuple[str, str]]:
|
|
824
|
+
result: set[Tuple[str, str]] = set()
|
|
825
|
+
for selector, version in parse_yarn_lock(path).items():
|
|
826
|
+
name = _yarn_selector_package_name(selector)
|
|
827
|
+
if name and version:
|
|
828
|
+
result.add((name, str(version)))
|
|
829
|
+
return result
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
def _package_name_from_lock_path(path_key: str, entry: Dict[str, Any]) -> str:
|
|
833
|
+
explicit = str(entry.get("name") or "").strip()
|
|
834
|
+
if explicit:
|
|
835
|
+
return explicit
|
|
836
|
+
marker = "node_modules/"
|
|
837
|
+
if marker not in path_key:
|
|
838
|
+
return ""
|
|
839
|
+
tail = path_key.rsplit(marker, 1)[-1]
|
|
840
|
+
if tail.startswith("@"):
|
|
841
|
+
parts = tail.split("/")
|
|
842
|
+
return "/".join(parts[:2]) if len(parts) >= 2 else tail
|
|
843
|
+
return tail.split("/", 1)[0]
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
def package_lock_package_versions(path: Path) -> set[Tuple[str, str]]:
|
|
847
|
+
data = read_json(path)
|
|
848
|
+
result: set[Tuple[str, str]] = set()
|
|
849
|
+
packages = data.get("packages") or {}
|
|
850
|
+
if isinstance(packages, dict):
|
|
851
|
+
for path_key, entry in packages.items():
|
|
852
|
+
if not path_key or not isinstance(entry, dict):
|
|
853
|
+
continue
|
|
854
|
+
name = _package_name_from_lock_path(str(path_key), entry)
|
|
855
|
+
version = str(entry.get("version") or "").strip()
|
|
856
|
+
if name and version:
|
|
857
|
+
result.add((name, version))
|
|
858
|
+
return result
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
def reconcile_yarn_bridge(yarn_lock: Path, package_lock: Path) -> Dict[str, Any]:
|
|
862
|
+
source = yarn_lock_package_versions(yarn_lock)
|
|
863
|
+
generated = package_lock_package_versions(package_lock)
|
|
864
|
+
extra = sorted(generated - source)
|
|
865
|
+
missing = sorted(source - generated)
|
|
866
|
+
# Extra package@version pairs prove that npm resolved something not present
|
|
867
|
+
# in the canonical Yarn lock. Missing pairs can be stale/unreachable Yarn
|
|
868
|
+
# entries, so they are diagnostic but not by themselves fatal.
|
|
869
|
+
return {
|
|
870
|
+
"sourcePairs": len(source),
|
|
871
|
+
"generatedPairs": len(generated),
|
|
872
|
+
"extraPairs": [f"{name}@{version}" for name, version in extra],
|
|
873
|
+
"missingPairs": [f"{name}@{version}" for name, version in missing],
|
|
874
|
+
"faithful": not extra,
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
def enrich_npm_audit_node_versions(details: Dict[str, Any], package_lock: Path) -> None:
|
|
879
|
+
try:
|
|
880
|
+
data = read_json(package_lock)
|
|
881
|
+
except Exception:
|
|
882
|
+
return
|
|
883
|
+
packages = data.get("packages") or {}
|
|
884
|
+
if not isinstance(packages, dict):
|
|
885
|
+
return
|
|
886
|
+
for record in (details.get("packages") or {}).values():
|
|
887
|
+
nodes = record.get("nodes") or []
|
|
888
|
+
resolved = []
|
|
889
|
+
for node in nodes:
|
|
890
|
+
entry = packages.get(node)
|
|
891
|
+
version = str(entry.get("version") or "") if isinstance(entry, dict) else ""
|
|
892
|
+
resolved.append({"path": node, "version": version})
|
|
893
|
+
record["nodeVersions"] = resolved
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
def _write_yarn_inventory_lock(
|
|
897
|
+
workspace: Path,
|
|
898
|
+
inventory: Dict[str, Any],
|
|
899
|
+
) -> Dict[str, Dict[str, str]]:
|
|
900
|
+
"""Write a no-resolution package-lock whose inventory mirrors yarn.lock.
|
|
901
|
+
|
|
902
|
+
npm's modern audit endpoint receives a bulk map of package names to exact
|
|
903
|
+
versions from Arborist's lockfile inventory. The physical paths below are
|
|
904
|
+
synthetic, but each entry's ``name`` and ``version`` are canonical Yarn
|
|
905
|
+
facts. No package tarballs are installed or resolved.
|
|
906
|
+
"""
|
|
907
|
+
packages: Dict[str, Any] = {
|
|
908
|
+
"": {
|
|
909
|
+
"name": "dependency-roadmap-yarn-audit",
|
|
910
|
+
"version": "0.0.0",
|
|
911
|
+
"private": True,
|
|
912
|
+
"dependencies": {},
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
root_dependencies: Dict[str, str] = {}
|
|
916
|
+
path_map: Dict[str, Dict[str, str]] = {}
|
|
917
|
+
for index, pair in enumerate(inventory.get("pairs") or [], start=1):
|
|
918
|
+
name, version = str(pair[0]), str(pair[1])
|
|
919
|
+
alias = f"dependency-roadmap-audit-{index:06d}"
|
|
920
|
+
path_key = f"node_modules/{alias}"
|
|
921
|
+
root_dependencies[alias] = version
|
|
922
|
+
packages[path_key] = {
|
|
923
|
+
"name": name,
|
|
924
|
+
"version": version,
|
|
925
|
+
}
|
|
926
|
+
path_map[path_key] = {"name": name, "version": version}
|
|
927
|
+
packages[""]["dependencies"] = root_dependencies
|
|
928
|
+
package_json = {
|
|
929
|
+
"name": "dependency-roadmap-yarn-audit",
|
|
930
|
+
"version": "0.0.0",
|
|
931
|
+
"private": True,
|
|
932
|
+
"dependencies": root_dependencies,
|
|
933
|
+
}
|
|
934
|
+
package_lock = {
|
|
935
|
+
"name": package_json["name"],
|
|
936
|
+
"version": package_json["version"],
|
|
937
|
+
"lockfileVersion": 3,
|
|
938
|
+
"requires": True,
|
|
939
|
+
"packages": packages,
|
|
940
|
+
}
|
|
941
|
+
(workspace / "package.json").write_text(
|
|
942
|
+
json.dumps(package_json, ensure_ascii=False, indent=2),
|
|
943
|
+
encoding="utf-8",
|
|
944
|
+
)
|
|
945
|
+
(workspace / "package-lock.json").write_text(
|
|
946
|
+
json.dumps(package_lock, ensure_ascii=False, indent=2),
|
|
947
|
+
encoding="utf-8",
|
|
948
|
+
)
|
|
949
|
+
(workspace / "canonical-yarn-inventory.json").write_text(
|
|
950
|
+
json.dumps({**inventory, "pathMap": path_map}, ensure_ascii=False, indent=2),
|
|
951
|
+
encoding="utf-8",
|
|
952
|
+
)
|
|
953
|
+
return path_map
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
def _replace_synthetic_node_paths(
|
|
957
|
+
details: Dict[str, Any],
|
|
958
|
+
path_map: Dict[str, Dict[str, str]],
|
|
959
|
+
direct_packages: Iterable[str],
|
|
960
|
+
) -> None:
|
|
961
|
+
direct = set(direct_packages)
|
|
962
|
+
for name, record in (details.get("packages") or {}).items():
|
|
963
|
+
canonical_nodes: List[Dict[str, str]] = []
|
|
964
|
+
for node in record.get("nodes") or []:
|
|
965
|
+
mapped = path_map.get(str(node)) or {}
|
|
966
|
+
package_name = str(mapped.get("name") or name)
|
|
967
|
+
version = str(mapped.get("version") or "")
|
|
968
|
+
canonical_nodes.append({
|
|
969
|
+
"path": f"yarn.lock:{package_name}@{version}" if version else f"yarn.lock:{package_name}",
|
|
970
|
+
"version": version,
|
|
971
|
+
})
|
|
972
|
+
record["nodeVersions"] = canonical_nodes
|
|
973
|
+
record["isDirect"] = str(name) in direct
|
|
974
|
+
# The synthetic lock deliberately does not model upgrade paths, so npm
|
|
975
|
+
# cannot provide a trustworthy fixAvailable recommendation here.
|
|
976
|
+
record["fixAvailable"] = "not-evaluated"
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
def _canonical_package_version_totals(details: Dict[str, Any]) -> Dict[str, int]:
|
|
980
|
+
totals: Counter = Counter()
|
|
981
|
+
for record in (details.get("packages") or {}).values():
|
|
982
|
+
level = severity(record.get("severity"))
|
|
983
|
+
nodes = {
|
|
984
|
+
(str(item.get("path") or ""), str(item.get("version") or ""))
|
|
985
|
+
for item in (record.get("nodeVersions") or [])
|
|
986
|
+
if isinstance(item, dict)
|
|
987
|
+
}
|
|
988
|
+
totals[level] += len(nodes) or 1
|
|
989
|
+
return {level: totals[level] for level in SEVERITIES}
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
def _yarn_inventory_audit(
|
|
993
|
+
project: Path,
|
|
994
|
+
registry: str,
|
|
995
|
+
audit_workspace: Optional[Path] = None,
|
|
996
|
+
runtime_env: Optional[Dict[str, str]] = None,
|
|
997
|
+
) -> Dict[str, Any]:
|
|
998
|
+
"""Audit exact Yarn-selected package versions through npm's security API.
|
|
999
|
+
|
|
1000
|
+
This fallback avoids both failure modes of the old npm-lock bridge: it does
|
|
1001
|
+
not resolve ranges with npm, and it does not download package tarballs.
|
|
1002
|
+
npm is used only as an authenticated client for the configured registry's
|
|
1003
|
+
security endpoint.
|
|
1004
|
+
"""
|
|
1005
|
+
temporary: Optional[tempfile.TemporaryDirectory[str]] = None
|
|
1006
|
+
if audit_workspace is None:
|
|
1007
|
+
temporary = tempfile.TemporaryDirectory(prefix="dependency-roadmap-yarn-inventory-audit-")
|
|
1008
|
+
workspace = Path(temporary.name)
|
|
1009
|
+
workspace.mkdir(parents=True, exist_ok=True)
|
|
1010
|
+
(workspace / ".dependency-roadmap-audit-workspace.json").write_text(
|
|
1011
|
+
json.dumps({"schemaVersion": 1, "managedBy": "dependency-roadmap-tool"}, indent=2),
|
|
1012
|
+
encoding="utf-8",
|
|
1013
|
+
)
|
|
1014
|
+
persisted = False
|
|
1015
|
+
else:
|
|
1016
|
+
workspace = audit_workspace.expanduser().resolve()
|
|
1017
|
+
_safe_reset_workspace(workspace)
|
|
1018
|
+
persisted = True
|
|
1019
|
+
|
|
1020
|
+
started = time.monotonic()
|
|
1021
|
+
try:
|
|
1022
|
+
inventory = canonical_yarn_inventory(project)
|
|
1023
|
+
path_map = _write_yarn_inventory_lock(workspace, inventory)
|
|
1024
|
+
env = registry_environment(registry, runtime_env)
|
|
1025
|
+
probe_command = ["npm", "config", "get", "registry"]
|
|
1026
|
+
probe_code, probe_stdout, probe_stderr = run(probe_command, workspace, env, timeout=30)
|
|
1027
|
+
effective_registry = _registry_from_command_output(
|
|
1028
|
+
probe_stdout if probe_code == 0 else "",
|
|
1029
|
+
registry or "project/default npm config",
|
|
1030
|
+
)
|
|
1031
|
+
registry_mismatch = bool(registry) and _normalized_registry(effective_registry) != _normalized_registry(registry)
|
|
1032
|
+
|
|
1033
|
+
command = ["npm", "audit", "--json", "--package-lock-only", "--legacy-peer-deps"]
|
|
1034
|
+
if registry:
|
|
1035
|
+
command += ["--registry", registry]
|
|
1036
|
+
_progress(
|
|
1037
|
+
"auditing exact package/version inventory from canonical yarn.lock "
|
|
1038
|
+
"through the effective npm security endpoint"
|
|
1039
|
+
)
|
|
1040
|
+
audit_started = time.monotonic()
|
|
1041
|
+
code, stdout, stderr = run(command, workspace, env, timeout=300)
|
|
1042
|
+
audit_seconds = time.monotonic() - audit_started
|
|
1043
|
+
_progress(f"canonical Yarn inventory audit finished in {audit_seconds:.1f}s with exit={code}")
|
|
1044
|
+
_write_text(workspace / "yarn-inventory-npm-audit.json", stdout)
|
|
1045
|
+
_write_text(workspace / "yarn-inventory-npm-audit.stderr.txt", stderr)
|
|
1046
|
+
|
|
1047
|
+
packages, totals, notes = parse_audit("npm", stdout)
|
|
1048
|
+
details = parse_npm_audit_details(stdout)
|
|
1049
|
+
_replace_synthetic_node_paths(
|
|
1050
|
+
details,
|
|
1051
|
+
path_map,
|
|
1052
|
+
inventory.get("directPackages") or [],
|
|
1053
|
+
)
|
|
1054
|
+
if stderr.strip():
|
|
1055
|
+
notes.append(stderr.strip()[-1000:])
|
|
1056
|
+
if probe_stderr.strip():
|
|
1057
|
+
notes.append("registry probe: " + probe_stderr.strip()[-500:])
|
|
1058
|
+
if registry_mismatch:
|
|
1059
|
+
notes.append(f"effective registry mismatch: requested={registry!r}, effective={effective_registry!r}")
|
|
1060
|
+
unresolved = inventory.get("unresolvedEdges") or []
|
|
1061
|
+
if unresolved:
|
|
1062
|
+
preview = ", ".join(str(item) for item in unresolved[:10])
|
|
1063
|
+
suffix = f" (+{len(unresolved) - 10} more)" if len(unresolved) > 10 else ""
|
|
1064
|
+
notes.append(f"YARN_INVENTORY_INCOMPLETE: unresolved yarn.lock edges: {preview}{suffix}")
|
|
1065
|
+
|
|
1066
|
+
combined_output = (stdout + "\n" + stderr).lower()
|
|
1067
|
+
transport_error_markers = (
|
|
1068
|
+
"enotfound", "eai_again", "econnrefused", "etimedout", "socket hang up",
|
|
1069
|
+
"unable to get local issuer certificate", "certificate has expired",
|
|
1070
|
+
"audit endpoint returned an error", "404 not found", "410 gone",
|
|
1071
|
+
)
|
|
1072
|
+
transport_failed = any(marker in combined_output for marker in transport_error_markers)
|
|
1073
|
+
parser_failed = any(
|
|
1074
|
+
note.startswith(("audit returned no JSON", "cannot parse audit JSON", "audit error:", "cannot execute "))
|
|
1075
|
+
for note in notes
|
|
1076
|
+
)
|
|
1077
|
+
raw_audit_complete = bool(stdout.strip()) and not parser_failed and not transport_failed and not registry_mismatch
|
|
1078
|
+
complete = raw_audit_complete and bool(inventory.get("complete"))
|
|
1079
|
+
result = {
|
|
1080
|
+
"engine": "yarn-inventory",
|
|
1081
|
+
"sourcePackageManager": "yarn",
|
|
1082
|
+
"lockSource": "yarn.lock",
|
|
1083
|
+
"requestedRegistry": registry,
|
|
1084
|
+
"effectiveRegistry": effective_registry,
|
|
1085
|
+
"registryProbeCommand": probe_command,
|
|
1086
|
+
"registryProbeExitCode": probe_code,
|
|
1087
|
+
"registryProbeError": probe_stderr.strip()[-500:],
|
|
1088
|
+
"workspace": str(workspace) if persisted else "temporary",
|
|
1089
|
+
"workspacePersisted": persisted,
|
|
1090
|
+
"lockMode": "synthetic-canonical-inventory",
|
|
1091
|
+
"lockExitCode": 0,
|
|
1092
|
+
"lockReused": False,
|
|
1093
|
+
"command": command,
|
|
1094
|
+
"exitCode": code,
|
|
1095
|
+
"auditDurationSeconds": round(audit_seconds, 3),
|
|
1096
|
+
"durationSeconds": round(time.monotonic() - started, 3),
|
|
1097
|
+
"complete": complete,
|
|
1098
|
+
"rawAuditComplete": raw_audit_complete,
|
|
1099
|
+
"trusted": complete,
|
|
1100
|
+
"packages": {name: dict(counts) for name, counts in sorted(packages.items())} if complete else {},
|
|
1101
|
+
"totals": {level: totals[level] for level in SEVERITIES} if complete else {level: 0 for level in SEVERITIES},
|
|
1102
|
+
"packageDetails": (details.get("packages") or {}) if complete else {},
|
|
1103
|
+
"packageTotals": (details.get("packageTotals") or {level: 0 for level in SEVERITIES}) if complete else {level: 0 for level in SEVERITIES},
|
|
1104
|
+
"advisoryTotals": (details.get("advisoryTotals") or {level: 0 for level in SEVERITIES}) if complete else {level: 0 for level in SEVERITIES},
|
|
1105
|
+
"packageVersionTotals": _canonical_package_version_totals(details) if complete else {level: 0 for level in SEVERITIES},
|
|
1106
|
+
"nodeTotals": (details.get("nodeTotals") or {level: 0 for level in SEVERITIES}) if complete else {level: 0 for level in SEVERITIES},
|
|
1107
|
+
"rawAuditEvidence": {
|
|
1108
|
+
"packages": {name: dict(counts) for name, counts in sorted(packages.items())},
|
|
1109
|
+
"packageDetails": details.get("packages") or {},
|
|
1110
|
+
} if not complete and raw_audit_complete else {},
|
|
1111
|
+
"canonicalInventory": {
|
|
1112
|
+
key: value
|
|
1113
|
+
for key, value in inventory.items()
|
|
1114
|
+
if key != "pairs"
|
|
1115
|
+
} | {"packageVersionPairs": len(inventory.get("pairs") or [])},
|
|
1116
|
+
"notes": notes,
|
|
1117
|
+
}
|
|
1118
|
+
(workspace / "audit-engine.json").write_text(
|
|
1119
|
+
json.dumps(result, ensure_ascii=False, indent=2),
|
|
1120
|
+
encoding="utf-8",
|
|
1121
|
+
)
|
|
1122
|
+
return result
|
|
1123
|
+
finally:
|
|
1124
|
+
if temporary is not None:
|
|
1125
|
+
temporary.cleanup()
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
def _native_audit(project: Path, manager: str, registry: str, runtime_env: Optional[Dict[str, str]] = None) -> Dict[str, Any]:
|
|
1129
|
+
if manager == "pnpm":
|
|
1130
|
+
command = ["pnpm", "audit", "--json"]
|
|
1131
|
+
else:
|
|
1132
|
+
command = ["npm", "audit", "--json"]
|
|
1133
|
+
if registry:
|
|
1134
|
+
command += ["--registry", registry]
|
|
1135
|
+
code, stdout, stderr = run(command, project, registry_environment(registry, runtime_env))
|
|
1136
|
+
packages, totals, notes = parse_audit(manager, stdout)
|
|
1137
|
+
details = parse_npm_audit_details(stdout) if manager == "npm" else {
|
|
1138
|
+
"packages": {},
|
|
1139
|
+
"packageTotals": {
|
|
1140
|
+
level: sum(1 for counts in packages.values() if counts.get(level, 0))
|
|
1141
|
+
for level in SEVERITIES
|
|
1142
|
+
},
|
|
1143
|
+
"advisoryTotals": {level: totals[level] for level in SEVERITIES},
|
|
1144
|
+
"nodeTotals": {level: totals[level] for level in SEVERITIES},
|
|
1145
|
+
}
|
|
1146
|
+
if manager == "npm":
|
|
1147
|
+
for filename in ("package-lock.json", "npm-shrinkwrap.json"):
|
|
1148
|
+
lock_path = project / filename
|
|
1149
|
+
if lock_path.exists():
|
|
1150
|
+
enrich_npm_audit_node_versions(details, lock_path)
|
|
1151
|
+
break
|
|
1152
|
+
if stderr.strip():
|
|
1153
|
+
notes.append(stderr.strip()[-1000:])
|
|
1154
|
+
combined_output = (stdout + "\n" + stderr).lower()
|
|
1155
|
+
transport_error_markers = (
|
|
1156
|
+
"enotfound", "eai_again", "econnrefused", "etimedout", "socket hang up",
|
|
1157
|
+
"unable to get local issuer certificate", "certificate has expired",
|
|
1158
|
+
)
|
|
1159
|
+
transport_failed = any(marker in combined_output for marker in transport_error_markers)
|
|
1160
|
+
parser_failed = any(note.startswith(("audit returned no JSON", "cannot parse audit JSON", "audit error:", "cannot execute ")) for note in notes)
|
|
1161
|
+
complete = bool(stdout.strip()) and not parser_failed and not transport_failed
|
|
1162
|
+
return {
|
|
1163
|
+
"engine": f"{manager}-native",
|
|
1164
|
+
"sourcePackageManager": manager,
|
|
1165
|
+
"requestedRegistry": registry,
|
|
1166
|
+
"effectiveRegistry": registry or "project/default npm config",
|
|
1167
|
+
"command": command,
|
|
1168
|
+
"exitCode": code,
|
|
1169
|
+
"complete": complete,
|
|
1170
|
+
"packages": {name: dict(counts) for name, counts in sorted(packages.items())},
|
|
1171
|
+
"totals": {level: totals[level] for level in SEVERITIES},
|
|
1172
|
+
"packageDetails": details.get("packages") or {},
|
|
1173
|
+
"packageTotals": details.get("packageTotals") or {level: 0 for level in SEVERITIES},
|
|
1174
|
+
"advisoryTotals": details.get("advisoryTotals") or {level: 0 for level in SEVERITIES},
|
|
1175
|
+
"nodeTotals": details.get("nodeTotals") or {level: 0 for level in SEVERITIES},
|
|
1176
|
+
"notes": notes,
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
def _yarn_classic_native_audit(
|
|
1181
|
+
project: Path,
|
|
1182
|
+
registry: str,
|
|
1183
|
+
audit_workspace: Optional[Path] = None,
|
|
1184
|
+
runtime_env: Optional[Dict[str, str]] = None,
|
|
1185
|
+
) -> Dict[str, Any]:
|
|
1186
|
+
"""Audit the canonical Yarn lock directly before considering a bridge.
|
|
1187
|
+
|
|
1188
|
+
This is the only path that cannot accidentally reinterpret the dependency
|
|
1189
|
+
graph through npm's resolver. Corporate registries that no longer support
|
|
1190
|
+
Yarn Classic's audit endpoint may reject it; in ``auto`` mode we then fall
|
|
1191
|
+
back to an exact package/version inventory built from the same yarn.lock.
|
|
1192
|
+
"""
|
|
1193
|
+
persisted_workspace: Optional[Path] = None
|
|
1194
|
+
if audit_workspace is not None:
|
|
1195
|
+
persisted_workspace = audit_workspace.expanduser().resolve()
|
|
1196
|
+
_safe_reset_workspace(persisted_workspace)
|
|
1197
|
+
|
|
1198
|
+
env = registry_environment(registry, runtime_env)
|
|
1199
|
+
probe_command = ["yarn", "config", "get", "registry"]
|
|
1200
|
+
probe_code, probe_stdout, probe_stderr = run(probe_command, project, env, timeout=30)
|
|
1201
|
+
effective_registry = _registry_from_command_output(
|
|
1202
|
+
probe_stdout if probe_code == 0 else "",
|
|
1203
|
+
registry or "project/default Yarn config",
|
|
1204
|
+
)
|
|
1205
|
+
registry_mismatch = bool(registry) and _normalized_registry(effective_registry) != _normalized_registry(registry)
|
|
1206
|
+
command = ["yarn", "audit", "--json"]
|
|
1207
|
+
if registry:
|
|
1208
|
+
command += ["--registry", registry]
|
|
1209
|
+
_progress("auditing the canonical yarn.lock through Yarn Classic")
|
|
1210
|
+
started = time.monotonic()
|
|
1211
|
+
code, stdout, stderr = run(command, project, env, timeout=300)
|
|
1212
|
+
duration = time.monotonic() - started
|
|
1213
|
+
_progress(f"Yarn audit finished in {duration:.1f}s with exit={code}")
|
|
1214
|
+
if persisted_workspace is not None:
|
|
1215
|
+
_write_text(persisted_workspace / "yarn-audit.jsonl", stdout)
|
|
1216
|
+
_write_text(persisted_workspace / "yarn-audit.stderr.txt", stderr)
|
|
1217
|
+
packages, totals, notes = parse_audit("yarn", stdout)
|
|
1218
|
+
if stderr.strip():
|
|
1219
|
+
notes.append(stderr.strip()[-1000:])
|
|
1220
|
+
if probe_stderr.strip():
|
|
1221
|
+
notes.append("registry probe: " + probe_stderr.strip()[-500:])
|
|
1222
|
+
if registry_mismatch:
|
|
1223
|
+
notes.append(f"effective registry mismatch: requested={registry!r}, effective={effective_registry!r}")
|
|
1224
|
+
parsed_event = False
|
|
1225
|
+
for line in stdout.splitlines():
|
|
1226
|
+
try:
|
|
1227
|
+
item = json.loads(line)
|
|
1228
|
+
except json.JSONDecodeError:
|
|
1229
|
+
continue
|
|
1230
|
+
if item.get("type") in {"auditAdvisory", "auditSummary"}:
|
|
1231
|
+
parsed_event = True
|
|
1232
|
+
break
|
|
1233
|
+
combined_output = (stdout + "\n" + stderr).lower()
|
|
1234
|
+
transport_error_markers = (
|
|
1235
|
+
"enotfound", "eai_again", "econnrefused", "etimedout", "socket hang up",
|
|
1236
|
+
"unable to get local issuer certificate", "certificate has expired",
|
|
1237
|
+
"audit endpoint returned an error", "410 gone", "404 not found",
|
|
1238
|
+
)
|
|
1239
|
+
transport_failed = any(marker in combined_output for marker in transport_error_markers)
|
|
1240
|
+
# Yarn Classic encodes vulnerability severity in the exit-code bitmask, so
|
|
1241
|
+
# a non-zero code is expected when findings exist. Completeness is based
|
|
1242
|
+
# on parsed audit events and transport/registry integrity, not exit=0.
|
|
1243
|
+
complete = parsed_event and not transport_failed and not registry_mismatch
|
|
1244
|
+
result = {
|
|
1245
|
+
"engine": "yarn-native",
|
|
1246
|
+
"sourcePackageManager": "yarn",
|
|
1247
|
+
"lockSource": "yarn.lock",
|
|
1248
|
+
"requestedRegistry": registry,
|
|
1249
|
+
"effectiveRegistry": effective_registry,
|
|
1250
|
+
"registryProbeCommand": probe_command,
|
|
1251
|
+
"registryProbeExitCode": probe_code,
|
|
1252
|
+
"registryProbeError": probe_stderr.strip()[-500:],
|
|
1253
|
+
"command": command,
|
|
1254
|
+
"exitCode": code,
|
|
1255
|
+
"auditDurationSeconds": round(duration, 3),
|
|
1256
|
+
"complete": complete,
|
|
1257
|
+
"packages": {name: dict(counts) for name, counts in sorted(packages.items())},
|
|
1258
|
+
"totals": {level: totals[level] for level in SEVERITIES},
|
|
1259
|
+
"nodeTotals": {level: totals[level] for level in SEVERITIES},
|
|
1260
|
+
"advisoryTotals": {level: totals[level] for level in SEVERITIES},
|
|
1261
|
+
"packageTotals": {
|
|
1262
|
+
level: sum(1 for counts in packages.values() if counts.get(level, 0))
|
|
1263
|
+
for level in SEVERITIES
|
|
1264
|
+
},
|
|
1265
|
+
"packageDetails": {},
|
|
1266
|
+
"notes": notes,
|
|
1267
|
+
}
|
|
1268
|
+
if persisted_workspace is not None:
|
|
1269
|
+
(persisted_workspace / "audit-engine.json").write_text(
|
|
1270
|
+
json.dumps(result, ensure_ascii=False, indent=2),
|
|
1271
|
+
encoding="utf-8",
|
|
1272
|
+
)
|
|
1273
|
+
return result
|
|
1274
|
+
|
|
1275
|
+
|
|
1276
|
+
def _yarn_npm_lock_audit(
|
|
1277
|
+
project: Path,
|
|
1278
|
+
registry: str,
|
|
1279
|
+
audit_workspace: Optional[Path],
|
|
1280
|
+
runtime_env: Optional[Dict[str, str]] = None,
|
|
1281
|
+
) -> Dict[str, Any]:
|
|
1282
|
+
"""Run a reproducible npm audit from an isolated lock for a Yarn project.
|
|
1283
|
+
|
|
1284
|
+
npm may resolve a slightly different transitive graph than Yarn Classic.
|
|
1285
|
+
Reconciliation is therefore reported as an accuracy signal, not treated as
|
|
1286
|
+
a transport failure. Strict canonical modes remain available explicitly.
|
|
1287
|
+
"""
|
|
1288
|
+
temporary: Optional[tempfile.TemporaryDirectory[str]] = None
|
|
1289
|
+
input_state = _audit_input_state(project, registry)
|
|
1290
|
+
if audit_workspace is None:
|
|
1291
|
+
temporary = tempfile.TemporaryDirectory(prefix="dependency-roadmap-audit-")
|
|
1292
|
+
workspace = Path(temporary.name)
|
|
1293
|
+
workspace.mkdir(parents=True, exist_ok=True)
|
|
1294
|
+
(workspace / ".dependency-roadmap-audit-workspace.json").write_text(
|
|
1295
|
+
json.dumps({"schemaVersion": 1, "managedBy": "dependency-roadmap-tool"}, indent=2),
|
|
1296
|
+
encoding="utf-8",
|
|
1297
|
+
)
|
|
1298
|
+
persisted = False
|
|
1299
|
+
previous_input: Dict[str, Any] = {}
|
|
1300
|
+
else:
|
|
1301
|
+
workspace = audit_workspace.expanduser().resolve()
|
|
1302
|
+
previous_input = _read_optional_json(workspace / "audit-input.json")
|
|
1303
|
+
_safe_reset_workspace(workspace)
|
|
1304
|
+
persisted = True
|
|
1305
|
+
|
|
1306
|
+
started = time.monotonic()
|
|
1307
|
+
try:
|
|
1308
|
+
shutil.copyfile(project / "package.json", workspace / "package.json")
|
|
1309
|
+
_copy_if_exists(project / "yarn.lock", workspace / "yarn.lock")
|
|
1310
|
+
(workspace / "audit-input.json").write_text(
|
|
1311
|
+
json.dumps(input_state, ensure_ascii=False, indent=2), encoding="utf-8"
|
|
1312
|
+
)
|
|
1313
|
+
env = registry_environment(registry, runtime_env)
|
|
1314
|
+
|
|
1315
|
+
probe_command = ["npm", "config", "get", "registry"]
|
|
1316
|
+
probe_code, probe_stdout, probe_stderr = run(probe_command, workspace, env, timeout=30)
|
|
1317
|
+
effective_registry = probe_stdout.strip().rstrip("/") if probe_code == 0 and probe_stdout.strip() else (registry.rstrip("/") if registry else "project/default npm config")
|
|
1318
|
+
registry_mismatch = bool(registry) and _normalized_registry(effective_registry) != _normalized_registry(registry)
|
|
1319
|
+
|
|
1320
|
+
lock_command = [
|
|
1321
|
+
"npm", "install", "--package-lock-only", "--ignore-scripts",
|
|
1322
|
+
"--legacy-peer-deps", "--audit=false", "--fund=false",
|
|
1323
|
+
]
|
|
1324
|
+
if registry:
|
|
1325
|
+
lock_command += ["--registry", registry]
|
|
1326
|
+
|
|
1327
|
+
lock_path = workspace / "package-lock.json"
|
|
1328
|
+
lock_reused = bool(
|
|
1329
|
+
persisted
|
|
1330
|
+
and lock_path.exists()
|
|
1331
|
+
and previous_input == input_state
|
|
1332
|
+
)
|
|
1333
|
+
# A persisted npm lock must never be incrementally updated after the
|
|
1334
|
+
# Yarn inputs change. npm prioritizes an existing package-lock.json over
|
|
1335
|
+
# yarn.lock, which could otherwise audit a stale npm-shaped tree. Rebuild
|
|
1336
|
+
# from scratch so the manual audit bridge starts from the current
|
|
1337
|
+
# package.json + yarn.lock pair.
|
|
1338
|
+
if persisted and lock_path.exists() and not lock_reused:
|
|
1339
|
+
lock_path.unlink()
|
|
1340
|
+
lock_stdout = ""
|
|
1341
|
+
lock_stderr = ""
|
|
1342
|
+
lock_seconds = 0.0
|
|
1343
|
+
if lock_reused:
|
|
1344
|
+
lock_code = 0
|
|
1345
|
+
_progress("reusing isolated package-lock (package.json, yarn.lock and registry are unchanged)")
|
|
1346
|
+
else:
|
|
1347
|
+
_progress("building isolated package-lock; the first run may take several minutes")
|
|
1348
|
+
lock_started = time.monotonic()
|
|
1349
|
+
lock_code, lock_stdout, lock_stderr = run(lock_command, workspace, env, timeout=900)
|
|
1350
|
+
lock_seconds = time.monotonic() - lock_started
|
|
1351
|
+
_progress(f"package-lock step finished in {lock_seconds:.1f}s with exit={lock_code}")
|
|
1352
|
+
_write_text(workspace / "package-lock-generation.stdout.txt", lock_stdout)
|
|
1353
|
+
_write_text(workspace / "package-lock-generation.stderr.txt", lock_stderr)
|
|
1354
|
+
|
|
1355
|
+
if lock_code != 0 or not lock_path.exists():
|
|
1356
|
+
notes = [
|
|
1357
|
+
f"temporary package-lock generation failed; exit={lock_code}",
|
|
1358
|
+
(lock_stderr.strip() or lock_stdout.strip() or "package-lock.json was not created")[-1000:],
|
|
1359
|
+
]
|
|
1360
|
+
if registry_mismatch:
|
|
1361
|
+
notes.append(f"effective registry mismatch: requested={registry!r}, effective={effective_registry!r}")
|
|
1362
|
+
result = {
|
|
1363
|
+
"engine": "npm-lock-bridge",
|
|
1364
|
+
"sourcePackageManager": "yarn",
|
|
1365
|
+
"lockSource": "yarn.lock",
|
|
1366
|
+
"requestedRegistry": registry,
|
|
1367
|
+
"effectiveRegistry": effective_registry,
|
|
1368
|
+
"registryProbeCommand": probe_command,
|
|
1369
|
+
"registryProbeExitCode": probe_code,
|
|
1370
|
+
"registryProbeError": probe_stderr.strip()[-500:],
|
|
1371
|
+
"workspace": str(workspace) if persisted else "temporary",
|
|
1372
|
+
"workspacePersisted": persisted,
|
|
1373
|
+
"lockCommand": lock_command,
|
|
1374
|
+
"lockExitCode": lock_code,
|
|
1375
|
+
"lockReused": lock_reused,
|
|
1376
|
+
"lockDurationSeconds": round(lock_seconds, 3),
|
|
1377
|
+
"command": [],
|
|
1378
|
+
"exitCode": lock_code,
|
|
1379
|
+
"complete": False,
|
|
1380
|
+
"packages": {},
|
|
1381
|
+
"totals": {level: 0 for level in SEVERITIES},
|
|
1382
|
+
"notes": notes,
|
|
1383
|
+
"durationSeconds": round(time.monotonic() - started, 3),
|
|
1384
|
+
}
|
|
1385
|
+
(workspace / "audit-engine.json").write_text(json.dumps(result, ensure_ascii=False, indent=2), encoding="utf-8")
|
|
1386
|
+
return result
|
|
1387
|
+
|
|
1388
|
+
reconciliation = reconcile_yarn_bridge(workspace / "yarn.lock", lock_path)
|
|
1389
|
+
(workspace / "bridge-reconciliation.json").write_text(
|
|
1390
|
+
json.dumps(reconciliation, ensure_ascii=False, indent=2),
|
|
1391
|
+
encoding="utf-8",
|
|
1392
|
+
)
|
|
1393
|
+
|
|
1394
|
+
command = ["npm", "audit", "--json", "--package-lock-only", "--legacy-peer-deps"]
|
|
1395
|
+
if registry:
|
|
1396
|
+
command += ["--registry", registry]
|
|
1397
|
+
_write_text(
|
|
1398
|
+
workspace / "reproduce-npm-audit.cmd",
|
|
1399
|
+
"@echo off\n"
|
|
1400
|
+
"rem Uses the current npm registry. To override it safely, append --registry <url>.\n"
|
|
1401
|
+
"npm audit --json --package-lock-only --legacy-peer-deps %*\n",
|
|
1402
|
+
)
|
|
1403
|
+
reproduce_sh = workspace / "reproduce-npm-audit.sh"
|
|
1404
|
+
_write_text(
|
|
1405
|
+
reproduce_sh,
|
|
1406
|
+
"#!/usr/bin/env sh\n"
|
|
1407
|
+
"# Uses the current npm registry. To override it safely, append --registry <url>.\n"
|
|
1408
|
+
"exec npm audit --json --package-lock-only --legacy-peer-deps \"$@\"\n",
|
|
1409
|
+
)
|
|
1410
|
+
if os.name != "nt":
|
|
1411
|
+
reproduce_sh.chmod(0o755)
|
|
1412
|
+
_progress("querying vulnerability audit endpoint through the effective npm registry")
|
|
1413
|
+
audit_started = time.monotonic()
|
|
1414
|
+
code, stdout, stderr = run(command, workspace, env, timeout=300)
|
|
1415
|
+
audit_seconds = time.monotonic() - audit_started
|
|
1416
|
+
_progress(f"vulnerability audit finished in {audit_seconds:.1f}s with exit={code}")
|
|
1417
|
+
_write_text(workspace / "npm-audit.json", stdout)
|
|
1418
|
+
_write_text(workspace / "npm-audit.stderr.txt", stderr)
|
|
1419
|
+
packages, totals, notes = parse_audit("npm", stdout)
|
|
1420
|
+
details = parse_npm_audit_details(stdout)
|
|
1421
|
+
enrich_npm_audit_node_versions(details, lock_path)
|
|
1422
|
+
if lock_stderr.strip():
|
|
1423
|
+
notes.append("package-lock generation: " + lock_stderr.strip()[-1000:])
|
|
1424
|
+
if stderr.strip():
|
|
1425
|
+
notes.append(stderr.strip()[-1000:])
|
|
1426
|
+
if probe_stderr.strip():
|
|
1427
|
+
notes.append("registry probe: " + probe_stderr.strip()[-500:])
|
|
1428
|
+
if registry_mismatch:
|
|
1429
|
+
notes.append(f"effective registry mismatch: requested={registry!r}, effective={effective_registry!r}")
|
|
1430
|
+
if not reconciliation.get("faithful"):
|
|
1431
|
+
extra = reconciliation.get("extraPairs") or []
|
|
1432
|
+
preview = ", ".join(extra[:8])
|
|
1433
|
+
suffix = f" (+{len(extra) - 8} more)" if len(extra) > 8 else ""
|
|
1434
|
+
notes.append(
|
|
1435
|
+
"YARN_NPM_BRIDGE_DRIFT: generated package-lock contains package@version "
|
|
1436
|
+
f"pairs absent from canonical yarn.lock: {preview or 'unknown'}{suffix}"
|
|
1437
|
+
)
|
|
1438
|
+
combined_output = (stdout + "\n" + stderr).lower()
|
|
1439
|
+
transport_error_markers = (
|
|
1440
|
+
"enotfound", "eai_again", "econnrefused", "etimedout", "socket hang up",
|
|
1441
|
+
"unable to get local issuer certificate", "certificate has expired",
|
|
1442
|
+
)
|
|
1443
|
+
transport_failed = any(marker in combined_output for marker in transport_error_markers)
|
|
1444
|
+
parser_failed = any(note.startswith(("audit returned no JSON", "cannot parse audit JSON", "audit error:", "cannot execute ")) for note in notes)
|
|
1445
|
+
raw_audit_complete = bool(stdout.strip()) and not parser_failed and not transport_failed and not registry_mismatch
|
|
1446
|
+
# A graph difference affects accuracy, but a usable response from npm's
|
|
1447
|
+
# security endpoint is still a completed and reproducible npm audit.
|
|
1448
|
+
complete = raw_audit_complete
|
|
1449
|
+
trusted = raw_audit_complete
|
|
1450
|
+
raw_evidence = {
|
|
1451
|
+
"packages": {name: dict(counts) for name, counts in sorted(packages.items())},
|
|
1452
|
+
"totals": {level: totals[level] for level in SEVERITIES},
|
|
1453
|
+
"packageDetails": details.get("packages") or {},
|
|
1454
|
+
"packageTotals": details.get("packageTotals") or {level: 0 for level in SEVERITIES},
|
|
1455
|
+
"advisoryTotals": details.get("advisoryTotals") or {level: 0 for level in SEVERITIES},
|
|
1456
|
+
"nodeTotals": details.get("nodeTotals") or {level: 0 for level in SEVERITIES},
|
|
1457
|
+
}
|
|
1458
|
+
result = {
|
|
1459
|
+
"engine": "npm-lock-bridge",
|
|
1460
|
+
"sourcePackageManager": "yarn",
|
|
1461
|
+
"lockSource": "yarn.lock",
|
|
1462
|
+
"requestedRegistry": registry,
|
|
1463
|
+
"effectiveRegistry": effective_registry,
|
|
1464
|
+
"registryProbeCommand": probe_command,
|
|
1465
|
+
"registryProbeExitCode": probe_code,
|
|
1466
|
+
"registryProbeError": probe_stderr.strip()[-500:],
|
|
1467
|
+
"workspace": str(workspace) if persisted else "temporary",
|
|
1468
|
+
"workspacePersisted": persisted,
|
|
1469
|
+
"lockCommand": lock_command,
|
|
1470
|
+
"lockExitCode": lock_code,
|
|
1471
|
+
"lockReused": lock_reused,
|
|
1472
|
+
"lockDurationSeconds": round(lock_seconds, 3),
|
|
1473
|
+
"command": command,
|
|
1474
|
+
"exitCode": code,
|
|
1475
|
+
"auditDurationSeconds": round(audit_seconds, 3),
|
|
1476
|
+
"durationSeconds": round(time.monotonic() - started, 3),
|
|
1477
|
+
"complete": complete,
|
|
1478
|
+
"rawAuditComplete": raw_audit_complete,
|
|
1479
|
+
"trusted": trusted,
|
|
1480
|
+
"accuracy": "canonical-yarn-match" if reconciliation.get("faithful") else "npm-resolved-approximation",
|
|
1481
|
+
"reproducibleFrom": "package-lock.json",
|
|
1482
|
+
"packages": raw_evidence["packages"] if trusted else {},
|
|
1483
|
+
"totals": raw_evidence["totals"] if trusted else {level: 0 for level in SEVERITIES},
|
|
1484
|
+
"packageDetails": raw_evidence["packageDetails"] if trusted else {},
|
|
1485
|
+
"packageTotals": raw_evidence["packageTotals"] if trusted else {level: 0 for level in SEVERITIES},
|
|
1486
|
+
"advisoryTotals": raw_evidence["advisoryTotals"] if trusted else {level: 0 for level in SEVERITIES},
|
|
1487
|
+
"nodeTotals": raw_evidence["nodeTotals"] if trusted else {level: 0 for level in SEVERITIES},
|
|
1488
|
+
"rawAuditEvidence": raw_evidence if not trusted else {},
|
|
1489
|
+
"bridgeReconciliation": reconciliation,
|
|
1490
|
+
"notes": notes,
|
|
1491
|
+
}
|
|
1492
|
+
(workspace / "audit-engine.json").write_text(json.dumps(result, ensure_ascii=False, indent=2), encoding="utf-8")
|
|
1493
|
+
return result
|
|
1494
|
+
finally:
|
|
1495
|
+
if temporary is not None:
|
|
1496
|
+
temporary.cleanup()
|
|
1497
|
+
|
|
1498
|
+
def run_audit(
|
|
1499
|
+
project: Path,
|
|
1500
|
+
manager: str,
|
|
1501
|
+
registry: str,
|
|
1502
|
+
audit_workspace: Optional[Path] = None,
|
|
1503
|
+
yarn_audit_engine: Optional[str] = None,
|
|
1504
|
+
runtime_env: Optional[Dict[str, str]] = None,
|
|
1505
|
+
) -> Dict[str, Any]:
|
|
1506
|
+
if manager == "yarn":
|
|
1507
|
+
mode = str(
|
|
1508
|
+
yarn_audit_engine
|
|
1509
|
+
or os.environ.get("ROADMAP_YARN_AUDIT_ENGINE")
|
|
1510
|
+
or "auto"
|
|
1511
|
+
).strip().lower()
|
|
1512
|
+
if mode not in {"auto", "yarn-native", "yarn-inventory", "npm-lock-bridge"}:
|
|
1513
|
+
return {
|
|
1514
|
+
"engine": mode,
|
|
1515
|
+
"sourcePackageManager": "yarn",
|
|
1516
|
+
"requestedRegistry": registry,
|
|
1517
|
+
"effectiveRegistry": "unknown",
|
|
1518
|
+
"command": [],
|
|
1519
|
+
"exitCode": 2,
|
|
1520
|
+
"complete": False,
|
|
1521
|
+
"packages": {},
|
|
1522
|
+
"totals": {level: 0 for level in SEVERITIES},
|
|
1523
|
+
"notes": [
|
|
1524
|
+
"invalid ROADMAP_YARN_AUDIT_ENGINE; expected auto, yarn-native, "
|
|
1525
|
+
"yarn-inventory or npm-lock-bridge"
|
|
1526
|
+
],
|
|
1527
|
+
}
|
|
1528
|
+
from yarn_berry import is_berry_lock
|
|
1529
|
+
from yarn_berry import owning_yarn_lock
|
|
1530
|
+
if is_berry_lock(owning_yarn_lock(project)):
|
|
1531
|
+
# Audit the canonical exact inventory; never re-resolve Berry with npm.
|
|
1532
|
+
return _yarn_inventory_audit(project, registry, audit_workspace, runtime_env=runtime_env)
|
|
1533
|
+
if mode == "auto":
|
|
1534
|
+
_progress("using reproducible isolated package-lock audit for Yarn Classic")
|
|
1535
|
+
return _yarn_npm_lock_audit(project, registry, audit_workspace, runtime_env=runtime_env)
|
|
1536
|
+
if mode == "yarn-native":
|
|
1537
|
+
return _yarn_classic_native_audit(project, registry, audit_workspace, runtime_env=runtime_env)
|
|
1538
|
+
if mode == "yarn-inventory":
|
|
1539
|
+
return _yarn_inventory_audit(project, registry, audit_workspace, runtime_env=runtime_env)
|
|
1540
|
+
return _yarn_npm_lock_audit(project, registry, audit_workspace, runtime_env=runtime_env)
|
|
1541
|
+
return _native_audit(project, manager, registry, runtime_env=runtime_env)
|
|
1542
|
+
|
|
1543
|
+
def _npm_view_json(project: Path, name: str, fields: List[str], registry: str) -> Tuple[Optional[Any], str]:
|
|
1544
|
+
command = ["npm", "view", name, *fields, "--json"]
|
|
1545
|
+
if registry:
|
|
1546
|
+
command += ["--registry", registry]
|
|
1547
|
+
code, stdout, stderr = run(command, project)
|
|
1548
|
+
if code != 0 or not stdout.strip():
|
|
1549
|
+
return None, (stderr.strip() or stdout.strip() or f"npm view exit {code}")[-500:]
|
|
1550
|
+
try:
|
|
1551
|
+
return json.loads(stdout), ""
|
|
1552
|
+
except json.JSONDecodeError as exc:
|
|
1553
|
+
return None, f"invalid npm view JSON: {exc}"
|
|
1554
|
+
|
|
1555
|
+
|
|
1556
|
+
def _field_object(payload: Any, field: str) -> Optional[Dict[str, Any]]:
|
|
1557
|
+
"""Read an npm-view object from wrapped and single-field output shapes.
|
|
1558
|
+
|
|
1559
|
+
npm versions do not always serialize `npm view <pkg> field --json` and
|
|
1560
|
+
`npm view <pkg> field1 field2 --json` identically. Accept both the wrapped
|
|
1561
|
+
form (`{"time": {...}}`) and the direct single-field form (`{...}`).
|
|
1562
|
+
"""
|
|
1563
|
+
if not isinstance(payload, dict):
|
|
1564
|
+
return None
|
|
1565
|
+
aliases = (field, "distTags") if field == "dist-tags" else (field,)
|
|
1566
|
+
for alias in aliases:
|
|
1567
|
+
value = payload.get(alias)
|
|
1568
|
+
if isinstance(value, dict):
|
|
1569
|
+
return value
|
|
1570
|
+
# A separate single-field call returns the field value itself.
|
|
1571
|
+
if field == "time" and any(key in payload for key in ("created", "modified")):
|
|
1572
|
+
return payload
|
|
1573
|
+
if field == "dist-tags" and any(key in payload for key in ("latest", "next", "beta")):
|
|
1574
|
+
return payload
|
|
1575
|
+
return None
|
|
1576
|
+
|
|
1577
|
+
|
|
1578
|
+
def _field_scalar(payload: Any, field: str) -> Optional[Any]:
|
|
1579
|
+
"""Read one scalar npm-view field from direct or wrapped JSON output."""
|
|
1580
|
+
if payload is None:
|
|
1581
|
+
return None
|
|
1582
|
+
if not isinstance(payload, (dict, list)):
|
|
1583
|
+
return payload
|
|
1584
|
+
if isinstance(payload, list):
|
|
1585
|
+
return payload[0] if len(payload) == 1 else None
|
|
1586
|
+
if field in payload and not isinstance(payload[field], (dict, list)):
|
|
1587
|
+
return payload[field]
|
|
1588
|
+
if field == "dist-tags.latest":
|
|
1589
|
+
tags = payload.get("dist-tags") or payload.get("distTags")
|
|
1590
|
+
if isinstance(tags, dict):
|
|
1591
|
+
return tags.get("latest")
|
|
1592
|
+
match = re.fullmatch(r"time\[(.+)\]", field)
|
|
1593
|
+
if match:
|
|
1594
|
+
times = payload.get("time")
|
|
1595
|
+
if isinstance(times, dict):
|
|
1596
|
+
return times.get(match.group(1))
|
|
1597
|
+
if len(payload) == 1:
|
|
1598
|
+
only = next(iter(payload.values()))
|
|
1599
|
+
if not isinstance(only, (dict, list)):
|
|
1600
|
+
return only
|
|
1601
|
+
return None
|
|
1602
|
+
|
|
1603
|
+
|
|
1604
|
+
def npm_view_scalar(project: Path, name: str, field: str, registry: str) -> Tuple[Optional[Any], str]:
|
|
1605
|
+
payload, error = _npm_view_json(project, name, [field], registry)
|
|
1606
|
+
if error:
|
|
1607
|
+
return None, error
|
|
1608
|
+
value = _field_scalar(payload, field)
|
|
1609
|
+
if value is None:
|
|
1610
|
+
return None, f"npm view field {field} returned no scalar value"
|
|
1611
|
+
return value, ""
|
|
1612
|
+
|
|
1613
|
+
|
|
1614
|
+
def npm_view_exact_publish_time(project: Path, name: str, version: str, registry: str) -> Tuple[Optional[dt.datetime], str]:
|
|
1615
|
+
"""Resolve one publication timestamp without trusting a possibly partial time map."""
|
|
1616
|
+
normalized = version_text(version)
|
|
1617
|
+
if not normalized:
|
|
1618
|
+
return None, "empty version"
|
|
1619
|
+
|
|
1620
|
+
field = f"time[{normalized}]"
|
|
1621
|
+
value, error = npm_view_scalar(project, name, field, registry)
|
|
1622
|
+
parsed = parse_iso(value)
|
|
1623
|
+
if parsed:
|
|
1624
|
+
return parsed, ""
|
|
1625
|
+
|
|
1626
|
+
# Older npm/Nexus combinations can ignore bracket projections. Query the
|
|
1627
|
+
# version descriptor and inspect its complete time object as a final fallback.
|
|
1628
|
+
payload, descriptor_error = _npm_view_json(project, f"{name}@{normalized}", ["time"], registry)
|
|
1629
|
+
times = _field_object(payload, "time")
|
|
1630
|
+
parsed = _version_time(times, normalized)
|
|
1631
|
+
if parsed:
|
|
1632
|
+
return parsed, ""
|
|
1633
|
+
|
|
1634
|
+
details = [part for part in (error, descriptor_error) if part]
|
|
1635
|
+
return None, "; ".join(dict.fromkeys(details))[-500:] or f"publish time not found for {normalized}"
|
|
1636
|
+
|
|
1637
|
+
|
|
1638
|
+
def npm_view_times(project: Path, name: str, registry: str) -> Tuple[Optional[Dict[str, Any]], str]:
|
|
1639
|
+
combined, combined_error = _npm_view_json(project, name, ["time", "dist-tags"], registry)
|
|
1640
|
+
times = _field_object(combined, "time")
|
|
1641
|
+
tags = _field_object(combined, "dist-tags")
|
|
1642
|
+
|
|
1643
|
+
errors: List[str] = []
|
|
1644
|
+
if combined_error:
|
|
1645
|
+
errors.append(combined_error)
|
|
1646
|
+
|
|
1647
|
+
# Some npm/Nexus combinations return an incomplete or differently shaped
|
|
1648
|
+
# multi-field projection. Retry each field separately before declaring the
|
|
1649
|
+
# publication metadata unknown.
|
|
1650
|
+
if times is None:
|
|
1651
|
+
time_payload, error = _npm_view_json(project, name, ["time"], registry)
|
|
1652
|
+
times = _field_object(time_payload, "time")
|
|
1653
|
+
if error:
|
|
1654
|
+
errors.append(f"time: {error}")
|
|
1655
|
+
if tags is None:
|
|
1656
|
+
tags_payload, error = _npm_view_json(project, name, ["dist-tags"], registry)
|
|
1657
|
+
tags = _field_object(tags_payload, "dist-tags")
|
|
1658
|
+
if error:
|
|
1659
|
+
errors.append(f"dist-tags: {error}")
|
|
1660
|
+
|
|
1661
|
+
if times is None and tags is None:
|
|
1662
|
+
return None, "; ".join(dict.fromkeys(errors))[-500:] or "npm view returned no time/dist-tags objects"
|
|
1663
|
+
return {"time": times or {}, "dist-tags": tags or {}}, "; ".join(dict.fromkeys(errors))[-500:]
|
|
1664
|
+
|
|
1665
|
+
|
|
1666
|
+
def _version_time(times: Any, version: str) -> Optional[dt.datetime]:
|
|
1667
|
+
if not isinstance(times, dict):
|
|
1668
|
+
return None
|
|
1669
|
+
raw = str(version or "").strip()
|
|
1670
|
+
candidates = [raw]
|
|
1671
|
+
normalized = version_text(raw)
|
|
1672
|
+
if normalized and normalized not in candidates:
|
|
1673
|
+
candidates.append(normalized)
|
|
1674
|
+
if raw.startswith("v") and raw[1:] not in candidates:
|
|
1675
|
+
candidates.append(raw[1:])
|
|
1676
|
+
for candidate in candidates:
|
|
1677
|
+
parsed = parse_iso(times.get(candidate))
|
|
1678
|
+
if parsed:
|
|
1679
|
+
return parsed
|
|
1680
|
+
# Be tolerant of metadata keys such as v18.2.0 while preserving exact
|
|
1681
|
+
# prerelease/build identifiers when they are present.
|
|
1682
|
+
wanted = version_text(raw)
|
|
1683
|
+
for key, value in times.items():
|
|
1684
|
+
if version_text(str(key)) == wanted:
|
|
1685
|
+
parsed = parse_iso(value)
|
|
1686
|
+
if parsed:
|
|
1687
|
+
return parsed
|
|
1688
|
+
return None
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
def load_lag_policies(path: Optional[Path], project_name: str) -> Dict[str, int]:
|
|
1692
|
+
if not path or not path.exists():
|
|
1693
|
+
return {}
|
|
1694
|
+
data = read_json(path)
|
|
1695
|
+
packages = ((data.get("packageOverrides") or {}).get(project_name) or {})
|
|
1696
|
+
result: Dict[str, int] = {}
|
|
1697
|
+
if isinstance(packages, dict):
|
|
1698
|
+
for name, override in packages.items():
|
|
1699
|
+
if not isinstance(override, dict):
|
|
1700
|
+
continue
|
|
1701
|
+
value = override.get("lagMonths", override.get("lagThresholdMonths"))
|
|
1702
|
+
try:
|
|
1703
|
+
months = int(value)
|
|
1704
|
+
except (TypeError, ValueError):
|
|
1705
|
+
continue
|
|
1706
|
+
if months in (3, 6, 9, 12):
|
|
1707
|
+
result[str(name)] = months
|
|
1708
|
+
return result
|
|
1709
|
+
|
|
1710
|
+
|
|
1711
|
+
def _metadata_cache_load(path: Optional[Path], registry: str) -> Dict[str, Tuple[Optional[Dict[str, Any]], str]]:
|
|
1712
|
+
if not path:
|
|
1713
|
+
return {}
|
|
1714
|
+
data = _read_optional_json(path)
|
|
1715
|
+
if _normalized_registry(data.get("registry")) != _normalized_registry(registry):
|
|
1716
|
+
return {}
|
|
1717
|
+
try:
|
|
1718
|
+
generated = parse_iso(data.get("generatedAt"))
|
|
1719
|
+
ttl_hours = max(0.0, float(os.environ.get("ROADMAP_AUDIT_METADATA_CACHE_HOURS", "24")))
|
|
1720
|
+
except (TypeError, ValueError):
|
|
1721
|
+
generated = None
|
|
1722
|
+
ttl_hours = 24.0
|
|
1723
|
+
if not generated or (dt.datetime.now(dt.timezone.utc) - generated).total_seconds() > ttl_hours * 3600:
|
|
1724
|
+
return {}
|
|
1725
|
+
result: Dict[str, Tuple[Optional[Dict[str, Any]], str]] = {}
|
|
1726
|
+
entries = data.get("entries") or {}
|
|
1727
|
+
if isinstance(entries, dict):
|
|
1728
|
+
for name, entry in entries.items():
|
|
1729
|
+
if not isinstance(entry, dict):
|
|
1730
|
+
continue
|
|
1731
|
+
metadata = entry.get("metadata")
|
|
1732
|
+
result[str(name)] = (metadata if isinstance(metadata, dict) else None, str(entry.get("error") or ""))
|
|
1733
|
+
return result
|
|
1734
|
+
|
|
1735
|
+
|
|
1736
|
+
def _metadata_cache_write(path: Optional[Path], registry: str, values: Dict[str, Tuple[Optional[Dict[str, Any]], str]]) -> None:
|
|
1737
|
+
if not path:
|
|
1738
|
+
return
|
|
1739
|
+
path.parent.mkdir(parents=True, exist_ok=True)
|
|
1740
|
+
payload = {
|
|
1741
|
+
"schemaVersion": 1,
|
|
1742
|
+
"generatedAt": dt.datetime.now(dt.timezone.utc).isoformat(),
|
|
1743
|
+
"registry": _normalized_registry(registry),
|
|
1744
|
+
"entries": {
|
|
1745
|
+
name: {"metadata": metadata, "error": error}
|
|
1746
|
+
for name, (metadata, error) in sorted(values.items())
|
|
1747
|
+
},
|
|
1748
|
+
}
|
|
1749
|
+
path.write_text(json.dumps(payload, ensure_ascii=False, indent=2), encoding="utf-8")
|
|
1750
|
+
|
|
1751
|
+
|
|
1752
|
+
def _load_package_metadata_parallel(
|
|
1753
|
+
project: Path,
|
|
1754
|
+
names: List[str],
|
|
1755
|
+
registry: str,
|
|
1756
|
+
cache_path: Optional[Path],
|
|
1757
|
+
) -> Dict[str, Tuple[Optional[Dict[str, Any]], str]]:
|
|
1758
|
+
metadata_cache = _metadata_cache_load(cache_path, registry)
|
|
1759
|
+
missing = [name for name in names if name not in metadata_cache]
|
|
1760
|
+
if not missing:
|
|
1761
|
+
if names:
|
|
1762
|
+
_progress(f"reusing publish metadata cache for {len(names)} direct packages")
|
|
1763
|
+
return metadata_cache
|
|
1764
|
+
|
|
1765
|
+
try:
|
|
1766
|
+
workers = int(os.environ.get("ROADMAP_AUDIT_METADATA_WORKERS", "6"))
|
|
1767
|
+
except ValueError:
|
|
1768
|
+
workers = 6
|
|
1769
|
+
workers = max(1, min(16, workers, len(missing)))
|
|
1770
|
+
_progress(f"loading publish metadata for {len(missing)} packages with {workers} workers")
|
|
1771
|
+
completed_count = 0
|
|
1772
|
+
with ThreadPoolExecutor(max_workers=workers) as pool:
|
|
1773
|
+
futures = {pool.submit(npm_view_times, project, name, registry): name for name in missing}
|
|
1774
|
+
for future in as_completed(futures):
|
|
1775
|
+
name = futures[future]
|
|
1776
|
+
try:
|
|
1777
|
+
metadata_cache[name] = future.result()
|
|
1778
|
+
except Exception as exc: # defensive: keep one package failure from aborting the audit
|
|
1779
|
+
metadata_cache[name] = (None, f"metadata query failed: {exc}")
|
|
1780
|
+
completed_count += 1
|
|
1781
|
+
if completed_count == len(missing) or completed_count % 10 == 0:
|
|
1782
|
+
_progress(f"publish metadata {completed_count}/{len(missing)}")
|
|
1783
|
+
_metadata_cache_write(cache_path, registry, metadata_cache)
|
|
1784
|
+
return metadata_cache
|
|
1785
|
+
|
|
1786
|
+
|
|
1787
|
+
def check_lag(
|
|
1788
|
+
project: Path,
|
|
1789
|
+
deps: Iterable[Dict[str, str]],
|
|
1790
|
+
registry: str,
|
|
1791
|
+
default_months: int,
|
|
1792
|
+
policies: Dict[str, int],
|
|
1793
|
+
metadata_cache_path: Optional[Path] = None,
|
|
1794
|
+
) -> List[Dict[str, Any]]:
|
|
1795
|
+
result: List[Dict[str, Any]] = []
|
|
1796
|
+
dep_list = list(deps)
|
|
1797
|
+
names = sorted({str(dep["name"]) for dep in dep_list})
|
|
1798
|
+
metadata_cache = _load_package_metadata_parallel(project, names, registry, metadata_cache_path)
|
|
1799
|
+
kind_by_section = {
|
|
1800
|
+
"dependencies": "runtime",
|
|
1801
|
+
"devDependencies": "dev",
|
|
1802
|
+
"optionalDependencies": "optional",
|
|
1803
|
+
"peerDependencies": "peer",
|
|
1804
|
+
}
|
|
1805
|
+
for dep in dep_list:
|
|
1806
|
+
name, current = dep["name"], dep["current"]
|
|
1807
|
+
section = dep["section"]
|
|
1808
|
+
kind = kind_by_section.get(section, section)
|
|
1809
|
+
months = policies.get(f"{section}:{name}", policies.get(f"{kind}:{name}", policies.get(name, default_months)))
|
|
1810
|
+
metadata, error = metadata_cache[name]
|
|
1811
|
+
item: Dict[str, Any] = {**dep, "policyMonths": months, "status": "unknown", "latest": "", "currentPublishedAt": None, "latestPublishedAt": None, "error": error}
|
|
1812
|
+
if not dep.get("resolvedExact", True):
|
|
1813
|
+
item["error"] = "semantic version cannot be derived from package.json declaration"
|
|
1814
|
+
result.append(item)
|
|
1815
|
+
continue
|
|
1816
|
+
if not metadata:
|
|
1817
|
+
result.append(item)
|
|
1818
|
+
continue
|
|
1819
|
+
times = metadata.get("time") or {}
|
|
1820
|
+
tags = metadata.get("dist-tags") or metadata.get("distTags") or {}
|
|
1821
|
+
latest = str(tags.get("latest") or "").strip()
|
|
1822
|
+
recovery_errors: List[str] = []
|
|
1823
|
+
if not latest:
|
|
1824
|
+
latest_value, latest_error = npm_view_scalar(project, name, "dist-tags.latest", registry)
|
|
1825
|
+
latest = str(latest_value or "").strip()
|
|
1826
|
+
if latest_error:
|
|
1827
|
+
recovery_errors.append(f"latest: {latest_error}")
|
|
1828
|
+
|
|
1829
|
+
current_date = _version_time(times, current)
|
|
1830
|
+
if not current_date:
|
|
1831
|
+
current_date, current_error = npm_view_exact_publish_time(project, name, current, registry)
|
|
1832
|
+
if current_error:
|
|
1833
|
+
recovery_errors.append(f"current: {current_error}")
|
|
1834
|
+
|
|
1835
|
+
latest_date = _version_time(times, latest)
|
|
1836
|
+
if latest and not latest_date:
|
|
1837
|
+
latest_date, latest_error = npm_view_exact_publish_time(project, name, latest, registry)
|
|
1838
|
+
if latest_error:
|
|
1839
|
+
recovery_errors.append(f"latest-time: {latest_error}")
|
|
1840
|
+
|
|
1841
|
+
item.update({"latest": latest, "currentPublishedAt": current_date.isoformat() if current_date else None, "latestPublishedAt": latest_date.isoformat() if latest_date else None})
|
|
1842
|
+
if current_date and latest_date:
|
|
1843
|
+
item["error"] = ""
|
|
1844
|
+
elif recovery_errors:
|
|
1845
|
+
item["error"] = "; ".join(dict.fromkeys(recovery_errors))[-500:]
|
|
1846
|
+
if current_date and latest_date:
|
|
1847
|
+
threshold = latest_date - relativedelta(months=months)
|
|
1848
|
+
item["thresholdPublishedAt"] = threshold.isoformat()
|
|
1849
|
+
item["status"] = "ok" if current_date >= threshold else "lagging"
|
|
1850
|
+
item["lagDays"] = max(0, (latest_date - current_date).days)
|
|
1851
|
+
else:
|
|
1852
|
+
missing: List[str] = []
|
|
1853
|
+
if not latest:
|
|
1854
|
+
missing.append("latest dist-tag")
|
|
1855
|
+
if not current_date:
|
|
1856
|
+
missing.append(f"current publish date ({current})")
|
|
1857
|
+
if latest and not latest_date:
|
|
1858
|
+
missing.append(f"latest publish date ({latest})")
|
|
1859
|
+
available_versions = sum(1 for key in times if version_text(str(key)) != str(key) or re.fullmatch(r"v?\d+\.\d+\.\d+(?:[-+][0-9A-Za-z.-]+)?", str(key))) if isinstance(times, dict) else 0
|
|
1860
|
+
detail = ", ".join(missing) or "publication metadata"
|
|
1861
|
+
item["error"] = f"missing {detail}; npm time entries={available_versions}"
|
|
1862
|
+
if current_date is None and latest and latest_date:
|
|
1863
|
+
item["error"] += f"; registry latest={latest}; verify package registry/namespace for installed version {current}"
|
|
1864
|
+
result.append(item)
|
|
1865
|
+
return result
|
|
1866
|
+
|
|
1867
|
+
|
|
1868
|
+
def format_counts(counts: Dict[str, int]) -> str:
|
|
1869
|
+
labels = {"critical": "C", "high": "H", "moderate": "M", "low": "L", "unknown": "U"}
|
|
1870
|
+
return ", ".join(f"{labels[level]}:{counts.get(level, 0)}" for level in SEVERITIES if counts.get(level, 0)) or "0"
|
|
1871
|
+
|
|
1872
|
+
|
|
1873
|
+
def _severity_label(value: Any) -> str:
|
|
1874
|
+
return {
|
|
1875
|
+
"critical": "C",
|
|
1876
|
+
"high": "H",
|
|
1877
|
+
"moderate": "M",
|
|
1878
|
+
"low": "L",
|
|
1879
|
+
"unknown": "U",
|
|
1880
|
+
}.get(severity(value), "U")
|
|
1881
|
+
|
|
1882
|
+
|
|
1883
|
+
def _fix_available_text(value: Any) -> str:
|
|
1884
|
+
if value is True:
|
|
1885
|
+
return "yes"
|
|
1886
|
+
if value is False or value is None:
|
|
1887
|
+
return "no"
|
|
1888
|
+
if isinstance(value, dict):
|
|
1889
|
+
name = str(value.get("name") or "").strip()
|
|
1890
|
+
version = str(value.get("version") or "").strip()
|
|
1891
|
+
forced = " (force)" if value.get("isSemVerMajor") else ""
|
|
1892
|
+
target = "@".join(part for part in (name, version) if part)
|
|
1893
|
+
return (target or "yes") + forced
|
|
1894
|
+
return str(value)
|
|
1895
|
+
|
|
1896
|
+
|
|
1897
|
+
def _node_preview(record: Dict[str, Any], limit: int = 5) -> str:
|
|
1898
|
+
node_versions = record.get("nodeVersions") or []
|
|
1899
|
+
values: List[str] = []
|
|
1900
|
+
if node_versions:
|
|
1901
|
+
for item in node_versions:
|
|
1902
|
+
path = str((item or {}).get("path") or "").strip()
|
|
1903
|
+
version = str((item or {}).get("version") or "").strip()
|
|
1904
|
+
if path:
|
|
1905
|
+
values.append(f"{path}@{version}" if version else path)
|
|
1906
|
+
else:
|
|
1907
|
+
values = [str(node) for node in (record.get("nodes") or []) if str(node).strip()]
|
|
1908
|
+
if not values:
|
|
1909
|
+
return "path unavailable"
|
|
1910
|
+
preview = ", ".join(f"`{value}`" for value in values[:limit])
|
|
1911
|
+
if len(values) > limit:
|
|
1912
|
+
preview += f" (+{len(values) - limit} more)"
|
|
1913
|
+
return preview
|
|
1914
|
+
|
|
1915
|
+
|
|
1916
|
+
def markdown(report: Dict[str, Any], language="en") -> str:
|
|
1917
|
+
from migration_documents import audit_document
|
|
1918
|
+
return audit_document(report, language)
|
|
1919
|
+
|
|
1920
|
+
|
|
1921
|
+
def build_report(
|
|
1922
|
+
project: Path,
|
|
1923
|
+
project_name: str,
|
|
1924
|
+
registry: str,
|
|
1925
|
+
lag_months: int = 12,
|
|
1926
|
+
dashboard_state: Optional[Path] = None,
|
|
1927
|
+
audit_workspace: Optional[Path] = None,
|
|
1928
|
+
project_dir_display: Optional[str] = None,
|
|
1929
|
+
yarn_audit_engine: str = "auto",
|
|
1930
|
+
target_level: str = "yellow",
|
|
1931
|
+
min_lag_ok_pct: int = 80,
|
|
1932
|
+
max_known_high: int = 1,
|
|
1933
|
+
max_known_moderate: Optional[int] = None,
|
|
1934
|
+
max_known_low: Optional[int] = None,
|
|
1935
|
+
runtime_env: Optional[Dict[str, str]] = None,
|
|
1936
|
+
) -> Dict[str, Any]:
|
|
1937
|
+
manager = package_manager(project)
|
|
1938
|
+
deps = direct_dependencies(project)
|
|
1939
|
+
policies = load_lag_policies(dashboard_state, project_name)
|
|
1940
|
+
dependency_input_hash, dependency_input_files = dependency_input_identity(project)
|
|
1941
|
+
audit = run_audit(
|
|
1942
|
+
project,
|
|
1943
|
+
manager,
|
|
1944
|
+
registry,
|
|
1945
|
+
audit_workspace=audit_workspace,
|
|
1946
|
+
yarn_audit_engine=yarn_audit_engine,
|
|
1947
|
+
runtime_env=runtime_env,
|
|
1948
|
+
)
|
|
1949
|
+
lag = check_lag(
|
|
1950
|
+
project,
|
|
1951
|
+
deps,
|
|
1952
|
+
registry,
|
|
1953
|
+
lag_months,
|
|
1954
|
+
policies,
|
|
1955
|
+
(audit_workspace / "npm-metadata-cache.json") if audit_workspace else None,
|
|
1956
|
+
)
|
|
1957
|
+
# F1: the lag-policy compliance share is part of the acceptance evidence.
|
|
1958
|
+
# Unknown rows are never compliant and never drop out of the denominator,
|
|
1959
|
+
# so a report saying "1 of 1 lag-ok" over a scope of 10 packages carries
|
|
1960
|
+
# lagOkPct=10, not 100. This is the number the release gate enforces.
|
|
1961
|
+
lag_ok = sum(1 for item in lag if item.get("status") == "ok")
|
|
1962
|
+
lag_lagging = sum(1 for item in lag if item.get("status") == "lagging")
|
|
1963
|
+
lag_unknown = sum(1 for item in lag if item.get("status") != "ok" and item.get("status") != "lagging")
|
|
1964
|
+
lag_total = len(lag)
|
|
1965
|
+
lag_ok_pct = (lag_ok / lag_total * 100.0) if lag_total else 100.0
|
|
1966
|
+
audit["lagOkPct"] = round(lag_ok_pct, 1)
|
|
1967
|
+
audit["lagOk"] = lag_ok
|
|
1968
|
+
audit["lagLagging"] = lag_lagging
|
|
1969
|
+
audit["lagUnknown"] = lag_unknown
|
|
1970
|
+
audit["lagTotal"] = lag_total
|
|
1971
|
+
report = {
|
|
1972
|
+
"schemaVersion": 2,
|
|
1973
|
+
"generatedAt": dt.datetime.now(dt.timezone.utc).isoformat(),
|
|
1974
|
+
"dependencyInputHash": dependency_input_hash,
|
|
1975
|
+
"dependencyInputFiles": dependency_input_files,
|
|
1976
|
+
"projectName": project_name,
|
|
1977
|
+
"projectDir": project_dir_display if project_dir_display is not None else str(project),
|
|
1978
|
+
"registry": registry,
|
|
1979
|
+
"packageManager": manager,
|
|
1980
|
+
"directDeclarations": len(deps),
|
|
1981
|
+
# F1: the goal policy this report is bound to. The release gate rejects
|
|
1982
|
+
# evidence produced under a different target/lag/High set, so changing
|
|
1983
|
+
# the goal invalidates the previous audit, not just the roadmap.
|
|
1984
|
+
# G2: the snapshot carries the COMPLETE numeric goal schema (lag window
|
|
1985
|
+
# + C/H/M/L limits). The release gate now requires all five core fields
|
|
1986
|
+
# to be present, so a partial { targetLevel } snapshot is UNKNOWN.
|
|
1987
|
+
"policy": {
|
|
1988
|
+
"targetLevel": target_level if target_level == "green" else "yellow",
|
|
1989
|
+
"minLagOkPct": int(min_lag_ok_pct),
|
|
1990
|
+
"maxKnownCritical": 0,
|
|
1991
|
+
"maxKnownHigh": int(max_known_high),
|
|
1992
|
+
"lagPolicyMonths": int(lag_months),
|
|
1993
|
+
**({"maxKnownModerate": int(max_known_moderate)} if max_known_moderate is not None else {}),
|
|
1994
|
+
**({"maxKnownLow": int(max_known_low)} if max_known_low is not None else {}),
|
|
1995
|
+
},
|
|
1996
|
+
"audit": audit,
|
|
1997
|
+
"lag": lag,
|
|
1998
|
+
}
|
|
1999
|
+
report["auditComplete"] = bool(report["audit"].get("complete"))
|
|
2000
|
+
report["lagComplete"] = lag_unknown == 0
|
|
2001
|
+
report["complete"] = report["auditComplete"] and report["lagComplete"]
|
|
2002
|
+
return report
|
|
2003
|
+
|
|
2004
|
+
|
|
2005
|
+
def audit_command_exit_code(report: Dict[str, Any]) -> int:
|
|
2006
|
+
"""Fail the command only when vulnerability evidence is unavailable.
|
|
2007
|
+
|
|
2008
|
+
Missing publish dates are explicit lag records with status ``unknown``.
|
|
2009
|
+
They make the combined report incomplete, but are common for private
|
|
2010
|
+
registries and must not turn a usable, reproducible vulnerability audit
|
|
2011
|
+
into a failed desktop job.
|
|
2012
|
+
"""
|
|
2013
|
+
return 0 if report.get("auditComplete", report.get("audit", {}).get("complete")) else 2
|
|
2014
|
+
|
|
2015
|
+
|
|
2016
|
+
def main() -> int:
|
|
2017
|
+
configure_utf8_stdio()
|
|
2018
|
+
parser = argparse.ArgumentParser(description="Manual one-project audit cross-check: vulnerabilities + direct dependency publish-date lag.")
|
|
2019
|
+
parser.add_argument("--project-dir", required=True)
|
|
2020
|
+
parser.add_argument("--project-name", default="")
|
|
2021
|
+
parser.add_argument("--registry", default="")
|
|
2022
|
+
parser.add_argument("--lag-months", type=int, default=12, choices=(3, 6, 9, 12))
|
|
2023
|
+
parser.add_argument("--dashboard-state", help="Optional dashboard-state.json with per-package lagMonths")
|
|
2024
|
+
parser.add_argument("--audit-workspace", help="Optional persistent workspace for raw audit evidence and guarded npm-lock fallback artifacts")
|
|
2025
|
+
# F1: the goal policy the report will be bound to (embedded in report.policy
|
|
2026
|
+
# so the release gate can prove the evidence matches the current goal).
|
|
2027
|
+
parser.add_argument("--target-level", choices=("yellow", "green"), default="yellow")
|
|
2028
|
+
parser.add_argument("--min-lag-ok-pct", type=int, default=80)
|
|
2029
|
+
parser.add_argument("--max-known-high", type=int, default=1)
|
|
2030
|
+
parser.add_argument("--max-known-moderate", type=int, default=None)
|
|
2031
|
+
parser.add_argument("--max-known-low", type=int, default=None)
|
|
2032
|
+
parser.add_argument(
|
|
2033
|
+
"--yarn-audit-engine",
|
|
2034
|
+
choices=("auto", "yarn-native", "yarn-inventory", "npm-lock-bridge"),
|
|
2035
|
+
default="auto",
|
|
2036
|
+
help=(
|
|
2037
|
+
"Yarn vulnerability engine: auto builds an isolated package-lock and runs npm audit "
|
|
2038
|
+
"for a reproducible default. yarn-native and yarn-inventory remain available for "
|
|
2039
|
+
"strict canonical diagnostics."
|
|
2040
|
+
),
|
|
2041
|
+
)
|
|
2042
|
+
parser.add_argument("--json-out")
|
|
2043
|
+
parser.add_argument("--md-out")
|
|
2044
|
+
parser.add_argument("--lang", choices=("en", "ru"), default="en")
|
|
2045
|
+
args = parser.parse_args()
|
|
2046
|
+
|
|
2047
|
+
project = Path(args.project_dir).expanduser().resolve()
|
|
2048
|
+
if not (project / "package.json").exists():
|
|
2049
|
+
raise SystemExit(f"package.json not found: {project / 'package.json'}")
|
|
2050
|
+
dashboard_state = Path(args.dashboard_state).expanduser().resolve() if args.dashboard_state else None
|
|
2051
|
+
audit_workspace = Path(args.audit_workspace).expanduser().resolve() if args.audit_workspace else None
|
|
2052
|
+
report = build_report(
|
|
2053
|
+
project,
|
|
2054
|
+
args.project_name,
|
|
2055
|
+
args.registry,
|
|
2056
|
+
args.lag_months,
|
|
2057
|
+
dashboard_state,
|
|
2058
|
+
audit_workspace,
|
|
2059
|
+
yarn_audit_engine=args.yarn_audit_engine,
|
|
2060
|
+
target_level=args.target_level,
|
|
2061
|
+
min_lag_ok_pct=args.min_lag_ok_pct,
|
|
2062
|
+
max_known_high=args.max_known_high,
|
|
2063
|
+
max_known_moderate=args.max_known_moderate,
|
|
2064
|
+
max_known_low=args.max_known_low,
|
|
2065
|
+
)
|
|
2066
|
+
md = markdown(report, args.lang)
|
|
2067
|
+
print(md)
|
|
2068
|
+
if args.json_out:
|
|
2069
|
+
out = Path(args.json_out).expanduser().resolve(); out.parent.mkdir(parents=True, exist_ok=True)
|
|
2070
|
+
out.write_text(json.dumps(report, ensure_ascii=False, indent=2), encoding="utf-8")
|
|
2071
|
+
if args.md_out:
|
|
2072
|
+
out = Path(args.md_out).expanduser().resolve(); out.parent.mkdir(parents=True, exist_ok=True)
|
|
2073
|
+
out.write_text(md, encoding="utf-8")
|
|
2074
|
+
if audit_workspace:
|
|
2075
|
+
(audit_workspace / "manual-audit.json").write_text(json.dumps(report, ensure_ascii=False, indent=2), encoding="utf-8")
|
|
2076
|
+
(audit_workspace / "manual-audit.md").write_text(md, encoding="utf-8")
|
|
2077
|
+
return audit_command_exit_code(report)
|
|
2078
|
+
|
|
2079
|
+
|
|
2080
|
+
if __name__ == "__main__":
|
|
2081
|
+
raise SystemExit(main())
|