litmus-cli 1.5.16-beta.1 → 1.5.16
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/README.md +5 -0
- package/dist/commands/connect.d.ts.map +1 -1
- package/dist/commands/connect.js +6 -0
- package/dist/commands/connect.js.map +1 -1
- package/dist/commands/screen-capture.d.ts +20 -0
- package/dist/commands/screen-capture.d.ts.map +1 -0
- package/dist/commands/screen-capture.js +168 -0
- package/dist/commands/screen-capture.js.map +1 -0
- package/dist/index.js +10 -5
- package/dist/index.js.map +1 -1
- package/dist/lib/ai-network-hosts.d.ts.map +1 -1
- package/dist/lib/ai-network-hosts.js +5 -0
- package/dist/lib/ai-network-hosts.js.map +1 -1
- package/dist/lib/config.d.ts +2 -0
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/lib/config.js.map +1 -1
- package/dist/lib/connect-node-upgrade.d.ts +2 -0
- package/dist/lib/connect-node-upgrade.d.ts.map +1 -0
- package/dist/lib/connect-node-upgrade.js +122 -0
- package/dist/lib/connect-node-upgrade.js.map +1 -0
- package/dist/lib/credential-scrub.d.ts +30 -0
- package/dist/lib/credential-scrub.d.ts.map +1 -0
- package/dist/lib/credential-scrub.js +176 -0
- package/dist/lib/credential-scrub.js.map +1 -0
- package/dist/lib/hosted-watcher.js +21 -0
- package/dist/lib/hosted-watcher.js.map +1 -1
- package/dist/lib/laptop-capture.d.ts +259 -0
- package/dist/lib/laptop-capture.d.ts.map +1 -0
- package/dist/lib/laptop-capture.js +1347 -0
- package/dist/lib/laptop-capture.js.map +1 -0
- package/dist/lib/schemas.d.ts +1 -0
- package/dist/lib/schemas.d.ts.map +1 -1
- package/dist/lib/schemas.js +3 -0
- package/dist/lib/schemas.js.map +1 -1
- package/dist/native/windows/LitmusCapture.cs +1738 -0
- package/dist/node_modules/@nodelib/fs.scandir/LICENSE +21 -0
- package/dist/node_modules/@nodelib/fs.scandir/README.md +171 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +19 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/constants.d.ts +4 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/constants.js +17 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/index.d.ts +12 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/index.js +26 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/providers/async.js +104 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +1 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/providers/common.js +13 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +5 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/providers/sync.js +54 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/settings.d.ts +20 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/settings.js +24 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/types/index.js +2 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +2 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/utils/fs.js +19 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +2 -0
- package/dist/node_modules/@nodelib/fs.scandir/out/utils/index.js +5 -0
- package/dist/node_modules/@nodelib/fs.scandir/package.json +44 -0
- package/dist/node_modules/@nodelib/fs.stat/LICENSE +21 -0
- package/dist/node_modules/@nodelib/fs.stat/README.md +126 -0
- package/dist/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
- package/dist/node_modules/@nodelib/fs.stat/out/adapters/fs.js +17 -0
- package/dist/node_modules/@nodelib/fs.stat/out/index.d.ts +12 -0
- package/dist/node_modules/@nodelib/fs.stat/out/index.js +26 -0
- package/dist/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
- package/dist/node_modules/@nodelib/fs.stat/out/providers/async.js +36 -0
- package/dist/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +3 -0
- package/dist/node_modules/@nodelib/fs.stat/out/providers/sync.js +23 -0
- package/dist/node_modules/@nodelib/fs.stat/out/settings.d.ts +16 -0
- package/dist/node_modules/@nodelib/fs.stat/out/settings.js +16 -0
- package/dist/node_modules/@nodelib/fs.stat/out/types/index.d.ts +4 -0
- package/dist/node_modules/@nodelib/fs.stat/out/types/index.js +2 -0
- package/dist/node_modules/@nodelib/fs.stat/package.json +37 -0
- package/dist/node_modules/@nodelib/fs.walk/LICENSE +21 -0
- package/dist/node_modules/@nodelib/fs.walk/README.md +215 -0
- package/dist/node_modules/@nodelib/fs.walk/out/index.d.ts +14 -0
- package/dist/node_modules/@nodelib/fs.walk/out/index.js +34 -0
- package/dist/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
- package/dist/node_modules/@nodelib/fs.walk/out/providers/async.js +30 -0
- package/dist/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +4 -0
- package/dist/node_modules/@nodelib/fs.walk/out/providers/index.js +9 -0
- package/dist/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +12 -0
- package/dist/node_modules/@nodelib/fs.walk/out/providers/stream.js +34 -0
- package/dist/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +10 -0
- package/dist/node_modules/@nodelib/fs.walk/out/providers/sync.js +14 -0
- package/dist/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
- package/dist/node_modules/@nodelib/fs.walk/out/readers/async.js +97 -0
- package/dist/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +7 -0
- package/dist/node_modules/@nodelib/fs.walk/out/readers/common.js +31 -0
- package/dist/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
- package/dist/node_modules/@nodelib/fs.walk/out/readers/reader.js +11 -0
- package/dist/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +15 -0
- package/dist/node_modules/@nodelib/fs.walk/out/readers/sync.js +59 -0
- package/dist/node_modules/@nodelib/fs.walk/out/settings.d.ts +30 -0
- package/dist/node_modules/@nodelib/fs.walk/out/settings.js +26 -0
- package/dist/node_modules/@nodelib/fs.walk/out/types/index.d.ts +8 -0
- package/dist/node_modules/@nodelib/fs.walk/out/types/index.js +2 -0
- package/dist/node_modules/@nodelib/fs.walk/package.json +44 -0
- package/dist/node_modules/ansi-regex/index.d.ts +33 -0
- package/dist/node_modules/ansi-regex/index.js +15 -0
- package/dist/node_modules/ansi-regex/license +9 -0
- package/dist/node_modules/ansi-regex/package.json +61 -0
- package/dist/node_modules/ansi-regex/readme.md +66 -0
- package/dist/node_modules/bluebird/LICENSE +21 -0
- package/dist/node_modules/bluebird/README.md +57 -0
- package/dist/node_modules/bluebird/changelog.md +1 -0
- package/dist/node_modules/bluebird/js/browser/bluebird.core.js +3914 -0
- package/dist/node_modules/bluebird/js/browser/bluebird.core.min.js +31 -0
- package/dist/node_modules/bluebird/js/browser/bluebird.js +5778 -0
- package/dist/node_modules/bluebird/js/browser/bluebird.min.js +31 -0
- package/dist/node_modules/bluebird/js/release/any.js +21 -0
- package/dist/node_modules/bluebird/js/release/assert.js +55 -0
- package/dist/node_modules/bluebird/js/release/async.js +120 -0
- package/dist/node_modules/bluebird/js/release/bind.js +67 -0
- package/dist/node_modules/bluebird/js/release/bluebird.js +11 -0
- package/dist/node_modules/bluebird/js/release/call_get.js +123 -0
- package/dist/node_modules/bluebird/js/release/cancel.js +129 -0
- package/dist/node_modules/bluebird/js/release/catch_filter.js +42 -0
- package/dist/node_modules/bluebird/js/release/context.js +69 -0
- package/dist/node_modules/bluebird/js/release/debuggability.js +1009 -0
- package/dist/node_modules/bluebird/js/release/direct_resolve.js +46 -0
- package/dist/node_modules/bluebird/js/release/each.js +30 -0
- package/dist/node_modules/bluebird/js/release/errors.js +116 -0
- package/dist/node_modules/bluebird/js/release/es5.js +80 -0
- package/dist/node_modules/bluebird/js/release/filter.js +12 -0
- package/dist/node_modules/bluebird/js/release/finally.js +146 -0
- package/dist/node_modules/bluebird/js/release/generators.js +223 -0
- package/dist/node_modules/bluebird/js/release/join.js +165 -0
- package/dist/node_modules/bluebird/js/release/map.js +175 -0
- package/dist/node_modules/bluebird/js/release/method.js +55 -0
- package/dist/node_modules/bluebird/js/release/nodeback.js +51 -0
- package/dist/node_modules/bluebird/js/release/nodeify.js +58 -0
- package/dist/node_modules/bluebird/js/release/promise.js +819 -0
- package/dist/node_modules/bluebird/js/release/promise_array.js +186 -0
- package/dist/node_modules/bluebird/js/release/promisify.js +314 -0
- package/dist/node_modules/bluebird/js/release/props.js +118 -0
- package/dist/node_modules/bluebird/js/release/queue.js +73 -0
- package/dist/node_modules/bluebird/js/release/race.js +49 -0
- package/dist/node_modules/bluebird/js/release/reduce.js +183 -0
- package/dist/node_modules/bluebird/js/release/schedule.js +62 -0
- package/dist/node_modules/bluebird/js/release/settle.js +47 -0
- package/dist/node_modules/bluebird/js/release/some.js +148 -0
- package/dist/node_modules/bluebird/js/release/synchronous_inspection.js +103 -0
- package/dist/node_modules/bluebird/js/release/thenables.js +86 -0
- package/dist/node_modules/bluebird/js/release/timers.js +93 -0
- package/dist/node_modules/bluebird/js/release/using.js +226 -0
- package/dist/node_modules/bluebird/js/release/util.js +421 -0
- package/dist/node_modules/bluebird/package.json +78 -0
- package/dist/node_modules/braces/LICENSE +21 -0
- package/dist/node_modules/braces/README.md +586 -0
- package/dist/node_modules/braces/index.js +170 -0
- package/dist/node_modules/braces/lib/compile.js +60 -0
- package/dist/node_modules/braces/lib/constants.js +57 -0
- package/dist/node_modules/braces/lib/expand.js +113 -0
- package/dist/node_modules/braces/lib/parse.js +331 -0
- package/dist/node_modules/braces/lib/stringify.js +32 -0
- package/dist/node_modules/braces/lib/utils.js +122 -0
- package/dist/node_modules/braces/package.json +77 -0
- package/dist/node_modules/buffer-crc32/LICENSE +19 -0
- package/dist/node_modules/buffer-crc32/README.md +55 -0
- package/dist/node_modules/buffer-crc32/dist/index.cjs +306 -0
- package/dist/node_modules/buffer-crc32/dist/index.d.cts +35 -0
- package/dist/node_modules/buffer-crc32/dist/index.d.mts +35 -0
- package/dist/node_modules/buffer-crc32/dist/index.mjs +304 -0
- package/dist/node_modules/buffer-crc32/index.d.ts +35 -0
- package/dist/node_modules/buffer-crc32/package.json +54 -0
- package/dist/node_modules/chalk/license +9 -0
- package/dist/node_modules/chalk/package.json +83 -0
- package/dist/node_modules/chalk/readme.md +297 -0
- package/dist/node_modules/chalk/source/index.d.ts +325 -0
- package/dist/node_modules/chalk/source/index.js +225 -0
- package/dist/node_modules/chalk/source/utilities.js +33 -0
- package/dist/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/dist/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/dist/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/dist/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/dist/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/dist/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
- package/dist/node_modules/chokidar/LICENSE +21 -0
- package/dist/node_modules/chokidar/README.md +305 -0
- package/dist/node_modules/chokidar/handler.d.ts +90 -0
- package/dist/node_modules/chokidar/handler.js +632 -0
- package/dist/node_modules/chokidar/index.d.ts +217 -0
- package/dist/node_modules/chokidar/index.js +822 -0
- package/dist/node_modules/chokidar/package.json +63 -0
- package/dist/node_modules/cli-cursor/index.d.ts +47 -0
- package/dist/node_modules/cli-cursor/index.js +39 -0
- package/dist/node_modules/cli-cursor/license +9 -0
- package/dist/node_modules/cli-cursor/package.json +56 -0
- package/dist/node_modules/cli-cursor/readme.md +39 -0
- package/dist/node_modules/cli-spinners/index.d.ts +139 -0
- package/dist/node_modules/cli-spinners/index.js +11 -0
- package/dist/node_modules/cli-spinners/license +9 -0
- package/dist/node_modules/cli-spinners/package.json +56 -0
- package/dist/node_modules/cli-spinners/readme.md +74 -0
- package/dist/node_modules/cli-spinners/spinners.json +1697 -0
- package/dist/node_modules/commander/LICENSE +22 -0
- package/dist/node_modules/commander/Readme.md +1172 -0
- package/dist/node_modules/commander/index.js +21 -0
- package/dist/node_modules/commander/lib/argument.js +147 -0
- package/dist/node_modules/commander/lib/command.js +2790 -0
- package/dist/node_modules/commander/lib/error.js +36 -0
- package/dist/node_modules/commander/lib/help.js +731 -0
- package/dist/node_modules/commander/lib/option.js +377 -0
- package/dist/node_modules/commander/lib/suggestSimilar.js +99 -0
- package/dist/node_modules/commander/package-support.json +19 -0
- package/dist/node_modules/commander/package.json +64 -0
- package/dist/node_modules/commander/typings/index.d.ts +1113 -0
- package/dist/node_modules/core-util-is/LICENSE +19 -0
- package/dist/node_modules/core-util-is/README.md +3 -0
- package/dist/node_modules/core-util-is/lib/util.js +107 -0
- package/dist/node_modules/core-util-is/package.json +38 -0
- package/dist/node_modules/duplexer2/LICENSE.md +26 -0
- package/dist/node_modules/duplexer2/README.md +115 -0
- package/dist/node_modules/duplexer2/index.js +76 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/.travis.yml +34 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/LICENSE +47 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/README.md +58 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/duplex-browser.js +1 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/duplex.js +1 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/lib/_stream_transform.js +214 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/lib/_stream_writable.js +685 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/package.json +52 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/passthrough.js +1 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/readable-browser.js +7 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/readable.js +19 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/transform.js +1 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/writable-browser.js +1 -0
- package/dist/node_modules/duplexer2/node_modules/readable-stream/writable.js +8 -0
- package/dist/node_modules/duplexer2/node_modules/safe-buffer/LICENSE +21 -0
- package/dist/node_modules/duplexer2/node_modules/safe-buffer/README.md +584 -0
- package/dist/node_modules/duplexer2/node_modules/safe-buffer/index.d.ts +187 -0
- package/dist/node_modules/duplexer2/node_modules/safe-buffer/index.js +62 -0
- package/dist/node_modules/duplexer2/node_modules/safe-buffer/package.json +37 -0
- package/dist/node_modules/duplexer2/node_modules/string_decoder/.travis.yml +50 -0
- package/dist/node_modules/duplexer2/node_modules/string_decoder/LICENSE +48 -0
- package/dist/node_modules/duplexer2/node_modules/string_decoder/README.md +47 -0
- package/dist/node_modules/duplexer2/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/dist/node_modules/duplexer2/node_modules/string_decoder/package.json +31 -0
- package/dist/node_modules/duplexer2/package.json +28 -0
- package/dist/node_modules/fast-glob/LICENSE +21 -0
- package/dist/node_modules/fast-glob/README.md +830 -0
- package/dist/node_modules/fast-glob/out/index.d.ts +40 -0
- package/dist/node_modules/fast-glob/out/index.js +102 -0
- package/dist/node_modules/fast-glob/out/managers/tasks.d.ts +22 -0
- package/dist/node_modules/fast-glob/out/managers/tasks.js +110 -0
- package/dist/node_modules/fast-glob/out/providers/async.d.ts +9 -0
- package/dist/node_modules/fast-glob/out/providers/async.js +23 -0
- package/dist/node_modules/fast-glob/out/providers/filters/deep.d.ts +16 -0
- package/dist/node_modules/fast-glob/out/providers/filters/deep.js +62 -0
- package/dist/node_modules/fast-glob/out/providers/filters/entry.d.ts +17 -0
- package/dist/node_modules/fast-glob/out/providers/filters/entry.js +85 -0
- package/dist/node_modules/fast-glob/out/providers/filters/error.d.ts +8 -0
- package/dist/node_modules/fast-glob/out/providers/filters/error.js +15 -0
- package/dist/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +33 -0
- package/dist/node_modules/fast-glob/out/providers/matchers/matcher.js +45 -0
- package/dist/node_modules/fast-glob/out/providers/matchers/partial.d.ts +4 -0
- package/dist/node_modules/fast-glob/out/providers/matchers/partial.js +38 -0
- package/dist/node_modules/fast-glob/out/providers/provider.d.ts +19 -0
- package/dist/node_modules/fast-glob/out/providers/provider.js +48 -0
- package/dist/node_modules/fast-glob/out/providers/stream.d.ts +11 -0
- package/dist/node_modules/fast-glob/out/providers/stream.js +31 -0
- package/dist/node_modules/fast-glob/out/providers/sync.d.ts +9 -0
- package/dist/node_modules/fast-glob/out/providers/sync.js +23 -0
- package/dist/node_modules/fast-glob/out/providers/transformers/entry.d.ts +8 -0
- package/dist/node_modules/fast-glob/out/providers/transformers/entry.js +26 -0
- package/dist/node_modules/fast-glob/out/readers/async.d.ts +10 -0
- package/dist/node_modules/fast-glob/out/readers/async.js +35 -0
- package/dist/node_modules/fast-glob/out/readers/reader.d.ts +15 -0
- package/dist/node_modules/fast-glob/out/readers/reader.js +33 -0
- package/dist/node_modules/fast-glob/out/readers/stream.d.ts +14 -0
- package/dist/node_modules/fast-glob/out/readers/stream.js +55 -0
- package/dist/node_modules/fast-glob/out/readers/sync.d.ts +12 -0
- package/dist/node_modules/fast-glob/out/readers/sync.js +43 -0
- package/dist/node_modules/fast-glob/out/settings.d.ts +164 -0
- package/dist/node_modules/fast-glob/out/settings.js +59 -0
- package/dist/node_modules/fast-glob/out/types/index.d.ts +31 -0
- package/dist/node_modules/fast-glob/out/types/index.js +2 -0
- package/dist/node_modules/fast-glob/out/utils/array.d.ts +2 -0
- package/dist/node_modules/fast-glob/out/utils/array.js +22 -0
- package/dist/node_modules/fast-glob/out/utils/errno.d.ts +2 -0
- package/dist/node_modules/fast-glob/out/utils/errno.js +7 -0
- package/dist/node_modules/fast-glob/out/utils/fs.d.ts +4 -0
- package/dist/node_modules/fast-glob/out/utils/fs.js +19 -0
- package/dist/node_modules/fast-glob/out/utils/index.d.ts +8 -0
- package/dist/node_modules/fast-glob/out/utils/index.js +17 -0
- package/dist/node_modules/fast-glob/out/utils/path.d.ts +13 -0
- package/dist/node_modules/fast-glob/out/utils/path.js +68 -0
- package/dist/node_modules/fast-glob/out/utils/pattern.d.ts +49 -0
- package/dist/node_modules/fast-glob/out/utils/pattern.js +206 -0
- package/dist/node_modules/fast-glob/out/utils/stream.d.ts +4 -0
- package/dist/node_modules/fast-glob/out/utils/stream.js +17 -0
- package/dist/node_modules/fast-glob/out/utils/string.d.ts +2 -0
- package/dist/node_modules/fast-glob/out/utils/string.js +11 -0
- package/dist/node_modules/fast-glob/package.json +81 -0
- package/dist/node_modules/fastq/LICENSE +13 -0
- package/dist/node_modules/fastq/README.md +310 -0
- package/dist/node_modules/fastq/SECURITY.md +15 -0
- package/dist/node_modules/fastq/bench.js +66 -0
- package/dist/node_modules/fastq/eslint.config.js +11 -0
- package/dist/node_modules/fastq/example.js +14 -0
- package/dist/node_modules/fastq/example.mjs +9 -0
- package/dist/node_modules/fastq/index.d.ts +59 -0
- package/dist/node_modules/fastq/package.json +49 -0
- package/dist/node_modules/fastq/queue.js +346 -0
- package/dist/node_modules/fastq/test/example.ts +83 -0
- package/dist/node_modules/fastq/test/promise.js +325 -0
- package/dist/node_modules/fastq/test/test.js +733 -0
- package/dist/node_modules/fastq/test/tsconfig.json +11 -0
- package/dist/node_modules/fill-range/LICENSE +21 -0
- package/dist/node_modules/fill-range/README.md +237 -0
- package/dist/node_modules/fill-range/index.js +248 -0
- package/dist/node_modules/fill-range/package.json +74 -0
- package/dist/node_modules/fs-extra/LICENSE +15 -0
- package/dist/node_modules/fs-extra/README.md +294 -0
- package/dist/node_modules/fs-extra/lib/copy/copy-sync.js +171 -0
- package/dist/node_modules/fs-extra/lib/copy/copy.js +182 -0
- package/dist/node_modules/fs-extra/lib/copy/index.js +7 -0
- package/dist/node_modules/fs-extra/lib/empty/index.js +39 -0
- package/dist/node_modules/fs-extra/lib/ensure/file.js +66 -0
- package/dist/node_modules/fs-extra/lib/ensure/index.js +23 -0
- package/dist/node_modules/fs-extra/lib/ensure/link.js +64 -0
- package/dist/node_modules/fs-extra/lib/ensure/symlink-paths.js +101 -0
- package/dist/node_modules/fs-extra/lib/ensure/symlink-type.js +34 -0
- package/dist/node_modules/fs-extra/lib/ensure/symlink.js +67 -0
- package/dist/node_modules/fs-extra/lib/esm.mjs +68 -0
- package/dist/node_modules/fs-extra/lib/fs/index.js +146 -0
- package/dist/node_modules/fs-extra/lib/index.js +16 -0
- package/dist/node_modules/fs-extra/lib/json/index.js +16 -0
- package/dist/node_modules/fs-extra/lib/json/jsonfile.js +11 -0
- package/dist/node_modules/fs-extra/lib/json/output-json-sync.js +12 -0
- package/dist/node_modules/fs-extra/lib/json/output-json.js +12 -0
- package/dist/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
- package/dist/node_modules/fs-extra/lib/mkdirs/make-dir.js +27 -0
- package/dist/node_modules/fs-extra/lib/mkdirs/utils.js +21 -0
- package/dist/node_modules/fs-extra/lib/move/index.js +7 -0
- package/dist/node_modules/fs-extra/lib/move/move-sync.js +55 -0
- package/dist/node_modules/fs-extra/lib/move/move.js +59 -0
- package/dist/node_modules/fs-extra/lib/output-file/index.js +31 -0
- package/dist/node_modules/fs-extra/lib/path-exists/index.js +12 -0
- package/dist/node_modules/fs-extra/lib/remove/index.js +17 -0
- package/dist/node_modules/fs-extra/lib/util/stat.js +159 -0
- package/dist/node_modules/fs-extra/lib/util/utimes.js +36 -0
- package/dist/node_modules/fs-extra/package.json +71 -0
- package/dist/node_modules/get-east-asian-width/index.d.ts +60 -0
- package/dist/node_modules/get-east-asian-width/index.js +35 -0
- package/dist/node_modules/get-east-asian-width/license +9 -0
- package/dist/node_modules/get-east-asian-width/lookup-data.js +21 -0
- package/dist/node_modules/get-east-asian-width/lookup.js +138 -0
- package/dist/node_modules/get-east-asian-width/package.json +71 -0
- package/dist/node_modules/get-east-asian-width/readme.md +65 -0
- package/dist/node_modules/get-east-asian-width/utilities.js +24 -0
- package/dist/node_modules/glob-parent/CHANGELOG.md +110 -0
- package/dist/node_modules/glob-parent/LICENSE +15 -0
- package/dist/node_modules/glob-parent/README.md +137 -0
- package/dist/node_modules/glob-parent/index.js +42 -0
- package/dist/node_modules/glob-parent/package.json +48 -0
- package/dist/node_modules/graceful-fs/LICENSE +15 -0
- package/dist/node_modules/graceful-fs/README.md +143 -0
- package/dist/node_modules/graceful-fs/clone.js +23 -0
- package/dist/node_modules/graceful-fs/graceful-fs.js +448 -0
- package/dist/node_modules/graceful-fs/legacy-streams.js +118 -0
- package/dist/node_modules/graceful-fs/package.json +53 -0
- package/dist/node_modules/graceful-fs/polyfills.js +355 -0
- package/dist/node_modules/inherits/LICENSE +16 -0
- package/dist/node_modules/inherits/README.md +42 -0
- package/dist/node_modules/inherits/inherits.js +9 -0
- package/dist/node_modules/inherits/inherits_browser.js +27 -0
- package/dist/node_modules/inherits/package.json +29 -0
- package/dist/node_modules/is-extglob/LICENSE +21 -0
- package/dist/node_modules/is-extglob/README.md +107 -0
- package/dist/node_modules/is-extglob/index.js +20 -0
- package/dist/node_modules/is-extglob/package.json +69 -0
- package/dist/node_modules/is-glob/LICENSE +21 -0
- package/dist/node_modules/is-glob/README.md +206 -0
- package/dist/node_modules/is-glob/index.js +150 -0
- package/dist/node_modules/is-glob/package.json +81 -0
- package/dist/node_modules/is-interactive/index.d.ts +25 -0
- package/dist/node_modules/is-interactive/index.js +7 -0
- package/dist/node_modules/is-interactive/license +9 -0
- package/dist/node_modules/is-interactive/package.json +41 -0
- package/dist/node_modules/is-interactive/readme.md +52 -0
- package/dist/node_modules/is-number/LICENSE +21 -0
- package/dist/node_modules/is-number/README.md +187 -0
- package/dist/node_modules/is-number/index.js +18 -0
- package/dist/node_modules/is-number/package.json +82 -0
- package/dist/node_modules/is-unicode-supported/index.d.ts +12 -0
- package/dist/node_modules/is-unicode-supported/index.js +21 -0
- package/dist/node_modules/is-unicode-supported/license +9 -0
- package/dist/node_modules/is-unicode-supported/package.json +47 -0
- package/dist/node_modules/is-unicode-supported/readme.md +35 -0
- package/dist/node_modules/isarray/.travis.yml +4 -0
- package/dist/node_modules/isarray/Makefile +6 -0
- package/dist/node_modules/isarray/README.md +60 -0
- package/dist/node_modules/isarray/component.json +19 -0
- package/dist/node_modules/isarray/index.js +5 -0
- package/dist/node_modules/isarray/package.json +45 -0
- package/dist/node_modules/isarray/test.js +20 -0
- package/dist/node_modules/jsonfile/LICENSE +15 -0
- package/dist/node_modules/jsonfile/README.md +230 -0
- package/dist/node_modules/jsonfile/index.js +88 -0
- package/dist/node_modules/jsonfile/package.json +40 -0
- package/dist/node_modules/jsonfile/utils.js +18 -0
- package/dist/node_modules/log-symbols/browser-symbols.js +4 -0
- package/dist/node_modules/log-symbols/browser.js +1 -0
- package/dist/node_modules/log-symbols/index.d.ts +22 -0
- package/dist/node_modules/log-symbols/index.js +1 -0
- package/dist/node_modules/log-symbols/license +9 -0
- package/dist/node_modules/log-symbols/package.json +60 -0
- package/dist/node_modules/log-symbols/readme.md +39 -0
- package/dist/node_modules/log-symbols/symbols.js +14 -0
- package/dist/node_modules/merge2/LICENSE +21 -0
- package/dist/node_modules/merge2/README.md +144 -0
- package/dist/node_modules/merge2/index.js +144 -0
- package/dist/node_modules/merge2/package.json +43 -0
- package/dist/node_modules/micromatch/LICENSE +21 -0
- package/dist/node_modules/micromatch/README.md +1024 -0
- package/dist/node_modules/micromatch/index.js +474 -0
- package/dist/node_modules/micromatch/package.json +119 -0
- package/dist/node_modules/mimic-function/index.d.ts +52 -0
- package/dist/node_modules/mimic-function/index.js +72 -0
- package/dist/node_modules/mimic-function/license +9 -0
- package/dist/node_modules/mimic-function/package.json +49 -0
- package/dist/node_modules/mimic-function/readme.md +80 -0
- package/dist/node_modules/node-int64/Int64.js +268 -0
- package/dist/node_modules/node-int64/LICENSE +19 -0
- package/dist/node_modules/node-int64/README.md +78 -0
- package/dist/node_modules/node-int64/package.json +27 -0
- package/dist/node_modules/node-int64/test.js +120 -0
- package/dist/node_modules/onetime/index.d.ts +59 -0
- package/dist/node_modules/onetime/index.js +41 -0
- package/dist/node_modules/onetime/license +9 -0
- package/dist/node_modules/onetime/package.json +49 -0
- package/dist/node_modules/onetime/readme.md +88 -0
- package/dist/node_modules/ora/index.d.ts +380 -0
- package/dist/node_modules/ora/index.js +668 -0
- package/dist/node_modules/ora/license +9 -0
- package/dist/node_modules/ora/package.json +62 -0
- package/dist/node_modules/ora/readme.md +427 -0
- package/dist/node_modules/pend/LICENSE +23 -0
- package/dist/node_modules/pend/README.md +41 -0
- package/dist/node_modules/pend/index.js +55 -0
- package/dist/node_modules/pend/package.json +18 -0
- package/dist/node_modules/pend/test.js +137 -0
- package/dist/node_modules/picomatch/LICENSE +21 -0
- package/dist/node_modules/picomatch/README.md +716 -0
- package/dist/node_modules/picomatch/index.js +3 -0
- package/dist/node_modules/picomatch/lib/constants.js +184 -0
- package/dist/node_modules/picomatch/lib/parse.js +1392 -0
- package/dist/node_modules/picomatch/lib/picomatch.js +342 -0
- package/dist/node_modules/picomatch/lib/scan.js +391 -0
- package/dist/node_modules/picomatch/lib/utils.js +64 -0
- package/dist/node_modules/picomatch/package.json +81 -0
- package/dist/node_modules/process-nextick-args/index.js +45 -0
- package/dist/node_modules/process-nextick-args/license.md +19 -0
- package/dist/node_modules/process-nextick-args/package.json +25 -0
- package/dist/node_modules/process-nextick-args/readme.md +18 -0
- package/dist/node_modules/proper-lockfile/CHANGELOG.md +108 -0
- package/dist/node_modules/proper-lockfile/LICENSE +21 -0
- package/dist/node_modules/proper-lockfile/README.md +183 -0
- package/dist/node_modules/proper-lockfile/index.js +40 -0
- package/dist/node_modules/proper-lockfile/lib/adapter.js +85 -0
- package/dist/node_modules/proper-lockfile/lib/lockfile.js +342 -0
- package/dist/node_modules/proper-lockfile/lib/mtime-precision.js +55 -0
- package/dist/node_modules/proper-lockfile/node_modules/signal-exit/LICENSE.txt +16 -0
- package/dist/node_modules/proper-lockfile/node_modules/signal-exit/README.md +39 -0
- package/dist/node_modules/proper-lockfile/node_modules/signal-exit/index.js +202 -0
- package/dist/node_modules/proper-lockfile/node_modules/signal-exit/package.json +38 -0
- package/dist/node_modules/proper-lockfile/node_modules/signal-exit/signals.js +53 -0
- package/dist/node_modules/proper-lockfile/package.json +71 -0
- package/dist/node_modules/queue-microtask/LICENSE +20 -0
- package/dist/node_modules/queue-microtask/README.md +90 -0
- package/dist/node_modules/queue-microtask/index.d.ts +2 -0
- package/dist/node_modules/queue-microtask/index.js +9 -0
- package/dist/node_modules/queue-microtask/package.json +55 -0
- package/dist/node_modules/readdirp/LICENSE +21 -0
- package/dist/node_modules/readdirp/README.md +120 -0
- package/dist/node_modules/readdirp/index.d.ts +108 -0
- package/dist/node_modules/readdirp/index.js +272 -0
- package/dist/node_modules/readdirp/package.json +66 -0
- package/dist/node_modules/restore-cursor/index.d.ts +15 -0
- package/dist/node_modules/restore-cursor/index.js +15 -0
- package/dist/node_modules/restore-cursor/license +9 -0
- package/dist/node_modules/restore-cursor/package.json +57 -0
- package/dist/node_modules/restore-cursor/readme.md +21 -0
- package/dist/node_modules/retry/.travis.yml +15 -0
- package/dist/node_modules/retry/License +21 -0
- package/dist/node_modules/retry/Makefile +18 -0
- package/dist/node_modules/retry/README.md +227 -0
- package/dist/node_modules/retry/equation.gif +0 -0
- package/dist/node_modules/retry/example/dns.js +31 -0
- package/dist/node_modules/retry/example/stop.js +40 -0
- package/dist/node_modules/retry/index.js +1 -0
- package/dist/node_modules/retry/lib/retry.js +100 -0
- package/dist/node_modules/retry/lib/retry_operation.js +158 -0
- package/dist/node_modules/retry/package.json +32 -0
- package/dist/node_modules/retry/test/common.js +10 -0
- package/dist/node_modules/retry/test/integration/test-forever.js +24 -0
- package/dist/node_modules/retry/test/integration/test-retry-operation.js +258 -0
- package/dist/node_modules/retry/test/integration/test-retry-wrap.js +101 -0
- package/dist/node_modules/retry/test/integration/test-timeouts.js +69 -0
- package/dist/node_modules/reusify/.github/dependabot.yml +7 -0
- package/dist/node_modules/reusify/.github/workflows/ci.yml +96 -0
- package/dist/node_modules/reusify/LICENSE +22 -0
- package/dist/node_modules/reusify/README.md +139 -0
- package/dist/node_modules/reusify/SECURITY.md +15 -0
- package/dist/node_modules/reusify/benchmarks/createNoCodeFunction.js +30 -0
- package/dist/node_modules/reusify/benchmarks/fib.js +13 -0
- package/dist/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +38 -0
- package/dist/node_modules/reusify/eslint.config.js +14 -0
- package/dist/node_modules/reusify/package.json +50 -0
- package/dist/node_modules/reusify/reusify.d.ts +14 -0
- package/dist/node_modules/reusify/reusify.js +33 -0
- package/dist/node_modules/reusify/test.js +66 -0
- package/dist/node_modules/reusify/tsconfig.json +11 -0
- package/dist/node_modules/run-parallel/LICENSE +20 -0
- package/dist/node_modules/run-parallel/README.md +85 -0
- package/dist/node_modules/run-parallel/index.js +51 -0
- package/dist/node_modules/run-parallel/package.json +58 -0
- package/dist/node_modules/signal-exit/LICENSE.txt +16 -0
- package/dist/node_modules/signal-exit/README.md +74 -0
- package/dist/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
- package/dist/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/dist/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- package/dist/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
- package/dist/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/dist/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- package/dist/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/dist/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
- package/dist/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/dist/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
- package/dist/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/dist/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
- package/dist/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/dist/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/dist/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
- package/dist/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- package/dist/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/dist/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- package/dist/node_modules/signal-exit/package.json +106 -0
- package/dist/node_modules/stdin-discarder/index.d.ts +13 -0
- package/dist/node_modules/stdin-discarder/index.js +84 -0
- package/dist/node_modules/stdin-discarder/license +9 -0
- package/dist/node_modules/stdin-discarder/package.json +42 -0
- package/dist/node_modules/stdin-discarder/readme.md +37 -0
- package/dist/node_modules/string-width/index.d.ts +39 -0
- package/dist/node_modules/string-width/index.js +203 -0
- package/dist/node_modules/string-width/license +9 -0
- package/dist/node_modules/string-width/package.json +65 -0
- package/dist/node_modules/string-width/readme.md +66 -0
- package/dist/node_modules/strip-ansi/index.d.ts +15 -0
- package/dist/node_modules/strip-ansi/index.js +19 -0
- package/dist/node_modules/strip-ansi/license +9 -0
- package/dist/node_modules/strip-ansi/package.json +59 -0
- package/dist/node_modules/strip-ansi/readme.md +37 -0
- package/dist/node_modules/to-regex-range/LICENSE +21 -0
- package/dist/node_modules/to-regex-range/README.md +305 -0
- package/dist/node_modules/to-regex-range/index.js +288 -0
- package/dist/node_modules/to-regex-range/package.json +88 -0
- package/dist/node_modules/universalify/LICENSE +20 -0
- package/dist/node_modules/universalify/README.md +76 -0
- package/dist/node_modules/universalify/index.js +24 -0
- package/dist/node_modules/universalify/package.json +34 -0
- package/dist/node_modules/unzipper/.gitattributes +1 -0
- package/dist/node_modules/unzipper/LICENSE +25 -0
- package/dist/node_modules/unzipper/README.md +397 -0
- package/dist/node_modules/unzipper/eslint.config.mjs +29 -0
- package/dist/node_modules/unzipper/lib/BufferStream.js +19 -0
- package/dist/node_modules/unzipper/lib/Decrypt.js +94 -0
- package/dist/node_modules/unzipper/lib/NoopStream.js +14 -0
- package/dist/node_modules/unzipper/lib/Open/directory.js +244 -0
- package/dist/node_modules/unzipper/lib/Open/index.js +141 -0
- package/dist/node_modules/unzipper/lib/Open/unzip.js +120 -0
- package/dist/node_modules/unzipper/lib/PullStream.js +139 -0
- package/dist/node_modules/unzipper/lib/extract.js +63 -0
- package/dist/node_modules/unzipper/lib/parse.js +288 -0
- package/dist/node_modules/unzipper/lib/parseBuffer.js +55 -0
- package/dist/node_modules/unzipper/lib/parseDateTime.js +13 -0
- package/dist/node_modules/unzipper/lib/parseExtraField.js +40 -0
- package/dist/node_modules/unzipper/lib/parseOne.js +54 -0
- package/dist/node_modules/unzipper/package.json +62 -0
- package/dist/node_modules/unzipper/unzip.js +5 -0
- package/dist/node_modules/util-deprecate/History.md +16 -0
- package/dist/node_modules/util-deprecate/LICENSE +24 -0
- package/dist/node_modules/util-deprecate/README.md +53 -0
- package/dist/node_modules/util-deprecate/browser.js +67 -0
- package/dist/node_modules/util-deprecate/node.js +6 -0
- package/dist/node_modules/util-deprecate/package.json +27 -0
- package/dist/node_modules/yauzl/LICENSE +21 -0
- package/dist/node_modules/yauzl/README.md +1015 -0
- package/dist/node_modules/yauzl/crc32.js +45 -0
- package/dist/node_modules/yauzl/fd-slicer.js +188 -0
- package/dist/node_modules/yauzl/index.js +1096 -0
- package/dist/node_modules/yauzl/package.json +40 -0
- package/dist/node_modules/yazl/LICENSE +21 -0
- package/dist/node_modules/yazl/README.md +457 -0
- package/dist/node_modules/yazl/index.js +826 -0
- package/dist/node_modules/yazl/package.json +34 -0
- package/dist/node_modules/yoctocolors/base.d.ts +69 -0
- package/dist/node_modules/yoctocolors/base.js +118 -0
- package/dist/node_modules/yoctocolors/index.d.ts +2 -0
- package/dist/node_modules/yoctocolors/index.js +2 -0
- package/dist/node_modules/yoctocolors/license +9 -0
- package/dist/node_modules/yoctocolors/package.json +69 -0
- package/dist/node_modules/yoctocolors/readme.md +163 -0
- package/dist/node_modules/zip-lib/LICENSE +21 -0
- package/dist/node_modules/zip-lib/README.md +473 -0
- package/dist/node_modules/zip-lib/lib/cancelable.d.ts +38 -0
- package/dist/node_modules/zip-lib/lib/cancelable.js +70 -0
- package/dist/node_modules/zip-lib/lib/fs.d.ts +32 -0
- package/dist/node_modules/zip-lib/lib/fs.js +286 -0
- package/dist/node_modules/zip-lib/lib/index.d.ts +44 -0
- package/dist/node_modules/zip-lib/lib/index.js +58 -0
- package/dist/node_modules/zip-lib/lib/unzip.d.ts +99 -0
- package/dist/node_modules/zip-lib/lib/unzip.js +450 -0
- package/dist/node_modules/zip-lib/lib/zip.d.ts +86 -0
- package/dist/node_modules/zip-lib/lib/zip.js +363 -0
- package/dist/node_modules/zip-lib/package.json +46 -0
- package/dist/node_modules/zod/LICENSE +21 -0
- package/dist/node_modules/zod/README.md +218 -0
- package/dist/node_modules/zod/compile.cjs +96 -0
- package/dist/node_modules/zod/compile.d.cts +1 -0
- package/dist/node_modules/zod/compile.d.ts +1 -0
- package/dist/node_modules/zod/compile.js +52 -0
- package/dist/node_modules/zod/index.cjs +52 -0
- package/dist/node_modules/zod/index.d.cts +3 -0
- package/dist/node_modules/zod/index.d.ts +3 -0
- package/dist/node_modules/zod/index.js +7 -0
- package/dist/node_modules/zod/locales/index.cjs +36 -0
- package/dist/node_modules/zod/locales/index.d.cts +1 -0
- package/dist/node_modules/zod/locales/index.d.ts +1 -0
- package/dist/node_modules/zod/locales/index.js +1 -0
- package/dist/node_modules/zod/locales/package.json +7 -0
- package/dist/node_modules/zod/mini/index.cjs +51 -0
- package/dist/node_modules/zod/mini/index.d.cts +3 -0
- package/dist/node_modules/zod/mini/index.d.ts +3 -0
- package/dist/node_modules/zod/mini/index.js +3 -0
- package/dist/node_modules/zod/mini/package.json +7 -0
- package/dist/node_modules/zod/package.json +147 -0
- package/dist/node_modules/zod/src/compile.ts +56 -0
- package/dist/node_modules/zod/src/index.ts +7 -0
- package/dist/node_modules/zod/src/locales/index.ts +1 -0
- package/dist/node_modules/zod/src/mini/index.ts +3 -0
- package/dist/node_modules/zod/src/v3/ZodError.ts +340 -0
- package/dist/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/dist/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/dist/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/dist/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/dist/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/dist/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/dist/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/dist/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/dist/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/dist/node_modules/zod/src/v3/errors.ts +13 -0
- package/dist/node_modules/zod/src/v3/external.ts +6 -0
- package/dist/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/dist/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/dist/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/dist/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/dist/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/dist/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/dist/node_modules/zod/src/v3/index.ts +4 -0
- package/dist/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/dist/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/dist/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/dist/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/dist/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/dist/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/dist/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/dist/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/dist/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/dist/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/dist/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/dist/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/dist/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/dist/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/dist/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/dist/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/dist/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/dist/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/dist/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/dist/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/dist/node_modules/zod/src/v3/tests/error.test.ts +586 -0
- package/dist/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/dist/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/dist/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/dist/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/dist/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/dist/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
- package/dist/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/dist/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
- package/dist/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/dist/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/dist/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/dist/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/dist/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/dist/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/dist/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/dist/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/dist/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/object.test.ts +431 -0
- package/dist/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/dist/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/dist/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/dist/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/dist/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/dist/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/dist/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/dist/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/dist/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
- package/dist/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/dist/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/dist/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/dist/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/dist/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/dist/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/dist/node_modules/zod/src/v3/tests/string.test.ts +922 -0
- package/dist/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/dist/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/dist/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/dist/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/dist/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/dist/node_modules/zod/src/v3/types.ts +5138 -0
- package/dist/node_modules/zod/src/v4/classic/checks.ts +33 -0
- package/dist/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/dist/node_modules/zod/src/v4/classic/compat.ts +78 -0
- package/dist/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
- package/dist/node_modules/zod/src/v4/classic/errors.ts +97 -0
- package/dist/node_modules/zod/src/v4/classic/external.ts +57 -0
- package/dist/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
- package/dist/node_modules/zod/src/v4/classic/in-out.ts +45 -0
- package/dist/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/dist/node_modules/zod/src/v4/classic/iso.ts +20 -0
- package/dist/node_modules/zod/src/v4/classic/parse.ts +88 -0
- package/dist/node_modules/zod/src/v4/classic/schemas.ts +2937 -0
- package/dist/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/dist/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
- package/dist/node_modules/zod/src/v4/classic/tests/array.test.ts +291 -0
- package/dist/node_modules/zod/src/v4/classic/tests/assignability.test.ts +402 -0
- package/dist/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/dist/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/dist/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/dist/node_modules/zod/src/v4/classic/tests/bigint.test.ts +89 -0
- package/dist/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/dist/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
- package/dist/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/dist/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
- package/dist/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
- package/dist/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/dist/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/dist/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
- package/dist/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/dist/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
- package/dist/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
- package/dist/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
- package/dist/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
- package/dist/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
- package/dist/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
- package/dist/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/dist/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/dist/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
- package/dist/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +942 -0
- package/dist/node_modules/zod/src/v4/classic/tests/enum.test.ts +305 -0
- package/dist/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
- package/dist/node_modules/zod/src/v4/classic/tests/error.test.ts +1108 -0
- package/dist/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/dist/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/dist/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/dist/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1467 -0
- package/dist/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
- package/dist/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/dist/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
- package/dist/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
- package/dist/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
- package/dist/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
- package/dist/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
- package/dist/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
- package/dist/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +127 -0
- package/dist/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
- package/dist/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
- package/dist/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
- package/dist/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/dist/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
- package/dist/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
- package/dist/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/dist/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/dist/node_modules/zod/src/v4/classic/tests/map.test.ts +349 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/dist/node_modules/zod/src/v4/classic/tests/number.test.ts +401 -0
- package/dist/node_modules/zod/src/v4/classic/tests/object.test.ts +1006 -0
- package/dist/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
- package/dist/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
- package/dist/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
- package/dist/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/dist/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/dist/node_modules/zod/src/v4/classic/tests/prefault.test.ts +144 -0
- package/dist/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
- package/dist/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/dist/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/dist/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/dist/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
- package/dist/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/dist/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
- package/dist/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
- package/dist/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +707 -0
- package/dist/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
- package/dist/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
- package/dist/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/dist/node_modules/zod/src/v4/classic/tests/set.test.ts +196 -0
- package/dist/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +153 -0
- package/dist/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/dist/node_modules/zod/src/v4/classic/tests/string.test.ts +1440 -0
- package/dist/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
- package/dist/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +812 -0
- package/dist/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/dist/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4733 -0
- package/dist/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/dist/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
- package/dist/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
- package/dist/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/dist/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
- package/dist/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/dist/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/dist/node_modules/zod/src/v4/core/api.ts +1875 -0
- package/dist/node_modules/zod/src/v4/core/checks.ts +1266 -0
- package/dist/node_modules/zod/src/v4/core/compile.ts +2322 -0
- package/dist/node_modules/zod/src/v4/core/core.ts +230 -0
- package/dist/node_modules/zod/src/v4/core/doc.ts +52 -0
- package/dist/node_modules/zod/src/v4/core/errors.ts +543 -0
- package/dist/node_modules/zod/src/v4/core/index.ts +19 -0
- package/dist/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
- package/dist/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
- package/dist/node_modules/zod/src/v4/core/json-schema.ts +148 -0
- package/dist/node_modules/zod/src/v4/core/memoizer.ts +331 -0
- package/dist/node_modules/zod/src/v4/core/parse.ts +309 -0
- package/dist/node_modules/zod/src/v4/core/regexes.ts +217 -0
- package/dist/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/dist/node_modules/zod/src/v4/core/schemas.ts +5226 -0
- package/dist/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/dist/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
- package/dist/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
- package/dist/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
- package/dist/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
- package/dist/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
- package/dist/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
- package/dist/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
- package/dist/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
- package/dist/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/dist/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/dist/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
- package/dist/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/dist/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/dist/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
- package/dist/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
- package/dist/node_modules/zod/src/v4/core/to-json-schema.ts +857 -0
- package/dist/node_modules/zod/src/v4/core/util.ts +1293 -0
- package/dist/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/dist/node_modules/zod/src/v4/core/visit.ts +193 -0
- package/dist/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/dist/node_modules/zod/src/v4/index.ts +4 -0
- package/dist/node_modules/zod/src/v4/locales/ar.ts +120 -0
- package/dist/node_modules/zod/src/v4/locales/az.ts +116 -0
- package/dist/node_modules/zod/src/v4/locales/be.ts +188 -0
- package/dist/node_modules/zod/src/v4/locales/bg.ts +133 -0
- package/dist/node_modules/zod/src/v4/locales/bn.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/ca.ts +121 -0
- package/dist/node_modules/zod/src/v4/locales/ckb.ts +140 -0
- package/dist/node_modules/zod/src/v4/locales/cs.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/da.ts +128 -0
- package/dist/node_modules/zod/src/v4/locales/de.ts +121 -0
- package/dist/node_modules/zod/src/v4/locales/el.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/en.ts +136 -0
- package/dist/node_modules/zod/src/v4/locales/eo.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/es.ts +145 -0
- package/dist/node_modules/zod/src/v4/locales/fa.ts +131 -0
- package/dist/node_modules/zod/src/v4/locales/fi.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/fr-CA.ts +121 -0
- package/dist/node_modules/zod/src/v4/locales/fr.ts +139 -0
- package/dist/node_modules/zod/src/v4/locales/gu.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/he.ts +253 -0
- package/dist/node_modules/zod/src/v4/locales/hi.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/hr.ts +135 -0
- package/dist/node_modules/zod/src/v4/locales/hu.ts +122 -0
- package/dist/node_modules/zod/src/v4/locales/hy.ts +175 -0
- package/dist/node_modules/zod/src/v4/locales/id.ts +120 -0
- package/dist/node_modules/zod/src/v4/locales/index.ts +63 -0
- package/dist/node_modules/zod/src/v4/locales/is.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/it.ts +121 -0
- package/dist/node_modules/zod/src/v4/locales/ja.ts +119 -0
- package/dist/node_modules/zod/src/v4/locales/ka.ts +128 -0
- package/dist/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/dist/node_modules/zod/src/v4/locales/km.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/kn.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/ko.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/lt.ts +243 -0
- package/dist/node_modules/zod/src/v4/locales/mk.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/ms.ts +120 -0
- package/dist/node_modules/zod/src/v4/locales/ne.ts +128 -0
- package/dist/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/nn.ts +121 -0
- package/dist/node_modules/zod/src/v4/locales/no.ts +121 -0
- package/dist/node_modules/zod/src/v4/locales/ota.ts +122 -0
- package/dist/node_modules/zod/src/v4/locales/pl.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/ps.ts +131 -0
- package/dist/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
- package/dist/node_modules/zod/src/v4/locales/pt.ts +159 -0
- package/dist/node_modules/zod/src/v4/locales/ro.ts +132 -0
- package/dist/node_modules/zod/src/v4/locales/ru.ts +188 -0
- package/dist/node_modules/zod/src/v4/locales/sk.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/sl.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/sv.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/ta.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/tg.ts +135 -0
- package/dist/node_modules/zod/src/v4/locales/th.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/tk.ts +113 -0
- package/dist/node_modules/zod/src/v4/locales/tr.ts +116 -0
- package/dist/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/dist/node_modules/zod/src/v4/locales/uk.ts +122 -0
- package/dist/node_modules/zod/src/v4/locales/ur.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/uz.ts +120 -0
- package/dist/node_modules/zod/src/v4/locales/vi.ts +122 -0
- package/dist/node_modules/zod/src/v4/locales/yo.ts +129 -0
- package/dist/node_modules/zod/src/v4/locales/zh-CN.ts +121 -0
- package/dist/node_modules/zod/src/v4/locales/zh-TW.ts +120 -0
- package/dist/node_modules/zod/src/v4/mini/checks.ts +33 -0
- package/dist/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/dist/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
- package/dist/node_modules/zod/src/v4/mini/external.ts +52 -0
- package/dist/node_modules/zod/src/v4/mini/in-out.ts +45 -0
- package/dist/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/dist/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/dist/node_modules/zod/src/v4/mini/parse.ts +16 -0
- package/dist/node_modules/zod/src/v4/mini/schemas.ts +2051 -0
- package/dist/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
- package/dist/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
- package/dist/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/dist/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
- package/dist/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
- package/dist/node_modules/zod/src/v4/mini/tests/computed.test.ts +30 -0
- package/dist/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
- package/dist/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
- package/dist/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
- package/dist/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
- package/dist/node_modules/zod/src/v4/mini/tests/index.test.ts +1146 -0
- package/dist/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
- package/dist/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
- package/dist/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/dist/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +341 -0
- package/dist/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/dist/node_modules/zod/src/v4/mini/tests/string.test.ts +396 -0
- package/dist/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/dist/node_modules/zod/v3/ZodError.cjs +167 -0
- package/dist/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/dist/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/dist/node_modules/zod/v3/ZodError.js +143 -0
- package/dist/node_modules/zod/v3/errors.cjs +36 -0
- package/dist/node_modules/zod/v3/errors.d.cts +5 -0
- package/dist/node_modules/zod/v3/errors.d.ts +5 -0
- package/dist/node_modules/zod/v3/errors.js +9 -0
- package/dist/node_modules/zod/v3/external.cjs +41 -0
- package/dist/node_modules/zod/v3/external.d.cts +6 -0
- package/dist/node_modules/zod/v3/external.d.ts +6 -0
- package/dist/node_modules/zod/v3/external.js +6 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.cjs +21 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.cjs +28 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.cjs +143 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.cjs +21 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.cjs +21 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/dist/node_modules/zod/v3/helpers/util.cjs +156 -0
- package/dist/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/dist/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/dist/node_modules/zod/v3/helpers/util.js +133 -0
- package/dist/node_modules/zod/v3/index.cjs +52 -0
- package/dist/node_modules/zod/v3/index.d.cts +4 -0
- package/dist/node_modules/zod/v3/index.d.ts +4 -0
- package/dist/node_modules/zod/v3/index.js +4 -0
- package/dist/node_modules/zod/v3/locales/en.cjs +112 -0
- package/dist/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/dist/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/dist/node_modules/zod/v3/locales/en.js +109 -0
- package/dist/node_modules/zod/v3/package.json +7 -0
- package/dist/node_modules/zod/v3/standard-schema.cjs +21 -0
- package/dist/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/dist/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/dist/node_modules/zod/v3/standard-schema.js +1 -0
- package/dist/node_modules/zod/v3/types.cjs +3798 -0
- package/dist/node_modules/zod/v3/types.d.cts +1034 -0
- package/dist/node_modules/zod/v3/types.d.ts +1034 -0
- package/dist/node_modules/zod/v3/types.js +3697 -0
- package/dist/node_modules/zod/v4/classic/checks.cjs +53 -0
- package/dist/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/dist/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/dist/node_modules/zod/v4/classic/checks.js +1 -0
- package/dist/node_modules/zod/v4/classic/coerce.cjs +66 -0
- package/dist/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/dist/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/dist/node_modules/zod/v4/classic/coerce.js +17 -0
- package/dist/node_modules/zod/v4/classic/compat.cjs +80 -0
- package/dist/node_modules/zod/v4/classic/compat.d.cts +48 -0
- package/dist/node_modules/zod/v4/classic/compat.d.ts +48 -0
- package/dist/node_modules/zod/v4/classic/compat.js +31 -0
- package/dist/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
- package/dist/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
- package/dist/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
- package/dist/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/dist/node_modules/zod/v4/classic/errors.cjs +102 -0
- package/dist/node_modules/zod/v4/classic/errors.d.cts +29 -0
- package/dist/node_modules/zod/v4/classic/errors.d.ts +29 -0
- package/dist/node_modules/zod/v4/classic/errors.js +57 -0
- package/dist/node_modules/zod/v4/classic/external.cjs +97 -0
- package/dist/node_modules/zod/v4/classic/external.d.cts +19 -0
- package/dist/node_modules/zod/v4/classic/external.d.ts +19 -0
- package/dist/node_modules/zod/v4/classic/external.js +17 -0
- package/dist/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
- package/dist/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/dist/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/dist/node_modules/zod/v4/classic/from-json-schema.js +881 -0
- package/dist/node_modules/zod/v4/classic/in-out.cjs +82 -0
- package/dist/node_modules/zod/v4/classic/in-out.d.cts +8 -0
- package/dist/node_modules/zod/v4/classic/in-out.d.ts +8 -0
- package/dist/node_modules/zod/v4/classic/in-out.js +36 -0
- package/dist/node_modules/zod/v4/classic/index.cjs +52 -0
- package/dist/node_modules/zod/v4/classic/index.d.cts +3 -0
- package/dist/node_modules/zod/v4/classic/index.d.ts +3 -0
- package/dist/node_modules/zod/v4/classic/index.js +4 -0
- package/dist/node_modules/zod/v4/classic/iso.cjs +68 -0
- package/dist/node_modules/zod/v4/classic/iso.d.cts +7 -0
- package/dist/node_modules/zod/v4/classic/iso.d.ts +7 -0
- package/dist/node_modules/zod/v4/classic/iso.js +15 -0
- package/dist/node_modules/zod/v4/classic/package.json +7 -0
- package/dist/node_modules/zod/v4/classic/parse.cjs +63 -0
- package/dist/node_modules/zod/v4/classic/parse.d.cts +44 -0
- package/dist/node_modules/zod/v4/classic/parse.d.ts +44 -0
- package/dist/node_modules/zod/v4/classic/parse.js +16 -0
- package/dist/node_modules/zod/v4/classic/schemas.cjs +1676 -0
- package/dist/node_modules/zod/v4/classic/schemas.d.cts +816 -0
- package/dist/node_modules/zod/v4/classic/schemas.d.ts +816 -0
- package/dist/node_modules/zod/v4/classic/schemas.js +1535 -0
- package/dist/node_modules/zod/v4/core/api.cjs +1269 -0
- package/dist/node_modules/zod/v4/core/api.d.cts +335 -0
- package/dist/node_modules/zod/v4/core/api.d.ts +335 -0
- package/dist/node_modules/zod/v4/core/api.js +1107 -0
- package/dist/node_modules/zod/v4/core/checks.cjs +561 -0
- package/dist/node_modules/zod/v4/core/checks.d.cts +294 -0
- package/dist/node_modules/zod/v4/core/checks.d.ts +294 -0
- package/dist/node_modules/zod/v4/core/checks.js +516 -0
- package/dist/node_modules/zod/v4/core/compile.cjs +1916 -0
- package/dist/node_modules/zod/v4/core/compile.d.cts +65 -0
- package/dist/node_modules/zod/v4/core/compile.d.ts +65 -0
- package/dist/node_modules/zod/v4/core/compile.js +1866 -0
- package/dist/node_modules/zod/v4/core/core.cjs +167 -0
- package/dist/node_modules/zod/v4/core/core.d.cts +82 -0
- package/dist/node_modules/zod/v4/core/core.d.ts +82 -0
- package/dist/node_modules/zod/v4/core/core.js +141 -0
- package/dist/node_modules/zod/v4/core/doc.cjs +61 -0
- package/dist/node_modules/zod/v4/core/doc.d.cts +16 -0
- package/dist/node_modules/zod/v4/core/doc.d.ts +16 -0
- package/dist/node_modules/zod/v4/core/doc.js +38 -0
- package/dist/node_modules/zod/v4/core/errors.cjs +317 -0
- package/dist/node_modules/zod/v4/core/errors.d.cts +225 -0
- package/dist/node_modules/zod/v4/core/errors.d.ts +225 -0
- package/dist/node_modules/zod/v4/core/errors.js +267 -0
- package/dist/node_modules/zod/v4/core/index.cjs +70 -0
- package/dist/node_modules/zod/v4/core/index.d.cts +19 -0
- package/dist/node_modules/zod/v4/core/index.d.ts +19 -0
- package/dist/node_modules/zod/v4/core/index.js +19 -0
- package/dist/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
- package/dist/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/dist/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/dist/node_modules/zod/v4/core/json-schema-generator.js +99 -0
- package/dist/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
- package/dist/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
- package/dist/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
- package/dist/node_modules/zod/v4/core/json-schema-processors.js +843 -0
- package/dist/node_modules/zod/v4/core/json-schema.cjs +21 -0
- package/dist/node_modules/zod/v4/core/json-schema.d.cts +89 -0
- package/dist/node_modules/zod/v4/core/json-schema.d.ts +89 -0
- package/dist/node_modules/zod/v4/core/json-schema.js +1 -0
- package/dist/node_modules/zod/v4/core/memoizer.cjs +360 -0
- package/dist/node_modules/zod/v4/core/memoizer.d.cts +15 -0
- package/dist/node_modules/zod/v4/core/memoizer.d.ts +15 -0
- package/dist/node_modules/zod/v4/core/memoizer.js +311 -0
- package/dist/node_modules/zod/v4/core/package.json +7 -0
- package/dist/node_modules/zod/v4/core/parse.cjs +233 -0
- package/dist/node_modules/zod/v4/core/parse.d.cts +52 -0
- package/dist/node_modules/zod/v4/core/parse.d.ts +52 -0
- package/dist/node_modules/zod/v4/core/parse.js +175 -0
- package/dist/node_modules/zod/v4/core/regexes.cjs +209 -0
- package/dist/node_modules/zod/v4/core/regexes.d.cts +90 -0
- package/dist/node_modules/zod/v4/core/regexes.d.ts +90 -0
- package/dist/node_modules/zod/v4/core/regexes.js +156 -0
- package/dist/node_modules/zod/v4/core/registries.cjs +75 -0
- package/dist/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/dist/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/dist/node_modules/zod/v4/core/registries.js +51 -0
- package/dist/node_modules/zod/v4/core/schemas.cjs +2699 -0
- package/dist/node_modules/zod/v4/core/schemas.d.cts +1275 -0
- package/dist/node_modules/zod/v4/core/schemas.d.ts +1275 -0
- package/dist/node_modules/zod/v4/core/schemas.js +2636 -0
- package/dist/node_modules/zod/v4/core/standard-schema.cjs +21 -0
- package/dist/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/dist/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/dist/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.cjs +681 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.d.cts +154 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.js +651 -0
- package/dist/node_modules/zod/v4/core/util.cjs +964 -0
- package/dist/node_modules/zod/v4/core/util.d.cts +280 -0
- package/dist/node_modules/zod/v4/core/util.d.ts +280 -0
- package/dist/node_modules/zod/v4/core/util.js +873 -0
- package/dist/node_modules/zod/v4/core/versions.cjs +27 -0
- package/dist/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/dist/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/dist/node_modules/zod/v4/core/versions.js +5 -0
- package/dist/node_modules/zod/v4/core/visit.cjs +214 -0
- package/dist/node_modules/zod/v4/core/visit.d.cts +30 -0
- package/dist/node_modules/zod/v4/core/visit.d.ts +30 -0
- package/dist/node_modules/zod/v4/core/visit.js +169 -0
- package/dist/node_modules/zod/v4/index.cjs +51 -0
- package/dist/node_modules/zod/v4/index.d.cts +3 -0
- package/dist/node_modules/zod/v4/index.d.ts +3 -0
- package/dist/node_modules/zod/v4/index.js +4 -0
- package/dist/node_modules/zod/v4/locales/ar.cjs +138 -0
- package/dist/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ar.js +111 -0
- package/dist/node_modules/zod/v4/locales/az.cjs +137 -0
- package/dist/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/az.js +110 -0
- package/dist/node_modules/zod/v4/locales/be.cjs +195 -0
- package/dist/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/be.js +168 -0
- package/dist/node_modules/zod/v4/locales/bg.cjs +152 -0
- package/dist/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/bg.js +125 -0
- package/dist/node_modules/zod/v4/locales/bn.cjs +140 -0
- package/dist/node_modules/zod/v4/locales/bn.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/bn.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/bn.js +113 -0
- package/dist/node_modules/zod/v4/locales/ca.cjs +139 -0
- package/dist/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ca.js +112 -0
- package/dist/node_modules/zod/v4/locales/ckb.cjs +160 -0
- package/dist/node_modules/zod/v4/locales/ckb.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ckb.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ckb.js +133 -0
- package/dist/node_modules/zod/v4/locales/cs.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/cs.js +116 -0
- package/dist/node_modules/zod/v4/locales/da.cjs +147 -0
- package/dist/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/da.js +120 -0
- package/dist/node_modules/zod/v4/locales/de.cjs +140 -0
- package/dist/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/de.js +113 -0
- package/dist/node_modules/zod/v4/locales/el.cjs +139 -0
- package/dist/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/el.js +112 -0
- package/dist/node_modules/zod/v4/locales/en.cjs +152 -0
- package/dist/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/en.js +125 -0
- package/dist/node_modules/zod/v4/locales/eo.cjs +141 -0
- package/dist/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/eo.js +114 -0
- package/dist/node_modules/zod/v4/locales/es.cjs +163 -0
- package/dist/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/es.js +136 -0
- package/dist/node_modules/zod/v4/locales/fa.cjs +146 -0
- package/dist/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fa.js +119 -0
- package/dist/node_modules/zod/v4/locales/fi.cjs +144 -0
- package/dist/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fi.js +117 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.cjs +139 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.js +112 -0
- package/dist/node_modules/zod/v4/locales/fr.cjs +156 -0
- package/dist/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fr.js +129 -0
- package/dist/node_modules/zod/v4/locales/gu.cjs +140 -0
- package/dist/node_modules/zod/v4/locales/gu.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/gu.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/gu.js +113 -0
- package/dist/node_modules/zod/v4/locales/he.cjs +248 -0
- package/dist/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/he.js +221 -0
- package/dist/node_modules/zod/v4/locales/hi.cjs +138 -0
- package/dist/node_modules/zod/v4/locales/hi.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/hi.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/hi.js +111 -0
- package/dist/node_modules/zod/v4/locales/hr.cjs +153 -0
- package/dist/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/hr.js +126 -0
- package/dist/node_modules/zod/v4/locales/hu.cjs +140 -0
- package/dist/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/hu.js +113 -0
- package/dist/node_modules/zod/v4/locales/hy.cjs +185 -0
- package/dist/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/hy.js +158 -0
- package/dist/node_modules/zod/v4/locales/id.cjs +138 -0
- package/dist/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/id.js +111 -0
- package/dist/node_modules/zod/v4/locales/index.cjs +152 -0
- package/dist/node_modules/zod/v4/locales/index.d.cts +63 -0
- package/dist/node_modules/zod/v4/locales/index.d.ts +63 -0
- package/dist/node_modules/zod/v4/locales/index.js +63 -0
- package/dist/node_modules/zod/v4/locales/is.cjs +141 -0
- package/dist/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/is.js +114 -0
- package/dist/node_modules/zod/v4/locales/it.cjs +140 -0
- package/dist/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/it.js +113 -0
- package/dist/node_modules/zod/v4/locales/ja.cjs +139 -0
- package/dist/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ja.js +112 -0
- package/dist/node_modules/zod/v4/locales/ka.cjs +144 -0
- package/dist/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ka.js +117 -0
- package/dist/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/dist/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/dist/node_modules/zod/v4/locales/kh.js +5 -0
- package/dist/node_modules/zod/v4/locales/km.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/km.js +115 -0
- package/dist/node_modules/zod/v4/locales/kn.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/kn.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/kn.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/kn.js +116 -0
- package/dist/node_modules/zod/v4/locales/ko.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ko.js +116 -0
- package/dist/node_modules/zod/v4/locales/lt.cjs +234 -0
- package/dist/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/lt.js +207 -0
- package/dist/node_modules/zod/v4/locales/mk.cjs +141 -0
- package/dist/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/mk.js +114 -0
- package/dist/node_modules/zod/v4/locales/ms.cjs +139 -0
- package/dist/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ms.js +112 -0
- package/dist/node_modules/zod/v4/locales/ne.cjs +138 -0
- package/dist/node_modules/zod/v4/locales/ne.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ne.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ne.js +111 -0
- package/dist/node_modules/zod/v4/locales/nl.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/nl.js +115 -0
- package/dist/node_modules/zod/v4/locales/nn.cjs +140 -0
- package/dist/node_modules/zod/v4/locales/nn.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/nn.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/nn.js +113 -0
- package/dist/node_modules/zod/v4/locales/no.cjs +140 -0
- package/dist/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/no.js +113 -0
- package/dist/node_modules/zod/v4/locales/ota.cjs +141 -0
- package/dist/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ota.js +114 -0
- package/dist/node_modules/zod/v4/locales/package.json +7 -0
- package/dist/node_modules/zod/v4/locales/pl.cjs +141 -0
- package/dist/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/pl.js +114 -0
- package/dist/node_modules/zod/v4/locales/ps.cjs +146 -0
- package/dist/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ps.js +119 -0
- package/dist/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
- package/dist/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/pt-BR.js +143 -0
- package/dist/node_modules/zod/v4/locales/pt.cjs +169 -0
- package/dist/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/pt.js +142 -0
- package/dist/node_modules/zod/v4/locales/ro.cjs +149 -0
- package/dist/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ro.js +122 -0
- package/dist/node_modules/zod/v4/locales/ru.cjs +195 -0
- package/dist/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ru.js +168 -0
- package/dist/node_modules/zod/v4/locales/sk.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/sk.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/sk.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/sk.js +116 -0
- package/dist/node_modules/zod/v4/locales/sl.cjs +141 -0
- package/dist/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/sl.js +114 -0
- package/dist/node_modules/zod/v4/locales/sv.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/sv.js +115 -0
- package/dist/node_modules/zod/v4/locales/ta.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ta.js +115 -0
- package/dist/node_modules/zod/v4/locales/tg.cjs +144 -0
- package/dist/node_modules/zod/v4/locales/tg.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/tg.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/tg.js +117 -0
- package/dist/node_modules/zod/v4/locales/th.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/th.js +115 -0
- package/dist/node_modules/zod/v4/locales/tk.cjs +134 -0
- package/dist/node_modules/zod/v4/locales/tk.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/tk.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/tk.js +107 -0
- package/dist/node_modules/zod/v4/locales/tr.cjs +137 -0
- package/dist/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/tr.js +110 -0
- package/dist/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/dist/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/dist/node_modules/zod/v4/locales/ua.js +5 -0
- package/dist/node_modules/zod/v4/locales/uk.cjs +140 -0
- package/dist/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/uk.js +113 -0
- package/dist/node_modules/zod/v4/locales/ur.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ur.js +115 -0
- package/dist/node_modules/zod/v4/locales/uz.cjs +140 -0
- package/dist/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/uz.js +113 -0
- package/dist/node_modules/zod/v4/locales/vi.cjs +140 -0
- package/dist/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/vi.js +113 -0
- package/dist/node_modules/zod/v4/locales/yo.cjs +139 -0
- package/dist/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/yo.js +112 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.cjs +141 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.js +114 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.cjs +139 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.js +112 -0
- package/dist/node_modules/zod/v4/mini/checks.cjs +54 -0
- package/dist/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/dist/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/dist/node_modules/zod/v4/mini/checks.js +1 -0
- package/dist/node_modules/zod/v4/mini/coerce.cjs +71 -0
- package/dist/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/dist/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/dist/node_modules/zod/v4/mini/coerce.js +22 -0
- package/dist/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
- package/dist/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
- package/dist/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
- package/dist/node_modules/zod/v4/mini/deep-partial.js +13 -0
- package/dist/node_modules/zod/v4/mini/external.cjs +95 -0
- package/dist/node_modules/zod/v4/mini/external.d.cts +16 -0
- package/dist/node_modules/zod/v4/mini/external.d.ts +16 -0
- package/dist/node_modules/zod/v4/mini/external.js +16 -0
- package/dist/node_modules/zod/v4/mini/in-out.cjs +82 -0
- package/dist/node_modules/zod/v4/mini/in-out.d.cts +8 -0
- package/dist/node_modules/zod/v4/mini/in-out.d.ts +8 -0
- package/dist/node_modules/zod/v4/mini/in-out.js +36 -0
- package/dist/node_modules/zod/v4/mini/index.cjs +51 -0
- package/dist/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/dist/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/dist/node_modules/zod/v4/mini/index.js +3 -0
- package/dist/node_modules/zod/v4/mini/iso.cjs +83 -0
- package/dist/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/dist/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/dist/node_modules/zod/v4/mini/iso.js +34 -0
- package/dist/node_modules/zod/v4/mini/package.json +7 -0
- package/dist/node_modules/zod/v4/mini/parse.cjs +37 -0
- package/dist/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/dist/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/dist/node_modules/zod/v4/mini/parse.js +1 -0
- package/dist/node_modules/zod/v4/mini/schemas.cjs +1147 -0
- package/dist/node_modules/zod/v4/mini/schemas.d.cts +480 -0
- package/dist/node_modules/zod/v4/mini/schemas.d.ts +480 -0
- package/dist/node_modules/zod/v4/mini/schemas.js +1002 -0
- package/dist/node_modules/zod/v4/package.json +7 -0
- package/dist/node_modules/zod/v4-mini/index.cjs +51 -0
- package/dist/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/dist/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/dist/node_modules/zod/v4-mini/index.js +3 -0
- package/dist/node_modules/zod/v4-mini/package.json +7 -0
- package/dist/program.js +19 -0
- package/dist/program.js.map +1 -1
- package/package.json +17 -7
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
// ENG-3369: a byte-for-byte copy of frontend/lib/credential-scrub.ts for the
|
|
2
|
+
// laptop capture supervisor, which scrubs events before they reach disk. The
|
|
3
|
+
// CLI compiles from src/ only, so it cannot import the frontend's file; the
|
|
4
|
+
// test beside the laptop capture tests fails if the two copies differ, and
|
|
5
|
+
// runs the same shared corpus (backend/tests/fixtures/credential_scrub_corpus.json).
|
|
6
|
+
// Credential redaction for CANDIDATE-AUTHORED activity events (ENG-2108).
|
|
7
|
+
//
|
|
8
|
+
// The TypeScript half of `backend/credential_scrub.py`. That module's docstring
|
|
9
|
+
// is the full statement; the parts that matter for keeping this file correct:
|
|
10
|
+
//
|
|
11
|
+
// * This is DEFENCE IN DEPTH, not a security boundary. It is pattern-based, so
|
|
12
|
+
// it misses every credential shape it has not been taught. The boundary for a
|
|
13
|
+
// customer's secret is that the secret never enters the container at all.
|
|
14
|
+
//
|
|
15
|
+
// * KEYS ARE PRESERVED, VALUES ARE REDACTED. hostd's sibling drops keys named
|
|
16
|
+
// `session`, which is right for HTTP header maps and wrong here: `sessionId`
|
|
17
|
+
// is the conversation grouping every candidate-authored chat event carries,
|
|
18
|
+
// and dropping it is silent evidence loss. Nothing spelled `session` may go
|
|
19
|
+
// in CREDENTIAL_VALUE_KEYS.
|
|
20
|
+
//
|
|
21
|
+
// * The two implementations are pinned to each other by
|
|
22
|
+
// `backend/tests/fixtures/credential_scrub_corpus.json`, which BOTH suites
|
|
23
|
+
// execute. A regex twin written from a description drifts on exactly the
|
|
24
|
+
// inputs an attacker controls, so the contract is a corpus, not a comment.
|
|
25
|
+
// Add a pattern in both languages and add a corpus case, or in neither.
|
|
26
|
+
export const REDACTION = "[REDACTED]";
|
|
27
|
+
// Kept as (name, source) pairs so a drift failure can name the entry that
|
|
28
|
+
// diverged. Order is load-bearing: the alternation is first-match, so a longer
|
|
29
|
+
// prefix must precede a shorter one it contains (`sk-ant-` before `sk-`) or the
|
|
30
|
+
// shorter one cuts the longer token in half.
|
|
31
|
+
//
|
|
32
|
+
// NOTHING IS ANCHORED. Not `\b`, not a lookbehind — every pattern matches wherever
|
|
33
|
+
// it occurs, so text in front of a credential cannot hide it.
|
|
34
|
+
//
|
|
35
|
+
// Two earlier attempts constrained what may PRECEDE the match, to stop `sk-`
|
|
36
|
+
// matching inside ordinary English (`risk-assessment-refactor` contains
|
|
37
|
+
// `sk-assessment-refactor`). Both leaked: any constraint on the preceding
|
|
38
|
+
// character lets candidate-controlled output disable the matcher by prepending one
|
|
39
|
+
// (`echo XYZsk-…`). Over-redaction is recoverable from the raw evidence; a leaked
|
|
40
|
+
// credential is not, so the constraint moved to the token's own BODY instead: a
|
|
41
|
+
// long unbroken run of alphanumerics after the prefix. The minima (sk- 24,
|
|
42
|
+
// sk-ant- 16, vendor 24) are bounded on BOTH sides: above the reported false
|
|
43
|
+
// positive (`risk-<20-char id>`) and at or below the shortest body hostd's
|
|
44
|
+
// existing tests require it to redact. See the Python copy for the full
|
|
45
|
+
// statement, including the residual this cannot clear and why
|
|
46
|
+
// CREDENTIAL_VALUE_KEYS is the backstop when a vendor ships something shorter.
|
|
47
|
+
export const SECRET_VALUE_PATTERNS = [
|
|
48
|
+
// Ours, and the most likely to appear: the workspace AI token, the grade and
|
|
49
|
+
// review session tokens, and the broker grant. Not covered before ENG-2108 —
|
|
50
|
+
// the old set caught `lwt_` only when it followed the word "Bearer", so
|
|
51
|
+
// `export OPENAI_API_KEY=lwt_...` at a shell reached the database intact.
|
|
52
|
+
// ENG-3038: `lrt_wt.` is the walkthrough terminal's token; the `.` used to stop the body.
|
|
53
|
+
["litmus_session", String.raw `l(?:wt|gt|rt|sg)_(?:wt\.)?[A-Za-z0-9_-]{16,}`],
|
|
54
|
+
["anthropic", String.raw `sk-ant-[A-Za-z0-9_-]{16,}`],
|
|
55
|
+
// ENG-2837: a segmented key's body carries `-` and `_`. Only the segmented form
|
|
56
|
+
// allows them; an unprefixed body that did would redact kebab-case after "task".
|
|
57
|
+
["openai_segmented", String.raw `sk-(?:proj|svcacct|admin)-[A-Za-z0-9_-]{24,}`],
|
|
58
|
+
["openai", String.raw `sk-[A-Za-z0-9]{24,}`],
|
|
59
|
+
["vendor_live_key", String.raw `(?:sk|rk|pk)_(?:live|test)_[A-Za-z0-9]{24,}`],
|
|
60
|
+
["bearer", String.raw `Bearer\s+[A-Za-z0-9._~+/-]{16,}=*`],
|
|
61
|
+
["jwt", String.raw `ey[A-Za-z0-9_-]{10,}\.[A-Za-z0-9_-]{10,}\.[A-Za-z0-9_-]{6,}`],
|
|
62
|
+
["github", String.raw `gh[pousr]_[A-Za-z0-9]{20,}`],
|
|
63
|
+
["slack", String.raw `xox[baprs]-[A-Za-z0-9-]{10,}`],
|
|
64
|
+
["aws_access_key_id", String.raw `(?:AKIA|ASIA)[0-9A-Z]{16}`],
|
|
65
|
+
["google_api_key", String.raw `AIza[0-9A-Za-z_-]{35}`],
|
|
66
|
+
// URL userinfo. Only the PASSWORD goes: the scheme, user and host are what let
|
|
67
|
+
// a reviewer see which database was reached, and the Phase-3 fallback delivers
|
|
68
|
+
// DATABASE_URL candidate-visible by design.
|
|
69
|
+
["url_userinfo", String.raw `(?<=:\/\/)(?<uu_user>[^\s:/@]+):(?<uu_pass>[^\s:/@]{3,})(?=@)`],
|
|
70
|
+
];
|
|
71
|
+
// `g` so every occurrence in a line is replaced, `i` to match the Python copy's
|
|
72
|
+
// IGNORECASE. The drift test asserts the flags as well as the patterns: a
|
|
73
|
+
// case-sensitive twin disagrees on precisely the inputs an attacker controls.
|
|
74
|
+
const SECRET_VALUE_RE = new RegExp(SECRET_VALUE_PATTERNS.map(([, p]) => `(?:${p})`).join("|"), "gi");
|
|
75
|
+
// Keys whose VALUE is replaced whole, regardless of shape. The only way to
|
|
76
|
+
// neutralise a format no pattern knows, and it costs nothing: the key survives,
|
|
77
|
+
// so the event's shape and any grouping built on it survive too.
|
|
78
|
+
//
|
|
79
|
+
// NOTHING SPELLED `session` IS IN HERE. See the header.
|
|
80
|
+
export const CREDENTIAL_VALUE_KEYS = new Set([
|
|
81
|
+
"authorization", "auth", "cookie", "cookies", "set-cookie",
|
|
82
|
+
"api_key", "apikey", "api-key", "x-api-key", "x-goog-api-key",
|
|
83
|
+
"access_token", "accesstoken", "refresh_token", "id_token",
|
|
84
|
+
"client_secret", "clientsecret", "private_key", "privatekey",
|
|
85
|
+
"password", "passwd", "secret", "token", "bearer",
|
|
86
|
+
"credential", "credentials",
|
|
87
|
+
"openai_api_key", "anthropic_api_key",
|
|
88
|
+
"aws_secret_access_key", "aws_access_key_id",
|
|
89
|
+
]);
|
|
90
|
+
// ENG-3038. The shortest value `knownValues` keeps; see backend/credential_scrub.py.
|
|
91
|
+
export const KNOWN_VALUE_MIN_LEN = 16;
|
|
92
|
+
/**
|
|
93
|
+
* The exact credential values to redact for one candidate, ready for `known`:
|
|
94
|
+
* the assessment token is a bare 64-hex value no pattern can safely match.
|
|
95
|
+
* Blanks and short values are dropped; longest first.
|
|
96
|
+
*/
|
|
97
|
+
export function knownValues(...values) {
|
|
98
|
+
const out = new Set();
|
|
99
|
+
for (const v of values) {
|
|
100
|
+
if (typeof v !== "string")
|
|
101
|
+
continue;
|
|
102
|
+
const t = v.trim();
|
|
103
|
+
if (t.length >= KNOWN_VALUE_MIN_LEN)
|
|
104
|
+
out.add(t);
|
|
105
|
+
}
|
|
106
|
+
return [...out].sort((a, b) => b.length - a.length || (a < b ? -1 : a > b ? 1 : 0));
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Credential-shaped substrings in one string replaced with REDACTION, and every
|
|
110
|
+
* value in `known` (see `knownValues`) replaced wherever it occurs.
|
|
111
|
+
*
|
|
112
|
+
* Shape-preserving: everything around the match survives, so a scrubbed command
|
|
113
|
+
* line is still readable evidence of what was run.
|
|
114
|
+
*/
|
|
115
|
+
export function redactText(value, known = []) {
|
|
116
|
+
if (typeof value !== "string" || value.length === 0)
|
|
117
|
+
return value;
|
|
118
|
+
for (const secret of known) {
|
|
119
|
+
if (value.includes(secret))
|
|
120
|
+
value = value.split(secret).join(REDACTION);
|
|
121
|
+
}
|
|
122
|
+
// `lastIndex` is per-RegExp state under the `g` flag, so reset before each use
|
|
123
|
+
// rather than sharing a cursor between calls. Without this, every second call
|
|
124
|
+
// starts mid-string and silently under-redacts.
|
|
125
|
+
SECRET_VALUE_RE.lastIndex = 0;
|
|
126
|
+
return value.replace(SECRET_VALUE_RE, (match, ...args) => {
|
|
127
|
+
// The named groups object is the last argument when the pattern has any.
|
|
128
|
+
// Addressed by NAME, never by index: the group numbering of the combined
|
|
129
|
+
// alternation shifts the moment another pattern gains a group.
|
|
130
|
+
const groups = args[args.length - 1];
|
|
131
|
+
const user = groups && typeof groups === "object" ? groups.uu_user : undefined;
|
|
132
|
+
return user !== undefined ? `${user}:${REDACTION}` : REDACTION;
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* `event` with credential values redacted, recursively. Keys are preserved.
|
|
137
|
+
*
|
|
138
|
+
* Pure and total: same shape out as in. A record keeps its keys in order, an
|
|
139
|
+
* array keeps its length, a scalar keeps its type. These events are counted,
|
|
140
|
+
* deduplicated and grouped downstream, so a scrub that changed the shape would
|
|
141
|
+
* move numbers that have nothing to do with credentials.
|
|
142
|
+
*/
|
|
143
|
+
export function scrubEvent(event, known = []) {
|
|
144
|
+
if (Array.isArray(event))
|
|
145
|
+
return event.map((v) => scrubEvent(v, known));
|
|
146
|
+
if (event !== null && typeof event === "object") {
|
|
147
|
+
const out = {};
|
|
148
|
+
for (const [key, value] of Object.entries(event)) {
|
|
149
|
+
if (CREDENTIAL_VALUE_KEYS.has(key.trim().toLowerCase())) {
|
|
150
|
+
// Replace the value, keep the key. A nested object under a
|
|
151
|
+
// credential-named key goes whole: we cannot see into it and the key
|
|
152
|
+
// says what it is. `null` stays null, or a consumer testing for absence
|
|
153
|
+
// starts seeing a value.
|
|
154
|
+
out[key] = value === null ? null : REDACTION;
|
|
155
|
+
continue;
|
|
156
|
+
}
|
|
157
|
+
out[key] = scrubEvent(value, known);
|
|
158
|
+
}
|
|
159
|
+
return out;
|
|
160
|
+
}
|
|
161
|
+
if (typeof event === "string")
|
|
162
|
+
return redactText(event, known);
|
|
163
|
+
return event;
|
|
164
|
+
}
|
|
165
|
+
/** `[scrubbed, changedCount]`. The count is for a log line, never a gate. */
|
|
166
|
+
export function scrubEvents(events, known = []) {
|
|
167
|
+
let changed = 0;
|
|
168
|
+
const out = events.map((e) => {
|
|
169
|
+
const scrubbed = scrubEvent(e, known);
|
|
170
|
+
if (JSON.stringify(scrubbed) !== JSON.stringify(e))
|
|
171
|
+
changed += 1;
|
|
172
|
+
return scrubbed;
|
|
173
|
+
});
|
|
174
|
+
return [out, changed];
|
|
175
|
+
}
|
|
176
|
+
//# sourceMappingURL=credential-scrub.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credential-scrub.js","sourceRoot":"","sources":["../../src/lib/credential-scrub.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,6EAA6E;AAC7E,4EAA4E;AAC5E,2EAA2E;AAC3E,qFAAqF;AACrF,0EAA0E;AAC1E,EAAE;AACF,gFAAgF;AAChF,8EAA8E;AAC9E,EAAE;AACF,iFAAiF;AACjF,kFAAkF;AAClF,8EAA8E;AAC9E,EAAE;AACF,gFAAgF;AAChF,iFAAiF;AACjF,gFAAgF;AAChF,gFAAgF;AAChF,gCAAgC;AAChC,EAAE;AACF,0DAA0D;AAC1D,+EAA+E;AAC/E,6EAA6E;AAC7E,+EAA+E;AAC/E,4EAA4E;AAE5E,MAAM,CAAC,MAAM,SAAS,GAAG,YAAY,CAAA;AAErC,0EAA0E;AAC1E,+EAA+E;AAC/E,gFAAgF;AAChF,6CAA6C;AAC7C,EAAE;AACF,mFAAmF;AACnF,8DAA8D;AAC9D,EAAE;AACF,6EAA6E;AAC7E,wEAAwE;AACxE,0EAA0E;AAC1E,mFAAmF;AACnF,kFAAkF;AAClF,gFAAgF;AAChF,2EAA2E;AAC3E,6EAA6E;AAC7E,2EAA2E;AAC3E,wEAAwE;AACxE,8DAA8D;AAC9D,+EAA+E;AAC/E,MAAM,CAAC,MAAM,qBAAqB,GAA6C;IAC7E,6EAA6E;IAC7E,6EAA6E;IAC7E,wEAAwE;IACxE,0EAA0E;IAC1E,0FAA0F;IAC1F,CAAC,gBAAgB,EAAE,MAAM,CAAC,GAAG,CAAA,8CAA8C,CAAC;IAC5E,CAAC,WAAW,EAAE,MAAM,CAAC,GAAG,CAAA,2BAA2B,CAAC;IACpD,gFAAgF;IAChF,iFAAiF;IACjF,CAAC,kBAAkB,EAAE,MAAM,CAAC,GAAG,CAAA,8CAA8C,CAAC;IAC9E,CAAC,QAAQ,EAAE,MAAM,CAAC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AAC,GAAG,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAA;gBAC5C,SAAQ;YACV,CAAC;YACD,GAAG,CAAC,GAAG,CAAC,GAAG,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;QACrC,CAAC;QACD,OAAO,GAAG,CAAA;IACZ,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;IAC9D,OAAO,KAAK,CAAA;AACd,CAAC;AAED,6EAA6E;AAC7E,MAAM,UAAU,WAAW,CAAC,MAAiB,EAAE,KAAK,GAAsB,EAAE;IAC1E,IAAI,OAAO,GAAG,CAAC,CAAA;IACf,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;QAC3B,MAAM,QAAQ,GAAG,UAAU,CAAC,CAAC,EAAE,KAAK,CAAC,CAAA;QACrC,IAAI,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;YAAE,OAAO,IAAI,CAAC,CAAA;QAChE,OAAO,QAAQ,CAAA;IACjB,CAAC,CAAC,CAAA;IACF,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,CAAA;AACvB,CAAC"}
|
|
@@ -14,6 +14,7 @@ import { startSelectedCaptureControl } from "./selected-capture-control.js";
|
|
|
14
14
|
import { selectedCaptureLease, SELECTED_CAPTURE_DISCLOSURE_VERSION } from "./selected-capture-lease.js";
|
|
15
15
|
import { captureSelectionDigest, readCaptureSelection } from "./capture-conversations.js";
|
|
16
16
|
import { HostedTranscriptObserver, prepareHostedTranscripts } from "./hosted-transcripts.js";
|
|
17
|
+
import { LaptopCaptureSupervisor } from "./laptop-capture.js";
|
|
17
18
|
if (isolatedHostCaptureBlocked()) {
|
|
18
19
|
process.stderr.write("privacy_scope_unavailable: native capture is unsupported in isolated-workspace mode\n");
|
|
19
20
|
process.exit(0);
|
|
@@ -64,6 +65,8 @@ const pendingUploadFile = path.join(stateDir, "pending-capture-upload.json");
|
|
|
64
65
|
let offset = 0;
|
|
65
66
|
let observer;
|
|
66
67
|
let observerTimer;
|
|
68
|
+
// ENG-3369 prototype: the Litmus Capture app, idle unless the server turns it on.
|
|
69
|
+
let laptop;
|
|
67
70
|
try {
|
|
68
71
|
offset = Number(readFileSync(path.join(stateDir, "upload-offset"), "utf8")) || 0;
|
|
69
72
|
}
|
|
@@ -121,6 +124,10 @@ async function stop(retire) {
|
|
|
121
124
|
}
|
|
122
125
|
catch { /* capture remains available locally and completeness stays unverified */ }
|
|
123
126
|
}
|
|
127
|
+
try {
|
|
128
|
+
await laptop?.stop(true);
|
|
129
|
+
}
|
|
130
|
+
catch { /* the app exits on its own when this process does */ }
|
|
124
131
|
writeSessionOverMarker(projectDir, config.token, "coding session ended");
|
|
125
132
|
const cleanupDeadline = Date.now() + 10000;
|
|
126
133
|
let cleaned = false;
|
|
@@ -168,6 +175,10 @@ async function stop(retire) {
|
|
|
168
175
|
catch { /* the outbox keeps it for the next tracker */ }
|
|
169
176
|
}
|
|
170
177
|
}
|
|
178
|
+
try {
|
|
179
|
+
await laptop?.stop(false);
|
|
180
|
+
}
|
|
181
|
+
catch { /* the app exits on its own when this process does */ }
|
|
171
182
|
// Consumed: doctor waits for it, and a successor must not read it as its own stop.
|
|
172
183
|
try {
|
|
173
184
|
if (ownsPid)
|
|
@@ -361,6 +372,10 @@ async function run() {
|
|
|
361
372
|
}
|
|
362
373
|
catch { /* Readiness telemetry must not interrupt capture. */ }
|
|
363
374
|
}
|
|
375
|
+
// ENG-3369 beta: only where init said capture is on for this attempt (config.json is init's answer);
|
|
376
|
+
// otherwise no supervisor, so no capture config poll from this watcher.
|
|
377
|
+
if (config.laptopCapture === true)
|
|
378
|
+
laptop = new LaptopCaptureSupervisor(stateDir, config.backendUrl, config.token);
|
|
364
379
|
observerTimer = setInterval(() => {
|
|
365
380
|
if (stopped)
|
|
366
381
|
return;
|
|
@@ -422,13 +437,19 @@ async function run() {
|
|
|
422
437
|
if (!stillOwner)
|
|
423
438
|
await stop(false);
|
|
424
439
|
pollCaptureNotice();
|
|
440
|
+
// Never awaited: the capture app's start-up and uploads (an audio chunk waits
|
|
441
|
+
// on transcription) must not delay renewing the AI capture lease.
|
|
442
|
+
void laptop?.tick(lease.receipt).catch(() => { });
|
|
425
443
|
if (Date.now() - lastFlushAttempt >= 5000) {
|
|
426
444
|
lastFlushAttempt = Date.now();
|
|
427
445
|
await flush();
|
|
446
|
+
void laptop?.flush();
|
|
428
447
|
}
|
|
429
448
|
}
|
|
430
449
|
catch (error) {
|
|
431
450
|
process.stderr.write(`[hosted capture] authorization/upload unavailable; capture lease will expire\n`);
|
|
451
|
+
// Offline: the capture app keeps buffering for a bounded while.
|
|
452
|
+
void laptop?.tick(undefined).catch(() => { });
|
|
432
453
|
}
|
|
433
454
|
await new Promise(resolve => setTimeout(resolve, 2000));
|
|
434
455
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hosted-watcher.js","sourceRoot":"","sources":["../../src/lib/hosted-watcher.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAA;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAA;AAC1E,OAAO,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AACvG,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,IAAI,CAAA;AAChK,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,iBAAiB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AE;IAClB,2BAA2B,CAAC,UAAU,EAAE,KAAK,CAAC,CAAA;IAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,CAAA;AACpB,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
export declare const BUNDLE_ID = "com.litmushiring.capture";
|
|
2
|
+
/** Mirrors backend services/laptop_capture.OFFLINE_SECONDS. */
|
|
3
|
+
export declare const OFFLINE_SECONDS: number;
|
|
4
|
+
/** `titles`: read only by the capture app, for a browser window behind the front one whose address it can't read. */
|
|
5
|
+
export type Exclusions = Record<string, {
|
|
6
|
+
apps: string[];
|
|
7
|
+
hosts: string[];
|
|
8
|
+
titles?: string[];
|
|
9
|
+
}>;
|
|
10
|
+
export interface CaptureConfig {
|
|
11
|
+
enabled: boolean;
|
|
12
|
+
active: boolean;
|
|
13
|
+
audio: boolean;
|
|
14
|
+
accepted: boolean;
|
|
15
|
+
disclosureVersion: string;
|
|
16
|
+
disclosureText: string;
|
|
17
|
+
exclusions: Exclusions;
|
|
18
|
+
}
|
|
19
|
+
/** The config, or null when the server refuses the lane (production, switch off). */
|
|
20
|
+
export declare function fetchCaptureConfig(backendUrl: string, token: string): Promise<CaptureConfig | null>;
|
|
21
|
+
/** Every kind the server's allowlist knows (services/laptop_capture.FIELDS). */
|
|
22
|
+
export declare const KINDS: Set<string>;
|
|
23
|
+
export declare const PARTIAL_KEY_RE: RegExp;
|
|
24
|
+
export declare const NAMED_SECRET_RE: RegExp;
|
|
25
|
+
export declare const CODE_VALUE_RE: RegExp;
|
|
26
|
+
export declare function redactCaptureText(text: string, known: string[]): string;
|
|
27
|
+
export interface AppEvent {
|
|
28
|
+
kind: string;
|
|
29
|
+
ts?: string;
|
|
30
|
+
app?: string;
|
|
31
|
+
app_id?: string;
|
|
32
|
+
data?: Record<string, unknown>;
|
|
33
|
+
}
|
|
34
|
+
export interface WireEvent {
|
|
35
|
+
id: string;
|
|
36
|
+
type: string;
|
|
37
|
+
ts: string;
|
|
38
|
+
app?: string;
|
|
39
|
+
app_id?: string;
|
|
40
|
+
data: Record<string, unknown>;
|
|
41
|
+
capture_location: "local";
|
|
42
|
+
capture_receipt: string;
|
|
43
|
+
}
|
|
44
|
+
/** The same rule as the backend's `excluded_category`, from the list it sent. */
|
|
45
|
+
export declare function excludedCategory(exclusions: Exclusions, appId?: unknown, url?: unknown): string | null;
|
|
46
|
+
/**
|
|
47
|
+
* Second line behind the app's own check: typed text from a password field or
|
|
48
|
+
* while secure input is on never reaches the buffer. The app marks such a burst
|
|
49
|
+
* `secure` and is meant never to send it at all.
|
|
50
|
+
*/
|
|
51
|
+
export declare function keepKeystrokes(event: AppEvent): boolean;
|
|
52
|
+
/** The server keeps at most this many boxes per frame (services/laptop_capture.py). */
|
|
53
|
+
export declare const MAX_REDACTIONS = 50;
|
|
54
|
+
/**
|
|
55
|
+
* The areas the app blanked on a frame, `{x, y, w, h, reason, category?}` in frame
|
|
56
|
+
* pixels, in the shape the server keeps; null when any of it is not that shape.
|
|
57
|
+
*/
|
|
58
|
+
export declare function cleanRedactions(value: unknown): Record<string, unknown>[] | null;
|
|
59
|
+
/** One app event made safe to write: allowlisted, excluded or scrubbed, stamped. */
|
|
60
|
+
export declare function prepareEvent(raw: AppEvent, ctx: {
|
|
61
|
+
exclusions: Exclusions;
|
|
62
|
+
known: string[];
|
|
63
|
+
receipt: string;
|
|
64
|
+
}): WireEvent | null;
|
|
65
|
+
/**
|
|
66
|
+
* Append-only JSON lines, each sealed with AES-256-GCM under a key that exists
|
|
67
|
+
* only in this process. The file is unreadable to anything else while it exists,
|
|
68
|
+
* and becomes unreadable to everyone when the watcher exits.
|
|
69
|
+
* shortcut: a watcher crash loses events not yet uploaded; keep the key in the
|
|
70
|
+
* macOS Keychain / Windows DPAPI if that ever matters more than the simplicity.
|
|
71
|
+
*/
|
|
72
|
+
export declare class EncryptedBuffer {
|
|
73
|
+
readonly file: string;
|
|
74
|
+
private key;
|
|
75
|
+
private offset;
|
|
76
|
+
constructor(file: string);
|
|
77
|
+
append(value: unknown): void;
|
|
78
|
+
/** Up to `maxBytes` of sealed lines from the upload offset, opened. */
|
|
79
|
+
read(maxBytes: number): {
|
|
80
|
+
values: unknown[];
|
|
81
|
+
ends: number[];
|
|
82
|
+
};
|
|
83
|
+
/** Bumped by every wipe: an upload read from an older buffer must not move this one's offset. */
|
|
84
|
+
generation: number;
|
|
85
|
+
/** Mark everything before `end` uploaded; an empty remainder deletes the file. */
|
|
86
|
+
advance(end: number, generation?: number): void;
|
|
87
|
+
wipe(): void;
|
|
88
|
+
/** Nothing left to upload. */
|
|
89
|
+
get empty(): boolean;
|
|
90
|
+
}
|
|
91
|
+
export declare const REMOTE_ACCESS_TOOLS: Record<string, RegExp>;
|
|
92
|
+
/** A process row's names: its macOS app bundles and its executable's file name. */
|
|
93
|
+
export declare function programNames(command: string): string[];
|
|
94
|
+
/** Which named tools are running, matched on program names only. */
|
|
95
|
+
export declare function runningMatches(rows: {
|
|
96
|
+
command: string;
|
|
97
|
+
}[], patterns: Record<string, RegExp>): string[];
|
|
98
|
+
/** The hypervisor this laptop runs under, or null on bare metal. */
|
|
99
|
+
export declare function virtualMachineFrom(text: string): string | null;
|
|
100
|
+
/**
|
|
101
|
+
* Where the app is installed. macOS lists an app in Privacy & Security, and
|
|
102
|
+
* accepts it there, only from a normal location: from a temporary folder it never
|
|
103
|
+
* appeared in the Accessibility list, so nobody could turn it on. So it goes in
|
|
104
|
+
* the user's own ~/Applications, found from the account rather than $HOME.
|
|
105
|
+
* Windows keeps it under %LOCALAPPDATA%.
|
|
106
|
+
*/
|
|
107
|
+
export declare function installPath(): string;
|
|
108
|
+
/** Build the Windows helper from source with the compiler every Windows ships. */
|
|
109
|
+
export declare function compileWindowsHelper(source: string, exe: string): void;
|
|
110
|
+
/** Whether this CLI build can install the capture app here at all. */
|
|
111
|
+
export declare function appAvailable(): boolean;
|
|
112
|
+
/** The app's LSMinimumSystemVersion when `macVersion` is below it, else null. */
|
|
113
|
+
export declare function macBelowMinimum(infoPlist: string, macVersion: string): string | null;
|
|
114
|
+
/**
|
|
115
|
+
* What Windows runs for a link: node and this CLI, never cmd, so no shell parses the link
|
|
116
|
+
* (a quote in it only adds an argument the CLI refuses). `--keep-open` holds the console
|
|
117
|
+
* after the CLI's last line ("already recording", "capture ended") so it can be read.
|
|
118
|
+
*/
|
|
119
|
+
export declare function windowsLinkCommand(node: string, cli: string): string;
|
|
120
|
+
/** Remove the app and, on macOS, every permission grant made to it. */
|
|
121
|
+
export declare function uninstallApp(): void;
|
|
122
|
+
export declare const STATUS_FILE = "laptop-capture-status.json";
|
|
123
|
+
export interface CaptureStatus {
|
|
124
|
+
running: boolean;
|
|
125
|
+
permissions?: Record<string, string>;
|
|
126
|
+
displays?: number;
|
|
127
|
+
restart?: string[];
|
|
128
|
+
updatedAt: number;
|
|
129
|
+
error?: string;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Shows the (placeholder) consent text, records the answer, then reports which
|
|
133
|
+
* channels the app is running with. Never blocks the test: a "no", a missing
|
|
134
|
+
* terminal or a refused permission leaves the attempt running without them.
|
|
135
|
+
*/
|
|
136
|
+
export declare function offerLaptopCapture(backendUrl: string, token: string, stateDir: string): Promise<void>;
|
|
137
|
+
/**
|
|
138
|
+
* Records the yes. Returns why it failed, or null: a network failure is a
|
|
139
|
+
* reason like any refusal, so the test still opens without capture.
|
|
140
|
+
*/
|
|
141
|
+
export declare function acceptCapture(backendUrl: string, token: string, disclosureVersion: unknown): Promise<string | null>;
|
|
142
|
+
/** What the candidate is told about each channel. */
|
|
143
|
+
export declare function captureStatusLines(status: CaptureStatus | undefined, audio: boolean, platform?: NodeJS.Platform): string[];
|
|
144
|
+
/**
|
|
145
|
+
* The AI hosts an open connection's address can name. Google's share front-end
|
|
146
|
+
* addresses with every other Google service (a Google Cloud VM's guest agent read
|
|
147
|
+
* as the Gemini API), so they are left to the browser address and process checks.
|
|
148
|
+
* shortcut: no connection-level Gemini signal; reading the TLS server name would give one.
|
|
149
|
+
*/
|
|
150
|
+
export declare const IP_MATCHED_HOSTS: string[];
|
|
151
|
+
/** Thrown when another process already runs Litmus Capture on this computer. `sameAttempt`:
|
|
152
|
+
* that process records the attempt this claim is for (ENG-4735), so nothing needs doing. */
|
|
153
|
+
export declare class CaptureOwnedElsewhere extends Error {
|
|
154
|
+
readonly sameAttempt: boolean;
|
|
155
|
+
constructor(sameAttempt?: boolean);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* One recorder per computer, whichever path started it (`litmus connect`'s hosted watcher or
|
|
159
|
+
* `litmus screen-capture`): two would upload the same screen under two candidates, and either
|
|
160
|
+
* one's submit would remove the app the other runs. The lock names its process and is
|
|
161
|
+
* published whole (a hard link to a complete file, as `acquireCaptureLock` does), so it is
|
|
162
|
+
* never seen half-written; a lock whose process is gone is taken over. Returns the release.
|
|
163
|
+
*/
|
|
164
|
+
export declare function claimCaptureOwner(attempt?: string): () => void;
|
|
165
|
+
/**
|
|
166
|
+
* ENG-4797: what a restarted app's first permission report says about why the last
|
|
167
|
+
* one went away. macOS ends the app itself when Input Monitoring is switched off, and
|
|
168
|
+
* quits and reopens it after some grants; the new process has no earlier state, so
|
|
169
|
+
* only the supervisor, which outlives it, can tell a permission change from a quit.
|
|
170
|
+
* `revoked`: on before, off now. `granted`: something off before is on now.
|
|
171
|
+
*/
|
|
172
|
+
export declare function restartVerdict(before: Record<string, string> | undefined, after: Record<string, string>): {
|
|
173
|
+
revoked: string[];
|
|
174
|
+
granted: boolean;
|
|
175
|
+
};
|
|
176
|
+
export declare class LaptopCaptureSupervisor {
|
|
177
|
+
private stateDir;
|
|
178
|
+
private backendUrl;
|
|
179
|
+
private token;
|
|
180
|
+
private config;
|
|
181
|
+
private nextConfigPoll;
|
|
182
|
+
private receipt?;
|
|
183
|
+
private lastLeaseAt;
|
|
184
|
+
private buffer;
|
|
185
|
+
private server?;
|
|
186
|
+
private address?;
|
|
187
|
+
private socket?;
|
|
188
|
+
private child?;
|
|
189
|
+
private appPid?;
|
|
190
|
+
private session;
|
|
191
|
+
private starting;
|
|
192
|
+
private stopping;
|
|
193
|
+
private stopped;
|
|
194
|
+
private closing;
|
|
195
|
+
private everStarted;
|
|
196
|
+
private byeReason?;
|
|
197
|
+
/** The last permissions any app process reported (ENG-4797). */
|
|
198
|
+
private permissions?;
|
|
199
|
+
/** An app stop not yet flagged: settled by the next app's first permission report. */
|
|
200
|
+
private pendingStop?;
|
|
201
|
+
private restarts;
|
|
202
|
+
private gaveUp;
|
|
203
|
+
private inflight?;
|
|
204
|
+
private lastScan;
|
|
205
|
+
private scanning;
|
|
206
|
+
private ticking;
|
|
207
|
+
private vmChecked;
|
|
208
|
+
private aiApps;
|
|
209
|
+
private flagged;
|
|
210
|
+
private services;
|
|
211
|
+
private ipToHost;
|
|
212
|
+
private known;
|
|
213
|
+
private runnable?;
|
|
214
|
+
private a11yRestore;
|
|
215
|
+
/** The machine-wide owner lock's release (`claimCaptureOwner`), held from the first app start until stop. */
|
|
216
|
+
private releaseOwner?;
|
|
217
|
+
constructor(stateDir: string, backendUrl: string, token: string, owner?: () => void);
|
|
218
|
+
private writeStatus;
|
|
219
|
+
/** Keep a Node-side event (flags, scans) in the same pipeline as the app's. */
|
|
220
|
+
record(event: AppEvent, receipt?: string | undefined): void;
|
|
221
|
+
/**
|
|
222
|
+
* Called every watcher loop: with the fresh receipt, or undefined offline.
|
|
223
|
+
* Never awaited by the lease loop (hosted-watcher.ts): the app's start-up and
|
|
224
|
+
* the uploads must not hold back renewing the AI capture lease.
|
|
225
|
+
*/
|
|
226
|
+
tick(receipt: string | undefined): Promise<void>;
|
|
227
|
+
/** Every 5 s until consent, then every minute, so a changed audio switch reaches the app. */
|
|
228
|
+
private refreshConfig;
|
|
229
|
+
private sendConfig;
|
|
230
|
+
private startApp;
|
|
231
|
+
/**
|
|
232
|
+
* Linux: browsers and editors publish what they show to AT-SPI (the password-field
|
|
233
|
+
* signal, the page address, on-screen text) only while the session's accessibility
|
|
234
|
+
* switch is on. Turned on for the test, put back in stop().
|
|
235
|
+
* shortcut: a crashed watcher leaves it on; harmless, but not restored.
|
|
236
|
+
*/
|
|
237
|
+
private linuxAccessibilityOn;
|
|
238
|
+
private listen;
|
|
239
|
+
private accept;
|
|
240
|
+
private scan;
|
|
241
|
+
private scanServices;
|
|
242
|
+
/** Upload one bounded batch; true when something was acknowledged. */
|
|
243
|
+
flush(): Promise<boolean>;
|
|
244
|
+
private upload;
|
|
245
|
+
/**
|
|
246
|
+
* Flags the last app stop: a permission switched off is "Permission turned off", a
|
|
247
|
+
* permission switched on was macOS reopening the app (no flag), anything else, or no
|
|
248
|
+
* app back in time (`after` undefined), is the app stopping.
|
|
249
|
+
*/
|
|
250
|
+
private settleStop;
|
|
251
|
+
private stopApp;
|
|
252
|
+
/**
|
|
253
|
+
* Stop for good. `retire` (submit, time up, lease ended) also uploads what is
|
|
254
|
+
* left, removes the app and resets its macOS permissions; either way the
|
|
255
|
+
* encrypted buffer is deleted, since its key dies with this process.
|
|
256
|
+
*/
|
|
257
|
+
stop(retire: boolean): Promise<void>;
|
|
258
|
+
}
|
|
259
|
+
//# sourceMappingURL=laptop-capture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"laptop-capture.d.ts","sourceRoot":"","sources":["../../src/lib/laptop-capture.ts"],"names":[],"mappings":"AA8CA,eAAO,MAAM,SAAS,6BAA6B,CAAA;AACnD,+DAA+D;AAC/D,eAAO,MAAM,eAAe,QAAU,CAAA;AAMtC,qHAAqH;AACrH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAAC,KAAK,EAAE,MAAM,EAAE,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CAAA;AAC/F,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,OAAO,CAAC;IAAC,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