@levencode/deploom 0.0.0-stage → 0.2.21-next.2
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 +59 -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 +61 -0
- package/bin/deploom.cjs +177 -0
- package/bin/launch.cjs +141 -0
- package/bin/verify-runtime.cjs +42 -0
- package/package.json +42 -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,2635 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Block X SourceSnapshot: bind proof identity to the bytes Verifier consumes.
|
|
3
|
+
|
|
4
|
+
Git is provenance, not source authority. The authoritative subject is a
|
|
5
|
+
sealed content tree captured from the live filesystem under one explicit
|
|
6
|
+
policy. `gitignore` is deliberately ignored by this policy: ignored files
|
|
7
|
+
such as .env or generated source are included unless an explicit DepLoom
|
|
8
|
+
exclusion says otherwise.
|
|
9
|
+
"""
|
|
10
|
+
from __future__ import annotations
|
|
11
|
+
|
|
12
|
+
import atexit
|
|
13
|
+
import concurrent.futures
|
|
14
|
+
import contextlib
|
|
15
|
+
import contextvars
|
|
16
|
+
import functools
|
|
17
|
+
import dataclasses
|
|
18
|
+
import hashlib
|
|
19
|
+
import math
|
|
20
|
+
import json
|
|
21
|
+
import os
|
|
22
|
+
import shutil
|
|
23
|
+
import stat
|
|
24
|
+
import sys
|
|
25
|
+
import subprocess
|
|
26
|
+
import tempfile
|
|
27
|
+
import threading
|
|
28
|
+
import time
|
|
29
|
+
import uuid
|
|
30
|
+
from pathlib import Path
|
|
31
|
+
from typing import Callable, Iterable, Optional
|
|
32
|
+
|
|
33
|
+
from verification_workspace_backend import materialize_private_tree
|
|
34
|
+
from prepared_workspace_fastpath import (
|
|
35
|
+
_DirectoryWatcher,
|
|
36
|
+
apply_tree_write_protection,
|
|
37
|
+
)
|
|
38
|
+
from io_governor import io_slot
|
|
39
|
+
from cross_process_io import coordinated_io
|
|
40
|
+
from reparse_materialization import ReparseMaterializationError
|
|
41
|
+
from verification_observability import (
|
|
42
|
+
configured_observability_path,
|
|
43
|
+
emit_observability_event,
|
|
44
|
+
new_observability_id,
|
|
45
|
+
process_resource_snapshot,
|
|
46
|
+
suppress_observability,
|
|
47
|
+
)
|
|
48
|
+
from project_topology import (
|
|
49
|
+
ProjectTopologyError,
|
|
50
|
+
semantic_manifest_paths,
|
|
51
|
+
)
|
|
52
|
+
from storage_capacity import StorageCapacityError
|
|
53
|
+
from substrate_identity import tool_build_id
|
|
54
|
+
# BLOCK_Z_PROJECT_TOPOLOGY_V1
|
|
55
|
+
|
|
56
|
+
# BLOCK_Y_FULL_OBSERVABILITY_V1
|
|
57
|
+
|
|
58
|
+
# BLOCK_X_SOURCE_TRUTH_V1
|
|
59
|
+
SOURCE_SNAPSHOT_SCHEMA = "source-snapshot-v2-tool-build-content"
|
|
60
|
+
SOURCE_INPUT_POLICY_SCHEMA = "source-input-policy-v3-project-submodules"
|
|
61
|
+
SOURCE_CAPTURE_RETRIES = 3
|
|
62
|
+
|
|
63
|
+
# Deliberately small and explicit. In particular: dist/, build/, .next/,
|
|
64
|
+
# generated source and every gitignored file are INCLUDED in X.1 because
|
|
65
|
+
# excluding an input is unsound unless DepLoom has an explicit semantic
|
|
66
|
+
# policy for it. node_modules is separate resolved dependency state.
|
|
67
|
+
DEFAULT_EXCLUDED_DIR_NAMES = (
|
|
68
|
+
"node_modules",
|
|
69
|
+
".dependency-roadmap",
|
|
70
|
+
".idea",
|
|
71
|
+
".vs",
|
|
72
|
+
".vscode",
|
|
73
|
+
".fleet",
|
|
74
|
+
".claude",
|
|
75
|
+
".codex",
|
|
76
|
+
)
|
|
77
|
+
DEFAULT_EXCLUDED_FILE_NAMES = (
|
|
78
|
+
".DS_Store",
|
|
79
|
+
"Thumbs.db",
|
|
80
|
+
"desktop.ini",
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
ProgressCallback = Callable[[str], None]
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
class SourceCaptureError(RuntimeError):
|
|
87
|
+
"""Source capture uncertainty is infrastructure, never incompatibility."""
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
@dataclasses.dataclass(frozen=True)
|
|
91
|
+
class SourceInputPolicy:
|
|
92
|
+
excluded_dir_names: tuple[str, ...] = DEFAULT_EXCLUDED_DIR_NAMES
|
|
93
|
+
excluded_file_names: tuple[str, ...] = DEFAULT_EXCLUDED_FILE_NAMES
|
|
94
|
+
scope_roots: tuple[str, ...] = ()
|
|
95
|
+
excluded_relative_paths: tuple[str, ...] = ()
|
|
96
|
+
frontend_build_output_paths: tuple[str, ...] = ()
|
|
97
|
+
frontend_profile: bool = False
|
|
98
|
+
generated_output_profile: str = ""
|
|
99
|
+
|
|
100
|
+
@functools.cached_property
|
|
101
|
+
def excluded_path_set(self):
|
|
102
|
+
return frozenset((*self.excluded_relative_paths, *self.frontend_build_output_paths,
|
|
103
|
+
*(("dist", ".tap") if self.generated_output_profile else ())))
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
def key(self) -> str:
|
|
107
|
+
if self.scope_roots or self.excluded_relative_paths or self.frontend_build_output_paths or self.frontend_profile or self.generated_output_profile:
|
|
108
|
+
from scoped_source_policy import policy_payload
|
|
109
|
+
return _canonical_hash({"schema": SOURCE_INPUT_POLICY_SCHEMA, "scope": policy_payload(self),
|
|
110
|
+
"legacyPolicy": SourceInputPolicy(self.excluded_dir_names, self.excluded_file_names).key}, length=64)
|
|
111
|
+
return _canonical_hash({
|
|
112
|
+
"schema": SOURCE_INPUT_POLICY_SCHEMA,
|
|
113
|
+
"excludedDirNames": list(self.excluded_dir_names),
|
|
114
|
+
"excludedFileNames": list(self.excluded_file_names),
|
|
115
|
+
"gitAdministrativeExclusions": [".git/**/*.lock"],
|
|
116
|
+
"submoduleReadiness": "project-workspace-local-dependencies; conflicts-global",
|
|
117
|
+
}, length=64)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
@dataclasses.dataclass(frozen=True)
|
|
121
|
+
class SourceTreeManifest:
|
|
122
|
+
key: str
|
|
123
|
+
entries: tuple[dict[str, object], ...]
|
|
124
|
+
file_count: int
|
|
125
|
+
directory_count: int
|
|
126
|
+
byte_count: int
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
@dataclasses.dataclass(frozen=True)
|
|
130
|
+
class SourceSnapshot:
|
|
131
|
+
original_project_path: Path
|
|
132
|
+
capture_root: Path
|
|
133
|
+
project_relative: Path
|
|
134
|
+
container: Path
|
|
135
|
+
root: Path
|
|
136
|
+
project_path: Path
|
|
137
|
+
key: str
|
|
138
|
+
manifest_key: str
|
|
139
|
+
policy_key: str
|
|
140
|
+
file_count: int
|
|
141
|
+
directory_count: int
|
|
142
|
+
byte_count: int
|
|
143
|
+
materialization_method: str
|
|
144
|
+
git_head: str
|
|
145
|
+
git_root: str
|
|
146
|
+
created_at: float
|
|
147
|
+
input_policy: Optional[SourceInputPolicy] = None
|
|
148
|
+
durable_recovery: bool = False
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
_ACTIVE: dict[str, SourceSnapshot] = {}
|
|
152
|
+
_ALL_CONTAINERS: set[Path] = set()
|
|
153
|
+
# Performance-only idle subjects; context leases remove entries while in use.
|
|
154
|
+
_COMPLETED_REQUEST_SNAPSHOTS: dict[str, SourceSnapshot] = {}
|
|
155
|
+
_COMPLETED_REQUEST_LIMIT = 2
|
|
156
|
+
# (snapshot, watcher, sealed directory-object identity at arm time)
|
|
157
|
+
_ACTIVE_WATCHERS: dict[
|
|
158
|
+
str, tuple[SourceSnapshot, _DirectoryWatcher, Optional[object]]
|
|
159
|
+
] = {}
|
|
160
|
+
_LIVE_SOURCE_WATCHERS: dict[
|
|
161
|
+
str,
|
|
162
|
+
tuple[
|
|
163
|
+
SourceSnapshot,
|
|
164
|
+
_DirectoryWatcher,
|
|
165
|
+
Optional[tuple[int, int]],
|
|
166
|
+
Optional[tuple[int, int]],
|
|
167
|
+
],
|
|
168
|
+
] = {}
|
|
169
|
+
_LOCK = threading.RLock()
|
|
170
|
+
_REQUEST_SNAPSHOTS: contextvars.ContextVar[dict[str, SourceSnapshot]] = contextvars.ContextVar(
|
|
171
|
+
"verification_source_snapshots", default={}
|
|
172
|
+
)
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
def _snapshot_watcher_key(snapshot: SourceSnapshot) -> str:
|
|
176
|
+
key = _active_key(snapshot.original_project_path)
|
|
177
|
+
with _LOCK:
|
|
178
|
+
if _ACTIVE.get(key) is snapshot:
|
|
179
|
+
return key
|
|
180
|
+
if _REQUEST_SNAPSHOTS.get().get(key) is snapshot:
|
|
181
|
+
return f"{key}:{snapshot.container}"
|
|
182
|
+
return key
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
def _tree_object_identity(path: Path) -> Optional[tuple[int, int]]:
|
|
186
|
+
"""Filesystem object identity of a directory, not just its pathname.
|
|
187
|
+
|
|
188
|
+
A watched directory can be renamed away and a different directory put back
|
|
189
|
+
at the same textual path. The watcher holds a handle to the ORIGINAL object
|
|
190
|
+
and reports nothing, while `is_dir()` on the path still succeeds. Only the
|
|
191
|
+
(device, file-id) pair distinguishes the two objects.
|
|
192
|
+
"""
|
|
193
|
+
try:
|
|
194
|
+
stat = os.stat(path)
|
|
195
|
+
except OSError:
|
|
196
|
+
return None
|
|
197
|
+
if not stat.st_ino:
|
|
198
|
+
return None
|
|
199
|
+
return (stat.st_dev, stat.st_ino)
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
def _snapshot_object_identity(
|
|
203
|
+
snapshot: SourceSnapshot,
|
|
204
|
+
) -> Optional[tuple[Optional[tuple[int, int]], Optional[tuple[int, int]]]]:
|
|
205
|
+
root = _tree_object_identity(snapshot.root)
|
|
206
|
+
project = _tree_object_identity(snapshot.project_path)
|
|
207
|
+
if root is None or project is None:
|
|
208
|
+
return None
|
|
209
|
+
return (root, project)
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
_DRAIN_MARKER_DIR = ".dependency-roadmap"
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
def _content_relevant_events(
|
|
216
|
+
events: "list[tuple[int, str]]",
|
|
217
|
+
) -> "list[tuple[int, str]]":
|
|
218
|
+
"""Drop notifications for paths the sealed manifest does not measure.
|
|
219
|
+
|
|
220
|
+
An excluded path cannot change the content key by definition, so a write
|
|
221
|
+
there is not evidence of content mutation.
|
|
222
|
+
"""
|
|
223
|
+
relevant: list[tuple[int, str]] = []
|
|
224
|
+
for action, relative in events:
|
|
225
|
+
parts = [part for part in relative.replace("\\", "/").split("/") if part]
|
|
226
|
+
if any(part in DEFAULT_EXCLUDED_DIR_NAMES for part in parts):
|
|
227
|
+
continue
|
|
228
|
+
if parts and parts[-1] in DEFAULT_EXCLUDED_FILE_NAMES:
|
|
229
|
+
continue
|
|
230
|
+
if parts and _is_ephemeral_git_admin_path(Path(*parts)):
|
|
231
|
+
continue
|
|
232
|
+
relevant.append((action, relative))
|
|
233
|
+
return relevant
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
def _drain_watcher(
|
|
237
|
+
watcher: _DirectoryWatcher,
|
|
238
|
+
root: Path,
|
|
239
|
+
*,
|
|
240
|
+
timeout_seconds: float = 2.0,
|
|
241
|
+
barrier_paths: Optional[set[str]] = None,
|
|
242
|
+
) -> bool:
|
|
243
|
+
"""Prove every change that completed before this boundary was delivered.
|
|
244
|
+
|
|
245
|
+
ReadDirectoryChangesW reports changes for one tree in order. Writing a
|
|
246
|
+
sentinel inside the watched subtree and then waiting for that sentinel's
|
|
247
|
+
OWN notification therefore proves that every earlier change has already
|
|
248
|
+
been observed. Without this barrier a mutation that completed moments
|
|
249
|
+
before consumption could still be in flight, and the memo would report a
|
|
250
|
+
clean tree that is in fact already stale.
|
|
251
|
+
|
|
252
|
+
The sentinel lives under an excluded directory, so it can never alter the
|
|
253
|
+
sealed content key. Returns False when delivery could not be confirmed --
|
|
254
|
+
the caller must then fall back to authoritative validation rather than
|
|
255
|
+
treating silence as proof.
|
|
256
|
+
"""
|
|
257
|
+
marker_directory = root / _DRAIN_MARKER_DIR
|
|
258
|
+
token = f".drain-{uuid.uuid4().hex}"
|
|
259
|
+
marker = marker_directory / token
|
|
260
|
+
created_directory = False
|
|
261
|
+
try:
|
|
262
|
+
try:
|
|
263
|
+
marker_directory.mkdir(parents=True, exist_ok=False)
|
|
264
|
+
created_directory = True
|
|
265
|
+
except FileExistsError:
|
|
266
|
+
pass
|
|
267
|
+
if marker_directory.resolve(strict=True) != marker_directory.absolute():
|
|
268
|
+
return False
|
|
269
|
+
with marker.open("x", encoding="utf-8") as stream:
|
|
270
|
+
stream.write("drain")
|
|
271
|
+
if barrier_paths is not None:
|
|
272
|
+
barrier_paths.add(marker.relative_to(root).as_posix())
|
|
273
|
+
if created_directory:
|
|
274
|
+
barrier_paths.add(_DRAIN_MARKER_DIR)
|
|
275
|
+
except OSError:
|
|
276
|
+
if created_directory:
|
|
277
|
+
with contextlib.suppress(OSError):
|
|
278
|
+
marker_directory.rmdir()
|
|
279
|
+
return False
|
|
280
|
+
deadline = time.monotonic() + max(0.05, float(timeout_seconds))
|
|
281
|
+
delivered = False
|
|
282
|
+
relative_marker = marker.relative_to(root).as_posix()
|
|
283
|
+
try:
|
|
284
|
+
while time.monotonic() < deadline:
|
|
285
|
+
if any(relative.replace("\\", "/") == relative_marker for _action, relative in list(watcher.events)):
|
|
286
|
+
delivered = True
|
|
287
|
+
break
|
|
288
|
+
if watcher.errors:
|
|
289
|
+
break
|
|
290
|
+
time.sleep(0.005)
|
|
291
|
+
finally:
|
|
292
|
+
try:
|
|
293
|
+
marker.unlink()
|
|
294
|
+
except OSError:
|
|
295
|
+
pass
|
|
296
|
+
if created_directory:
|
|
297
|
+
# Only remove our own empty directory; preserve pre-existing state
|
|
298
|
+
# and concurrent files. Sealed C0 must retain exact membership.
|
|
299
|
+
with contextlib.suppress(OSError):
|
|
300
|
+
marker_directory.rmdir()
|
|
301
|
+
return delivered
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
def _watcher_is_clean(watcher: _DirectoryWatcher) -> bool:
|
|
305
|
+
thread = watcher._thread
|
|
306
|
+
return bool(
|
|
307
|
+
thread is not None
|
|
308
|
+
and thread.is_alive()
|
|
309
|
+
and not watcher.events
|
|
310
|
+
and not watcher.errors
|
|
311
|
+
)
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
def _retire_snapshot_watcher(snapshot: SourceSnapshot) -> None:
|
|
315
|
+
# Idle request subjects have no current binding. Retire by object ownership,
|
|
316
|
+
# not a context-dependent key that could leave their qualified watcher live.
|
|
317
|
+
with _LOCK:
|
|
318
|
+
keys = [key for key, entry in _ACTIVE_WATCHERS.items() if entry[0] is snapshot]
|
|
319
|
+
watchers = [_ACTIVE_WATCHERS.pop(key)[1] for key in keys]
|
|
320
|
+
for watcher in watchers:
|
|
321
|
+
watcher.stop()
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
def _apply_tree_write_protection(root: Path, *, readonly: bool) -> int:
|
|
325
|
+
"""Seal or release a private source tree.
|
|
326
|
+
|
|
327
|
+
Delegates to the shared reparse-safe implementation: a naive walk would
|
|
328
|
+
follow junctions out of this tree and unprotect whatever they point at.
|
|
329
|
+
"""
|
|
330
|
+
return apply_tree_write_protection(root, readonly=readonly)
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
def _force_rmtree(path: Path) -> None:
|
|
334
|
+
"""Remove a private tree that may be write-protected.
|
|
335
|
+
|
|
336
|
+
A sealed tree is read-only, and `shutil.rmtree(ignore_errors=True)` would
|
|
337
|
+
silently fail to remove it on Windows -- turning every sealed container
|
|
338
|
+
into a permanent orphan.
|
|
339
|
+
"""
|
|
340
|
+
try:
|
|
341
|
+
_apply_tree_write_protection(path, readonly=False)
|
|
342
|
+
except OSError:
|
|
343
|
+
pass
|
|
344
|
+
shutil.rmtree(path, ignore_errors=True)
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
@functools.lru_cache(maxsize=8)
|
|
348
|
+
def _sealed_manifest_entries(container: str, manifest_key: str, policy_key: str):
|
|
349
|
+
from types import MappingProxyType
|
|
350
|
+
record = json.loads((Path(container) / "manifest.json").read_text(encoding="utf-8-sig"))
|
|
351
|
+
entries = record.get("entries")
|
|
352
|
+
if not isinstance(entries, list) or any(not isinstance(item, dict) or not isinstance(item.get("path"), str) for item in entries):
|
|
353
|
+
raise SourceCaptureError("SOURCE_SNAPSHOT_MANIFEST_RECORD_INVALID")
|
|
354
|
+
observed = _canonical_hash({"schema": SOURCE_SNAPSHOT_SCHEMA,
|
|
355
|
+
"toolBuildId": record.get("toolBuildId"), "policyKey": record.get("policyKey"), "entries": entries}, length=64)
|
|
356
|
+
if observed != manifest_key or record.get("policyKey") != policy_key:
|
|
357
|
+
raise SourceCaptureError("SOURCE_SNAPSHOT_MANIFEST_RECORD_MISMATCH")
|
|
358
|
+
return tuple(MappingProxyType(item) for item in entries)
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
def sealed_source_manifest_entries(snapshot: SourceSnapshot):
|
|
362
|
+
"""Derive identities from the existing sealed manifest, not mutable re-reads.
|
|
363
|
+
|
|
364
|
+
The bounded memo retains verified immutable metadata, not filesystem state.
|
|
365
|
+
Physical continuity still uses validate_source_snapshot before consumption.
|
|
366
|
+
"""
|
|
367
|
+
return _sealed_manifest_entries(str(snapshot.container), snapshot.manifest_key, snapshot.policy_key)
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
def _canonical_hash(value: object, *, length: int = 64) -> str:
|
|
371
|
+
payload = json.dumps(
|
|
372
|
+
value, ensure_ascii=False, sort_keys=True, separators=(",", ":")
|
|
373
|
+
).encode("utf-8")
|
|
374
|
+
return hashlib.sha256(payload).hexdigest()[:length]
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
def _active_key(project_dir: Path) -> str:
|
|
378
|
+
return os.path.normcase(str(project_dir.expanduser().resolve()))
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
def _within(path: Path, root: Path) -> bool:
|
|
382
|
+
try:
|
|
383
|
+
path.resolve(strict=False).relative_to(root.resolve(strict=False))
|
|
384
|
+
return True
|
|
385
|
+
except (OSError, ValueError):
|
|
386
|
+
return False
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
def _run_git(project_dir: Path, args: list[str]) -> subprocess.CompletedProcess[str]:
|
|
390
|
+
try:
|
|
391
|
+
return subprocess.run(
|
|
392
|
+
["git", "-C", str(project_dir), *args],
|
|
393
|
+
text=True,
|
|
394
|
+
encoding="utf-8",
|
|
395
|
+
errors="replace",
|
|
396
|
+
stdout=subprocess.PIPE,
|
|
397
|
+
stderr=subprocess.PIPE,
|
|
398
|
+
timeout=30,
|
|
399
|
+
# Read-only Git probes must not refresh the live index while Source Truth is captured.
|
|
400
|
+
env={**os.environ, "GIT_OPTIONAL_LOCKS": "0"},
|
|
401
|
+
check=False,
|
|
402
|
+
)
|
|
403
|
+
except (OSError, subprocess.SubprocessError) as exc:
|
|
404
|
+
return subprocess.CompletedProcess(["git", *args], 127, stdout="", stderr=str(exc))
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
def _subject_layout(project_dir: Path, *, require_git: bool = False) -> tuple[Path, Path, str]:
|
|
408
|
+
project_dir = project_dir.expanduser().resolve()
|
|
409
|
+
# One combined read-only probe instead of two subprocesses: the first stdout
|
|
410
|
+
# line is the toplevel, the second is HEAD. Semantics are preserved:
|
|
411
|
+
# toplevel-empty == "not a Git repository"; toplevel-present-with-failed-HEAD
|
|
412
|
+
# == SOURCE_GIT_HEAD_UNAVAILABLE. Always probe live HEAD: another process
|
|
413
|
+
# can commit or replace this repository while a reusable worker is alive.
|
|
414
|
+
result = _run_git(project_dir, ["rev-parse", "--show-toplevel", "HEAD"])
|
|
415
|
+
output_lines = result.stdout.strip().splitlines() if result.stdout.strip() else []
|
|
416
|
+
root = Path(output_lines[0]).resolve() if output_lines else None
|
|
417
|
+
if result.returncode == 0 and root is not None and len(output_lines) >= 2:
|
|
418
|
+
try:
|
|
419
|
+
relative = project_dir.relative_to(root)
|
|
420
|
+
except ValueError as exc:
|
|
421
|
+
raise SourceCaptureError(
|
|
422
|
+
f"SOURCE_PROJECT_OUTSIDE_GIT_ROOT: project={project_dir}, root={root}"
|
|
423
|
+
) from exc
|
|
424
|
+
head = output_lines[1].strip()
|
|
425
|
+
value = (root, relative, head)
|
|
426
|
+
return value
|
|
427
|
+
if root is not None:
|
|
428
|
+
detail = (result.stderr or result.stdout or "empty HEAD").strip()
|
|
429
|
+
raise SourceCaptureError(f"SOURCE_GIT_HEAD_UNAVAILABLE: {detail}")
|
|
430
|
+
if require_git:
|
|
431
|
+
detail = (result.stderr or result.stdout or "not a Git repository").strip()
|
|
432
|
+
raise SourceCaptureError(f"SOURCE_GIT_REQUIRED: {detail}")
|
|
433
|
+
value = (project_dir, Path("."), "")
|
|
434
|
+
return value
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
def _iter_source_files_without_links(
|
|
438
|
+
root: Path,
|
|
439
|
+
*,
|
|
440
|
+
policy: SourceInputPolicy = SourceInputPolicy(),
|
|
441
|
+
) -> Iterable[Path]:
|
|
442
|
+
"""Walk policy coverage without following symlinks or reparse directories."""
|
|
443
|
+
pending = [root]
|
|
444
|
+
while pending:
|
|
445
|
+
directory = pending.pop()
|
|
446
|
+
try:
|
|
447
|
+
with os.scandir(directory) as iterator:
|
|
448
|
+
entries = list(iterator)
|
|
449
|
+
except OSError as exc:
|
|
450
|
+
raise SourceCaptureError(
|
|
451
|
+
f"SOURCE_DIRECTORY_UNREADABLE: {directory}: {exc}"
|
|
452
|
+
) from exc
|
|
453
|
+
for item in entries:
|
|
454
|
+
path = Path(item.path)
|
|
455
|
+
try:
|
|
456
|
+
relative = path.relative_to(root)
|
|
457
|
+
except ValueError as exc:
|
|
458
|
+
raise SourceCaptureError(
|
|
459
|
+
f"SOURCE_ENTRY_OUTSIDE_ROOT: {path}"
|
|
460
|
+
) from exc
|
|
461
|
+
if _excluded(relative, policy):
|
|
462
|
+
continue
|
|
463
|
+
try:
|
|
464
|
+
if item.is_symlink():
|
|
465
|
+
continue
|
|
466
|
+
if item.is_dir(follow_symlinks=False):
|
|
467
|
+
is_junction = getattr(path, "is_junction", None)
|
|
468
|
+
if callable(is_junction) and is_junction():
|
|
469
|
+
continue
|
|
470
|
+
pending.append(path)
|
|
471
|
+
elif item.is_file(follow_symlinks=False):
|
|
472
|
+
yield path
|
|
473
|
+
except OSError as exc:
|
|
474
|
+
raise SourceCaptureError(
|
|
475
|
+
f"SOURCE_ENTRY_UNREADABLE: {path}: {exc}"
|
|
476
|
+
) from exc
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
def _read_git_indirection(path: Path, *, prefix: str = "") -> str:
|
|
480
|
+
try:
|
|
481
|
+
text = path.read_text(encoding="utf-8", errors="strict").strip()
|
|
482
|
+
except (OSError, UnicodeError) as exc:
|
|
483
|
+
raise SourceCaptureError(
|
|
484
|
+
f"SOURCE_GIT_INDIRECTION_UNREADABLE: {path}: {exc}"
|
|
485
|
+
) from exc
|
|
486
|
+
if prefix and not text.lower().startswith(prefix.lower()):
|
|
487
|
+
raise SourceCaptureError(f"SOURCE_GIT_MARKER_INVALID: {path}")
|
|
488
|
+
return text.split(":", 1)[1].strip() if prefix else text
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
def _require_sealed_relative_git_target(
|
|
492
|
+
*,
|
|
493
|
+
capture_root: Path,
|
|
494
|
+
marker: Path,
|
|
495
|
+
raw_target: str,
|
|
496
|
+
relative_base: Path,
|
|
497
|
+
kind: str,
|
|
498
|
+
) -> None:
|
|
499
|
+
target = Path(raw_target).expanduser()
|
|
500
|
+
if target.is_absolute():
|
|
501
|
+
raise SourceCaptureError(
|
|
502
|
+
f"SOURCE_GIT_ABSOLUTE_INDIRECTION_UNSUPPORTED: {kind}: "
|
|
503
|
+
f"{marker} -> {raw_target}"
|
|
504
|
+
)
|
|
505
|
+
resolved = (relative_base / target).resolve(strict=False)
|
|
506
|
+
if not _within(resolved, capture_root):
|
|
507
|
+
raise SourceCaptureError(
|
|
508
|
+
f"SOURCE_GIT_EXTERNAL_INDIRECTION_UNSUPPORTED: {kind}: "
|
|
509
|
+
f"{marker} -> {raw_target}"
|
|
510
|
+
)
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
def _validate_git_layout(
|
|
514
|
+
capture_root: Path,
|
|
515
|
+
*,
|
|
516
|
+
policy: SourceInputPolicy = SourceInputPolicy(),
|
|
517
|
+
) -> None:
|
|
518
|
+
"""Reject every Git metadata edge that would escape a sealed copy.
|
|
519
|
+
|
|
520
|
+
Root and nested repositories are covered. Absolute indirections are
|
|
521
|
+
rejected even when they currently resolve inside the live checkout because
|
|
522
|
+
the absolute text would still point back to that mutable checkout after
|
|
523
|
+
materialization.
|
|
524
|
+
"""
|
|
525
|
+
capture_root = capture_root.resolve()
|
|
526
|
+
for path in _iter_source_files_without_links(capture_root, policy=policy):
|
|
527
|
+
if path.name == ".git":
|
|
528
|
+
target = _read_git_indirection(path, prefix="gitdir:")
|
|
529
|
+
_require_sealed_relative_git_target(
|
|
530
|
+
capture_root=capture_root,
|
|
531
|
+
marker=path,
|
|
532
|
+
raw_target=target,
|
|
533
|
+
relative_base=path.parent,
|
|
534
|
+
kind="gitdir",
|
|
535
|
+
)
|
|
536
|
+
continue
|
|
537
|
+
|
|
538
|
+
if (
|
|
539
|
+
path.name == "commondir"
|
|
540
|
+
and ".git" in path.relative_to(capture_root).parts
|
|
541
|
+
):
|
|
542
|
+
target = _read_git_indirection(path)
|
|
543
|
+
_require_sealed_relative_git_target(
|
|
544
|
+
capture_root=capture_root,
|
|
545
|
+
marker=path,
|
|
546
|
+
raw_target=target,
|
|
547
|
+
relative_base=path.parent,
|
|
548
|
+
kind="commondir",
|
|
549
|
+
)
|
|
550
|
+
continue
|
|
551
|
+
|
|
552
|
+
if (
|
|
553
|
+
path.name == "alternates"
|
|
554
|
+
and path.parent.name == "info"
|
|
555
|
+
and path.parent.parent.name == "objects"
|
|
556
|
+
):
|
|
557
|
+
try:
|
|
558
|
+
lines = path.read_text(
|
|
559
|
+
encoding="utf-8", errors="strict"
|
|
560
|
+
).splitlines()
|
|
561
|
+
except (OSError, UnicodeError) as exc:
|
|
562
|
+
raise SourceCaptureError(
|
|
563
|
+
f"SOURCE_GIT_ALTERNATES_UNREADABLE: {path}: {exc}"
|
|
564
|
+
) from exc
|
|
565
|
+
object_database = path.parent.parent
|
|
566
|
+
for line in lines:
|
|
567
|
+
target = line.strip()
|
|
568
|
+
if not target or target.startswith("#"):
|
|
569
|
+
continue
|
|
570
|
+
_require_sealed_relative_git_target(
|
|
571
|
+
capture_root=capture_root,
|
|
572
|
+
marker=path,
|
|
573
|
+
raw_target=target,
|
|
574
|
+
relative_base=object_database,
|
|
575
|
+
kind="objects/info/alternates",
|
|
576
|
+
)
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
def _submodule_line_path(line: str) -> str:
|
|
580
|
+
rest = line[1:].strip()
|
|
581
|
+
parts = rest.split(None, 1)
|
|
582
|
+
if len(parts) == 2 and len(parts[0]) == 40 and all(c in "0123456789abcdefABCDEF" for c in parts[0]):
|
|
583
|
+
return parts[1].strip()
|
|
584
|
+
return parts[0]
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
def _repository_incomplete_submodules(capture_root: Path) -> list[tuple[str, str]]:
|
|
588
|
+
"""Incomplete (uninitialized `-` or conflicted `U`) submodule entries.
|
|
589
|
+
|
|
590
|
+
One shared helper for BOTH the cheap local readiness preflight at begin and
|
|
591
|
+
the authoritative capture-time check, so the two can never diverge. Returns
|
|
592
|
+
(state, path) pairs with the gitlink SHA stripped; `+` (checked-out commit
|
|
593
|
+
differs from the superproject gitlink) is allowed: Source Truth is the
|
|
594
|
+
actual checked-out bytes, which the canonical manifest hashes below.
|
|
595
|
+
"""
|
|
596
|
+
if not (capture_root / ".gitmodules").is_file():
|
|
597
|
+
return []
|
|
598
|
+
result = _run_git(capture_root, ["submodule", "status", "--recursive"])
|
|
599
|
+
if result.returncode != 0:
|
|
600
|
+
detail = (result.stderr or result.stdout or f"exit {result.returncode}").strip()
|
|
601
|
+
raise SourceCaptureError(f"SOURCE_SUBMODULE_STATUS_FAILED: {detail}")
|
|
602
|
+
issues: list[tuple[str, str]] = []
|
|
603
|
+
for line in result.stdout.splitlines():
|
|
604
|
+
if not line:
|
|
605
|
+
continue
|
|
606
|
+
state = line[0]
|
|
607
|
+
if state in ("-", "U"):
|
|
608
|
+
issues.append((state, _submodule_line_path(line)))
|
|
609
|
+
return issues
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
def _submodule_input_roots(project_dir: Path, capture_root: Path) -> set[Path]:
|
|
613
|
+
"""Readiness scope, not a source exclusion: the entire tree is still sealed.
|
|
614
|
+
|
|
615
|
+
Include owning workspace packages and recursively declared local inputs.
|
|
616
|
+
If topology cannot be bound, conservatively retain the repository-wide gate;
|
|
617
|
+
the authoritative verifier will separately explain unsupported topology.
|
|
618
|
+
"""
|
|
619
|
+
project = project_dir.resolve()
|
|
620
|
+
try:
|
|
621
|
+
manifests = semantic_manifest_paths(project)
|
|
622
|
+
except ProjectTopologyError:
|
|
623
|
+
return {capture_root}
|
|
624
|
+
roots = {project, *(manifest.parent.resolve() for manifest in manifests)}
|
|
625
|
+
pending = list(roots)
|
|
626
|
+
visited: set[Path] = set()
|
|
627
|
+
while pending:
|
|
628
|
+
root = pending.pop()
|
|
629
|
+
if root in visited:
|
|
630
|
+
continue
|
|
631
|
+
visited.add(root)
|
|
632
|
+
_local_dependency_preflight(root, capture_root)
|
|
633
|
+
manifest_path = root / "package.json"
|
|
634
|
+
if not manifest_path.is_file():
|
|
635
|
+
continue
|
|
636
|
+
try:
|
|
637
|
+
manifest = json.loads(manifest_path.read_text(encoding="utf-8-sig"))
|
|
638
|
+
except (OSError, ValueError, TypeError) as exc:
|
|
639
|
+
raise SourceCaptureError(f"SOURCE_PACKAGE_JSON_UNREADABLE: {manifest_path}: {exc}") from exc
|
|
640
|
+
for section in ("dependencies", "devDependencies", "optionalDependencies", "peerDependencies"):
|
|
641
|
+
values = manifest.get(section)
|
|
642
|
+
if not isinstance(values, dict):
|
|
643
|
+
continue
|
|
644
|
+
for spec in values.values():
|
|
645
|
+
text = str(spec or "").strip()
|
|
646
|
+
if not text.lower().startswith(("file:", "link:", "portal:")):
|
|
647
|
+
continue
|
|
648
|
+
payload = text.split(":", 1)[1].strip()
|
|
649
|
+
if not payload:
|
|
650
|
+
continue
|
|
651
|
+
target = Path(payload).expanduser()
|
|
652
|
+
if not target.is_absolute():
|
|
653
|
+
target = root / target
|
|
654
|
+
target = target.resolve(strict=False)
|
|
655
|
+
roots.add(target)
|
|
656
|
+
pending.append(target)
|
|
657
|
+
return roots
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
def incomplete_submodules(project_dir: Path) -> list[tuple[str, str]]:
|
|
661
|
+
"""Shared readiness gate for the selected project and capture-time check.
|
|
662
|
+
|
|
663
|
+
A sibling absent gitlink is faithfully captured as absent, with its Git
|
|
664
|
+
metadata preserved. It is not a missing input unless it intersects the
|
|
665
|
+
package/workspace/local-dependency scope. Conflicts always fail closed.
|
|
666
|
+
Checks still execute against the sealed tree; no contents are fetched or
|
|
667
|
+
fabricated and no command failure is converted into a successful proof.
|
|
668
|
+
"""
|
|
669
|
+
capture_root, _, _ = _subject_layout(project_dir)
|
|
670
|
+
issues = _repository_incomplete_submodules(capture_root)
|
|
671
|
+
if not issues:
|
|
672
|
+
return []
|
|
673
|
+
roots = _submodule_input_roots(project_dir, capture_root)
|
|
674
|
+
return [
|
|
675
|
+
(state, path) for state, path in issues
|
|
676
|
+
if state == "U" or any(
|
|
677
|
+
_within((capture_root / path).resolve(), root)
|
|
678
|
+
or _within(root, (capture_root / path).resolve())
|
|
679
|
+
for root in roots
|
|
680
|
+
)
|
|
681
|
+
]
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
def _submodule_preflight(project_dir: Path) -> None:
|
|
685
|
+
for state, path in incomplete_submodules(project_dir):
|
|
686
|
+
if state == "-":
|
|
687
|
+
raise SourceCaptureError(
|
|
688
|
+
f"SOURCE_SUBMODULE_INCOMPLETE: uninitialized submodule: {path}"
|
|
689
|
+
)
|
|
690
|
+
if state == "U":
|
|
691
|
+
raise SourceCaptureError(
|
|
692
|
+
f"SOURCE_SUBMODULE_INCOMPLETE: conflicted submodule: {path}"
|
|
693
|
+
)
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
def _local_dependency_preflight(project_path: Path, capture_root: Path, policy: SourceInputPolicy = SourceInputPolicy()) -> None:
|
|
697
|
+
manifest_path = project_path / "package.json"
|
|
698
|
+
if not manifest_path.is_file():
|
|
699
|
+
return
|
|
700
|
+
try:
|
|
701
|
+
manifest = json.loads(manifest_path.read_text(encoding="utf-8-sig"))
|
|
702
|
+
except (OSError, ValueError, TypeError) as exc:
|
|
703
|
+
raise SourceCaptureError(f"SOURCE_PACKAGE_JSON_UNREADABLE: {manifest_path}: {exc}") from exc
|
|
704
|
+
for section in ("dependencies", "devDependencies", "optionalDependencies", "peerDependencies"):
|
|
705
|
+
values = manifest.get(section)
|
|
706
|
+
if not isinstance(values, dict):
|
|
707
|
+
continue
|
|
708
|
+
for name, raw in values.items():
|
|
709
|
+
spec = str(raw or "").strip()
|
|
710
|
+
lowered = spec.lower()
|
|
711
|
+
if not lowered.startswith(("file:", "link:", "portal:")):
|
|
712
|
+
continue
|
|
713
|
+
payload = spec.split(":", 1)[1].strip()
|
|
714
|
+
if not payload:
|
|
715
|
+
continue
|
|
716
|
+
target = Path(payload).expanduser()
|
|
717
|
+
if not target.is_absolute():
|
|
718
|
+
target = project_path / target
|
|
719
|
+
target = target.resolve(strict=False)
|
|
720
|
+
if _within(target, capture_root) and _excluded(target.relative_to(capture_root), policy):
|
|
721
|
+
raise SourceCaptureError("SOURCE_REQUIRED_INPUT_EXCLUDED: local dependency " + str(name) + " targets an excluded path; use repository source scope")
|
|
722
|
+
if not _within(target, capture_root):
|
|
723
|
+
raise SourceCaptureError(
|
|
724
|
+
"SOURCE_EXTERNAL_LOCAL_DEPENDENCY_UNSUPPORTED: "
|
|
725
|
+
f"{name}={spec} resolves outside captured root: {target}"
|
|
726
|
+
)
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
def _is_ephemeral_git_admin_path(relative: Path) -> bool:
|
|
731
|
+
"""Git lock files coordinate writers; they are not repository/source state."""
|
|
732
|
+
return ".git" in relative.parts and relative.name.lower().endswith(".lock")
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
def _remove_ephemeral_git_admin_files(root: Path) -> int:
|
|
736
|
+
"""Remove copied Git lock artifacts before sealing; never follow links/junctions."""
|
|
737
|
+
removed = 0
|
|
738
|
+
pending = [(root, Path("."))]
|
|
739
|
+
while pending:
|
|
740
|
+
directory, relative_dir = pending.pop()
|
|
741
|
+
try:
|
|
742
|
+
with os.scandir(directory) as iterator:
|
|
743
|
+
items = list(iterator)
|
|
744
|
+
except OSError as exc:
|
|
745
|
+
raise SourceCaptureError(f"SOURCE_DIRECTORY_UNREADABLE: {directory}: {exc}") from exc
|
|
746
|
+
for item in items:
|
|
747
|
+
relative = relative_dir / item.name
|
|
748
|
+
path = Path(item.path)
|
|
749
|
+
try:
|
|
750
|
+
if item.is_symlink():
|
|
751
|
+
continue
|
|
752
|
+
if item.is_dir(follow_symlinks=False):
|
|
753
|
+
is_junction = getattr(path, "is_junction", None)
|
|
754
|
+
if callable(is_junction) and is_junction():
|
|
755
|
+
continue
|
|
756
|
+
pending.append((path, relative))
|
|
757
|
+
elif item.is_file(follow_symlinks=False) and _is_ephemeral_git_admin_path(relative):
|
|
758
|
+
try:
|
|
759
|
+
path.unlink()
|
|
760
|
+
removed += 1
|
|
761
|
+
except FileNotFoundError:
|
|
762
|
+
pass
|
|
763
|
+
except OSError as exc:
|
|
764
|
+
raise SourceCaptureError(f"SOURCE_GIT_ADMIN_CLEANUP_FAILED: {path}: {exc}") from exc
|
|
765
|
+
return removed
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
def _excluded(relative: Path, policy: SourceInputPolicy) -> bool:
|
|
769
|
+
if _is_ephemeral_git_admin_path(relative):
|
|
770
|
+
return True
|
|
771
|
+
if policy.excluded_relative_paths or policy.frontend_build_output_paths or policy.generated_output_profile:
|
|
772
|
+
names = {relative.as_posix(), *(p.as_posix() for p in relative.parents)}
|
|
773
|
+
if names.intersection(policy.excluded_path_set):
|
|
774
|
+
return True
|
|
775
|
+
if any(part in policy.excluded_dir_names for part in relative.parts):
|
|
776
|
+
return True
|
|
777
|
+
return relative.name in policy.excluded_file_names
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
def _hash_regular_file(
|
|
781
|
+
path: Path,
|
|
782
|
+
*,
|
|
783
|
+
suppress_worker_observability: bool = False,
|
|
784
|
+
) -> tuple[str, os.stat_result]:
|
|
785
|
+
try:
|
|
786
|
+
before = path.stat(follow_symlinks=False)
|
|
787
|
+
digest = hashlib.sha256()
|
|
788
|
+
def hash_stream() -> None:
|
|
789
|
+
with io_slot("hash", label="source-manifest"):
|
|
790
|
+
with path.open("rb") as stream:
|
|
791
|
+
for chunk in iter(lambda: stream.read(1024 * 1024), b""):
|
|
792
|
+
digest.update(chunk)
|
|
793
|
+
if suppress_worker_observability:
|
|
794
|
+
# ContextVars do not automatically propagate into ThreadPoolExecutor
|
|
795
|
+
# workers. Re-establish suppression in the worker so an in-source
|
|
796
|
+
# telemetry sink cannot mutate the Source Truth while it is hashed.
|
|
797
|
+
with suppress_observability():
|
|
798
|
+
hash_stream()
|
|
799
|
+
else:
|
|
800
|
+
hash_stream()
|
|
801
|
+
after = path.stat(follow_symlinks=False)
|
|
802
|
+
except FileNotFoundError as exc:
|
|
803
|
+
# The walker already observed this input. Losing it before/during the
|
|
804
|
+
# read is a capture race, not permission to omit it from the manifest.
|
|
805
|
+
# Discard the entire attempt; only a fresh sealed/live match can pass.
|
|
806
|
+
raise SourceCaptureError(
|
|
807
|
+
f"SOURCE_CAPTURE_UNSTABLE: SOURCE_FILE_UNREADABLE: file disappeared while hashing: {path}: {exc}"
|
|
808
|
+
) from exc
|
|
809
|
+
except OSError as exc:
|
|
810
|
+
raise SourceCaptureError(f"SOURCE_FILE_UNREADABLE: {path}: {exc}") from exc
|
|
811
|
+
if (
|
|
812
|
+
before.st_size != after.st_size
|
|
813
|
+
or before.st_mtime_ns != after.st_mtime_ns
|
|
814
|
+
or before.st_mode != after.st_mode
|
|
815
|
+
or int(getattr(before, "st_nlink", 1) or 1) != int(getattr(after, "st_nlink", 1) or 1)
|
|
816
|
+
or getattr(before, "st_ino", 0) != getattr(after, "st_ino", 0)
|
|
817
|
+
):
|
|
818
|
+
raise SourceCaptureError(f"SOURCE_CAPTURE_UNSTABLE: file changed while hashing: {path}")
|
|
819
|
+
return digest.hexdigest(), after
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
# Trees with no more regular files than this are hashed synchronously on the
|
|
823
|
+
# caller thread: spawning an 8-thread pool and waiting on its wakeups for a
|
|
824
|
+
# handful of small files is pure overhead on the CLI critical path. Larger
|
|
825
|
+
# trees keep the bounded streaming pool (see _build_source_tree_manifest_impl).
|
|
826
|
+
_SYNC_HASH_THRESHOLD = 256
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
def _source_hash_workers() -> int:
|
|
830
|
+
raw = str(os.environ.get("DEPLOOM_SOURCE_HASH_WORKERS") or "").strip()
|
|
831
|
+
if raw:
|
|
832
|
+
try:
|
|
833
|
+
return max(1, min(32, int(raw)))
|
|
834
|
+
except ValueError:
|
|
835
|
+
pass
|
|
836
|
+
logical = max(1, int(os.cpu_count() or 4))
|
|
837
|
+
return max(2, min(8, logical // 2 or 1))
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
def _directory_stability_stamp(
|
|
841
|
+
path: Path, *, relative: Path = Path("."), policy: Optional[SourceInputPolicy] = None,
|
|
842
|
+
) -> tuple[object, ...]:
|
|
843
|
+
"""Compare semantic membership/identities, not directory timestamp noise.
|
|
844
|
+
|
|
845
|
+
File metadata is rechecked even after its hash completed. Directory swaps,
|
|
846
|
+
additions/removals and reparse changes remain failures. Only explicit source
|
|
847
|
+
exclusions (including Git writer locks) are omitted from membership.
|
|
848
|
+
"""
|
|
849
|
+
policy = policy or SourceInputPolicy()
|
|
850
|
+
try:
|
|
851
|
+
value = path.stat(follow_symlinks=False)
|
|
852
|
+
inode = int(getattr(value, "st_ino", 0))
|
|
853
|
+
identity = (int(value.st_dev), inode, stat.S_IFMT(value.st_mode),
|
|
854
|
+
int(getattr(value, "st_reparse_tag", 0)))
|
|
855
|
+
if not inode:
|
|
856
|
+
# Without a file identity, retain the old conservative guard.
|
|
857
|
+
identity += (int(value.st_mtime_ns), int(value.st_size))
|
|
858
|
+
children = []
|
|
859
|
+
with os.scandir(path) as iterator:
|
|
860
|
+
for item in iterator:
|
|
861
|
+
if _excluded(relative / item.name, policy):
|
|
862
|
+
continue
|
|
863
|
+
# Windows DirEntry.stat omits file IDs; query the path so
|
|
864
|
+
# directory identity does not fall back to timestamp noise.
|
|
865
|
+
child = Path(item.path).stat(follow_symlinks=False)
|
|
866
|
+
child_inode = int(getattr(child, "st_ino", 0))
|
|
867
|
+
child_identity = (int(child.st_dev), child_inode, stat.S_IFMT(child.st_mode),
|
|
868
|
+
int(getattr(child, "st_reparse_tag", 0)))
|
|
869
|
+
if not stat.S_ISDIR(child.st_mode) or not child_inode:
|
|
870
|
+
child_identity += (int(child.st_size), int(child.st_mtime_ns),
|
|
871
|
+
int(child.st_ctime_ns), int(child.st_mode),
|
|
872
|
+
int(getattr(child, "st_nlink", 1)))
|
|
873
|
+
if stat.S_ISLNK(child.st_mode):
|
|
874
|
+
child_identity += (os.readlink(item.path),)
|
|
875
|
+
children.append((item.name, child_identity))
|
|
876
|
+
except OSError as exc:
|
|
877
|
+
raise SourceCaptureError(f"SOURCE_DIRECTORY_UNREADABLE: {path}: {exc}") from exc
|
|
878
|
+
return ("semantic-membership", identity, tuple(sorted(children)))
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
def _directory_stamp_change(before: tuple[object, ...], after: tuple[object, ...]) -> str:
|
|
882
|
+
if before[1] != after[1]:
|
|
883
|
+
return "directory identity changed"
|
|
884
|
+
old, new = dict(before[2]), dict(after[2])
|
|
885
|
+
added = sorted(new.keys() - old.keys())
|
|
886
|
+
removed = sorted(old.keys() - new.keys())
|
|
887
|
+
changed = sorted(name for name in old.keys() & new.keys() if old[name] != new[name])
|
|
888
|
+
return f"added={added[:5]!r}, removed={removed[:5]!r}, changed={changed[:5]!r}"
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
@coordinated_io("hash", error_type=SourceCaptureError)
|
|
892
|
+
def _build_source_tree_manifest_impl(
|
|
893
|
+
root: Path,
|
|
894
|
+
*,
|
|
895
|
+
policy: SourceInputPolicy = SourceInputPolicy(),
|
|
896
|
+
timeout_seconds: int = 1800,
|
|
897
|
+
progress: Optional[ProgressCallback] = None,
|
|
898
|
+
progress_label: str = "source manifest",
|
|
899
|
+
progress_interval_seconds: int = 15,
|
|
900
|
+
suppress_worker_observability: bool = False,
|
|
901
|
+
require_exclusive_links: bool = False,
|
|
902
|
+
exact_timeout: bool = False,
|
|
903
|
+
) -> SourceTreeManifest:
|
|
904
|
+
"""Build a deterministic manifest with bounded parallel file hashing.
|
|
905
|
+
|
|
906
|
+
Only a small multiple of worker futures may exist at once; million-file
|
|
907
|
+
repositories therefore do not allocate a future per file. Directory stamps
|
|
908
|
+
are rechecked after hashing so add/remove/rename races fail closed.
|
|
909
|
+
"""
|
|
910
|
+
root = root.resolve()
|
|
911
|
+
# Opt-in exact remaining budget; legacy integer/fraction/zero semantics
|
|
912
|
+
# remain unchanged unless the supervising owner explicitly selects it.
|
|
913
|
+
if exact_timeout and (type(timeout_seconds) not in (int,float) or not math.isfinite(timeout_seconds) or timeout_seconds <= 0):
|
|
914
|
+
raise SourceCaptureError("SOURCE_MATERIALIZATION_TIMEOUT_INVALID")
|
|
915
|
+
duration = timeout_seconds if exact_timeout else max(1, int(timeout_seconds))
|
|
916
|
+
deadline = float("inf") if timeout_seconds == 0 else time.monotonic() + duration
|
|
917
|
+
next_progress = time.monotonic() + max(1, int(progress_interval_seconds))
|
|
918
|
+
entries: list[dict[str, object]] = []
|
|
919
|
+
files = 0
|
|
920
|
+
directories = 0
|
|
921
|
+
byte_count = 0
|
|
922
|
+
workers = _source_hash_workers()
|
|
923
|
+
max_pending = max(workers, workers * 3)
|
|
924
|
+
directory_stamps: list[tuple[Path, Path, tuple[object, ...]]] = []
|
|
925
|
+
pending: dict[concurrent.futures.Future[tuple[str, os.stat_result]], tuple[Path, str]] = {}
|
|
926
|
+
|
|
927
|
+
def tick() -> None:
|
|
928
|
+
nonlocal next_progress
|
|
929
|
+
now = time.monotonic()
|
|
930
|
+
if now > deadline:
|
|
931
|
+
raise SourceCaptureError(
|
|
932
|
+
f"SOURCE_MATERIALIZATION_TIMEOUT: {progress_label} exceeded {timeout_seconds}s"
|
|
933
|
+
)
|
|
934
|
+
if progress is not None and now >= next_progress:
|
|
935
|
+
progress(
|
|
936
|
+
f"{progress_label}: files={files}, dirs={directories}, bytes={byte_count}, workers={workers}"
|
|
937
|
+
)
|
|
938
|
+
next_progress = now + max(1, int(progress_interval_seconds))
|
|
939
|
+
|
|
940
|
+
def accept_hash(
|
|
941
|
+
path: Path,
|
|
942
|
+
relative_text: str,
|
|
943
|
+
digest: str,
|
|
944
|
+
stable: os.stat_result,
|
|
945
|
+
) -> None:
|
|
946
|
+
nonlocal files, byte_count
|
|
947
|
+
if require_exclusive_links and int(getattr(stable, "st_nlink", 1) or 1) > 1:
|
|
948
|
+
# A sealed tree is a fresh private copy, so every file must have
|
|
949
|
+
# exactly one directory entry. A second link is an alias through
|
|
950
|
+
# which bytes can be rewritten WITHOUT any watcher notification
|
|
951
|
+
# inside the watched subtree.
|
|
952
|
+
raise SourceCaptureError(
|
|
953
|
+
"SOURCE_SNAPSHOT_LINK_TOPOLOGY_VIOLATION: "
|
|
954
|
+
f"{relative_text}: sealed file has {int(stable.st_nlink)} links; "
|
|
955
|
+
"an external alias can mutate sealed bytes unobserved"
|
|
956
|
+
)
|
|
957
|
+
files += 1
|
|
958
|
+
byte_count += int(stable.st_size)
|
|
959
|
+
entries.append({
|
|
960
|
+
"path": relative_text,
|
|
961
|
+
"kind": "file",
|
|
962
|
+
"size": int(stable.st_size),
|
|
963
|
+
"sha256": digest,
|
|
964
|
+
"executable": bool(stable.st_mode & 0o111),
|
|
965
|
+
})
|
|
966
|
+
tick()
|
|
967
|
+
|
|
968
|
+
def accept_future(future: concurrent.futures.Future[tuple[str, os.stat_result]]) -> None:
|
|
969
|
+
path, relative_text = pending.pop(future)
|
|
970
|
+
digest, stable = future.result()
|
|
971
|
+
accept_hash(path, relative_text, digest, stable)
|
|
972
|
+
|
|
973
|
+
def drain_one() -> None:
|
|
974
|
+
if not pending:
|
|
975
|
+
return
|
|
976
|
+
done, _ = concurrent.futures.wait(
|
|
977
|
+
tuple(pending), return_when=concurrent.futures.FIRST_COMPLETED
|
|
978
|
+
)
|
|
979
|
+
for future in done:
|
|
980
|
+
accept_future(future)
|
|
981
|
+
|
|
982
|
+
file_work: list[tuple[Path, str]] = []
|
|
983
|
+
executor: Optional[concurrent.futures.ThreadPoolExecutor] = None
|
|
984
|
+
|
|
985
|
+
def submit(path: Path, relative_text: str) -> None:
|
|
986
|
+
nonlocal executor
|
|
987
|
+
if executor is None:
|
|
988
|
+
executor = concurrent.futures.ThreadPoolExecutor(
|
|
989
|
+
max_workers=workers,
|
|
990
|
+
thread_name_prefix="deploom-source-hash",
|
|
991
|
+
)
|
|
992
|
+
collected, file_work[:] = file_work[:], []
|
|
993
|
+
for pending_path, pending_rel in collected:
|
|
994
|
+
future = executor.submit(
|
|
995
|
+
_hash_regular_file,
|
|
996
|
+
pending_path,
|
|
997
|
+
suppress_worker_observability=suppress_worker_observability,
|
|
998
|
+
)
|
|
999
|
+
pending[future] = (pending_path, pending_rel)
|
|
1000
|
+
if len(pending) >= max_pending:
|
|
1001
|
+
drain_one()
|
|
1002
|
+
future = executor.submit(
|
|
1003
|
+
_hash_regular_file,
|
|
1004
|
+
path,
|
|
1005
|
+
suppress_worker_observability=suppress_worker_observability,
|
|
1006
|
+
)
|
|
1007
|
+
pending[future] = (path, relative_text)
|
|
1008
|
+
if len(pending) >= max_pending:
|
|
1009
|
+
drain_one()
|
|
1010
|
+
|
|
1011
|
+
def walk(directory: Path, relative_dir: Path) -> None:
|
|
1012
|
+
nonlocal directories
|
|
1013
|
+
tick()
|
|
1014
|
+
directory_stamps.append((directory, relative_dir, _directory_stability_stamp(directory, relative=relative_dir, policy=policy)))
|
|
1015
|
+
try:
|
|
1016
|
+
with os.scandir(directory) as iterator:
|
|
1017
|
+
scanned = sorted(iterator, key=lambda entry: entry.name)
|
|
1018
|
+
except OSError as exc:
|
|
1019
|
+
raise SourceCaptureError(f"SOURCE_DIRECTORY_UNREADABLE: {directory}: {exc}") from exc
|
|
1020
|
+
for item in scanned:
|
|
1021
|
+
relative = relative_dir / item.name
|
|
1022
|
+
if _excluded(relative, policy):
|
|
1023
|
+
continue
|
|
1024
|
+
path = Path(item.path)
|
|
1025
|
+
tick()
|
|
1026
|
+
try:
|
|
1027
|
+
st = item.stat(follow_symlinks=False)
|
|
1028
|
+
except OSError as exc:
|
|
1029
|
+
raise SourceCaptureError(f"SOURCE_ENTRY_UNREADABLE: {path}: {exc}") from exc
|
|
1030
|
+
|
|
1031
|
+
is_junction = getattr(path, "is_junction", None)
|
|
1032
|
+
if callable(is_junction):
|
|
1033
|
+
try:
|
|
1034
|
+
if is_junction():
|
|
1035
|
+
raise SourceCaptureError(
|
|
1036
|
+
f"SOURCE_UNSUPPORTED_REPARSE_POINT: junction: {path}"
|
|
1037
|
+
)
|
|
1038
|
+
except OSError as exc:
|
|
1039
|
+
raise SourceCaptureError(
|
|
1040
|
+
f"SOURCE_ENTRY_UNREADABLE: junction probe {path}: {exc}"
|
|
1041
|
+
) from exc
|
|
1042
|
+
|
|
1043
|
+
if stat.S_ISLNK(st.st_mode):
|
|
1044
|
+
try:
|
|
1045
|
+
target_text = os.readlink(path)
|
|
1046
|
+
except OSError as exc:
|
|
1047
|
+
raise SourceCaptureError(f"SOURCE_SYMLINK_UNREADABLE: {path}: {exc}") from exc
|
|
1048
|
+
target = Path(target_text)
|
|
1049
|
+
if not target.is_absolute():
|
|
1050
|
+
target = path.parent / target
|
|
1051
|
+
if not _within(target, root):
|
|
1052
|
+
raise SourceCaptureError(
|
|
1053
|
+
f"SOURCE_SYMLINK_ESCAPE: {relative.as_posix()} -> {target_text}"
|
|
1054
|
+
)
|
|
1055
|
+
try:
|
|
1056
|
+
target_relative = target.resolve(strict=False).relative_to(root)
|
|
1057
|
+
except ValueError:
|
|
1058
|
+
target_relative = Path(".")
|
|
1059
|
+
if _excluded(target_relative, policy):
|
|
1060
|
+
raise SourceCaptureError(
|
|
1061
|
+
f"SOURCE_SYMLINK_TARGET_EXCLUDED: {relative.as_posix()} -> {target_text}"
|
|
1062
|
+
)
|
|
1063
|
+
entries.append({
|
|
1064
|
+
"path": relative.as_posix(),
|
|
1065
|
+
"kind": "symlink",
|
|
1066
|
+
"target": target_text.replace("\\", "/"),
|
|
1067
|
+
})
|
|
1068
|
+
continue
|
|
1069
|
+
|
|
1070
|
+
if stat.S_ISDIR(st.st_mode):
|
|
1071
|
+
directories += 1
|
|
1072
|
+
entries.append({"path": relative.as_posix(), "kind": "directory"})
|
|
1073
|
+
walk(path, relative)
|
|
1074
|
+
continue
|
|
1075
|
+
|
|
1076
|
+
if stat.S_ISREG(st.st_mode):
|
|
1077
|
+
if int(getattr(st, "st_nlink", 1) or 1) > 1 and not (
|
|
1078
|
+
relative.parts and relative.parts[0] == ".git"
|
|
1079
|
+
):
|
|
1080
|
+
raise SourceCaptureError(
|
|
1081
|
+
f"SOURCE_HARDLINK_UNSUPPORTED: {relative.as_posix()} nlink={st.st_nlink}"
|
|
1082
|
+
)
|
|
1083
|
+
if executor is None and len(file_work) < _SYNC_HASH_THRESHOLD:
|
|
1084
|
+
file_work.append((path, relative.as_posix()))
|
|
1085
|
+
else:
|
|
1086
|
+
submit(path, relative.as_posix())
|
|
1087
|
+
continue
|
|
1088
|
+
|
|
1089
|
+
raise SourceCaptureError(
|
|
1090
|
+
f"SOURCE_SPECIAL_FILE_UNSUPPORTED: {relative.as_posix()} mode={oct(st.st_mode)}"
|
|
1091
|
+
)
|
|
1092
|
+
|
|
1093
|
+
try:
|
|
1094
|
+
walk(root, Path("."))
|
|
1095
|
+
if executor is None:
|
|
1096
|
+
for path, relative_text in sorted(file_work, key=lambda item: item[1]):
|
|
1097
|
+
digest, stable = _hash_regular_file(
|
|
1098
|
+
path,
|
|
1099
|
+
suppress_worker_observability=suppress_worker_observability,
|
|
1100
|
+
)
|
|
1101
|
+
accept_hash(path, relative_text, digest, stable)
|
|
1102
|
+
else:
|
|
1103
|
+
while pending:
|
|
1104
|
+
drain_one()
|
|
1105
|
+
finally:
|
|
1106
|
+
if executor is not None:
|
|
1107
|
+
executor.shutdown(wait=True)
|
|
1108
|
+
|
|
1109
|
+
for directory, relative_dir, stamp in directory_stamps:
|
|
1110
|
+
observed_stamp = _directory_stability_stamp(directory, relative=relative_dir, policy=policy)
|
|
1111
|
+
if observed_stamp != stamp:
|
|
1112
|
+
raise SourceCaptureError(
|
|
1113
|
+
f"SOURCE_CAPTURE_UNSTABLE: directory changed while hashing: {directory}; "
|
|
1114
|
+
f"{_directory_stamp_change(stamp, observed_stamp)}"
|
|
1115
|
+
)
|
|
1116
|
+
|
|
1117
|
+
entries.sort(key=lambda entry: str(entry["path"]))
|
|
1118
|
+
key = _canonical_hash({
|
|
1119
|
+
"schema": SOURCE_SNAPSHOT_SCHEMA,
|
|
1120
|
+
"toolBuildId": tool_build_id(),
|
|
1121
|
+
"policyKey": policy.key,
|
|
1122
|
+
"entries": entries,
|
|
1123
|
+
}, length=64)
|
|
1124
|
+
if progress is not None:
|
|
1125
|
+
progress(
|
|
1126
|
+
f"{progress_label}: ready; files={files}, dirs={directories}, bytes={byte_count}, workers={workers}"
|
|
1127
|
+
)
|
|
1128
|
+
return SourceTreeManifest(
|
|
1129
|
+
key=key,
|
|
1130
|
+
entries=tuple(entries),
|
|
1131
|
+
file_count=files,
|
|
1132
|
+
directory_count=directories,
|
|
1133
|
+
byte_count=byte_count,
|
|
1134
|
+
)
|
|
1135
|
+
|
|
1136
|
+
|
|
1137
|
+
def _remaining(deadline: float) -> int:
|
|
1138
|
+
if deadline == float("inf"):
|
|
1139
|
+
return 0 # Explicit unbounded preparation, propagated to copy/hash.
|
|
1140
|
+
value = int(deadline - time.monotonic())
|
|
1141
|
+
if value <= 0:
|
|
1142
|
+
raise SourceCaptureError("SOURCE_MATERIALIZATION_TIMEOUT: source capture deadline exhausted")
|
|
1143
|
+
return max(1, value)
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
def source_copy_budget():
|
|
1147
|
+
"""Bound unexpected conservative copies before any file data is copied."""
|
|
1148
|
+
raw = os.environ.get("DEPLOOM_SOURCE_COPY_MAX_BYTES", str(8 * 1024**3))
|
|
1149
|
+
try:
|
|
1150
|
+
value = int(raw)
|
|
1151
|
+
if value < 0:
|
|
1152
|
+
raise ValueError()
|
|
1153
|
+
except ValueError as exc:
|
|
1154
|
+
raise SourceCaptureError("SOURCE_MATERIALIZATION_BUDGET_INVALID: expected nonnegative bytes") from exc
|
|
1155
|
+
return value or None
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
def _capture_once(
|
|
1159
|
+
project_dir: Path,
|
|
1160
|
+
*,
|
|
1161
|
+
policy: Optional[SourceInputPolicy],
|
|
1162
|
+
timeout_seconds: int,
|
|
1163
|
+
progress: Optional[ProgressCallback],
|
|
1164
|
+
progress_interval_seconds: int,
|
|
1165
|
+
retain_live_watcher: bool,
|
|
1166
|
+
) -> SourceSnapshot:
|
|
1167
|
+
started = time.monotonic()
|
|
1168
|
+
deadline = (float("inf") if timeout_seconds == 0
|
|
1169
|
+
else started + max(1, int(timeout_seconds)))
|
|
1170
|
+
capture_root, project_relative, git_head = _subject_layout(project_dir)
|
|
1171
|
+
if policy is None:
|
|
1172
|
+
from scoped_source_policy import policy_for_project
|
|
1173
|
+
policy = policy_for_project(project_dir, capture_root)
|
|
1174
|
+
if _excluded(project_relative / "package.json", policy):
|
|
1175
|
+
raise SourceCaptureError("SOURCE_SELECTED_PROJECT_EXCLUDED: selected package is outside the source input policy; select an authoritative source root containing it")
|
|
1176
|
+
project_path = (capture_root / project_relative).resolve()
|
|
1177
|
+
_validate_git_layout(capture_root, policy=policy)
|
|
1178
|
+
_submodule_preflight(project_path)
|
|
1179
|
+
try:
|
|
1180
|
+
topology_manifests = semantic_manifest_paths(project_path)
|
|
1181
|
+
except ProjectTopologyError:
|
|
1182
|
+
# Topology authority will reject unsupported/malformed layouts before
|
|
1183
|
+
# verification. Source capture still checks the selected manifest here
|
|
1184
|
+
# rather than weakening the existing standalone SourceSnapshot API.
|
|
1185
|
+
topology_manifests = ((project_path / "package.json").resolve(),)
|
|
1186
|
+
for manifest_path in topology_manifests:
|
|
1187
|
+
if manifest_path.is_file():
|
|
1188
|
+
_local_dependency_preflight(manifest_path.parent, capture_root, policy)
|
|
1189
|
+
|
|
1190
|
+
_reap_once()
|
|
1191
|
+
from source_snapshot_storage import new_snapshot_container
|
|
1192
|
+
container = new_snapshot_container(capture_root, prefix=SOURCE_SNAPSHOT_CONTAINER_PREFIX)
|
|
1193
|
+
if _within(container, capture_root):
|
|
1194
|
+
_force_rmtree(container)
|
|
1195
|
+
raise SourceCaptureError(
|
|
1196
|
+
"SOURCE_SNAPSHOT_TEMP_INSIDE_SUBJECT: "
|
|
1197
|
+
f"container={container}; captureRoot={capture_root}"
|
|
1198
|
+
)
|
|
1199
|
+
_ALL_CONTAINERS.add(container)
|
|
1200
|
+
from verification_storage_maintenance import register_trial_owner
|
|
1201
|
+
register_trial_owner(container)
|
|
1202
|
+
snapshot_root = container / "tree"
|
|
1203
|
+
live_watcher = None
|
|
1204
|
+
try:
|
|
1205
|
+
try:
|
|
1206
|
+
method = materialize_private_tree(
|
|
1207
|
+
capture_root,
|
|
1208
|
+
snapshot_root,
|
|
1209
|
+
timeout_seconds=_remaining(deadline),
|
|
1210
|
+
progress=progress,
|
|
1211
|
+
progress_label="source capture materialization",
|
|
1212
|
+
maximum_copy_bytes=source_copy_budget(),
|
|
1213
|
+
progress_interval_seconds=progress_interval_seconds,
|
|
1214
|
+
exclude_dir_names=policy.excluded_dir_names,
|
|
1215
|
+
exclude_file_names=policy.excluded_file_names,
|
|
1216
|
+
exclude_relative_paths=tuple(sorted(policy.excluded_path_set)),
|
|
1217
|
+
)
|
|
1218
|
+
except StorageCapacityError as exc:
|
|
1219
|
+
raise SourceCaptureError(str(exc)) from exc
|
|
1220
|
+
except ReparseMaterializationError as exc:
|
|
1221
|
+
detail = str(exc)
|
|
1222
|
+
if "SOURCE_MATERIALIZATION_BUDGET_EXCEEDED" in detail:
|
|
1223
|
+
raise SourceCaptureError(detail) from exc
|
|
1224
|
+
if os.name != "nt" and "REPARSE_EXTERNAL_TARGET_UNSUPPORTED" in detail:
|
|
1225
|
+
raise SourceCaptureError(f"SOURCE_SYMLINK_ESCAPE: {detail}") from exc
|
|
1226
|
+
raise SourceCaptureError(f"SOURCE_REPARSE_LAYOUT_UNSUPPORTED: {detail}") from exc
|
|
1227
|
+
# Never carry a live Git writer's synchronization lock into the sealed repository.
|
|
1228
|
+
removed_git_locks = _remove_ephemeral_git_admin_files(snapshot_root)
|
|
1229
|
+
if removed_git_locks and progress is not None:
|
|
1230
|
+
progress(f"source capture: removed {removed_git_locks} transient Git lock file(s) from private copy")
|
|
1231
|
+
# Seal BEFORE hashing so the sealed manifest measures bytes that are
|
|
1232
|
+
# already write-protected against every alias to the same file object.
|
|
1233
|
+
_apply_tree_write_protection(snapshot_root, readonly=True)
|
|
1234
|
+
captured = build_source_tree_manifest(
|
|
1235
|
+
snapshot_root,
|
|
1236
|
+
policy=policy,
|
|
1237
|
+
timeout_seconds=_remaining(deadline),
|
|
1238
|
+
progress=progress,
|
|
1239
|
+
progress_label="source capture sealed-manifest",
|
|
1240
|
+
progress_interval_seconds=progress_interval_seconds,
|
|
1241
|
+
pass_role="sealed-snapshot",
|
|
1242
|
+
)
|
|
1243
|
+
if retain_live_watcher:
|
|
1244
|
+
live_watcher = _arm_live_source_watcher(capture_root, project_path)
|
|
1245
|
+
post = build_source_tree_manifest(
|
|
1246
|
+
capture_root,
|
|
1247
|
+
policy=policy,
|
|
1248
|
+
timeout_seconds=_remaining(deadline),
|
|
1249
|
+
progress=progress,
|
|
1250
|
+
progress_label="source capture live-final-manifest",
|
|
1251
|
+
progress_interval_seconds=progress_interval_seconds,
|
|
1252
|
+
pass_role="live-final",
|
|
1253
|
+
)
|
|
1254
|
+
if captured.key != post.key:
|
|
1255
|
+
from verification_identity_diagnostics import manifest_entry_change_summary
|
|
1256
|
+
changes = manifest_entry_change_summary(captured.entries, post.entries)
|
|
1257
|
+
raise SourceCaptureError(
|
|
1258
|
+
"SOURCE_CAPTURE_UNSTABLE: sealed/live-final content manifests differ; changedInputs="
|
|
1259
|
+
+ json.dumps(changes, sort_keys=True)
|
|
1260
|
+
)
|
|
1261
|
+
|
|
1262
|
+
key = _canonical_hash({
|
|
1263
|
+
"schema": SOURCE_SNAPSHOT_SCHEMA,
|
|
1264
|
+
"toolBuildId": tool_build_id(),
|
|
1265
|
+
"policyKey": policy.key,
|
|
1266
|
+
"manifestKey": captured.key,
|
|
1267
|
+
"projectRelative": project_relative.as_posix() or ".",
|
|
1268
|
+
}, length=32)
|
|
1269
|
+
manifest_path = container / "manifest.json"
|
|
1270
|
+
manifest_path.write_text(
|
|
1271
|
+
json.dumps({
|
|
1272
|
+
"schemaVersion": 1,
|
|
1273
|
+
"type": "deploom-source-snapshot",
|
|
1274
|
+
"sourceSnapshotKey": key,
|
|
1275
|
+
"toolBuildId": tool_build_id(),
|
|
1276
|
+
"manifestKey": captured.key,
|
|
1277
|
+
"policyKey": policy.key,
|
|
1278
|
+
"inputPolicy": __import__("scoped_source_policy").policy_payload(policy),
|
|
1279
|
+
"projectRelative": project_relative.as_posix() or ".",
|
|
1280
|
+
"gitHead": git_head,
|
|
1281
|
+
"fileCount": captured.file_count,
|
|
1282
|
+
"directoryCount": captured.directory_count,
|
|
1283
|
+
"byteCount": captured.byte_count,
|
|
1284
|
+
"materializationMethod": method,
|
|
1285
|
+
# Hashes + paths only. Never persist source contents here.
|
|
1286
|
+
"entries": list(captured.entries),
|
|
1287
|
+
}, ensure_ascii=False, sort_keys=True, indent=2) + "\n",
|
|
1288
|
+
encoding="utf-8",
|
|
1289
|
+
)
|
|
1290
|
+
snapshot = SourceSnapshot(
|
|
1291
|
+
original_project_path=project_dir.resolve(),
|
|
1292
|
+
capture_root=capture_root,
|
|
1293
|
+
project_relative=project_relative,
|
|
1294
|
+
container=container,
|
|
1295
|
+
root=snapshot_root,
|
|
1296
|
+
project_path=(snapshot_root / project_relative).resolve(),
|
|
1297
|
+
key=key,
|
|
1298
|
+
manifest_key=captured.key,
|
|
1299
|
+
policy_key=policy.key,
|
|
1300
|
+
file_count=captured.file_count,
|
|
1301
|
+
directory_count=captured.directory_count,
|
|
1302
|
+
byte_count=captured.byte_count,
|
|
1303
|
+
materialization_method=method,
|
|
1304
|
+
git_head=git_head,
|
|
1305
|
+
git_root=str(capture_root) if git_head else "",
|
|
1306
|
+
created_at=time.time(),
|
|
1307
|
+
input_policy=policy,
|
|
1308
|
+
)
|
|
1309
|
+
if live_watcher is not None and _retain_live_source_watcher(
|
|
1310
|
+
snapshot, live_watcher, capture_root, project_path
|
|
1311
|
+
):
|
|
1312
|
+
live_watcher = None
|
|
1313
|
+
return snapshot
|
|
1314
|
+
except Exception:
|
|
1315
|
+
_force_rmtree(container)
|
|
1316
|
+
_ALL_CONTAINERS.discard(container)
|
|
1317
|
+
raise
|
|
1318
|
+
finally:
|
|
1319
|
+
if live_watcher is not None:
|
|
1320
|
+
live_watcher[0].stop()
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
def _capture_source_snapshot_impl(
|
|
1324
|
+
project_dir: Path,
|
|
1325
|
+
*,
|
|
1326
|
+
policy: Optional[SourceInputPolicy] = None,
|
|
1327
|
+
timeout_seconds: int = 1800,
|
|
1328
|
+
progress: Optional[ProgressCallback] = None,
|
|
1329
|
+
progress_interval_seconds: int = 15,
|
|
1330
|
+
retain_live_watcher: bool = False,
|
|
1331
|
+
) -> SourceSnapshot:
|
|
1332
|
+
deadline = float("inf") if timeout_seconds == 0 else time.monotonic() + max(1, timeout_seconds)
|
|
1333
|
+
last: Optional[BaseException] = None
|
|
1334
|
+
for attempt in range(1, SOURCE_CAPTURE_RETRIES + 1):
|
|
1335
|
+
try:
|
|
1336
|
+
if progress is not None:
|
|
1337
|
+
progress(f"SourceSnapshot capture attempt {attempt}/{SOURCE_CAPTURE_RETRIES}")
|
|
1338
|
+
return _capture_once(
|
|
1339
|
+
project_dir,
|
|
1340
|
+
policy=policy,
|
|
1341
|
+
timeout_seconds=_remaining(deadline),
|
|
1342
|
+
progress=progress,
|
|
1343
|
+
progress_interval_seconds=progress_interval_seconds,
|
|
1344
|
+
retain_live_watcher=retain_live_watcher,
|
|
1345
|
+
)
|
|
1346
|
+
except SourceCaptureError as exc:
|
|
1347
|
+
last = exc
|
|
1348
|
+
if "SOURCE_CAPTURE_UNSTABLE" not in str(exc) or attempt >= SOURCE_CAPTURE_RETRIES:
|
|
1349
|
+
raise
|
|
1350
|
+
if progress is not None:
|
|
1351
|
+
progress(f"SourceSnapshot capture unstable; retrying: {exc}")
|
|
1352
|
+
raise SourceCaptureError(f"SOURCE_CAPTURE_UNSTABLE: {last}")
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
def activate_source_snapshot_epoch(
|
|
1356
|
+
project_dir: Path,
|
|
1357
|
+
*,
|
|
1358
|
+
timeout_seconds: int = 1800,
|
|
1359
|
+
progress: Optional[ProgressCallback] = None,
|
|
1360
|
+
progress_interval_seconds: int = 15,
|
|
1361
|
+
replace: bool = False,
|
|
1362
|
+
) -> SourceSnapshot:
|
|
1363
|
+
key = _active_key(project_dir)
|
|
1364
|
+
with _LOCK:
|
|
1365
|
+
existing = _ACTIVE.get(key)
|
|
1366
|
+
if existing is not None and not replace:
|
|
1367
|
+
return existing
|
|
1368
|
+
if existing is not None:
|
|
1369
|
+
_ACTIVE.pop(key, None)
|
|
1370
|
+
watcher_entry = _ACTIVE_WATCHERS.pop(key, None)
|
|
1371
|
+
live_watcher_entry = _LIVE_SOURCE_WATCHERS.pop(key, None)
|
|
1372
|
+
if watcher_entry is not None:
|
|
1373
|
+
watcher_entry[1].stop()
|
|
1374
|
+
if live_watcher_entry is not None:
|
|
1375
|
+
live_watcher_entry[1].stop()
|
|
1376
|
+
_force_rmtree(existing.container)
|
|
1377
|
+
_ALL_CONTAINERS.discard(existing.container)
|
|
1378
|
+
snapshot = capture_source_snapshot(
|
|
1379
|
+
project_dir,
|
|
1380
|
+
timeout_seconds=timeout_seconds,
|
|
1381
|
+
progress=progress,
|
|
1382
|
+
progress_interval_seconds=progress_interval_seconds,
|
|
1383
|
+
)
|
|
1384
|
+
_ACTIVE[key] = snapshot
|
|
1385
|
+
return snapshot
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
def active_source_snapshot(project_dir: Path) -> Optional[SourceSnapshot]:
|
|
1389
|
+
key = _active_key(project_dir)
|
|
1390
|
+
scoped = _REQUEST_SNAPSHOTS.get().get(key)
|
|
1391
|
+
if scoped is not None:
|
|
1392
|
+
return scoped
|
|
1393
|
+
with _LOCK:
|
|
1394
|
+
direct = _ACTIVE.get(key)
|
|
1395
|
+
if direct is not None:
|
|
1396
|
+
return direct
|
|
1397
|
+
# Resolver context builders rebind the logical path to this sealed
|
|
1398
|
+
# project path. It is the SAME selected subject, with the SAME frozen
|
|
1399
|
+
# policy, not a fresh filesystem tree to inventory again.
|
|
1400
|
+
return next((snapshot for snapshot in _ACTIVE.values()
|
|
1401
|
+
if _active_key(snapshot.project_path) == key), None)
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
@contextlib.contextmanager
|
|
1405
|
+
def bind_source_snapshot(snapshot: SourceSnapshot, *, retain_watchers: bool = False):
|
|
1406
|
+
"""Bind logical and sealed paths for one consumer without owning its tree."""
|
|
1407
|
+
existing = active_source_snapshot(snapshot.original_project_path)
|
|
1408
|
+
token = _REQUEST_SNAPSHOTS.set({
|
|
1409
|
+
**_REQUEST_SNAPSHOTS.get(),
|
|
1410
|
+
_active_key(snapshot.original_project_path): snapshot,
|
|
1411
|
+
_active_key(snapshot.project_path): snapshot,
|
|
1412
|
+
})
|
|
1413
|
+
try:
|
|
1414
|
+
yield snapshot
|
|
1415
|
+
finally:
|
|
1416
|
+
# A standalone uncached consumer owns the validation memo it armed;
|
|
1417
|
+
# caller-owned epochs and outer request scopes retain their watcher.
|
|
1418
|
+
if existing is not snapshot and not retain_watchers:
|
|
1419
|
+
_retire_snapshot_watcher(snapshot)
|
|
1420
|
+
_REQUEST_SNAPSHOTS.reset(token)
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
@contextlib.contextmanager
|
|
1424
|
+
def verification_source_snapshot_scope(
|
|
1425
|
+
project_dir: Path,
|
|
1426
|
+
*,
|
|
1427
|
+
timeout_seconds: int = 1800,
|
|
1428
|
+
progress: Optional[ProgressCallback] = None,
|
|
1429
|
+
progress_interval_seconds: int = 15,
|
|
1430
|
+
reuse_completed: bool = False,
|
|
1431
|
+
recovery_directory: Optional[Path] = None,
|
|
1432
|
+
strict_cleanup: bool = False,
|
|
1433
|
+
observe_live_source: bool = False,
|
|
1434
|
+
):
|
|
1435
|
+
"""Pin one source subject for identity, cache lookup and all attempt retries.
|
|
1436
|
+
|
|
1437
|
+
Reuse caller-owned epochs. Optional completed-request reuse is authorized
|
|
1438
|
+
by existing sealed and live-source continuity guards, never the cache key.
|
|
1439
|
+
Context-local registration prevents concurrent requests or later cohorts
|
|
1440
|
+
from consuming a stale epoch belonging to another verification.
|
|
1441
|
+
strict_cleanup requires an owned non-reused scope and confirms physical
|
|
1442
|
+
container retirement; legacy scopes retain their best-effort cleanup.
|
|
1443
|
+
observe_live_source retains the initial live comparison for later
|
|
1444
|
+
boundaries in this owned invocation, with ordinary watcher fallback.
|
|
1445
|
+
"""
|
|
1446
|
+
existing = active_source_snapshot(project_dir)
|
|
1447
|
+
if strict_cleanup and (existing is not None or reuse_completed):
|
|
1448
|
+
raise SourceCaptureError("SOURCE_SNAPSHOT_STRICT_SCOPE_OWNERSHIP_REQUIRED")
|
|
1449
|
+
if existing is not None:
|
|
1450
|
+
yield existing
|
|
1451
|
+
return
|
|
1452
|
+
source_mode = "frontend" if os.environ.get("DEPLOOM_SOURCE_SCOPE_MODE") == "frontend" else "repository"
|
|
1453
|
+
cache_key = _active_key(project_dir) + ":" + tool_build_id() + ":" + source_mode
|
|
1454
|
+
snapshot = None
|
|
1455
|
+
if reuse_completed:
|
|
1456
|
+
with _LOCK:
|
|
1457
|
+
candidate = _COMPLETED_REQUEST_SNAPSHOTS.pop(cache_key, None)
|
|
1458
|
+
if candidate is not None:
|
|
1459
|
+
try:
|
|
1460
|
+
with bind_source_snapshot(candidate, retain_watchers=True):
|
|
1461
|
+
validate_source_snapshot(candidate, timeout_seconds=timeout_seconds, progress=progress)
|
|
1462
|
+
if source_snapshot_live_source_continuity(candidate, timeout_seconds=timeout_seconds, progress=progress):
|
|
1463
|
+
snapshot = candidate
|
|
1464
|
+
except (SourceCaptureError, OSError):
|
|
1465
|
+
pass
|
|
1466
|
+
if snapshot is None:
|
|
1467
|
+
_retire_completed_request(candidate)
|
|
1468
|
+
if snapshot is None:
|
|
1469
|
+
if recovery_directory is not None:
|
|
1470
|
+
from verification_stage_checkpoint import capture_recovery_source
|
|
1471
|
+
snapshot, reused = capture_recovery_source(
|
|
1472
|
+
project_dir, recovery_directory, timeout_seconds=timeout_seconds, progress=progress)
|
|
1473
|
+
else:
|
|
1474
|
+
snapshot = capture_source_snapshot(
|
|
1475
|
+
project_dir, timeout_seconds=timeout_seconds, progress=progress,
|
|
1476
|
+
progress_interval_seconds=progress_interval_seconds,
|
|
1477
|
+
_retain_live_watcher=reuse_completed or observe_live_source,
|
|
1478
|
+
)
|
|
1479
|
+
reused = False
|
|
1480
|
+
else:
|
|
1481
|
+
reused = True
|
|
1482
|
+
emit_observability_event("source.request.reuse", reused=reused,
|
|
1483
|
+
snapshotKey=snapshot.key, authority="SOURCE_TRUTH_GUARD")
|
|
1484
|
+
completed = False
|
|
1485
|
+
strict_owned_watchers = ()
|
|
1486
|
+
try:
|
|
1487
|
+
with bind_source_snapshot(snapshot, retain_watchers=reuse_completed):
|
|
1488
|
+
try:
|
|
1489
|
+
yield snapshot
|
|
1490
|
+
finally:
|
|
1491
|
+
# bind_source_snapshot retires sealed watchers on exit. Keep
|
|
1492
|
+
# their owned references before it removes the registry entries.
|
|
1493
|
+
if strict_cleanup:
|
|
1494
|
+
strict_owned_watchers = _owned_source_snapshot_watchers(snapshot)
|
|
1495
|
+
completed = True
|
|
1496
|
+
finally:
|
|
1497
|
+
# This cache contains candidates, not verification authority. The next
|
|
1498
|
+
# consumer always validates BOTH sealed bytes and live continuity above.
|
|
1499
|
+
# Do not hash the original tree merely to decide whether to keep a
|
|
1500
|
+
# candidate that may never be consumed again.
|
|
1501
|
+
retained = completed and reuse_completed
|
|
1502
|
+
if retained:
|
|
1503
|
+
retired = []
|
|
1504
|
+
with _LOCK:
|
|
1505
|
+
previous = _COMPLETED_REQUEST_SNAPSHOTS.pop(cache_key, None)
|
|
1506
|
+
if previous is not None:
|
|
1507
|
+
retired.append(previous)
|
|
1508
|
+
_COMPLETED_REQUEST_SNAPSHOTS[cache_key] = snapshot
|
|
1509
|
+
while len(_COMPLETED_REQUEST_SNAPSHOTS) > _COMPLETED_REQUEST_LIMIT:
|
|
1510
|
+
retired.append(_COMPLETED_REQUEST_SNAPSHOTS.pop(next(iter(_COMPLETED_REQUEST_SNAPSHOTS))))
|
|
1511
|
+
for candidate in retired:
|
|
1512
|
+
_retire_completed_request(candidate)
|
|
1513
|
+
else:
|
|
1514
|
+
owned_watchers = strict_owned_watchers + _owned_source_snapshot_watchers(snapshot) if strict_cleanup else ()
|
|
1515
|
+
retirement_primary = sys.exc_info()[1]
|
|
1516
|
+
try:
|
|
1517
|
+
_retire_completed_request(snapshot)
|
|
1518
|
+
except BaseException as retirement_error:
|
|
1519
|
+
if not strict_cleanup or retirement_primary is None:
|
|
1520
|
+
raise
|
|
1521
|
+
retirement_primary.add_note("SOURCE_SNAPSHOT_RETIREMENT_FAILED: " + type(retirement_error).__name__)
|
|
1522
|
+
retirement_failed = any(getattr(watcher, "errors", ()) or
|
|
1523
|
+
(getattr(watcher, "_thread", None) is not None and watcher._thread.is_alive())
|
|
1524
|
+
for watcher in owned_watchers)
|
|
1525
|
+
if strict_cleanup and (snapshot.container.exists() or retirement_failed):
|
|
1526
|
+
primary = sys.exc_info()[1]
|
|
1527
|
+
if primary is not None:
|
|
1528
|
+
primary.add_note("SOURCE_SNAPSHOT_CLEANUP_INCOMPLETE")
|
|
1529
|
+
else:
|
|
1530
|
+
raise SourceCaptureError("SOURCE_SNAPSHOT_CLEANUP_INCOMPLETE")
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
def _owned_source_snapshot_watchers(snapshot):
|
|
1534
|
+
with _LOCK:
|
|
1535
|
+
watchers = [entry[1] for entry in _ACTIVE_WATCHERS.values() if entry[0] is snapshot]
|
|
1536
|
+
live = _LIVE_SOURCE_WATCHERS.get(_active_key(snapshot.original_project_path))
|
|
1537
|
+
if live is not None and live[0] is snapshot:
|
|
1538
|
+
watchers.append(live[1])
|
|
1539
|
+
return tuple(watchers)
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
def _retire_completed_request(snapshot):
|
|
1543
|
+
_retire_snapshot_watcher(snapshot)
|
|
1544
|
+
_retire_live_source_watcher(snapshot)
|
|
1545
|
+
if not snapshot.durable_recovery:
|
|
1546
|
+
_force_rmtree(snapshot.container)
|
|
1547
|
+
_ALL_CONTAINERS.discard(snapshot.container)
|
|
1548
|
+
|
|
1549
|
+
|
|
1550
|
+
def _retire_live_source_watcher(snapshot: SourceSnapshot) -> None:
|
|
1551
|
+
key = _active_key(snapshot.original_project_path)
|
|
1552
|
+
with _LOCK:
|
|
1553
|
+
entry = _LIVE_SOURCE_WATCHERS.get(key)
|
|
1554
|
+
if entry is not None and entry[0] is snapshot:
|
|
1555
|
+
_LIVE_SOURCE_WATCHERS.pop(key, None)
|
|
1556
|
+
else:
|
|
1557
|
+
entry = None
|
|
1558
|
+
if entry is not None:
|
|
1559
|
+
entry[1].stop()
|
|
1560
|
+
|
|
1561
|
+
|
|
1562
|
+
def _arm_live_source_watcher(live_root: Path, live_project: Path):
|
|
1563
|
+
if os.name != "nt":
|
|
1564
|
+
return None
|
|
1565
|
+
root_identity = _tree_object_identity(live_root)
|
|
1566
|
+
project_identity = _tree_object_identity(live_project)
|
|
1567
|
+
if root_identity is None or project_identity is None:
|
|
1568
|
+
return None
|
|
1569
|
+
watcher = _DirectoryWatcher(live_root)
|
|
1570
|
+
if watcher.start():
|
|
1571
|
+
return watcher, root_identity, project_identity
|
|
1572
|
+
watcher.stop()
|
|
1573
|
+
return None
|
|
1574
|
+
|
|
1575
|
+
|
|
1576
|
+
def _retain_live_source_watcher(snapshot, candidate, live_root, live_project):
|
|
1577
|
+
# Only the complete manifest comparison can establish the first boundary.
|
|
1578
|
+
# Delivery and both identities must still match before publishing a watcher.
|
|
1579
|
+
watcher, root_identity, project_identity = candidate
|
|
1580
|
+
if watcher.errors or not _drain_watcher(watcher, live_root):
|
|
1581
|
+
return False
|
|
1582
|
+
if (
|
|
1583
|
+
not watcher._thread or not watcher._thread.is_alive()
|
|
1584
|
+
or watcher.errors or _content_relevant_events(list(watcher.events))
|
|
1585
|
+
or _tree_object_identity(live_root) != root_identity
|
|
1586
|
+
or _tree_object_identity(live_project) != project_identity
|
|
1587
|
+
):
|
|
1588
|
+
return False
|
|
1589
|
+
key = _active_key(snapshot.original_project_path)
|
|
1590
|
+
with _LOCK:
|
|
1591
|
+
if key in _LIVE_SOURCE_WATCHERS:
|
|
1592
|
+
return False
|
|
1593
|
+
_LIVE_SOURCE_WATCHERS[key] = snapshot, watcher, root_identity, project_identity
|
|
1594
|
+
return True
|
|
1595
|
+
|
|
1596
|
+
|
|
1597
|
+
def source_snapshot_live_source_continuity(
|
|
1598
|
+
snapshot: SourceSnapshot,
|
|
1599
|
+
*,
|
|
1600
|
+
timeout_seconds: int = 1800,
|
|
1601
|
+
progress: Optional[ProgressCallback] = None,
|
|
1602
|
+
) -> bool:
|
|
1603
|
+
# Git HEAD is provenance only. Ignored/generated files are SourceSnapshot
|
|
1604
|
+
# inputs too, so hot reuse requires continuity of all covered live bytes.
|
|
1605
|
+
policy = snapshot.input_policy or SourceInputPolicy()
|
|
1606
|
+
if snapshot.policy_key != policy.key:
|
|
1607
|
+
return False
|
|
1608
|
+
|
|
1609
|
+
live_root = (
|
|
1610
|
+
Path(snapshot.git_root).expanduser().resolve()
|
|
1611
|
+
if snapshot.git_root
|
|
1612
|
+
else snapshot.original_project_path.expanduser().resolve()
|
|
1613
|
+
)
|
|
1614
|
+
live_project = snapshot.original_project_path.expanduser().resolve()
|
|
1615
|
+
if not live_root.is_dir() or not live_project.is_dir():
|
|
1616
|
+
_retire_live_source_watcher(snapshot)
|
|
1617
|
+
return False
|
|
1618
|
+
|
|
1619
|
+
key = _active_key(snapshot.original_project_path)
|
|
1620
|
+
with _LOCK:
|
|
1621
|
+
entry = _LIVE_SOURCE_WATCHERS.get(key)
|
|
1622
|
+
|
|
1623
|
+
if entry is not None and entry[0] is snapshot:
|
|
1624
|
+
_snap, watcher, sealed_root_identity, sealed_project_identity = entry
|
|
1625
|
+
thread = watcher._thread
|
|
1626
|
+
delivery_and_identity_ok = bool(
|
|
1627
|
+
sealed_root_identity is not None
|
|
1628
|
+
and sealed_project_identity is not None
|
|
1629
|
+
and _tree_object_identity(live_root) == sealed_root_identity
|
|
1630
|
+
and _tree_object_identity(live_project) == sealed_project_identity
|
|
1631
|
+
and thread is not None
|
|
1632
|
+
and thread.is_alive()
|
|
1633
|
+
and not watcher.errors
|
|
1634
|
+
and _drain_watcher(watcher, live_root)
|
|
1635
|
+
and not watcher.errors
|
|
1636
|
+
and _tree_object_identity(live_root) == sealed_root_identity
|
|
1637
|
+
and _tree_object_identity(live_project) == sealed_project_identity
|
|
1638
|
+
)
|
|
1639
|
+
if not delivery_and_identity_ok:
|
|
1640
|
+
# Diagnostic facts only: never rescan/re-arm to recover this lost
|
|
1641
|
+
# interval. Invalidation must keep the existing fail-closed verdict.
|
|
1642
|
+
error_kinds = sorted({
|
|
1643
|
+
"OVERFLOW" if "overflow" in error.lower()
|
|
1644
|
+
else "ARM" if "arm failed" in error.lower()
|
|
1645
|
+
else "DELIVERY" if "GetOverlappedResult" in error
|
|
1646
|
+
else "WATCHER_ERROR" for error in watcher.errors
|
|
1647
|
+
})
|
|
1648
|
+
root_matches = (sealed_root_identity is not None
|
|
1649
|
+
and _tree_object_identity(live_root) == sealed_root_identity)
|
|
1650
|
+
project_matches = (sealed_project_identity is not None
|
|
1651
|
+
and _tree_object_identity(live_project) == sealed_project_identity)
|
|
1652
|
+
thread_alive = bool(thread is not None and thread.is_alive())
|
|
1653
|
+
reason = ("OVERFLOW" if "OVERFLOW" in error_kinds
|
|
1654
|
+
else "IDENTITY" if not root_matches or not project_matches
|
|
1655
|
+
else "THREAD" if not thread_alive
|
|
1656
|
+
else "DELIVERY" if error_kinds else "DRAIN")
|
|
1657
|
+
delivered = list(watcher.events)
|
|
1658
|
+
emit_observability_event(
|
|
1659
|
+
"source.snapshot.live-continuity",
|
|
1660
|
+
snapshotKey=snapshot.key,
|
|
1661
|
+
outcome="watcher-invalidated",
|
|
1662
|
+
authority="SOURCE_TRUTH_GUARD",
|
|
1663
|
+
phase="LIVE_SOURCE_CONTINUITY_BOUNDARY",
|
|
1664
|
+
generation=str(snapshot.created_at),
|
|
1665
|
+
watchedRootsCount=1,
|
|
1666
|
+
deliveredEventCount=len(delivered),
|
|
1667
|
+
relevantEventCount=len(_content_relevant_events(delivered)),
|
|
1668
|
+
failureReason=reason,
|
|
1669
|
+
watcherErrorKinds=error_kinds,
|
|
1670
|
+
rootIdentityMatches=root_matches,
|
|
1671
|
+
projectIdentityMatches=project_matches,
|
|
1672
|
+
watcherThreadAlive=thread_alive,
|
|
1673
|
+
finalManifestComparison="NOT_RUN_INTERVAL_UNPROVEN",
|
|
1674
|
+
continuityRestored=False,
|
|
1675
|
+
)
|
|
1676
|
+
_retire_live_source_watcher(snapshot)
|
|
1677
|
+
return False
|
|
1678
|
+
|
|
1679
|
+
relevant_events = _content_relevant_events(list(watcher.events))
|
|
1680
|
+
if not relevant_events:
|
|
1681
|
+
emit_observability_event(
|
|
1682
|
+
"source.snapshot.live-continuity",
|
|
1683
|
+
snapshotKey=snapshot.key,
|
|
1684
|
+
outcome="watcher-hit",
|
|
1685
|
+
authority="SOURCE_TRUTH_GUARD",
|
|
1686
|
+
)
|
|
1687
|
+
return True
|
|
1688
|
+
|
|
1689
|
+
emit_observability_event(
|
|
1690
|
+
"source.snapshot.live-continuity",
|
|
1691
|
+
snapshotKey=snapshot.key,
|
|
1692
|
+
outcome="watcher-event-strong-revalidation",
|
|
1693
|
+
eventCount=len(relevant_events),
|
|
1694
|
+
authority="SOURCE_TRUTH_GUARD",
|
|
1695
|
+
)
|
|
1696
|
+
_retire_live_source_watcher(snapshot)
|
|
1697
|
+
entry = None
|
|
1698
|
+
|
|
1699
|
+
if entry is not None:
|
|
1700
|
+
with _LOCK:
|
|
1701
|
+
stale = _LIVE_SOURCE_WATCHERS.pop(key, None)
|
|
1702
|
+
if stale is not None:
|
|
1703
|
+
stale[1].stop()
|
|
1704
|
+
|
|
1705
|
+
candidate_watcher = _arm_live_source_watcher(live_root, live_project)
|
|
1706
|
+
|
|
1707
|
+
try:
|
|
1708
|
+
observed = build_source_tree_manifest(
|
|
1709
|
+
live_root,
|
|
1710
|
+
policy=policy,
|
|
1711
|
+
timeout_seconds=timeout_seconds,
|
|
1712
|
+
progress=progress,
|
|
1713
|
+
progress_label="hot SourceSnapshot live-source continuity",
|
|
1714
|
+
)
|
|
1715
|
+
except BaseException:
|
|
1716
|
+
if candidate_watcher is not None:
|
|
1717
|
+
candidate_watcher[0].stop()
|
|
1718
|
+
raise
|
|
1719
|
+
|
|
1720
|
+
if observed.key != snapshot.manifest_key:
|
|
1721
|
+
if candidate_watcher is not None:
|
|
1722
|
+
candidate_watcher[0].stop()
|
|
1723
|
+
emit_observability_event(
|
|
1724
|
+
"source.snapshot.live-continuity",
|
|
1725
|
+
snapshotKey=snapshot.key,
|
|
1726
|
+
outcome="manifest-mismatch",
|
|
1727
|
+
authority="SOURCE_TRUTH_GUARD",
|
|
1728
|
+
)
|
|
1729
|
+
return False
|
|
1730
|
+
|
|
1731
|
+
if candidate_watcher is not None:
|
|
1732
|
+
if not _retain_live_source_watcher(snapshot, candidate_watcher, live_root, live_project):
|
|
1733
|
+
candidate_watcher[0].stop()
|
|
1734
|
+
return False
|
|
1735
|
+
outcome = "manifest-match-watcher-armed"
|
|
1736
|
+
else:
|
|
1737
|
+
# No proven event stream => this one continuation is authorized only by
|
|
1738
|
+
# the full manifest comparison; the next continuation repeats it.
|
|
1739
|
+
outcome = "manifest-match"
|
|
1740
|
+
|
|
1741
|
+
emit_observability_event(
|
|
1742
|
+
"source.snapshot.live-continuity",
|
|
1743
|
+
snapshotKey=snapshot.key,
|
|
1744
|
+
outcome=outcome,
|
|
1745
|
+
authority="SOURCE_TRUTH_GUARD",
|
|
1746
|
+
)
|
|
1747
|
+
return True
|
|
1748
|
+
|
|
1749
|
+
|
|
1750
|
+
def validate_source_snapshot(
|
|
1751
|
+
snapshot: SourceSnapshot,
|
|
1752
|
+
*,
|
|
1753
|
+
timeout_seconds: int = 1800,
|
|
1754
|
+
progress: Optional[ProgressCallback] = None,
|
|
1755
|
+
progress_label: str = "active SourceSnapshot validation",
|
|
1756
|
+
) -> SourceSnapshot:
|
|
1757
|
+
"""Prove snapshot bytes once, then keep that proof live with a watcher."""
|
|
1758
|
+
started = time.monotonic()
|
|
1759
|
+
active_key = _snapshot_watcher_key(snapshot)
|
|
1760
|
+
with _LOCK:
|
|
1761
|
+
watcher_entry = _ACTIVE_WATCHERS.get(active_key)
|
|
1762
|
+
usable_entry = (
|
|
1763
|
+
watcher_entry is not None and watcher_entry[0] is snapshot
|
|
1764
|
+
)
|
|
1765
|
+
watcher = watcher_entry[1] if usable_entry else None
|
|
1766
|
+
sealed_identity = watcher_entry[2] if usable_entry else None
|
|
1767
|
+
is_active = active_source_snapshot(snapshot.original_project_path) is snapshot
|
|
1768
|
+
# Drain BEFORE reading events: a mutation that completed just before this
|
|
1769
|
+
# boundary may still be in flight, and silence would otherwise be misread
|
|
1770
|
+
# as proof of an unchanged tree.
|
|
1771
|
+
drain_confirmed = True
|
|
1772
|
+
if watcher is not None:
|
|
1773
|
+
drain_confirmed = _drain_watcher(watcher, snapshot.root)
|
|
1774
|
+
watcher_events = (
|
|
1775
|
+
_content_relevant_events(list(watcher.events)) if watcher is not None else []
|
|
1776
|
+
)
|
|
1777
|
+
watcher_errors = list(watcher.errors) if watcher is not None else []
|
|
1778
|
+
|
|
1779
|
+
fallback_reason = ""
|
|
1780
|
+
if watcher is not None:
|
|
1781
|
+
# A memo hit is only sound while the watched path still resolves to the
|
|
1782
|
+
# SAME directory object that was sealed. Path identity is not object
|
|
1783
|
+
# identity: a directory swap leaves `is_dir()` true and the watcher --
|
|
1784
|
+
# which holds a handle to the original object -- permanently silent.
|
|
1785
|
+
current_identity = _snapshot_object_identity(snapshot)
|
|
1786
|
+
identity_stable = (
|
|
1787
|
+
sealed_identity is not None
|
|
1788
|
+
and current_identity is not None
|
|
1789
|
+
and current_identity == sealed_identity
|
|
1790
|
+
)
|
|
1791
|
+
if not snapshot.root.is_dir() or not snapshot.project_path.is_dir():
|
|
1792
|
+
fallback_reason = "root-missing"
|
|
1793
|
+
elif not identity_stable:
|
|
1794
|
+
fallback_reason = "directory-identity-changed"
|
|
1795
|
+
elif watcher.errors:
|
|
1796
|
+
fallback_reason = "watcher-failure"
|
|
1797
|
+
elif not (watcher._thread is not None and watcher._thread.is_alive()):
|
|
1798
|
+
fallback_reason = "watcher-thread-dead"
|
|
1799
|
+
elif not drain_confirmed:
|
|
1800
|
+
# Delivery could not be proven, so watcher silence proves nothing.
|
|
1801
|
+
fallback_reason = "watcher-drain-unconfirmed"
|
|
1802
|
+
elif watcher_events:
|
|
1803
|
+
# Could be a real mutation or an attribute-only touch. The watcher
|
|
1804
|
+
# cannot tell us which, so it does not get to decide the verdict.
|
|
1805
|
+
fallback_reason = "watcher-event-observed"
|
|
1806
|
+
|
|
1807
|
+
if not fallback_reason:
|
|
1808
|
+
emit_observability_event(
|
|
1809
|
+
"source.snapshot.validation",
|
|
1810
|
+
snapshotKey=snapshot.key, outcome="watcher-memo-hit",
|
|
1811
|
+
generation=str(snapshot.created_at),
|
|
1812
|
+
validationMs=max(0, int((time.monotonic() - started) * 1000)),
|
|
1813
|
+
)
|
|
1814
|
+
return snapshot
|
|
1815
|
+
|
|
1816
|
+
# Watcher uncertainty is NEVER a content mismatch and NEVER a pass.
|
|
1817
|
+
# Retire the memo and let authoritative full validation decide. The
|
|
1818
|
+
# snapshot stays registered so a benign event can revalidate cleanly.
|
|
1819
|
+
_retire_snapshot_watcher(snapshot)
|
|
1820
|
+
watcher = None
|
|
1821
|
+
emit_observability_event(
|
|
1822
|
+
"source.snapshot.validation",
|
|
1823
|
+
snapshotKey=snapshot.key, outcome="watcher-fallback",
|
|
1824
|
+
reason=fallback_reason,
|
|
1825
|
+
generation=str(snapshot.created_at),
|
|
1826
|
+
watcherEvents=len(watcher_events),
|
|
1827
|
+
watcherErrors=list(watcher_errors),
|
|
1828
|
+
)
|
|
1829
|
+
|
|
1830
|
+
candidate_watcher: Optional[_DirectoryWatcher] = None
|
|
1831
|
+
if os.name == "nt" and is_active and snapshot.root.is_dir():
|
|
1832
|
+
candidate_watcher = _DirectoryWatcher(snapshot.root)
|
|
1833
|
+
if not candidate_watcher.start():
|
|
1834
|
+
candidate_watcher.stop()
|
|
1835
|
+
candidate_watcher = None
|
|
1836
|
+
|
|
1837
|
+
try:
|
|
1838
|
+
observed = build_source_tree_manifest(
|
|
1839
|
+
snapshot.root,
|
|
1840
|
+
policy=snapshot.input_policy or SourceInputPolicy(),
|
|
1841
|
+
timeout_seconds=timeout_seconds,
|
|
1842
|
+
progress=progress,
|
|
1843
|
+
progress_label=progress_label,
|
|
1844
|
+
pass_role="active-validation",
|
|
1845
|
+
)
|
|
1846
|
+
except SourceCaptureError:
|
|
1847
|
+
if candidate_watcher is not None:
|
|
1848
|
+
candidate_watcher.stop()
|
|
1849
|
+
with _LOCK:
|
|
1850
|
+
if _ACTIVE.get(active_key) is snapshot:
|
|
1851
|
+
_ACTIVE.pop(active_key, None)
|
|
1852
|
+
emit_observability_event(
|
|
1853
|
+
"source.snapshot.validation",
|
|
1854
|
+
snapshotKey=snapshot.key, outcome="error",
|
|
1855
|
+
generation=str(snapshot.created_at),
|
|
1856
|
+
validationMs=max(0, int((time.monotonic() - started) * 1000)),
|
|
1857
|
+
)
|
|
1858
|
+
raise
|
|
1859
|
+
if observed.key != snapshot.manifest_key:
|
|
1860
|
+
if candidate_watcher is not None:
|
|
1861
|
+
candidate_watcher.stop()
|
|
1862
|
+
with _LOCK:
|
|
1863
|
+
if _ACTIVE.get(active_key) is snapshot:
|
|
1864
|
+
_ACTIVE.pop(active_key, None)
|
|
1865
|
+
from verification_identity_diagnostics import source_manifest_change_summary
|
|
1866
|
+
changed_inputs = source_manifest_change_summary(snapshot, observed)
|
|
1867
|
+
emit_observability_event(
|
|
1868
|
+
"source.snapshot.validation",
|
|
1869
|
+
changedInputs=changed_inputs,
|
|
1870
|
+
snapshotKey=snapshot.key, outcome="content-mismatch",
|
|
1871
|
+
generation=str(snapshot.created_at),
|
|
1872
|
+
validationMs=max(0, int((time.monotonic() - started) * 1000)),
|
|
1873
|
+
files=observed.file_count, bytes=observed.byte_count,
|
|
1874
|
+
)
|
|
1875
|
+
raise SourceCaptureError(
|
|
1876
|
+
"SOURCE_SNAPSHOT_CONTENT_MISMATCH: "
|
|
1877
|
+
f"expected={snapshot.manifest_key}; observed={observed.key}" +
|
|
1878
|
+
"; changedInputs=" + json.dumps(changed_inputs, sort_keys=True)
|
|
1879
|
+
)
|
|
1880
|
+
if candidate_watcher is not None and not _watcher_is_clean(candidate_watcher):
|
|
1881
|
+
candidate_watcher.stop()
|
|
1882
|
+
with _LOCK:
|
|
1883
|
+
if _ACTIVE.get(active_key) is snapshot:
|
|
1884
|
+
_ACTIVE.pop(active_key, None)
|
|
1885
|
+
raise SourceCaptureError(
|
|
1886
|
+
"SOURCE_SNAPSHOT_CONTENT_MISMATCH: snapshot changed during validation"
|
|
1887
|
+
)
|
|
1888
|
+
if candidate_watcher is not None:
|
|
1889
|
+
with _LOCK:
|
|
1890
|
+
if active_source_snapshot(snapshot.original_project_path) is snapshot:
|
|
1891
|
+
_ACTIVE_WATCHERS[active_key] = (
|
|
1892
|
+
snapshot,
|
|
1893
|
+
candidate_watcher,
|
|
1894
|
+
_snapshot_object_identity(snapshot),
|
|
1895
|
+
)
|
|
1896
|
+
candidate_watcher = None
|
|
1897
|
+
if candidate_watcher is not None:
|
|
1898
|
+
candidate_watcher.stop()
|
|
1899
|
+
emit_observability_event(
|
|
1900
|
+
"source.snapshot.validation",
|
|
1901
|
+
snapshotKey=snapshot.key, outcome="passed",
|
|
1902
|
+
generation=str(snapshot.created_at),
|
|
1903
|
+
validationMs=max(0, int((time.monotonic() - started) * 1000)),
|
|
1904
|
+
files=observed.file_count, bytes=observed.byte_count,
|
|
1905
|
+
)
|
|
1906
|
+
return snapshot
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
def proof_subject_project_dir(project_dir: Path) -> Path:
|
|
1910
|
+
snapshot = active_source_snapshot(project_dir)
|
|
1911
|
+
return validate_source_snapshot(snapshot).project_path if snapshot is not None else project_dir.expanduser().resolve()
|
|
1912
|
+
|
|
1913
|
+
|
|
1914
|
+
def source_snapshot_fingerprint(project_dir: Path, *, remaining_budget: Optional[Callable[[], float]] = None) -> str:
|
|
1915
|
+
if remaining_budget is not None:
|
|
1916
|
+
if not callable(remaining_budget):raise SourceCaptureError("SOURCE_MATERIALIZATION_TIMEOUT_INVALID")
|
|
1917
|
+
remaining_budget()
|
|
1918
|
+
snapshot = active_source_snapshot(project_dir) if remaining_budget is None else None
|
|
1919
|
+
if snapshot is not None:
|
|
1920
|
+
return validate_source_snapshot(snapshot).key
|
|
1921
|
+
root, relative, _head = _subject_layout(project_dir)
|
|
1922
|
+
from scoped_source_policy import policy_for_project
|
|
1923
|
+
policy = policy_for_project(project_dir, root)
|
|
1924
|
+
for attempt in range(1, SOURCE_CAPTURE_RETRIES + 1):
|
|
1925
|
+
try:
|
|
1926
|
+
args = {} if remaining_budget is None else {"exact_timeout": True}
|
|
1927
|
+
manifest = build_source_tree_manifest(root, policy=policy,
|
|
1928
|
+
timeout_seconds=0 if remaining_budget is None else remaining_budget(), **args)
|
|
1929
|
+
if remaining_budget is not None:remaining_budget()
|
|
1930
|
+
break
|
|
1931
|
+
except SourceCaptureError as exc:
|
|
1932
|
+
if "SOURCE_CAPTURE_UNSTABLE" not in str(exc) or attempt >= SOURCE_CAPTURE_RETRIES:
|
|
1933
|
+
raise
|
|
1934
|
+
return _canonical_hash({
|
|
1935
|
+
"schema": SOURCE_SNAPSHOT_SCHEMA,
|
|
1936
|
+
"toolBuildId": tool_build_id(),
|
|
1937
|
+
"policyKey": policy.key,
|
|
1938
|
+
"manifestKey": manifest.key,
|
|
1939
|
+
"projectRelative": relative.as_posix() or ".",
|
|
1940
|
+
}, length=32)
|
|
1941
|
+
|
|
1942
|
+
|
|
1943
|
+
def source_snapshot_provenance_head(project_dir: Path, *, require_git: bool = False) -> str:
|
|
1944
|
+
snapshot = active_source_snapshot(project_dir)
|
|
1945
|
+
if snapshot is not None:
|
|
1946
|
+
if require_git and not snapshot.git_head:
|
|
1947
|
+
raise SourceCaptureError("SOURCE_GIT_REQUIRED: active source snapshot is not a Git repository")
|
|
1948
|
+
return snapshot.git_head
|
|
1949
|
+
_root, _relative, head = _subject_layout(project_dir, require_git=require_git)
|
|
1950
|
+
return head
|
|
1951
|
+
|
|
1952
|
+
|
|
1953
|
+
def materialize_source_for_verification(
|
|
1954
|
+
project_dir: Path,
|
|
1955
|
+
target: Path,
|
|
1956
|
+
*,
|
|
1957
|
+
timeout_seconds: int,
|
|
1958
|
+
progress: Optional[ProgressCallback] = None,
|
|
1959
|
+
progress_label: str = "source snapshot materialization",
|
|
1960
|
+
progress_interval_seconds: int = 15,
|
|
1961
|
+
generated_output_materialization: Optional[dict] = None,
|
|
1962
|
+
) -> tuple[Path, SourceSnapshot, str]:
|
|
1963
|
+
generated_output_deadline = time.time()+max(1,timeout_seconds) if generated_output_materialization is not None else None
|
|
1964
|
+
snapshot = active_source_snapshot(project_dir)
|
|
1965
|
+
if snapshot is None:
|
|
1966
|
+
snapshot = capture_source_snapshot(
|
|
1967
|
+
project_dir,
|
|
1968
|
+
timeout_seconds=timeout_seconds,
|
|
1969
|
+
progress=progress,
|
|
1970
|
+
progress_interval_seconds=progress_interval_seconds,
|
|
1971
|
+
)
|
|
1972
|
+
from verification_source_closure import require_complete_source_policy
|
|
1973
|
+
if generated_output_materialization is None:
|
|
1974
|
+
require_complete_source_policy(snapshot.input_policy or SourceInputPolicy())
|
|
1975
|
+
else:
|
|
1976
|
+
from standalone_build_outputs import validate_input_only_materialization
|
|
1977
|
+
validate_input_only_materialization(snapshot, project_dir, generated_output_materialization,
|
|
1978
|
+
deadline=generated_output_deadline)
|
|
1979
|
+
budget = source_copy_budget()
|
|
1980
|
+
if budget is not None and snapshot.byte_count > budget:
|
|
1981
|
+
raise SourceCaptureError("SOURCE_MATERIALIZATION_BUDGET_EXCEEDED: "
|
|
1982
|
+
f"observedBytes={snapshot.byte_count}; limitBytes={budget}; no source bytes copied")
|
|
1983
|
+
from storage_capacity import require_capacity
|
|
1984
|
+
require_capacity(target, snapshot.byte_count, "verification source materialization")
|
|
1985
|
+
validate_source_snapshot(
|
|
1986
|
+
snapshot,
|
|
1987
|
+
timeout_seconds=timeout_seconds,
|
|
1988
|
+
progress=progress,
|
|
1989
|
+
progress_label=f"{progress_label} pre-consumption validation",
|
|
1990
|
+
)
|
|
1991
|
+
method = materialize_private_tree(
|
|
1992
|
+
snapshot.root,
|
|
1993
|
+
target,
|
|
1994
|
+
timeout_seconds=timeout_seconds,
|
|
1995
|
+
progress=progress,
|
|
1996
|
+
progress_label=progress_label,
|
|
1997
|
+
progress_interval_seconds=progress_interval_seconds,
|
|
1998
|
+
)
|
|
1999
|
+
observed = build_source_tree_manifest(
|
|
2000
|
+
target,
|
|
2001
|
+
policy=snapshot.input_policy or SourceInputPolicy(),
|
|
2002
|
+
timeout_seconds=timeout_seconds,
|
|
2003
|
+
progress=progress,
|
|
2004
|
+
progress_label=f"{progress_label} post-copy validation",
|
|
2005
|
+
pass_role="materialized-validation",
|
|
2006
|
+
)
|
|
2007
|
+
if observed.key != snapshot.manifest_key:
|
|
2008
|
+
_force_rmtree(target)
|
|
2009
|
+
raise SourceCaptureError(
|
|
2010
|
+
"SOURCE_MATERIALIZED_CONTENT_MISMATCH: "
|
|
2011
|
+
f"expected={snapshot.manifest_key}; observed={observed.key}"
|
|
2012
|
+
)
|
|
2013
|
+
# The sealed lower is immutable, but this materialized copy is a working
|
|
2014
|
+
# tree: the package manager must be able to write into it.
|
|
2015
|
+
_apply_tree_write_protection(target, readonly=False)
|
|
2016
|
+
project = (target / snapshot.project_relative).resolve()
|
|
2017
|
+
if not project.is_dir():
|
|
2018
|
+
raise SourceCaptureError(
|
|
2019
|
+
f"SOURCE_MATERIALIZED_PROJECT_MISSING: {snapshot.project_relative.as_posix()}"
|
|
2020
|
+
)
|
|
2021
|
+
if generated_output_materialization is not None:
|
|
2022
|
+
from standalone_build_outputs import validate_input_only_materialization
|
|
2023
|
+
validate_input_only_materialization(snapshot, project_dir, generated_output_materialization,
|
|
2024
|
+
deadline=generated_output_deadline, delivered_project=project)
|
|
2025
|
+
return project, snapshot, method
|
|
2026
|
+
|
|
2027
|
+
|
|
2028
|
+
def clear_source_snapshot_epochs() -> None:
|
|
2029
|
+
with _LOCK:
|
|
2030
|
+
snapshots = [*list(_ACTIVE.values()), *list(_COMPLETED_REQUEST_SNAPSHOTS.values())]
|
|
2031
|
+
_COMPLETED_REQUEST_SNAPSHOTS.clear()
|
|
2032
|
+
watchers = [entry[1] for entry in _ACTIVE_WATCHERS.values()]
|
|
2033
|
+
live_watchers = [entry[1] for entry in _LIVE_SOURCE_WATCHERS.values()]
|
|
2034
|
+
_ACTIVE.clear()
|
|
2035
|
+
_ACTIVE_WATCHERS.clear()
|
|
2036
|
+
_LIVE_SOURCE_WATCHERS.clear()
|
|
2037
|
+
for watcher in [*watchers, *live_watchers]:
|
|
2038
|
+
watcher.stop()
|
|
2039
|
+
for snapshot in snapshots:
|
|
2040
|
+
_force_rmtree(snapshot.container)
|
|
2041
|
+
_ALL_CONTAINERS.discard(snapshot.container)
|
|
2042
|
+
|
|
2043
|
+
|
|
2044
|
+
SOURCE_SNAPSHOT_CONTAINER_PREFIX = "dependency-flow-source-snapshot-"
|
|
2045
|
+
_REAP_MAX_AGE_SECONDS = 6 * 3600
|
|
2046
|
+
_REAP_MAX_CONTAINERS = 8
|
|
2047
|
+
_REAP_DONE = threading.Event()
|
|
2048
|
+
_ORPHAN_REAP_DEFERRED = contextvars.ContextVar("source_snapshot_orphan_reap_deferred", default=False)
|
|
2049
|
+
|
|
2050
|
+
|
|
2051
|
+
@contextlib.contextmanager
|
|
2052
|
+
def defer_orphan_snapshot_maintenance():
|
|
2053
|
+
"""Defer unrelated orphan reclamation, never source proof or owned cleanup.
|
|
2054
|
+
|
|
2055
|
+
Critical publication may use this scope to avoid spending its execution
|
|
2056
|
+
allowance on an older run's storage backlog. A later ordinary capture still
|
|
2057
|
+
gets its normal first-reap opportunity. State is context-local and nested
|
|
2058
|
+
scopes cannot re-enable reaping accidentally.
|
|
2059
|
+
"""
|
|
2060
|
+
token = _ORPHAN_REAP_DEFERRED.set(True)
|
|
2061
|
+
try:
|
|
2062
|
+
yield
|
|
2063
|
+
finally:
|
|
2064
|
+
_ORPHAN_REAP_DEFERRED.reset(token)
|
|
2065
|
+
|
|
2066
|
+
|
|
2067
|
+
def reap_orphaned_source_snapshots(
|
|
2068
|
+
*,
|
|
2069
|
+
max_age_seconds: int = _REAP_MAX_AGE_SECONDS,
|
|
2070
|
+
max_containers: int = _REAP_MAX_CONTAINERS,
|
|
2071
|
+
additional_parents: tuple[Path, ...] = (),
|
|
2072
|
+
) -> dict[str, int]:
|
|
2073
|
+
"""Remove source snapshot containers abandoned by a crashed/killed run.
|
|
2074
|
+
|
|
2075
|
+
`_cleanup_all` only runs at a clean exit, so a crash, a kill or a watchdog
|
|
2076
|
+
stop leaves the whole sealed tree behind forever. This reaper is bounded on
|
|
2077
|
+
purpose: it does a little work per process rather than an unbounded sweep.
|
|
2078
|
+
|
|
2079
|
+
A successful rename does not establish liveness: directory watchers may
|
|
2080
|
+
allow deletion sharing. Require a registered dead owner and reject shared
|
|
2081
|
+
or linked trees before retirement. Unknown legacy containers and live
|
|
2082
|
+
owners are retained. Failing to reap leaves the tree for a later run.
|
|
2083
|
+
"""
|
|
2084
|
+
if _ORPHAN_REAP_DEFERRED.get():
|
|
2085
|
+
return {"reaped": 0, "skipped": 0, "failed": 0}
|
|
2086
|
+
from verification_storage_maintenance import dead_trial_owner, _plain_directory, _has_links
|
|
2087
|
+
reaped = skipped = failed = 0
|
|
2088
|
+
from source_snapshot_storage import candidate_snapshot_parents
|
|
2089
|
+
now = time.time()
|
|
2090
|
+
with _LOCK:
|
|
2091
|
+
owned = {os.path.normcase(str(item)) for item in _ALL_CONTAINERS}
|
|
2092
|
+
candidates: list[Path] = []
|
|
2093
|
+
for base in (*candidate_snapshot_parents(), *additional_parents):
|
|
2094
|
+
try:
|
|
2095
|
+
candidates.extend(base.glob(SOURCE_SNAPSHOT_CONTAINER_PREFIX + "*"))
|
|
2096
|
+
except OSError:
|
|
2097
|
+
continue
|
|
2098
|
+
for container in sorted(set(candidates)):
|
|
2099
|
+
|
|
2100
|
+
if reaped >= max_containers:
|
|
2101
|
+
break
|
|
2102
|
+
if os.path.normcase(str(container)) in owned or not container.is_dir():
|
|
2103
|
+
skipped += 1
|
|
2104
|
+
continue
|
|
2105
|
+
try:
|
|
2106
|
+
if not all(_plain_directory(p) for p in [container, *container.parents]) or not dead_trial_owner(container):
|
|
2107
|
+
skipped += 1
|
|
2108
|
+
continue
|
|
2109
|
+
age = now - container.stat().st_mtime
|
|
2110
|
+
except OSError:
|
|
2111
|
+
skipped += 1
|
|
2112
|
+
continue
|
|
2113
|
+
if age < max_age_seconds:
|
|
2114
|
+
skipped += 1
|
|
2115
|
+
continue
|
|
2116
|
+
if _has_links(container):
|
|
2117
|
+
skipped += 1
|
|
2118
|
+
continue
|
|
2119
|
+
trash = container.with_name(f"{container.name}.reap-{os.getpid()}")
|
|
2120
|
+
try:
|
|
2121
|
+
os.rename(container, trash)
|
|
2122
|
+
except OSError:
|
|
2123
|
+
# Still open somewhere: treat as live and leave it alone.
|
|
2124
|
+
skipped += 1
|
|
2125
|
+
continue
|
|
2126
|
+
try:
|
|
2127
|
+
# Sealed trees are write-protected, so a plain rmtree would fail
|
|
2128
|
+
# and silently turn every orphan into a permanent one.
|
|
2129
|
+
_force_rmtree(trash)
|
|
2130
|
+
reaped += 1
|
|
2131
|
+
except Exception:
|
|
2132
|
+
failed += 1
|
|
2133
|
+
if reaped or failed:
|
|
2134
|
+
emit_observability_event(
|
|
2135
|
+
"source.snapshot.reap",
|
|
2136
|
+
reaped=reaped,
|
|
2137
|
+
skipped=skipped,
|
|
2138
|
+
failed=failed,
|
|
2139
|
+
maxAgeSeconds=int(max_age_seconds),
|
|
2140
|
+
)
|
|
2141
|
+
return {"reaped": reaped, "skipped": skipped, "failed": failed}
|
|
2142
|
+
|
|
2143
|
+
|
|
2144
|
+
def _reap_once() -> None:
|
|
2145
|
+
"""Bounded, best-effort, at most once per process."""
|
|
2146
|
+
if _ORPHAN_REAP_DEFERRED.get() or _REAP_DONE.is_set():
|
|
2147
|
+
return
|
|
2148
|
+
_REAP_DONE.set()
|
|
2149
|
+
try:
|
|
2150
|
+
reap_orphaned_source_snapshots()
|
|
2151
|
+
except Exception:
|
|
2152
|
+
pass
|
|
2153
|
+
|
|
2154
|
+
|
|
2155
|
+
def _cleanup_all() -> None:
|
|
2156
|
+
with _LOCK:
|
|
2157
|
+
_ACTIVE.clear()
|
|
2158
|
+
_COMPLETED_REQUEST_SNAPSHOTS.clear()
|
|
2159
|
+
watchers = [entry[1] for entry in _ACTIVE_WATCHERS.values()]
|
|
2160
|
+
watchers.extend(entry[1] for entry in _LIVE_SOURCE_WATCHERS.values())
|
|
2161
|
+
_ACTIVE_WATCHERS.clear()
|
|
2162
|
+
_LIVE_SOURCE_WATCHERS.clear()
|
|
2163
|
+
containers = list(_ALL_CONTAINERS)
|
|
2164
|
+
_ALL_CONTAINERS.clear()
|
|
2165
|
+
for watcher in watchers:
|
|
2166
|
+
watcher.stop()
|
|
2167
|
+
for container in containers:
|
|
2168
|
+
_force_rmtree(container)
|
|
2169
|
+
|
|
2170
|
+
|
|
2171
|
+
atexit.register(_cleanup_all)
|
|
2172
|
+
|
|
2173
|
+
def _observability_sink_is_source_safe(
|
|
2174
|
+
root: Path,
|
|
2175
|
+
policy: SourceInputPolicy,
|
|
2176
|
+
) -> bool:
|
|
2177
|
+
sink = configured_observability_path()
|
|
2178
|
+
if sink is None:
|
|
2179
|
+
return True
|
|
2180
|
+
root = root.resolve()
|
|
2181
|
+
sink = sink.resolve()
|
|
2182
|
+
try:
|
|
2183
|
+
relative = sink.relative_to(root)
|
|
2184
|
+
except ValueError:
|
|
2185
|
+
return True
|
|
2186
|
+
return _excluded(relative, policy)
|
|
2187
|
+
|
|
2188
|
+
|
|
2189
|
+
_EXCLUSIVE_LINK_PASS_ROLES = frozenset({
|
|
2190
|
+
"sealed-snapshot",
|
|
2191
|
+
"active-validation",
|
|
2192
|
+
"materialized-validation",
|
|
2193
|
+
})
|
|
2194
|
+
|
|
2195
|
+
|
|
2196
|
+
def build_source_tree_manifest(
|
|
2197
|
+
root: Path,
|
|
2198
|
+
*,
|
|
2199
|
+
policy: SourceInputPolicy = SourceInputPolicy(),
|
|
2200
|
+
timeout_seconds: int = 1800,
|
|
2201
|
+
progress: Optional[ProgressCallback] = None,
|
|
2202
|
+
progress_label: str = "source manifest",
|
|
2203
|
+
progress_interval_seconds: int = 15,
|
|
2204
|
+
pass_role: str = "",
|
|
2205
|
+
exact_timeout: bool = False,
|
|
2206
|
+
) -> SourceTreeManifest:
|
|
2207
|
+
exclusive_links = str(pass_role) in _EXCLUSIVE_LINK_PASS_ROLES
|
|
2208
|
+
if not _observability_sink_is_source_safe(root, policy):
|
|
2209
|
+
with suppress_observability():
|
|
2210
|
+
return _build_source_tree_manifest_impl(
|
|
2211
|
+
root,
|
|
2212
|
+
policy=policy,
|
|
2213
|
+
timeout_seconds=timeout_seconds,
|
|
2214
|
+
progress=progress,
|
|
2215
|
+
progress_label=progress_label,
|
|
2216
|
+
progress_interval_seconds=progress_interval_seconds,
|
|
2217
|
+
suppress_worker_observability=True,
|
|
2218
|
+
require_exclusive_links=exclusive_links,
|
|
2219
|
+
exact_timeout=exact_timeout,
|
|
2220
|
+
)
|
|
2221
|
+
|
|
2222
|
+
operation_id = new_observability_id("source-manifest")
|
|
2223
|
+
started = time.monotonic()
|
|
2224
|
+
before = process_resource_snapshot()
|
|
2225
|
+
emit_observability_event(
|
|
2226
|
+
"source.manifest.start",
|
|
2227
|
+
operationId=operation_id,
|
|
2228
|
+
label=progress_label,
|
|
2229
|
+
passRole=str(pass_role or progress_label),
|
|
2230
|
+
workers=_source_hash_workers(),
|
|
2231
|
+
timeoutSeconds=int(timeout_seconds),
|
|
2232
|
+
policyKey=policy.key,
|
|
2233
|
+
)
|
|
2234
|
+
try:
|
|
2235
|
+
manifest = _build_source_tree_manifest_impl(
|
|
2236
|
+
root,
|
|
2237
|
+
policy=policy,
|
|
2238
|
+
timeout_seconds=timeout_seconds,
|
|
2239
|
+
progress=progress,
|
|
2240
|
+
progress_label=progress_label,
|
|
2241
|
+
progress_interval_seconds=progress_interval_seconds,
|
|
2242
|
+
require_exclusive_links=exclusive_links,
|
|
2243
|
+
exact_timeout=exact_timeout,
|
|
2244
|
+
)
|
|
2245
|
+
except BaseException as exc:
|
|
2246
|
+
after = process_resource_snapshot()
|
|
2247
|
+
emit_observability_event(
|
|
2248
|
+
"source.manifest.finish",
|
|
2249
|
+
operationId=operation_id,
|
|
2250
|
+
label=progress_label,
|
|
2251
|
+
passRole=str(pass_role or progress_label),
|
|
2252
|
+
workers=_source_hash_workers(),
|
|
2253
|
+
outcome="exception",
|
|
2254
|
+
durationMs=max(0, int((time.monotonic() - started) * 1000)),
|
|
2255
|
+
cpuMs=max(0, after.cpu_ms - before.cpu_ms),
|
|
2256
|
+
rssBytes=after.rss_bytes,
|
|
2257
|
+
peakRssBytes=after.peak_rss_bytes,
|
|
2258
|
+
errorType=type(exc).__name__,
|
|
2259
|
+
)
|
|
2260
|
+
raise
|
|
2261
|
+
after = process_resource_snapshot()
|
|
2262
|
+
emit_observability_event(
|
|
2263
|
+
"source.manifest.finish",
|
|
2264
|
+
operationId=operation_id,
|
|
2265
|
+
label=progress_label,
|
|
2266
|
+
passRole=str(pass_role or progress_label),
|
|
2267
|
+
workers=_source_hash_workers(),
|
|
2268
|
+
outcome="passed",
|
|
2269
|
+
manifestKey=manifest.key,
|
|
2270
|
+
fileCount=manifest.file_count,
|
|
2271
|
+
directoryCount=manifest.directory_count,
|
|
2272
|
+
byteCount=manifest.byte_count,
|
|
2273
|
+
durationMs=max(0, int((time.monotonic() - started) * 1000)),
|
|
2274
|
+
cpuMs=max(0, after.cpu_ms - before.cpu_ms),
|
|
2275
|
+
rssBytes=after.rss_bytes,
|
|
2276
|
+
peakRssBytes=after.peak_rss_bytes,
|
|
2277
|
+
)
|
|
2278
|
+
return manifest
|
|
2279
|
+
|
|
2280
|
+
|
|
2281
|
+
def capture_source_snapshot(
|
|
2282
|
+
project_dir: Path,
|
|
2283
|
+
*,
|
|
2284
|
+
policy: Optional[SourceInputPolicy] = None,
|
|
2285
|
+
timeout_seconds: int = 1800,
|
|
2286
|
+
progress: Optional[ProgressCallback] = None,
|
|
2287
|
+
progress_interval_seconds: int = 15,
|
|
2288
|
+
_retain_live_watcher: bool = False,
|
|
2289
|
+
) -> SourceSnapshot:
|
|
2290
|
+
capture_root, _project_relative, _git_head = _subject_layout(project_dir)
|
|
2291
|
+
if policy is None:
|
|
2292
|
+
from scoped_source_policy import policy_for_project
|
|
2293
|
+
policy = policy_for_project(project_dir, capture_root)
|
|
2294
|
+
if not _observability_sink_is_source_safe(capture_root, policy):
|
|
2295
|
+
with suppress_observability():
|
|
2296
|
+
return _capture_source_snapshot_impl(
|
|
2297
|
+
project_dir,
|
|
2298
|
+
policy=policy,
|
|
2299
|
+
timeout_seconds=timeout_seconds,
|
|
2300
|
+
progress=progress,
|
|
2301
|
+
progress_interval_seconds=progress_interval_seconds,
|
|
2302
|
+
retain_live_watcher=_retain_live_watcher,
|
|
2303
|
+
)
|
|
2304
|
+
|
|
2305
|
+
operation_id = new_observability_id("source-capture")
|
|
2306
|
+
started = time.monotonic()
|
|
2307
|
+
before = process_resource_snapshot()
|
|
2308
|
+
emit_observability_event(
|
|
2309
|
+
"source.capture.start",
|
|
2310
|
+
operationId=operation_id,
|
|
2311
|
+
timeoutSeconds=int(timeout_seconds),
|
|
2312
|
+
policyKey=policy.key,
|
|
2313
|
+
)
|
|
2314
|
+
try:
|
|
2315
|
+
snapshot = _capture_source_snapshot_impl(
|
|
2316
|
+
project_dir,
|
|
2317
|
+
policy=policy,
|
|
2318
|
+
timeout_seconds=timeout_seconds,
|
|
2319
|
+
progress=progress,
|
|
2320
|
+
progress_interval_seconds=progress_interval_seconds,
|
|
2321
|
+
retain_live_watcher=_retain_live_watcher,
|
|
2322
|
+
)
|
|
2323
|
+
except BaseException as exc:
|
|
2324
|
+
after = process_resource_snapshot()
|
|
2325
|
+
emit_observability_event(
|
|
2326
|
+
"source.capture.finish",
|
|
2327
|
+
operationId=operation_id,
|
|
2328
|
+
outcome="exception",
|
|
2329
|
+
durationMs=max(0, int((time.monotonic() - started) * 1000)),
|
|
2330
|
+
cpuMs=max(0, after.cpu_ms - before.cpu_ms),
|
|
2331
|
+
rssBytes=after.rss_bytes,
|
|
2332
|
+
peakRssBytes=after.peak_rss_bytes,
|
|
2333
|
+
errorType=type(exc).__name__,
|
|
2334
|
+
)
|
|
2335
|
+
raise
|
|
2336
|
+
after = process_resource_snapshot()
|
|
2337
|
+
emit_observability_event(
|
|
2338
|
+
"source.capture.finish",
|
|
2339
|
+
operationId=operation_id,
|
|
2340
|
+
outcome="passed",
|
|
2341
|
+
sourceSnapshotKey=snapshot.key,
|
|
2342
|
+
manifestKey=snapshot.manifest_key,
|
|
2343
|
+
policyKey=snapshot.policy_key,
|
|
2344
|
+
fileCount=snapshot.file_count,
|
|
2345
|
+
directoryCount=snapshot.directory_count,
|
|
2346
|
+
byteCount=snapshot.byte_count,
|
|
2347
|
+
materializationMethod=snapshot.materialization_method,
|
|
2348
|
+
gitHead=bool(snapshot.git_head),
|
|
2349
|
+
durationMs=max(0, int((time.monotonic() - started) * 1000)),
|
|
2350
|
+
cpuMs=max(0, after.cpu_ms - before.cpu_ms),
|
|
2351
|
+
rssBytes=after.rss_bytes,
|
|
2352
|
+
peakRssBytes=after.peak_rss_bytes,
|
|
2353
|
+
)
|
|
2354
|
+
return snapshot
|
|
2355
|
+
def open_source_snapshot(
|
|
2356
|
+
container: Path,
|
|
2357
|
+
*,
|
|
2358
|
+
expected_key: str = "",
|
|
2359
|
+
timeout_seconds: int = 1800,
|
|
2360
|
+
allow_build_upgrade: bool = False,
|
|
2361
|
+
progress: Optional[ProgressCallback] = None,
|
|
2362
|
+
) -> SourceSnapshot:
|
|
2363
|
+
"""Validate durable bytes; foreign-build input is opt-in, never proof."""
|
|
2364
|
+
container = container.expanduser().resolve()
|
|
2365
|
+
manifest_path = container / "manifest.json"
|
|
2366
|
+
root = container / "tree"
|
|
2367
|
+
try:
|
|
2368
|
+
raw = json.loads(manifest_path.read_text(encoding="utf-8-sig"))
|
|
2369
|
+
except (OSError, ValueError, TypeError) as exc:
|
|
2370
|
+
raise SourceCaptureError(
|
|
2371
|
+
f"SOURCE_SNAPSHOT_MANIFEST_INVALID: {manifest_path}: {exc}"
|
|
2372
|
+
) from exc
|
|
2373
|
+
if (
|
|
2374
|
+
not isinstance(raw, dict)
|
|
2375
|
+
or int(raw.get("schemaVersion", 0) or 0) != 1
|
|
2376
|
+
or raw.get("type") != "deploom-source-snapshot"
|
|
2377
|
+
):
|
|
2378
|
+
raise SourceCaptureError("SOURCE_SNAPSHOT_MANIFEST_SCHEMA_INVALID")
|
|
2379
|
+
|
|
2380
|
+
key = str(raw.get("sourceSnapshotKey") or "")
|
|
2381
|
+
manifest_key = str(raw.get("manifestKey") or "")
|
|
2382
|
+
policy_key = str(raw.get("policyKey") or "")
|
|
2383
|
+
current_build_id = tool_build_id()
|
|
2384
|
+
producer_build_id = raw.get("toolBuildId")
|
|
2385
|
+
if not isinstance(producer_build_id, str) or not producer_build_id:
|
|
2386
|
+
raise SourceCaptureError("SOURCE_SNAPSHOT_TOOL_BUILD_INVALID")
|
|
2387
|
+
if producer_build_id != current_build_id and not allow_build_upgrade:
|
|
2388
|
+
raise SourceCaptureError(
|
|
2389
|
+
"SOURCE_SNAPSHOT_TOOL_BUILD_MISMATCH: "
|
|
2390
|
+
f"expected={current_build_id}; observed={raw.get('toolBuildId')}"
|
|
2391
|
+
)
|
|
2392
|
+
if expected_key and key != expected_key:
|
|
2393
|
+
raise SourceCaptureError(
|
|
2394
|
+
"SOURCE_SNAPSHOT_KEY_MISMATCH: "
|
|
2395
|
+
f"expected={expected_key}; observed={key}"
|
|
2396
|
+
)
|
|
2397
|
+
from scoped_source_policy import policy_from_payload
|
|
2398
|
+
policy = policy_from_payload(raw.get("inputPolicy"))
|
|
2399
|
+
if policy_key != policy.key:
|
|
2400
|
+
raise SourceCaptureError(
|
|
2401
|
+
f"SOURCE_SNAPSHOT_POLICY_UNSUPPORTED: {policy_key}"
|
|
2402
|
+
)
|
|
2403
|
+
|
|
2404
|
+
relative_text = str(raw.get("projectRelative") or ".")
|
|
2405
|
+
relative = Path(relative_text)
|
|
2406
|
+
if relative.is_absolute() or ".." in relative.parts:
|
|
2407
|
+
raise SourceCaptureError(
|
|
2408
|
+
f"SOURCE_SNAPSHOT_PROJECT_RELATIVE_INVALID: {relative_text}"
|
|
2409
|
+
)
|
|
2410
|
+
if not root.is_dir():
|
|
2411
|
+
from snapshot_compaction import has_packed_source, restore
|
|
2412
|
+
if has_packed_source(container):
|
|
2413
|
+
try:
|
|
2414
|
+
restore(container, progress=progress or (lambda path: None))
|
|
2415
|
+
except StorageCapacityError:
|
|
2416
|
+
raise
|
|
2417
|
+
except (OSError, ValueError, KeyError, TypeError) as exc:
|
|
2418
|
+
raise SourceCaptureError(f"SOURCE_SNAPSHOT_PACKED_INVALID: {container}: {exc}") from exc
|
|
2419
|
+
if not root.is_dir():
|
|
2420
|
+
raise SourceCaptureError(f"SOURCE_SNAPSHOT_TREE_MISSING: {root}")
|
|
2421
|
+
project_path = (root / relative).resolve()
|
|
2422
|
+
if not _within(project_path, root) or not project_path.is_dir():
|
|
2423
|
+
raise SourceCaptureError(
|
|
2424
|
+
f"SOURCE_SNAPSHOT_PROJECT_MISSING: {relative_text}"
|
|
2425
|
+
)
|
|
2426
|
+
|
|
2427
|
+
_validate_git_layout(root, policy=policy)
|
|
2428
|
+
observed = build_source_tree_manifest(
|
|
2429
|
+
root,
|
|
2430
|
+
policy=policy,
|
|
2431
|
+
timeout_seconds=timeout_seconds,
|
|
2432
|
+
progress=progress,
|
|
2433
|
+
progress_label="durable source snapshot validation",
|
|
2434
|
+
)
|
|
2435
|
+
# Content manifests also include the producer build. Recompute that
|
|
2436
|
+
# identity from freshly hashed bytes, never by replacing the stored build.
|
|
2437
|
+
producer_manifest_key = _canonical_hash({
|
|
2438
|
+
"schema": SOURCE_SNAPSHOT_SCHEMA, "toolBuildId": producer_build_id,
|
|
2439
|
+
"policyKey": policy_key, "entries": list(observed.entries),
|
|
2440
|
+
}, length=64)
|
|
2441
|
+
if producer_manifest_key != manifest_key:
|
|
2442
|
+
raise SourceCaptureError(
|
|
2443
|
+
"SOURCE_SNAPSHOT_CONTENT_MISMATCH: "
|
|
2444
|
+
f"expected={manifest_key}; observed={producer_manifest_key}"
|
|
2445
|
+
)
|
|
2446
|
+
recomputed_key = _canonical_hash({
|
|
2447
|
+
"schema": SOURCE_SNAPSHOT_SCHEMA,
|
|
2448
|
+
"toolBuildId": producer_build_id,
|
|
2449
|
+
"policyKey": policy_key,
|
|
2450
|
+
"manifestKey": producer_manifest_key,
|
|
2451
|
+
"projectRelative": relative.as_posix() or ".",
|
|
2452
|
+
}, length=32)
|
|
2453
|
+
if recomputed_key != key:
|
|
2454
|
+
raise SourceCaptureError(
|
|
2455
|
+
"SOURCE_SNAPSHOT_IDENTITY_MISMATCH: "
|
|
2456
|
+
f"expected={key}; observed={recomputed_key}"
|
|
2457
|
+
)
|
|
2458
|
+
|
|
2459
|
+
return SourceSnapshot(
|
|
2460
|
+
original_project_path=project_path,
|
|
2461
|
+
capture_root=root,
|
|
2462
|
+
project_relative=relative,
|
|
2463
|
+
container=container,
|
|
2464
|
+
root=root,
|
|
2465
|
+
project_path=project_path,
|
|
2466
|
+
key=key,
|
|
2467
|
+
manifest_key=observed.key,
|
|
2468
|
+
policy_key=policy_key,
|
|
2469
|
+
file_count=observed.file_count,
|
|
2470
|
+
directory_count=observed.directory_count,
|
|
2471
|
+
byte_count=observed.byte_count,
|
|
2472
|
+
materialization_method=str(raw.get("materializationMethod") or "durable"),
|
|
2473
|
+
git_head=str(raw.get("gitHead") or ""),
|
|
2474
|
+
git_root=str(root) if raw.get("gitHead") else "",
|
|
2475
|
+
created_at=float(raw.get("createdAt") or manifest_path.stat().st_mtime),
|
|
2476
|
+
input_policy=policy,
|
|
2477
|
+
)
|
|
2478
|
+
|
|
2479
|
+
|
|
2480
|
+
def persist_source_snapshot(
|
|
2481
|
+
snapshot: SourceSnapshot,
|
|
2482
|
+
destination: Path,
|
|
2483
|
+
*,
|
|
2484
|
+
timeout_seconds: int = 1800,
|
|
2485
|
+
progress: Optional[ProgressCallback] = None,
|
|
2486
|
+
_consume: bool = False,
|
|
2487
|
+
) -> SourceSnapshot:
|
|
2488
|
+
"""Atomically publish an active snapshot as durable evidence.
|
|
2489
|
+
|
|
2490
|
+
A call-owned capture can be consumed by same-volume rename; shared active
|
|
2491
|
+
snapshots retain their existing independent-copy semantics.
|
|
2492
|
+
"""
|
|
2493
|
+
deadline = float("inf") if timeout_seconds == 0 else time.monotonic() + max(1, timeout_seconds)
|
|
2494
|
+
validate_source_snapshot(snapshot, timeout_seconds=_remaining(deadline), progress=progress)
|
|
2495
|
+
destination = destination.expanduser().resolve()
|
|
2496
|
+
destination.parent.mkdir(parents=True, exist_ok=True)
|
|
2497
|
+
if destination.exists():
|
|
2498
|
+
raise SourceCaptureError(
|
|
2499
|
+
f"SOURCE_SNAPSHOT_DESTINATION_EXISTS: {destination}"
|
|
2500
|
+
)
|
|
2501
|
+
if _consume:
|
|
2502
|
+
# Only capture_durable_source_snapshot owns this temporary container.
|
|
2503
|
+
# Close directory handles before renaming on Windows. Full destination
|
|
2504
|
+
# validation remains mandatory, including after a successful rename.
|
|
2505
|
+
_retire_snapshot_watcher(snapshot)
|
|
2506
|
+
_retire_live_source_watcher(snapshot)
|
|
2507
|
+
try:
|
|
2508
|
+
os.rename(snapshot.container, destination)
|
|
2509
|
+
except OSError as exc:
|
|
2510
|
+
import errno
|
|
2511
|
+
if exc.errno != errno.EXDEV and getattr(exc, "winerror", None) != 17:
|
|
2512
|
+
raise
|
|
2513
|
+
else:
|
|
2514
|
+
_ALL_CONTAINERS.discard(snapshot.container)
|
|
2515
|
+
if progress:
|
|
2516
|
+
progress(f"durable source snapshot: same-volume promotion; copiedFiles=0; avoidedCopyBytes={snapshot.byte_count}")
|
|
2517
|
+
return open_source_snapshot(destination, expected_key=snapshot.key,
|
|
2518
|
+
timeout_seconds=_remaining(deadline), progress=progress)
|
|
2519
|
+
from storage_capacity import require_capacity
|
|
2520
|
+
require_capacity(destination, snapshot.byte_count, "durable snapshot")
|
|
2521
|
+
stage = Path(tempfile.mkdtemp(
|
|
2522
|
+
prefix=f".{destination.name}.tmp-",
|
|
2523
|
+
dir=str(destination.parent),
|
|
2524
|
+
))
|
|
2525
|
+
try:
|
|
2526
|
+
copied_files = copied_bytes = 0
|
|
2527
|
+
last_report = time.monotonic()
|
|
2528
|
+
def copy_with_progress(source, target):
|
|
2529
|
+
nonlocal copied_files, copied_bytes, last_report
|
|
2530
|
+
_remaining(deadline)
|
|
2531
|
+
result = shutil.copy2(source, target)
|
|
2532
|
+
_remaining(deadline)
|
|
2533
|
+
copied_files += 1
|
|
2534
|
+
copied_bytes += os.stat(source).st_size
|
|
2535
|
+
now = time.monotonic()
|
|
2536
|
+
if progress is not None and now - last_report >= 15:
|
|
2537
|
+
progress(f"durable source snapshot copy: files={copied_files}, bytes={copied_bytes}")
|
|
2538
|
+
last_report = now
|
|
2539
|
+
return result
|
|
2540
|
+
if progress:
|
|
2541
|
+
progress("durable source snapshot copy: started")
|
|
2542
|
+
shutil.copytree(
|
|
2543
|
+
snapshot.container,
|
|
2544
|
+
stage,
|
|
2545
|
+
dirs_exist_ok=True,
|
|
2546
|
+
symlinks=True,
|
|
2547
|
+
copy_function=copy_with_progress,
|
|
2548
|
+
)
|
|
2549
|
+
if progress:
|
|
2550
|
+
progress(f"durable source snapshot copy: ready; files={copied_files}, bytes={copied_bytes}")
|
|
2551
|
+
open_source_snapshot(
|
|
2552
|
+
stage,
|
|
2553
|
+
expected_key=snapshot.key,
|
|
2554
|
+
timeout_seconds=_remaining(deadline),
|
|
2555
|
+
progress=progress,
|
|
2556
|
+
)
|
|
2557
|
+
os.replace(stage, destination)
|
|
2558
|
+
return open_source_snapshot(
|
|
2559
|
+
destination,
|
|
2560
|
+
expected_key=snapshot.key,
|
|
2561
|
+
timeout_seconds=_remaining(deadline),
|
|
2562
|
+
progress=progress,
|
|
2563
|
+
)
|
|
2564
|
+
except Exception:
|
|
2565
|
+
shutil.rmtree(stage, ignore_errors=True)
|
|
2566
|
+
raise
|
|
2567
|
+
|
|
2568
|
+
|
|
2569
|
+
def capture_durable_source_snapshot(
|
|
2570
|
+
project_dir: Path,
|
|
2571
|
+
destination: Path,
|
|
2572
|
+
*,
|
|
2573
|
+
policy: Optional[SourceInputPolicy] = None,
|
|
2574
|
+
timeout_seconds: int = 1800,
|
|
2575
|
+
progress: Optional[ProgressCallback] = None,
|
|
2576
|
+
) -> SourceSnapshot:
|
|
2577
|
+
deadline = float("inf") if timeout_seconds == 0 else time.monotonic() + max(1, timeout_seconds)
|
|
2578
|
+
from source_snapshot_storage import prefer_snapshot_parent
|
|
2579
|
+
destination_parent = destination.expanduser().resolve().parent
|
|
2580
|
+
# Destination-local temporary captures must remain discoverable after a
|
|
2581
|
+
# crash, just like verification-root temporaries. Existing dead-owner,
|
|
2582
|
+
# age, link and bounded-work guards remain authoritative.
|
|
2583
|
+
reap_orphaned_source_snapshots(additional_parents=(destination_parent,))
|
|
2584
|
+
with prefer_snapshot_parent(destination_parent):
|
|
2585
|
+
snapshot = capture_source_snapshot(
|
|
2586
|
+
project_dir,
|
|
2587
|
+
policy=policy,
|
|
2588
|
+
timeout_seconds=_remaining(deadline),
|
|
2589
|
+
progress=progress,
|
|
2590
|
+
)
|
|
2591
|
+
try:
|
|
2592
|
+
return persist_source_snapshot(
|
|
2593
|
+
snapshot, destination, timeout_seconds=_remaining(deadline), progress=progress, _consume=True,
|
|
2594
|
+
)
|
|
2595
|
+
finally:
|
|
2596
|
+
# This capture is private to this call. The published durable copy has
|
|
2597
|
+
# its own identity; keeping the temporary 4+ GiB tree until exit is waste.
|
|
2598
|
+
_retire_snapshot_watcher(snapshot)
|
|
2599
|
+
_force_rmtree(snapshot.container)
|
|
2600
|
+
_ALL_CONTAINERS.discard(snapshot.container)
|
|
2601
|
+
|
|
2602
|
+
|
|
2603
|
+
def _main() -> int:
|
|
2604
|
+
import argparse
|
|
2605
|
+
|
|
2606
|
+
parser = argparse.ArgumentParser(description="DepLoom sealed SourceSnapshot")
|
|
2607
|
+
parser.add_argument("--capture-durable", metavar="PROJECT")
|
|
2608
|
+
parser.add_argument("--destination")
|
|
2609
|
+
parser.add_argument("--timeout-seconds", type=int, default=1800)
|
|
2610
|
+
parser.add_argument("--json", action="store_true")
|
|
2611
|
+
args = parser.parse_args()
|
|
2612
|
+
if not args.capture_durable:
|
|
2613
|
+
parser.error("--capture-durable is required")
|
|
2614
|
+
if not args.destination:
|
|
2615
|
+
parser.error("--destination is required")
|
|
2616
|
+
snapshot = capture_durable_source_snapshot(
|
|
2617
|
+
Path(args.capture_durable),
|
|
2618
|
+
Path(args.destination),
|
|
2619
|
+
timeout_seconds=args.timeout_seconds,
|
|
2620
|
+
)
|
|
2621
|
+
result = {
|
|
2622
|
+
"sourceSnapshotLocator": str(snapshot.container),
|
|
2623
|
+
"sourceSnapshotKey": snapshot.key,
|
|
2624
|
+
"toolBuildId": tool_build_id(),
|
|
2625
|
+
"projectRelative": snapshot.project_relative.as_posix() or ".",
|
|
2626
|
+
"manifestKey": snapshot.manifest_key,
|
|
2627
|
+
"fileCount": snapshot.file_count,
|
|
2628
|
+
"byteCount": snapshot.byte_count,
|
|
2629
|
+
}
|
|
2630
|
+
print(json.dumps(result, ensure_ascii=False, sort_keys=True))
|
|
2631
|
+
return 0
|
|
2632
|
+
|
|
2633
|
+
|
|
2634
|
+
if __name__ == "__main__":
|
|
2635
|
+
raise SystemExit(_main())
|