modal-toolkit 1.8.0__tar.gz
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.
- modal_toolkit-1.8.0/.githooks/pre-commit +37 -0
- modal_toolkit-1.8.0/.github/FUNDING.yml +1 -0
- modal_toolkit-1.8.0/.github/ISSUE_TEMPLATE/bug_report.md +28 -0
- modal_toolkit-1.8.0/.github/ISSUE_TEMPLATE/feature_request.md +19 -0
- modal_toolkit-1.8.0/.github/dependabot.yml +15 -0
- modal_toolkit-1.8.0/.github/workflows/ci.yml +22 -0
- modal_toolkit-1.8.0/.github/workflows/publish.yml +42 -0
- modal_toolkit-1.8.0/.gitignore +2 -0
- modal_toolkit-1.8.0/AGENTS.md +84 -0
- modal_toolkit-1.8.0/CONTRIBUTING.md +27 -0
- modal_toolkit-1.8.0/LICENSE +201 -0
- modal_toolkit-1.8.0/PKG-INFO +11 -0
- modal_toolkit-1.8.0/README.md +220 -0
- modal_toolkit-1.8.0/SECURITY.md +28 -0
- modal_toolkit-1.8.0/dashboard-client/build.mjs +19 -0
- modal_toolkit-1.8.0/dashboard-client/dist/dashboard.js +31 -0
- modal_toolkit-1.8.0/dashboard-client/dist/index.html +29 -0
- modal_toolkit-1.8.0/dashboard-client/index.html +29 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/.bin/esbuild +1 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/.bin/tsc +1 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/.bin/tsserver +1 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/.package-lock.json +90 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/LICENSE.txt +7 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/README.md +39 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/arrow-logo.png +0 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/build/pack.mjs +56 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/build/size.mjs +57 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/build/terser.js +91 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/dist/chunks/internal-DchK7S7v.mjs +656 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/dist/chunks/internal-DchK7S7v.mjs.map +1 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/dist/index.d.ts +153 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/dist/index.js +1890 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/dist/index.js.map +1 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/dist/index.min.js +1 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/dist/index.min.mjs +1 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/dist/index.mjs +1342 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/dist/index.mjs.map +1 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/dist/internal.d.ts +127 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/dist/internal.mjs +2 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/dist/internal.mjs.map +1 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/package.json +47 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/rollup.config.ts +62 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/__tests__/__snapshots__/html.spec.ts.snap +160 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/__tests__/component.spec.ts +481 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/__tests__/component.types.ts +36 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/__tests__/html.spec.ts +1596 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/__tests__/nextTick.spec.ts +29 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/__tests__/pool.spec.ts +80 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/__tests__/reactive.spec.ts +409 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/__tests__/reactive.types.ts +20 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/__tests__/utils/events.ts +17 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/__tests__/watch.spec.ts +141 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/common.ts +115 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/component.ts +247 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/dom.ts +19 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/expressions.ts +56 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/html.ts +1639 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/hydration.ts +53 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/index.ts +47 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/internal.ts +9 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/pool.ts +153 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/src/reactive.ts +552 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@arrow-js/core/tsconfig.json +15 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@esbuild/darwin-arm64/README.md +3 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@esbuild/darwin-arm64/bin/esbuild +0 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/@esbuild/darwin-arm64/package.json +20 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/esbuild/LICENSE.md +21 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/esbuild/README.md +3 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/esbuild/bin/esbuild +0 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/esbuild/install.js +300 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/esbuild/lib/main.d.ts +720 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/esbuild/lib/main.js +2536 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/esbuild/package.json +74 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/LICENSE.txt +55 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/README.md +50 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/SECURITY.md +41 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/bin/tsc +2 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/bin/tsserver +2 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/_tsc.js +133818 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/_tsserver.js +659 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/_typingsInstaller.js +222 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2122 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2122 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2122 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2122 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2122 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2122 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2122 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.d.ts +22 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.decorators.d.ts +384 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.dom.d.ts +39429 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.dom.iterable.d.ts +571 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2015.iterable.d.ts +605 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2017.d.ts +26 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2020.bigint.d.ts +765 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +99 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2020.string.d.ts +44 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2021.weakref.d.ts +78 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2022.d.ts +25 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2022.error.d.ts +75 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2022.intl.d.ts +145 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2024.object.d.ts +29 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2024.promise.d.ts +35 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2024.regexp.d.ts +25 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +68 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es2024.string.d.ts +29 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es5.d.ts +4601 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.es6.d.ts +23 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.esnext.collection.d.ts +96 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.esnext.d.ts +29 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.esnext.error.d.ts +24 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.esnext.float16.d.ts +445 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +25 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.webworker.d.ts +13150 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/lib.webworker.iterable.d.ts +340 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2122 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2122 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2122 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2122 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/tsc.js +8 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/tsserver.js +8 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/tsserverlibrary.js +21 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/typesMap.json +497 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/typescript.d.ts +11437 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/typescript.js +200276 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/typingsInstaller.js +8 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/watchGuard.js +53 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2122 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2122 -0
- modal_toolkit-1.8.0/dashboard-client/node_modules/typescript/package.json +120 -0
- modal_toolkit-1.8.0/dashboard-client/package-lock.json +526 -0
- modal_toolkit-1.8.0/dashboard-client/package.json +18 -0
- modal_toolkit-1.8.0/dashboard-client/src/lib/store.ts +74 -0
- modal_toolkit-1.8.0/dashboard-client/src/main.ts +32 -0
- modal_toolkit-1.8.0/dashboard-client/src/views/BillingPanel.ts +43 -0
- modal_toolkit-1.8.0/dashboard-client/src/views/PackageGrid.ts +64 -0
- modal_toolkit-1.8.0/dashboard-client/tsconfig.json +12 -0
- modal_toolkit-1.8.0/docs/RUNBOOK.md +182 -0
- modal_toolkit-1.8.0/docs/images/cost.svg +6 -0
- modal_toolkit-1.8.0/docs/images/doctor.svg +6 -0
- modal_toolkit-1.8.0/docs/images/flow.svg +6 -0
- modal_toolkit-1.8.0/docs/images/lifecycle.svg +29 -0
- modal_toolkit-1.8.0/examples/lifecycle-example.py +42 -0
- modal_toolkit-1.8.0/examples/modal_cost_discipline_fleet.py +87 -0
- modal_toolkit-1.8.0/pyproject.toml +54 -0
- modal_toolkit-1.8.0/skills/mtk-cli-upgrade/SKILL.md +39 -0
- modal_toolkit-1.8.0/tests/test_cli_probe.py +157 -0
- modal_toolkit-1.8.0/tests/test_cli_secrets.py +277 -0
- modal_toolkit-1.8.0/tests/test_cli_stop_guard.py +92 -0
- modal_toolkit-1.8.0/tests/test_config.py +72 -0
- modal_toolkit-1.8.0/tests/test_dashboard.py +275 -0
- modal_toolkit-1.8.0/tests/test_manifest_crosscheck.py +166 -0
- modal_toolkit-1.8.0/tests/test_metrics.py +193 -0
- modal_toolkit-1.8.0/tests/test_package_list_parity.py +50 -0
- modal_toolkit-1.8.0/tests/test_pkg_commands.py +363 -0
- modal_toolkit-1.8.0/tests/test_project_deploy.py +130 -0
- modal_toolkit-1.8.0/tests/test_project_init.py +72 -0
- modal_toolkit-1.8.0/tests/test_project_preflight.py +88 -0
- modal_toolkit-1.8.0/tests/test_project_pull.py +94 -0
- modal_toolkit-1.8.0/tests/test_secrets.py +531 -0
- modal_toolkit-1.8.0/toolkit/__init__.py +1 -0
- modal_toolkit-1.8.0/toolkit/cli.py +938 -0
- modal_toolkit-1.8.0/toolkit/config.py +248 -0
- modal_toolkit-1.8.0/toolkit/dashboard/adapters/__init__.py +69 -0
- modal_toolkit-1.8.0/toolkit/dashboard/adapters/embedding.py +43 -0
- modal_toolkit-1.8.0/toolkit/dashboard/adapters/finetune.py +30 -0
- modal_toolkit-1.8.0/toolkit/dashboard/adapters/inference.py +53 -0
- modal_toolkit-1.8.0/toolkit/dashboard/adapters/vision.py +42 -0
- modal_toolkit-1.8.0/toolkit/dashboard/api.py +136 -0
- modal_toolkit-1.8.0/toolkit/dashboard/auth.py +113 -0
- modal_toolkit-1.8.0/toolkit/dashboard/billing.py +215 -0
- modal_toolkit-1.8.0/toolkit/dashboard/config_seed.py +70 -0
- modal_toolkit-1.8.0/toolkit/dashboard_app.py +65 -0
- modal_toolkit-1.8.0/toolkit/libs/__init__.py +142 -0
- modal_toolkit-1.8.0/toolkit/libs/hooks.py +127 -0
- modal_toolkit-1.8.0/toolkit/metrics.py +179 -0
- modal_toolkit-1.8.0/toolkit/pkg_commands.py +326 -0
- modal_toolkit-1.8.0/toolkit/project.py +252 -0
- modal_toolkit-1.8.0/toolkit/secrets.py +534 -0
- modal_toolkit-1.8.0/uv.lock +397 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# Pre-commit: fast local gate. Runs ruff format --check + ruff check on the
|
|
3
|
+
# STAGED python files only; blocks the commit on any failure. Install once
|
|
4
|
+
# per clone: git config core.hooksPath .githooks
|
|
5
|
+
set -u
|
|
6
|
+
|
|
7
|
+
files=$(git diff --cached --name-only --diff-filter=ACMR | grep -v "^tools/anti-slop-python/" | grep '\.py$' || true)
|
|
8
|
+
if [ -z "$files" ]; then
|
|
9
|
+
exit 0
|
|
10
|
+
fi
|
|
11
|
+
|
|
12
|
+
# Run from the repo root regardless of where the commit was staged.
|
|
13
|
+
cd "$(git rev-parse --show-toplevel)"
|
|
14
|
+
|
|
15
|
+
# Ruff runner: the project's own (uv run, pinned in dev deps) when present,
|
|
16
|
+
# falling back to uvx for repos that ship no pyproject (single-file tools).
|
|
17
|
+
if uv run ruff --version >/dev/null 2>&1; then
|
|
18
|
+
RUFF="uv run ruff"
|
|
19
|
+
else
|
|
20
|
+
RUFF="uvx ruff"
|
|
21
|
+
fi
|
|
22
|
+
|
|
23
|
+
fail=0
|
|
24
|
+
for f in $files; do
|
|
25
|
+
[ -f "$f" ] || continue
|
|
26
|
+
$RUFF format --check "$f" >/dev/null 2>&1 || { echo "format needed: $f (run: $RUFF format $f)"; fail=1; }
|
|
27
|
+
if ! $RUFF check "$f" >/tmp/lint_msg 2>&1; then
|
|
28
|
+
cat /tmp/lint_msg
|
|
29
|
+
fail=1
|
|
30
|
+
fi
|
|
31
|
+
done
|
|
32
|
+
|
|
33
|
+
if [ "$fail" -eq 1 ]; then
|
|
34
|
+
echo "pre-commit: fix the above or commit with --no-verify in an emergency."
|
|
35
|
+
exit 1
|
|
36
|
+
fi
|
|
37
|
+
exit 0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
github: kylebrodeur
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug Report
|
|
3
|
+
about: Report a problem with the server or a client tool
|
|
4
|
+
title: "bug: "
|
|
5
|
+
labels: bug
|
|
6
|
+
assignees: ''
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
**Describe the bug**
|
|
10
|
+
A clear and concise description of what went wrong.
|
|
11
|
+
|
|
12
|
+
**To Reproduce**
|
|
13
|
+
Steps to reproduce the behavior (include the exact command and any request payload, sanitized).
|
|
14
|
+
|
|
15
|
+
**Expected behavior**
|
|
16
|
+
What you expected to happen.
|
|
17
|
+
|
|
18
|
+
**Environment**
|
|
19
|
+
- Deployed version / commit
|
|
20
|
+
- Python version (`uv run python --version`)
|
|
21
|
+
- Modal runtime (`uvx modal --version`)
|
|
22
|
+
- GPU target if relevant (e.g., `T4`, `L4`, `H100`)
|
|
23
|
+
|
|
24
|
+
**Logs / errors**
|
|
25
|
+
Include any relevant stack trace or error message (sanitize secrets!).
|
|
26
|
+
|
|
27
|
+
**Additional context**
|
|
28
|
+
Anything else that might help (screenshots, request IDs, timing).
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Feature Request
|
|
3
|
+
about: Suggest an improvement to the server or tooling
|
|
4
|
+
title: "feature: "
|
|
5
|
+
labels: enhancement
|
|
6
|
+
assignees: ''
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
**What problem are you trying to solve?**
|
|
10
|
+
Describe the real-world need, not just the feature request.
|
|
11
|
+
|
|
12
|
+
**Proposed solution**
|
|
13
|
+
What you'd like to change or add. Reference any relevant mtk command, config key in `toolkit/config.py`, or CLI surface in `toolkit/cli.py`.
|
|
14
|
+
|
|
15
|
+
**Alternatives you've considered**
|
|
16
|
+
Other approaches or existing workarounds.
|
|
17
|
+
|
|
18
|
+
**Additional context**
|
|
19
|
+
Any other context: benchmarks, test data, related Modal docs.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
- package-ecosystem: "pip"
|
|
4
|
+
directory: "/"
|
|
5
|
+
schedule:
|
|
6
|
+
interval: "weekly"
|
|
7
|
+
day: "monday"
|
|
8
|
+
labels:
|
|
9
|
+
- "dependencies"
|
|
10
|
+
commit-message:
|
|
11
|
+
prefix: "deps"
|
|
12
|
+
- package-ecosystem: "github-actions"
|
|
13
|
+
directory: "/"
|
|
14
|
+
schedule:
|
|
15
|
+
interval: "weekly"
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
test:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v4
|
|
13
|
+
- name: Install uv
|
|
14
|
+
uses: astral-sh/setup-uv@v5
|
|
15
|
+
with:
|
|
16
|
+
version: "latest"
|
|
17
|
+
- name: Sync dependencies
|
|
18
|
+
run: uv sync --group dev
|
|
19
|
+
- name: Run tests
|
|
20
|
+
run: uv run pytest tests -q
|
|
21
|
+
- name: Run lint
|
|
22
|
+
run: uv run ruff check .
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
name: Publish
|
|
2
|
+
|
|
3
|
+
# Publishes to PyPI via trusted publishing (OIDC): no API token is stored in
|
|
4
|
+
# GitHub. Runs when a release is published. skip-existing lets a re-run upload
|
|
5
|
+
# only the files PyPI does not yet have.
|
|
6
|
+
|
|
7
|
+
on:
|
|
8
|
+
release:
|
|
9
|
+
types: [published]
|
|
10
|
+
workflow_dispatch:
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
build:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v4
|
|
17
|
+
- name: Install uv
|
|
18
|
+
uses: astral-sh/setup-uv@v5
|
|
19
|
+
with:
|
|
20
|
+
version: "latest"
|
|
21
|
+
- name: Build sdist and wheel
|
|
22
|
+
run: uv build
|
|
23
|
+
- uses: actions/upload-artifact@v4
|
|
24
|
+
with:
|
|
25
|
+
name: dist
|
|
26
|
+
path: dist/
|
|
27
|
+
|
|
28
|
+
publish:
|
|
29
|
+
needs: build
|
|
30
|
+
runs-on: ubuntu-latest
|
|
31
|
+
environment: pypi
|
|
32
|
+
permissions:
|
|
33
|
+
id-token: write
|
|
34
|
+
steps:
|
|
35
|
+
- uses: actions/download-artifact@v4
|
|
36
|
+
with:
|
|
37
|
+
name: dist
|
|
38
|
+
path: dist/
|
|
39
|
+
- name: Publish to PyPI
|
|
40
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
41
|
+
with:
|
|
42
|
+
skip-existing: true
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# AGENTS.md - modal-toolkit
|
|
2
|
+
|
|
3
|
+
Agent instructions for THIS repo (v1.4.1 on `main`). The family-wide
|
|
4
|
+
rules live in the system workspace's AGENTS.md
|
|
5
|
+
(`modal-toolkit-system/AGENTS.md`); this file is the local copy of the
|
|
6
|
+
rules that matter when you are standing inside this repo.
|
|
7
|
+
|
|
8
|
+
## What this repo is
|
|
9
|
+
|
|
10
|
+
the operator CLI (mtk) for the fleet: doctor/warm/shutdown/cost/flow + dashboard/secrets/metrics/libs. Part of the modal-* family
|
|
11
|
+
(https://github.com/kylebrodeur/modal-toolkit). Apache-2.0.
|
|
12
|
+
|
|
13
|
+
## NON-NEGOTIABLE: deploys never come from this checkout
|
|
14
|
+
|
|
15
|
+
**Agents MUST NOT run `modal deploy` / `modal run` from this repo.**
|
|
16
|
+
This repo is the SOURCE for operator overlays, not a deploy target.
|
|
17
|
+
Deploying from here uses this repo's fixed app name + shared
|
|
18
|
+
Volume/Secret names, which collide with live lanes and can WIPE their
|
|
19
|
+
state (this exact failure happened to the writing-duo vault lane on
|
|
20
|
+
2026-10-09).
|
|
21
|
+
|
|
22
|
+
- Operator/lane deploys run from an overlay dir
|
|
23
|
+
(`deploys/<pkg>/`: `deploy.json` composes `<slug>-<pkg>` app names +
|
|
24
|
+
secret NAMES; `deploy.sh` is the entry point).
|
|
25
|
+
- Before ANY account-touching command, run the preflight guard:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
# from the system workspace:
|
|
29
|
+
tools/guards/deploy-provenance.sh <your-overlay-dir>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
- Standalone PUBLIC users cloning this repo directly are the
|
|
33
|
+
exception the design protects: they get honest docs in the README
|
|
34
|
+
and accept the single-tenant default names. AGENTS (which work in
|
|
35
|
+
Kyle's workspace with live lanes) do not get that exemption.
|
|
36
|
+
- NEVER reset/reinit/pull-force a checkout to "fix" version confusion;
|
|
37
|
+
the upgrade unit is an upstream TAG:
|
|
38
|
+
`git fetch --tags && git checkout <tag>` (an `mtk pull` command is planned,
|
|
39
|
+
not shipped).
|
|
40
|
+
|
|
41
|
+
## Per-package commands: declared by the repos
|
|
42
|
+
|
|
43
|
+
`mtk <pkg>` command groups are NOT hard-coded here. Each deployable repo
|
|
44
|
+
ships `server/mtk-commands.toml` declaring its commands; `mtk` mounts one
|
|
45
|
+
group per repo that has a manifest (`toolkit/pkg_commands.py` is the loader
|
|
46
|
+
and host, `_mount_package_commands` in `cli.py` the mount). Adding or
|
|
47
|
+
changing a package command is a repo-side edit, not a `cli.py` edit. A
|
|
48
|
+
repo with no manifest mounts nothing, and `mtk doctor` lists each package's
|
|
49
|
+
declared commands. Run kinds: `modal` / `container` / `echo` / `probe`;
|
|
50
|
+
whole-surface delegation to a repo's own CLI is the `[passthrough]` form
|
|
51
|
+
(inference). Deploy-class commands declare no `requires` so they stay
|
|
52
|
+
reachable before the package is configured.
|
|
53
|
+
|
|
54
|
+
## Version + upgrade discipline
|
|
55
|
+
|
|
56
|
+
- The tag on `main` is the release of record; local checkouts track
|
|
57
|
+
tags, not heads. After a family release wave, upgrade by TAG and
|
|
58
|
+
re-run the repo suite (below).
|
|
59
|
+
- History: public repos carry the one squashed release commit
|
|
60
|
+
(`feat: initial public release`); iteration commits land normally
|
|
61
|
+
between releases. Do NOT amend/force-push a release without the
|
|
62
|
+
system workspace's release checklist
|
|
63
|
+
(`modal-toolkit-system/tools/release/release-repo.sh`).
|
|
64
|
+
|
|
65
|
+
## Verification (run before claiming anything works)
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
uv run pytest tests -q
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
- Lint/format: `uv run ruff check .` + `uv run ruff format --check .`
|
|
72
|
+
- Vendored-copy parity where the repo vendors shared modules:
|
|
73
|
+
`mtk libs check` (from the modal-toolkit sibling; CI runs it).
|
|
74
|
+
- Never claim a deploy/health result without running the thing.
|
|
75
|
+
|
|
76
|
+
## The lifecycle hook seam
|
|
77
|
+
|
|
78
|
+
- `toolkit/libs/hooks.py` is the VENDORED copy (mtk libs sync); its tags are the CLI-internal set if any - check the module docstring.
|
|
79
|
+
## Prose rules (this is a public repo)
|
|
80
|
+
|
|
81
|
+
No personal identifiers, no em/en dashes in prose, no AI-slop words
|
|
82
|
+
(robust / leverage / seamlessly / utilize), "private-first" not
|
|
83
|
+
"local-first". README claims must be runnable back (numbers honest,
|
|
84
|
+
sourced from runbooks/eval results).
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Thanks for your interest in contributing. This project is extracted from production work and kept intentionally lean, so contributions should follow the same spirit.
|
|
4
|
+
|
|
5
|
+
## Ground Rules
|
|
6
|
+
|
|
7
|
+
- **Keep it boring.** Prefer straightforward code over clever abstractions. This is a utility, not a framework.
|
|
8
|
+
- **No new heavyweight deps** unless absolutely required for a model or runtime. The local test env must stay fast to `uv sync`.
|
|
9
|
+
- **Config, not code.** Per-package settings live in the shared config
|
|
10
|
+
(`~/.config/modal-toolkit/config.json`: `base_url`/`token`/model keys
|
|
11
|
+
per package, validated by `toolkit/config.py`), not hard-coded in command
|
|
12
|
+
logic. New packages/commands are added in `toolkit/config.py` and
|
|
13
|
+
`toolkit/cli.py` (`PACKAGE_ORDER`, `FIELDS`, `build_parser`).
|
|
14
|
+
- **Env prefixes** follow the per-package names in `ENV_OVERRIDES`
|
|
15
|
+
(`MODAL_BASE_URL`, `MODAL_VISION_*`, `MODAL_FINETUNE_*`, `MODAL_VAULT_*`, ...).
|
|
16
|
+
Never reintroduce project-specific branding.
|
|
17
|
+
- **No AI slop.** Comments and docs should describe *why* the code exists, not restate what it does.
|
|
18
|
+
|
|
19
|
+
## Workflow
|
|
20
|
+
|
|
21
|
+
1. Fork and create a feature branch.
|
|
22
|
+
2. Use `uv sync --group dev` to set up a local dev environment.
|
|
23
|
+
3. Ensure `uv run pytest tests -q` passes for any code change.
|
|
24
|
+
4. Run `uv run ruff check .` before submitting.
|
|
25
|
+
5. Submit a pull request against `main` with a clear description of what and why.
|
|
26
|
+
|
|
27
|
+
The project is licensed under Apache 2.0. By contributing you agree that your contributions will be licensed under the same terms.
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act on
|
|
170
|
+
Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: modal-toolkit
|
|
3
|
+
Version: 1.8.0
|
|
4
|
+
Summary: One operator CLI for the full Modal Toolkit lifecycle: deploy, warm, doctor, shutdown, cost, and flows across all four packages
|
|
5
|
+
License-File: LICENSE
|
|
6
|
+
Requires-Python: <3.13,>=3.11
|
|
7
|
+
Requires-Dist: httpx<1,>=0.27
|
|
8
|
+
Requires-Dist: pydantic<3,>=2.10
|
|
9
|
+
Requires-Dist: pyyaml>=6.0.3
|
|
10
|
+
Provides-Extra: web
|
|
11
|
+
Requires-Dist: fastapi<1,>=0.115; extra == 'web'
|