@rarog/server 0.0.0-stage → 1.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +161 -2
- package/THIRD-PARTY-NOTICES +2110 -0
- package/bin/rarog.mjs +146 -0
- package/node_modules/@rarog/shared/LICENSE +21 -0
- package/node_modules/@rarog/shared/package.json +43 -0
- package/node_modules/@rarog/shared/src/data-dir.d.mts +49 -0
- package/node_modules/@rarog/shared/src/data-dir.mjs +120 -0
- package/node_modules/@rarog/shared/src/decode.js +381 -0
- package/node_modules/@rarog/shared/src/iroh.js +13 -0
- package/node_modules/@rarog/shared/src/notify-copy.js +12 -0
- package/node_modules/@rarog/shared/src/pairing-link.js +246 -0
- package/node_modules/@rarog/shared/src/protocol/activity.js +42 -0
- package/node_modules/@rarog/shared/src/protocol/attachments.js +192 -0
- package/node_modules/@rarog/shared/src/protocol/background.js +89 -0
- package/node_modules/@rarog/shared/src/protocol/commands.js +34 -0
- package/node_modules/@rarog/shared/src/protocol/consent.js +28 -0
- package/node_modules/@rarog/shared/src/protocol/dictation.js +23 -0
- package/node_modules/@rarog/shared/src/protocol/diff.js +78 -0
- package/node_modules/@rarog/shared/src/protocol/directories.js +44 -0
- package/node_modules/@rarog/shared/src/protocol/files.js +33 -0
- package/node_modules/@rarog/shared/src/protocol/git.js +23 -0
- package/node_modules/@rarog/shared/src/protocol/herdr.js +23 -0
- package/node_modules/@rarog/shared/src/protocol/inbox.js +38 -0
- package/node_modules/@rarog/shared/src/protocol/model.js +214 -0
- package/node_modules/@rarog/shared/src/protocol/notes.js +91 -0
- package/node_modules/@rarog/shared/src/protocol/resume.js +57 -0
- package/node_modules/@rarog/shared/src/protocol/terminal.js +259 -0
- package/node_modules/@rarog/shared/src/protocol.js +864 -0
- package/node_modules/@rarog/shared/src/relay-auth.js +231 -0
- package/node_modules/@rarog/shared/src/relay.js +103 -0
- package/node_modules/@rarog/shared/src/rest.js +898 -0
- package/node_modules/@rarog/shared/src/sentences/commands.js +203 -0
- package/node_modules/@rarog/shared/src/sentences/demo.js +10 -0
- package/node_modules/@rarog/shared/src/sentences/dialogs.js +103 -0
- package/node_modules/@rarog/shared/src/sentences/herdr.js +111 -0
- package/node_modules/@rarog/shared/src/sentences/index.js +362 -0
- package/node_modules/@rarog/shared/src/sentences/model.js +73 -0
- package/node_modules/@rarog/shared/src/sentences/push.js +56 -0
- package/node_modules/@rarog/shared/src/sentences/rest.js +140 -0
- package/node_modules/@rarog/shared/src/sentences/restart.js +71 -0
- package/node_modules/@rarog/shared/src/sentences/session.js +133 -0
- package/node_modules/@rarog/shared/src/sentences/state.js +15 -0
- package/node_modules/@rarog/shared/src/sentences/term.js +34 -0
- package/node_modules/@rarog/shared/src/sentences/transcript.js +24 -0
- package/node_modules/@rarog/shared/src/sentences/uploads.js +32 -0
- package/node_modules/@rarog/shared/src/workflow-phases.js +45 -0
- package/node_modules/ansi-regex/index.d.ts +37 -0
- package/node_modules/ansi-regex/index.js +10 -0
- package/node_modules/ansi-regex/license +9 -0
- package/node_modules/ansi-regex/package.json +55 -0
- package/node_modules/ansi-regex/readme.md +78 -0
- package/node_modules/ansi-styles/index.d.ts +345 -0
- package/node_modules/ansi-styles/index.js +163 -0
- package/node_modules/ansi-styles/license +9 -0
- package/node_modules/ansi-styles/package.json +56 -0
- package/node_modules/ansi-styles/readme.md +152 -0
- package/node_modules/camelcase/index.d.ts +63 -0
- package/node_modules/camelcase/index.js +76 -0
- package/node_modules/camelcase/license +9 -0
- package/node_modules/camelcase/package.json +43 -0
- package/node_modules/camelcase/readme.md +99 -0
- package/node_modules/cliui/LICENSE.txt +14 -0
- package/node_modules/cliui/README.md +115 -0
- package/node_modules/cliui/index.js +354 -0
- package/node_modules/cliui/package.json +65 -0
- package/node_modules/color-convert/LICENSE +21 -0
- package/node_modules/color-convert/README.md +68 -0
- package/node_modules/color-convert/conversions.js +839 -0
- package/node_modules/color-convert/index.js +81 -0
- package/node_modules/color-convert/package.json +48 -0
- package/node_modules/color-convert/route.js +97 -0
- package/node_modules/color-name/LICENSE +8 -0
- package/node_modules/color-name/README.md +11 -0
- package/node_modules/color-name/index.js +152 -0
- package/node_modules/color-name/package.json +28 -0
- package/node_modules/decamelize/index.js +13 -0
- package/node_modules/decamelize/license +21 -0
- package/node_modules/decamelize/package.json +38 -0
- package/node_modules/decamelize/readme.md +48 -0
- package/node_modules/dijkstrajs/.travis.yml +4 -0
- package/node_modules/dijkstrajs/CONTRIBUTING.md +8 -0
- package/node_modules/dijkstrajs/LICENSE.md +19 -0
- package/node_modules/dijkstrajs/README.md +18 -0
- package/node_modules/dijkstrajs/dijkstra.js +165 -0
- package/node_modules/dijkstrajs/package.json +60 -0
- package/node_modules/dijkstrajs/test/dijkstra.test.js +96 -0
- package/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/node_modules/emoji-regex/README.md +73 -0
- package/node_modules/emoji-regex/es2015/index.js +6 -0
- package/node_modules/emoji-regex/es2015/text.js +6 -0
- package/node_modules/emoji-regex/index.d.ts +23 -0
- package/node_modules/emoji-regex/index.js +6 -0
- package/node_modules/emoji-regex/package.json +50 -0
- package/node_modules/emoji-regex/text.js +6 -0
- package/node_modules/find-up/index.d.ts +137 -0
- package/node_modules/find-up/index.js +89 -0
- package/node_modules/find-up/license +9 -0
- package/node_modules/find-up/package.json +53 -0
- package/node_modules/find-up/readme.md +156 -0
- package/node_modules/get-caller-file/LICENSE.md +6 -0
- package/node_modules/get-caller-file/README.md +41 -0
- package/node_modules/get-caller-file/index.d.ts +2 -0
- package/node_modules/get-caller-file/index.js +22 -0
- package/node_modules/get-caller-file/index.js.map +1 -0
- package/node_modules/get-caller-file/package.json +42 -0
- package/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/node_modules/is-fullwidth-code-point/license +9 -0
- package/node_modules/is-fullwidth-code-point/package.json +42 -0
- package/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/node_modules/locate-path/index.d.ts +83 -0
- package/node_modules/locate-path/index.js +65 -0
- package/node_modules/locate-path/license +9 -0
- package/node_modules/locate-path/package.json +45 -0
- package/node_modules/locate-path/readme.md +122 -0
- package/node_modules/p-limit/index.d.ts +38 -0
- package/node_modules/p-limit/index.js +57 -0
- package/node_modules/p-limit/license +9 -0
- package/node_modules/p-limit/package.json +52 -0
- package/node_modules/p-limit/readme.md +101 -0
- package/node_modules/p-locate/index.d.ts +64 -0
- package/node_modules/p-locate/index.js +52 -0
- package/node_modules/p-locate/license +9 -0
- package/node_modules/p-locate/package.json +53 -0
- package/node_modules/p-locate/readme.md +90 -0
- package/node_modules/p-try/index.d.ts +39 -0
- package/node_modules/p-try/index.js +9 -0
- package/node_modules/p-try/license +9 -0
- package/node_modules/p-try/package.json +42 -0
- package/node_modules/p-try/readme.md +58 -0
- package/node_modules/path-exists/index.d.ts +28 -0
- package/node_modules/path-exists/index.js +23 -0
- package/node_modules/path-exists/license +9 -0
- package/node_modules/path-exists/package.json +39 -0
- package/node_modules/path-exists/readme.md +52 -0
- package/node_modules/pngjs/.eslintignore +2 -0
- package/node_modules/pngjs/.eslintrc.json +19 -0
- package/node_modules/pngjs/.prettierignore +3 -0
- package/node_modules/pngjs/LICENSE +20 -0
- package/node_modules/pngjs/README.md +429 -0
- package/node_modules/pngjs/browser.js +16096 -0
- package/node_modules/pngjs/coverage/lcov-report/base.css +354 -0
- package/node_modules/pngjs/coverage/lcov-report/bitmapper.js.html +881 -0
- package/node_modules/pngjs/coverage/lcov-report/bitpacker.js.html +554 -0
- package/node_modules/pngjs/coverage/lcov-report/block-navigation.js +77 -0
- package/node_modules/pngjs/coverage/lcov-report/chunkstream.js.html +647 -0
- package/node_modules/pngjs/coverage/lcov-report/constants.js.html +176 -0
- package/node_modules/pngjs/coverage/lcov-report/crc.js.html +200 -0
- package/node_modules/pngjs/coverage/lcov-report/favicon.png +0 -0
- package/node_modules/pngjs/coverage/lcov-report/filter-pack.js.html +593 -0
- package/node_modules/pngjs/coverage/lcov-report/filter-parse-async.js.html +152 -0
- package/node_modules/pngjs/coverage/lcov-report/filter-parse-sync.js.html +143 -0
- package/node_modules/pngjs/coverage/lcov-report/filter-parse.js.html +611 -0
- package/node_modules/pngjs/coverage/lcov-report/format-normaliser.js.html +359 -0
- package/node_modules/pngjs/coverage/lcov-report/index.html +426 -0
- package/node_modules/pngjs/coverage/lcov-report/interlace.js.html +365 -0
- package/node_modules/pngjs/coverage/lcov-report/packer-async.js.html +230 -0
- package/node_modules/pngjs/coverage/lcov-report/packer-sync.js.html +248 -0
- package/node_modules/pngjs/coverage/lcov-report/packer.js.html +467 -0
- package/node_modules/pngjs/coverage/lcov-report/paeth-predictor.js.html +128 -0
- package/node_modules/pngjs/coverage/lcov-report/parser-async.js.html +575 -0
- package/node_modules/pngjs/coverage/lcov-report/parser-sync.js.html +404 -0
- package/node_modules/pngjs/coverage/lcov-report/parser.js.html +950 -0
- package/node_modules/pngjs/coverage/lcov-report/png-sync.js.html +116 -0
- package/node_modules/pngjs/coverage/lcov-report/png.js.html +662 -0
- package/node_modules/pngjs/coverage/lcov-report/prettify.css +101 -0
- package/node_modules/pngjs/coverage/lcov-report/prettify.js +1007 -0
- package/node_modules/pngjs/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/node_modules/pngjs/coverage/lcov-report/sorter.js +169 -0
- package/node_modules/pngjs/coverage/lcov-report/sync-inflate.js.html +584 -0
- package/node_modules/pngjs/coverage/lcov-report/sync-reader.js.html +215 -0
- package/node_modules/pngjs/coverage/lcov.info +2177 -0
- package/node_modules/pngjs/lib/bitmapper.js +267 -0
- package/node_modules/pngjs/lib/bitpacker.js +158 -0
- package/node_modules/pngjs/lib/chunkstream.js +189 -0
- package/node_modules/pngjs/lib/constants.js +32 -0
- package/node_modules/pngjs/lib/crc.js +40 -0
- package/node_modules/pngjs/lib/filter-pack.js +171 -0
- package/node_modules/pngjs/lib/filter-parse-async.js +24 -0
- package/node_modules/pngjs/lib/filter-parse-sync.js +21 -0
- package/node_modules/pngjs/lib/filter-parse.js +177 -0
- package/node_modules/pngjs/lib/format-normaliser.js +93 -0
- package/node_modules/pngjs/lib/interlace.js +95 -0
- package/node_modules/pngjs/lib/packer-async.js +50 -0
- package/node_modules/pngjs/lib/packer-sync.js +56 -0
- package/node_modules/pngjs/lib/packer.js +129 -0
- package/node_modules/pngjs/lib/paeth-predictor.js +16 -0
- package/node_modules/pngjs/lib/parser-async.js +165 -0
- package/node_modules/pngjs/lib/parser-sync.js +108 -0
- package/node_modules/pngjs/lib/parser.js +290 -0
- package/node_modules/pngjs/lib/png-sync.js +12 -0
- package/node_modules/pngjs/lib/png.js +194 -0
- package/node_modules/pngjs/lib/sync-inflate.js +168 -0
- package/node_modules/pngjs/lib/sync-reader.js +45 -0
- package/node_modules/pngjs/package.json +73 -0
- package/node_modules/qrcode/README.md +770 -0
- package/node_modules/qrcode/bin/qrcode +159 -0
- package/node_modules/qrcode/helper/to-sjis-browser.js +2 -0
- package/node_modules/qrcode/helper/to-sjis.js +105 -0
- package/node_modules/qrcode/lib/browser.js +76 -0
- package/node_modules/qrcode/lib/can-promise.js +7 -0
- package/node_modules/qrcode/lib/core/alignment-pattern.js +83 -0
- package/node_modules/qrcode/lib/core/alphanumeric-data.js +59 -0
- package/node_modules/qrcode/lib/core/bit-buffer.js +37 -0
- package/node_modules/qrcode/lib/core/bit-matrix.js +65 -0
- package/node_modules/qrcode/lib/core/byte-data.js +30 -0
- package/node_modules/qrcode/lib/core/error-correction-code.js +135 -0
- package/node_modules/qrcode/lib/core/error-correction-level.js +50 -0
- package/node_modules/qrcode/lib/core/finder-pattern.js +22 -0
- package/node_modules/qrcode/lib/core/format-info.js +29 -0
- package/node_modules/qrcode/lib/core/galois-field.js +69 -0
- package/node_modules/qrcode/lib/core/kanji-data.js +54 -0
- package/node_modules/qrcode/lib/core/mask-pattern.js +234 -0
- package/node_modules/qrcode/lib/core/mode.js +167 -0
- package/node_modules/qrcode/lib/core/numeric-data.js +43 -0
- package/node_modules/qrcode/lib/core/polynomial.js +62 -0
- package/node_modules/qrcode/lib/core/qrcode.js +495 -0
- package/node_modules/qrcode/lib/core/reed-solomon-encoder.js +56 -0
- package/node_modules/qrcode/lib/core/regex.js +31 -0
- package/node_modules/qrcode/lib/core/segments.js +330 -0
- package/node_modules/qrcode/lib/core/utils.js +63 -0
- package/node_modules/qrcode/lib/core/version-check.js +9 -0
- package/node_modules/qrcode/lib/core/version.js +163 -0
- package/node_modules/qrcode/lib/index.js +12 -0
- package/node_modules/qrcode/lib/renderer/canvas.js +63 -0
- package/node_modules/qrcode/lib/renderer/png.js +78 -0
- package/node_modules/qrcode/lib/renderer/svg-tag.js +81 -0
- package/node_modules/qrcode/lib/renderer/svg.js +19 -0
- package/node_modules/qrcode/lib/renderer/terminal/terminal-small.js +85 -0
- package/node_modules/qrcode/lib/renderer/terminal/terminal.js +49 -0
- package/node_modules/qrcode/lib/renderer/terminal.js +9 -0
- package/node_modules/qrcode/lib/renderer/utf8.js +71 -0
- package/node_modules/qrcode/lib/renderer/utils.js +99 -0
- package/node_modules/qrcode/lib/server.js +138 -0
- package/node_modules/qrcode/license +10 -0
- package/node_modules/qrcode/package.json +77 -0
- package/node_modules/require-directory/.jshintrc +67 -0
- package/node_modules/require-directory/.npmignore +1 -0
- package/node_modules/require-directory/.travis.yml +3 -0
- package/node_modules/require-directory/LICENSE +22 -0
- package/node_modules/require-directory/README.markdown +184 -0
- package/node_modules/require-directory/index.js +86 -0
- package/node_modules/require-directory/package.json +40 -0
- package/node_modules/require-main-filename/LICENSE.txt +14 -0
- package/node_modules/require-main-filename/README.md +26 -0
- package/node_modules/require-main-filename/index.js +18 -0
- package/node_modules/require-main-filename/package.json +35 -0
- package/node_modules/set-blocking/LICENSE.txt +14 -0
- package/node_modules/set-blocking/README.md +31 -0
- package/node_modules/set-blocking/index.js +7 -0
- package/node_modules/set-blocking/package.json +42 -0
- package/node_modules/string-width/index.d.ts +29 -0
- package/node_modules/string-width/index.js +47 -0
- package/node_modules/string-width/license +9 -0
- package/node_modules/string-width/package.json +56 -0
- package/node_modules/string-width/readme.md +50 -0
- package/node_modules/strip-ansi/index.d.ts +17 -0
- package/node_modules/strip-ansi/index.js +4 -0
- package/node_modules/strip-ansi/license +9 -0
- package/node_modules/strip-ansi/package.json +54 -0
- package/node_modules/strip-ansi/readme.md +46 -0
- package/node_modules/which-module/LICENSE +13 -0
- package/node_modules/which-module/README.md +58 -0
- package/node_modules/which-module/index.js +9 -0
- package/node_modules/which-module/package.json +41 -0
- package/node_modules/wrap-ansi/index.js +186 -0
- package/node_modules/wrap-ansi/license +9 -0
- package/node_modules/wrap-ansi/package.json +61 -0
- package/node_modules/wrap-ansi/readme.md +97 -0
- package/node_modules/ws/LICENSE +20 -0
- package/node_modules/ws/README.md +548 -0
- package/node_modules/ws/browser.js +8 -0
- package/node_modules/ws/index.js +22 -0
- package/node_modules/ws/lib/buffer-util.js +131 -0
- package/node_modules/ws/lib/constants.js +19 -0
- package/node_modules/ws/lib/event-target.js +292 -0
- package/node_modules/ws/lib/extension.js +203 -0
- package/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/ws/lib/permessage-deflate.js +530 -0
- package/node_modules/ws/lib/receiver.js +743 -0
- package/node_modules/ws/lib/sender.js +607 -0
- package/node_modules/ws/lib/stream.js +161 -0
- package/node_modules/ws/lib/subprotocol.js +62 -0
- package/node_modules/ws/lib/validation.js +152 -0
- package/node_modules/ws/lib/websocket-server.js +562 -0
- package/node_modules/ws/lib/websocket.js +1407 -0
- package/node_modules/ws/package.json +74 -0
- package/node_modules/ws/wrapper.mjs +21 -0
- package/node_modules/y18n/LICENSE +13 -0
- package/node_modules/y18n/README.md +109 -0
- package/node_modules/y18n/index.js +188 -0
- package/node_modules/y18n/package.json +39 -0
- package/node_modules/yargs/LICENSE +21 -0
- package/node_modules/yargs/README.md +140 -0
- package/node_modules/yargs/build/lib/apply-extends.d.ts +2 -0
- package/node_modules/yargs/build/lib/apply-extends.js +65 -0
- package/node_modules/yargs/build/lib/argsert.d.ts +2 -0
- package/node_modules/yargs/build/lib/argsert.js +65 -0
- package/node_modules/yargs/build/lib/command.d.ts +64 -0
- package/node_modules/yargs/build/lib/command.js +416 -0
- package/node_modules/yargs/build/lib/common-types.d.ts +36 -0
- package/node_modules/yargs/build/lib/common-types.js +25 -0
- package/node_modules/yargs/build/lib/completion-templates.d.ts +2 -0
- package/node_modules/yargs/build/lib/completion-templates.js +50 -0
- package/node_modules/yargs/build/lib/completion.d.ts +21 -0
- package/node_modules/yargs/build/lib/completion.js +135 -0
- package/node_modules/yargs/build/lib/is-promise.d.ts +1 -0
- package/node_modules/yargs/build/lib/is-promise.js +9 -0
- package/node_modules/yargs/build/lib/levenshtein.d.ts +1 -0
- package/node_modules/yargs/build/lib/levenshtein.js +58 -0
- package/node_modules/yargs/build/lib/middleware.d.ts +10 -0
- package/node_modules/yargs/build/lib/middleware.js +57 -0
- package/node_modules/yargs/build/lib/obj-filter.d.ts +1 -0
- package/node_modules/yargs/build/lib/obj-filter.js +14 -0
- package/node_modules/yargs/build/lib/parse-command.d.ts +11 -0
- package/node_modules/yargs/build/lib/parse-command.js +36 -0
- package/node_modules/yargs/build/lib/process-argv.d.ts +2 -0
- package/node_modules/yargs/build/lib/process-argv.js +31 -0
- package/node_modules/yargs/build/lib/usage.d.ts +49 -0
- package/node_modules/yargs/build/lib/usage.js +540 -0
- package/node_modules/yargs/build/lib/validation.d.ts +34 -0
- package/node_modules/yargs/build/lib/validation.js +330 -0
- package/node_modules/yargs/build/lib/yargs.d.ts +274 -0
- package/node_modules/yargs/build/lib/yargs.js +1190 -0
- package/node_modules/yargs/build/lib/yerror.d.ts +4 -0
- package/node_modules/yargs/build/lib/yerror.js +11 -0
- package/node_modules/yargs/index.js +40 -0
- package/node_modules/yargs/locales/be.json +46 -0
- package/node_modules/yargs/locales/de.json +46 -0
- package/node_modules/yargs/locales/en.json +51 -0
- package/node_modules/yargs/locales/es.json +46 -0
- package/node_modules/yargs/locales/fi.json +49 -0
- package/node_modules/yargs/locales/fr.json +53 -0
- package/node_modules/yargs/locales/hi.json +49 -0
- package/node_modules/yargs/locales/hu.json +46 -0
- package/node_modules/yargs/locales/id.json +50 -0
- package/node_modules/yargs/locales/it.json +46 -0
- package/node_modules/yargs/locales/ja.json +51 -0
- package/node_modules/yargs/locales/ko.json +49 -0
- package/node_modules/yargs/locales/nb.json +44 -0
- package/node_modules/yargs/locales/nl.json +49 -0
- package/node_modules/yargs/locales/nn.json +44 -0
- package/node_modules/yargs/locales/pirate.json +13 -0
- package/node_modules/yargs/locales/pl.json +49 -0
- package/node_modules/yargs/locales/pt.json +45 -0
- package/node_modules/yargs/locales/pt_BR.json +48 -0
- package/node_modules/yargs/locales/ru.json +46 -0
- package/node_modules/yargs/locales/th.json +46 -0
- package/node_modules/yargs/locales/tr.json +48 -0
- package/node_modules/yargs/locales/zh_CN.json +48 -0
- package/node_modules/yargs/locales/zh_TW.json +47 -0
- package/node_modules/yargs/package.json +92 -0
- package/node_modules/yargs/yargs.js +14 -0
- package/node_modules/yargs-parser/LICENSE.txt +14 -0
- package/node_modules/yargs-parser/README.md +449 -0
- package/node_modules/yargs-parser/index.js +1032 -0
- package/node_modules/yargs-parser/lib/tokenize-arg-string.js +40 -0
- package/node_modules/yargs-parser/package.json +46 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +191 -0
- package/node_modules/zod/index.cjs +33 -0
- package/node_modules/zod/index.d.cts +4 -0
- package/node_modules/zod/index.d.ts +4 -0
- package/node_modules/zod/index.js +4 -0
- package/node_modules/zod/locales/index.cjs +17 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +32 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +135 -0
- package/node_modules/zod/src/index.ts +4 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +32 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/node_modules/zod/src/v4/classic/external.ts +52 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1823 -0
- package/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/zod/src/v4/core/core.ts +153 -0
- package/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/zod/src/v4/core/errors.ts +455 -0
- package/node_modules/zod/src/v4/core/index.ts +16 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/node_modules/zod/src/v4/core/regexes.ts +190 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
- package/node_modules/zod/src/v4/core/util.ts +983 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/node_modules/zod/src/v4/locales/el.ts +121 -0
- package/node_modules/zod/src/v4/locales/en.ts +123 -0
- package/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/node_modules/zod/src/v4/locales/fr.ts +132 -0
- package/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/node_modules/zod/src/v4/locales/hr.ts +131 -0
- package/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/node_modules/zod/src/v4/locales/index.ts +52 -0
- package/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/node_modules/zod/src/v4/locales/ro.ts +129 -0
- package/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/node_modules/zod/src/v4/locales/uz.ts +117 -0
- package/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/external.ts +41 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3777 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3695 -0
- package/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/node_modules/zod/v4/classic/errors.js +48 -0
- package/node_modules/zod/v4/classic/external.cjs +73 -0
- package/node_modules/zod/v4/classic/external.d.cts +16 -0
- package/node_modules/zod/v4/classic/external.d.ts +16 -0
- package/node_modules/zod/v4/classic/external.js +20 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
- package/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/node_modules/zod/v4/classic/parse.js +15 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
- package/node_modules/zod/v4/classic/schemas.js +1395 -0
- package/node_modules/zod/v4/core/api.cjs +1227 -0
- package/node_modules/zod/v4/core/api.d.cts +325 -0
- package/node_modules/zod/v4/core/api.d.ts +325 -0
- package/node_modules/zod/v4/core/api.js +1087 -0
- package/node_modules/zod/v4/core/checks.cjs +601 -0
- package/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/zod/v4/core/checks.js +575 -0
- package/node_modules/zod/v4/core/core.cjs +85 -0
- package/node_modules/zod/v4/core/core.d.cts +70 -0
- package/node_modules/zod/v4/core/core.d.ts +70 -0
- package/node_modules/zod/v4/core/core.js +78 -0
- package/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/zod/v4/core/errors.cjs +216 -0
- package/node_modules/zod/v4/core/errors.d.cts +221 -0
- package/node_modules/zod/v4/core/errors.d.ts +221 -0
- package/node_modules/zod/v4/core/errors.js +185 -0
- package/node_modules/zod/v4/core/index.cjs +47 -0
- package/node_modules/zod/v4/core/index.d.cts +16 -0
- package/node_modules/zod/v4/core/index.d.ts +16 -0
- package/node_modules/zod/v4/core/index.js +16 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +131 -0
- package/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/node_modules/zod/v4/core/parse.js +93 -0
- package/node_modules/zod/v4/core/regexes.cjs +172 -0
- package/node_modules/zod/v4/core/regexes.d.cts +85 -0
- package/node_modules/zod/v4/core/regexes.d.ts +85 -0
- package/node_modules/zod/v4/core/regexes.js +139 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2270 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
- package/node_modules/zod/v4/core/schemas.js +2239 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.js +448 -0
- package/node_modules/zod/v4/core/util.cjs +734 -0
- package/node_modules/zod/v4/core/util.d.cts +200 -0
- package/node_modules/zod/v4/core/util.d.ts +200 -0
- package/node_modules/zod/v4/core/util.js +674 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +3 -0
- package/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +106 -0
- package/node_modules/zod/v4/locales/az.cjs +132 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +105 -0
- package/node_modules/zod/v4/locales/be.cjs +183 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +156 -0
- package/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +120 -0
- package/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +107 -0
- package/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +111 -0
- package/node_modules/zod/v4/locales/da.cjs +142 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +115 -0
- package/node_modules/zod/v4/locales/de.cjs +135 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +108 -0
- package/node_modules/zod/v4/locales/el.cjs +136 -0
- package/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/zod/v4/locales/el.js +109 -0
- package/node_modules/zod/v4/locales/en.cjs +140 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +113 -0
- package/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +109 -0
- package/node_modules/zod/v4/locales/es.cjs +159 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +132 -0
- package/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +114 -0
- package/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +112 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/node_modules/zod/v4/locales/fr.cjs +152 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +125 -0
- package/node_modules/zod/v4/locales/he.cjs +241 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +214 -0
- package/node_modules/zod/v4/locales/hr.cjs +149 -0
- package/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/zod/v4/locales/hr.js +122 -0
- package/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +108 -0
- package/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +147 -0
- package/node_modules/zod/v4/locales/id.cjs +133 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +106 -0
- package/node_modules/zod/v4/locales/index.cjs +111 -0
- package/node_modules/zod/v4/locales/index.d.cts +52 -0
- package/node_modules/zod/v4/locales/index.d.ts +52 -0
- package/node_modules/zod/v4/locales/index.js +52 -0
- package/node_modules/zod/v4/locales/is.cjs +136 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +109 -0
- package/node_modules/zod/v4/locales/it.cjs +135 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +108 -0
- package/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +107 -0
- package/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +112 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +137 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +110 -0
- package/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +111 -0
- package/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +203 -0
- package/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +109 -0
- package/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +107 -0
- package/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +110 -0
- package/node_modules/zod/v4/locales/no.cjs +135 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +108 -0
- package/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +109 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +109 -0
- package/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +114 -0
- package/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +108 -0
- package/node_modules/zod/v4/locales/ro.cjs +146 -0
- package/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/zod/v4/locales/ro.js +119 -0
- package/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +156 -0
- package/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +109 -0
- package/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +110 -0
- package/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +110 -0
- package/node_modules/zod/v4/locales/th.cjs +137 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +110 -0
- package/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +105 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +108 -0
- package/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +110 -0
- package/node_modules/zod/v4/locales/uz.cjs +137 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +110 -0
- package/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +108 -0
- package/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +107 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/external.cjs +63 -0
- package/node_modules/zod/v4/mini/external.d.cts +13 -0
- package/node_modules/zod/v4/mini/external.d.ts +13 -0
- package/node_modules/zod/v4/mini/external.js +14 -0
- package/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
- package/node_modules/zod/v4/mini/schemas.js +961 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +32 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/package.json +49 -4
- package/scripts/hooks/canon.mjs +45 -0
- package/scripts/hooks/consent.mjs +728 -0
- package/scripts/hooks/rarog-context.mjs +163 -0
- package/scripts/hooks/rarog-pending.mjs +1498 -0
- package/scripts/hooks/rarog-statusline.mjs +258 -0
- package/scripts/hooks/tall-dialog.mjs +400 -0
- package/scripts/hooks/work-area.mjs +138 -0
- package/scripts/restart.sh +393 -0
- package/server/src/auth/admin.js +272 -0
- package/server/src/auth/consent-socket.js +89 -0
- package/server/src/auth/device.js +81 -0
- package/server/src/auth/devices-store.js +544 -0
- package/server/src/auth/index.js +26 -0
- package/server/src/auth/limiter.js +95 -0
- package/server/src/auth/origin.js +13 -0
- package/server/src/auth/pairing.js +201 -0
- package/server/src/auth/principal.js +28 -0
- package/server/src/auth/redact.js +78 -0
- package/server/src/auth/unix-socket.js +156 -0
- package/server/src/bootstrap/alive-sessions.js +22 -0
- package/server/src/bootstrap/consent.js +453 -0
- package/server/src/bootstrap/devices.js +43 -0
- package/server/src/bootstrap/health.js +45 -0
- package/server/src/bootstrap/herdr.js +25 -0
- package/server/src/bootstrap/hook-files.js +97 -0
- package/server/src/bootstrap/http.js +70 -0
- package/server/src/bootstrap/inbox.js +54 -0
- package/server/src/bootstrap/iroh.js +26 -0
- package/server/src/bootstrap/manager.js +51 -0
- package/server/src/bootstrap/pr-status.js +35 -0
- package/server/src/bootstrap/push.js +88 -0
- package/server/src/bootstrap/sse.js +32 -0
- package/server/src/bootstrap/term.js +54 -0
- package/server/src/bootstrap/versions.js +45 -0
- package/server/src/cli/child-output.js +214 -0
- package/server/src/cli/claude-settings.js +905 -0
- package/server/src/cli/config-rewrite.js +147 -0
- package/server/src/cli/devices.js +417 -0
- package/server/src/cli/dialogs.js +212 -0
- package/server/src/cli/dictation.js +87 -0
- package/server/src/cli/doctor-no-hook.js +162 -0
- package/server/src/cli/doctor-pr-status.js +77 -0
- package/server/src/cli/doctor-write-block.js +65 -0
- package/server/src/cli/doctor.js +1530 -0
- package/server/src/cli/hooks.js +734 -0
- package/server/src/cli/io.js +61 -0
- package/server/src/cli/launchd-loaded.js +82 -0
- package/server/src/cli/lock.js +170 -0
- package/server/src/cli/main.js +129 -0
- package/server/src/cli/restart.js +842 -0
- package/server/src/cli/screen/ask.js +55 -0
- package/server/src/cli/screen/log.js +136 -0
- package/server/src/cli/screen/prose.js +74 -0
- package/server/src/cli/screen/steps.js +528 -0
- package/server/src/cli/screen/style.js +161 -0
- package/server/src/cli/secret-input.js +212 -0
- package/server/src/cli/secrets-file.js +288 -0
- package/server/src/cli/serve.js +687 -0
- package/server/src/cli/service.js +1375 -0
- package/server/src/cli/setup-check.js +287 -0
- package/server/src/cli/setup-config.js +192 -0
- package/server/src/cli/setup-context.js +174 -0
- package/server/src/cli/setup-herdr-agent.js +503 -0
- package/server/src/cli/setup-herdr-unit.js +437 -0
- package/server/src/cli/setup-plan.js +85 -0
- package/server/src/cli/setup-screen.js +372 -0
- package/server/src/cli/setup-secrets.js +179 -0
- package/server/src/cli/setup-settings.js +305 -0
- package/server/src/cli/setup-tailscale-add.js +235 -0
- package/server/src/cli/setup-tailscale-only.js +81 -0
- package/server/src/cli/setup-tailscale-port.js +276 -0
- package/server/src/cli/setup-transport.js +417 -0
- package/server/src/cli/setup-voice.js +174 -0
- package/server/src/cli/setup.js +1191 -0
- package/server/src/cli/systemd-unit.js +370 -0
- package/server/src/cli/templates/herdr-agent.plist +34 -0
- package/server/src/cli/templates/launchd.plist +35 -0
- package/server/src/cli/templates/rarog.service +25 -0
- package/server/src/cli/update-channel.js +100 -0
- package/server/src/cli/update-lock.js +148 -0
- package/server/src/cli/update-provenance.js +303 -0
- package/server/src/cli/update-registry.js +628 -0
- package/server/src/cli/update.js +451 -0
- package/server/src/cli/voice-agent.js +235 -0
- package/server/src/cli/voice-keys.js +71 -0
- package/server/src/cli-store.js +38 -0
- package/server/src/cli-version.js +442 -0
- package/server/src/client-log.js +121 -0
- package/server/src/companion/ask.js +165 -0
- package/server/src/companion/asks-owner.js +205 -0
- package/server/src/companion/catalog.js +22 -0
- package/server/src/companion/cli-literals.js +84 -0
- package/server/src/companion/cli.js +235 -0
- package/server/src/companion/condense.js +274 -0
- package/server/src/companion/conversation.js +21 -0
- package/server/src/companion/index.js +46 -0
- package/server/src/companion/mask.js +37 -0
- package/server/src/companion/openai-token.js +129 -0
- package/server/src/companion/prompt.js +102 -0
- package/server/src/companion/turns-settle.js +33 -0
- package/server/src/companion/turns.js +132 -0
- package/server/src/config/claude-account.js +101 -0
- package/server/src/config/clients.js +45 -0
- package/server/src/config/demo.js +97 -0
- package/server/src/config/files.js +32 -0
- package/server/src/config/flags.js +152 -0
- package/server/src/config/herdr.js +129 -0
- package/server/src/config/listen.js +122 -0
- package/server/src/config/protected-dirs.js +79 -0
- package/server/src/config/push.js +72 -0
- package/server/src/config/roots.js +259 -0
- package/server/src/config/terminal.js +86 -0
- package/server/src/config/voice.js +21 -0
- package/server/src/config/work-area.js +168 -0
- package/server/src/config-env.js +530 -0
- package/server/src/config.js +749 -0
- package/server/src/demo/content/en.js +673 -0
- package/server/src/demo/content/index.js +16 -0
- package/server/src/demo/content/named-set.js +59 -0
- package/server/src/demo/content/pl.js +691 -0
- package/server/src/demo/content/types.js +1 -0
- package/server/src/demo/control.js +574 -0
- package/server/src/demo/files.js +49 -0
- package/server/src/demo/inbox.js +73 -0
- package/server/src/demo/mac.js +20 -0
- package/server/src/demo/mock-herdr.js +251 -0
- package/server/src/demo/notes.js +60 -0
- package/server/src/demo/review-routes.js +101 -0
- package/server/src/demo/scenarios.js +338 -0
- package/server/src/demo/seeds.js +480 -0
- package/server/src/demo/usage.js +29 -0
- package/server/src/demo/voice.js +24 -0
- package/server/src/device-effects.js +39 -0
- package/server/src/drivers/herdr/audit-fields.js +27 -0
- package/server/src/drivers/herdr/cli-reserve.js +238 -0
- package/server/src/drivers/herdr/command-dialog-settle.js +90 -0
- package/server/src/drivers/herdr/commands.js +751 -0
- package/server/src/drivers/herdr/consent-channel.js +231 -0
- package/server/src/drivers/herdr/consent-no-hook-io.js +89 -0
- package/server/src/drivers/herdr/consent-no-hook.js +316 -0
- package/server/src/drivers/herdr/consent-registry-read.js +45 -0
- package/server/src/drivers/herdr/form-reserve.js +203 -0
- package/server/src/drivers/herdr/layer2-card.js +302 -0
- package/server/src/drivers/herdr/layer2-step.js +199 -0
- package/server/src/drivers/herdr/prompt-gates.js +118 -0
- package/server/src/drivers/herdr/prompt-paste.js +106 -0
- package/server/src/drivers/herdr/prompt-queue-store.js +284 -0
- package/server/src/drivers/herdr/prompt-queue.js +921 -0
- package/server/src/drivers/herdr/pull-request-poll.js +61 -0
- package/server/src/drivers/herdr/queue-take-back.js +429 -0
- package/server/src/drivers/herdr/refusals.js +226 -0
- package/server/src/drivers/herdr/returned-prompt.js +172 -0
- package/server/src/drivers/herdr/scheduled-task-poll.js +120 -0
- package/server/src/drivers/herdr/stale-block.js +33 -0
- package/server/src/drivers/herdr/take-back-field.js +311 -0
- package/server/src/drivers/herdr/transcript.js +186 -0
- package/server/src/drivers/herdr/turn-guard.js +328 -0
- package/server/src/drivers/herdr-driver.js +4332 -0
- package/server/src/drivers/mock-driver.js +541 -0
- package/server/src/drivers/runtime.js +76 -0
- package/server/src/drivers/tool-summary.js +95 -0
- package/server/src/drivers/tool-text.js +206 -0
- package/server/src/drivers/types.js +15 -0
- package/server/src/files/file-index.js +246 -0
- package/server/src/files/ignored.js +119 -0
- package/server/src/files/listing.js +76 -0
- package/server/src/files/path-rule.js +145 -0
- package/server/src/files/refusals.js +36 -0
- package/server/src/files/send-file.js +115 -0
- package/server/src/files/session-download.js +51 -0
- package/server/src/files/session-files.js +38 -0
- package/server/src/files/session-gate.js +48 -0
- package/server/src/fs-browse.js +268 -0
- package/server/src/fs-mkdir-child.js +86 -0
- package/server/src/fs-mkdir.js +161 -0
- package/server/src/git-config-guard.js +72 -0
- package/server/src/git-diff.js +356 -0
- package/server/src/git-sandbox.js +100 -0
- package/server/src/git-stats.js +61 -0
- package/server/src/git-status.js +1073 -0
- package/server/src/git-watch.js +299 -0
- package/server/src/git-work-tree.js +33 -0
- package/server/src/health.js +167 -0
- package/server/src/herdr/answer-recheck.js +85 -0
- package/server/src/herdr/argv.js +234 -0
- package/server/src/herdr/audit.js +520 -0
- package/server/src/herdr/background/agent-file.js +411 -0
- package/server/src/herdr/background/artifacts.js +173 -0
- package/server/src/herdr/background/cli-shapes.js +442 -0
- package/server/src/herdr/background/ids.js +29 -0
- package/server/src/herdr/background/incremental-read.js +70 -0
- package/server/src/herdr/background/index.js +93 -0
- package/server/src/herdr/background/jsonl-lines.js +68 -0
- package/server/src/herdr/background/main-scan.js +229 -0
- package/server/src/herdr/background/merge.js +336 -0
- package/server/src/herdr/background/notice.js +110 -0
- package/server/src/herdr/background/notification.js +267 -0
- package/server/src/herdr/background/pull-request-files.js +257 -0
- package/server/src/herdr/background/pull-requests.js +684 -0
- package/server/src/herdr/background/queued-prompt.js +52 -0
- package/server/src/herdr/background/reducer.js +682 -0
- package/server/src/herdr/background/satellite.js +73 -0
- package/server/src/herdr/background/scheduled-task-file.js +118 -0
- package/server/src/herdr/background/scheduled-tasks.js +251 -0
- package/server/src/herdr/background/work.js +134 -0
- package/server/src/herdr/background/workflow-run.js +417 -0
- package/server/src/herdr/client.js +894 -0
- package/server/src/herdr/commands/catalog.js +179 -0
- package/server/src/herdr/commands/discover.js +605 -0
- package/server/src/herdr/commands/guard.js +192 -0
- package/server/src/herdr/commands/index.js +35 -0
- package/server/src/herdr/commands/registry.js +496 -0
- package/server/src/herdr/commands/shape.js +240 -0
- package/server/src/herdr/commands/transcript.js +261 -0
- package/server/src/herdr/consent-evidence.js +592 -0
- package/server/src/herdr/consent-step.js +44 -0
- package/server/src/herdr/consent-subagent.js +423 -0
- package/server/src/herdr/dialogs/cards/build.js +445 -0
- package/server/src/herdr/dialogs/cards/ids.js +101 -0
- package/server/src/herdr/dialogs/cards/roles.js +22 -0
- package/server/src/herdr/dialogs/consent-gate.js +62 -0
- package/server/src/herdr/dialogs/copy.js +97 -0
- package/server/src/herdr/dialogs/cross-check.js +500 -0
- package/server/src/herdr/dialogs/decide/decide.js +825 -0
- package/server/src/herdr/dialogs/decide/input.js +1 -0
- package/server/src/herdr/dialogs/decide/reasons.js +60 -0
- package/server/src/herdr/dialogs/decide/sources.js +322 -0
- package/server/src/herdr/dialogs/hook/answers.js +190 -0
- package/server/src/herdr/dialogs/hook/canon.js +28 -0
- package/server/src/herdr/dialogs/hook/contract.js +232 -0
- package/server/src/herdr/dialogs/hook/dump.js +350 -0
- package/server/src/herdr/dialogs/hook/suggestions.js +75 -0
- package/server/src/herdr/dialogs/hook/target.js +99 -0
- package/server/src/herdr/dialogs/index.js +208 -0
- package/server/src/herdr/dialogs/layer1/always.js +71 -0
- package/server/src/herdr/dialogs/layer1/bind.js +193 -0
- package/server/src/herdr/dialogs/layer1/card.js +190 -0
- package/server/src/herdr/dialogs/layer1/cards.js +37 -0
- package/server/src/herdr/dialogs/layer1/contract.js +399 -0
- package/server/src/herdr/dialogs/layer1/cycle.js +1746 -0
- package/server/src/herdr/dialogs/layer1/desk-reason.js +119 -0
- package/server/src/herdr/dialogs/layer1/desk.js +190 -0
- package/server/src/herdr/dialogs/layer1/frames.js +118 -0
- package/server/src/herdr/dialogs/layer1/hook-list/hook-list.js +1049 -0
- package/server/src/herdr/dialogs/layer1/hook-list/session-facts.js +135 -0
- package/server/src/herdr/dialogs/layer1/mode.js +93 -0
- package/server/src/herdr/dialogs/layer1/observe.js +419 -0
- package/server/src/herdr/dialogs/layer1/proof.js +454 -0
- package/server/src/herdr/dialogs/layer1/receipt.js +71 -0
- package/server/src/herdr/dialogs/layer1/records.js +236 -0
- package/server/src/herdr/dialogs/layer1/registry.js +274 -0
- package/server/src/herdr/dialogs/layer1/resume.js +178 -0
- package/server/src/herdr/dialogs/layer1/sign.js +182 -0
- package/server/src/herdr/dialogs/layer1/top.js +264 -0
- package/server/src/herdr/dialogs/layer1/turns.js +251 -0
- package/server/src/herdr/dialogs/layer1/version-gate.js +162 -0
- package/server/src/herdr/dialogs/layer2/card.js +109 -0
- package/server/src/herdr/dialogs/layer2/match.js +98 -0
- package/server/src/herdr/dialogs/layer2/read-block.js +153 -0
- package/server/src/herdr/dialogs/layer2/shapes.js +61 -0
- package/server/src/herdr/dialogs/layer2/stability.js +104 -0
- package/server/src/herdr/dialogs/layer2/verdict.js +282 -0
- package/server/src/herdr/dialogs/no-hook.js +63 -0
- package/server/src/herdr/dialogs/policy/consent.js +29 -0
- package/server/src/herdr/dialogs/policy/escalation.js +115 -0
- package/server/src/herdr/dialogs/policy/exit-tasks.js +34 -0
- package/server/src/herdr/dialogs/policy/measured-consent.js +123 -0
- package/server/src/herdr/dialogs/policy/option-policy.js +22 -0
- package/server/src/herdr/dialogs/policy/options.js +79 -0
- package/server/src/herdr/dialogs/policy/pause.js +18 -0
- package/server/src/herdr/dialogs/policy/terminal.js +93 -0
- package/server/src/herdr/dialogs/presence.js +49 -0
- package/server/src/herdr/dialogs/refusals.js +271 -0
- package/server/src/herdr/dialogs/router.js +137 -0
- package/server/src/herdr/dialogs/screen/auto-deny.js +31 -0
- package/server/src/herdr/dialogs/screen/bash-zone.js +161 -0
- package/server/src/herdr/dialogs/screen/block-visible.js +60 -0
- package/server/src/herdr/dialogs/screen/block.js +296 -0
- package/server/src/herdr/dialogs/screen/confirm.js +83 -0
- package/server/src/herdr/dialogs/screen/dialog-bottom.js +54 -0
- package/server/src/herdr/dialogs/screen/edit-frame.js +391 -0
- package/server/src/herdr/dialogs/screen/edit-zone.js +33 -0
- package/server/src/herdr/dialogs/screen/excerpt.js +48 -0
- package/server/src/herdr/dialogs/screen/file-dialog.js +38 -0
- package/server/src/herdr/dialogs/screen/form.js +199 -0
- package/server/src/herdr/dialogs/screen/identity.js +23 -0
- package/server/src/herdr/dialogs/screen/kinds.js +39 -0
- package/server/src/herdr/dialogs/screen/known.js +101 -0
- package/server/src/herdr/dialogs/screen/mode-footer.js +90 -0
- package/server/src/herdr/dialogs/screen/operation.js +196 -0
- package/server/src/herdr/dialogs/screen/option-run.js +62 -0
- package/server/src/herdr/dialogs/screen/options.js +534 -0
- package/server/src/herdr/dialogs/screen/parse.js +368 -0
- package/server/src/herdr/dialogs/screen/plan-file.js +53 -0
- package/server/src/herdr/dialogs/screen/queue.js +59 -0
- package/server/src/herdr/dialogs/screen/region.js +92 -0
- package/server/src/herdr/dialogs/screen/resolve.js +305 -0
- package/server/src/herdr/dialogs/screen/review.js +118 -0
- package/server/src/herdr/dialogs/screen/signatures.js +1030 -0
- package/server/src/herdr/dialogs/screen/snippet.js +49 -0
- package/server/src/herdr/dialogs/screen/text.js +50 -0
- package/server/src/herdr/dialogs/screen/trust-arrow.js +122 -0
- package/server/src/herdr/dialogs/screen/write-zone.js +41 -0
- package/server/src/herdr/dialogs/screen-unavailable.js +52 -0
- package/server/src/herdr/dialogs/send/form-submit.js +72 -0
- package/server/src/herdr/dialogs/send/key-row.js +29 -0
- package/server/src/herdr/dialogs/send/keys.js +75 -0
- package/server/src/herdr/dialogs/send/prompt-submit.js +35 -0
- package/server/src/herdr/dialogs/send/take-back-keys.js +33 -0
- package/server/src/herdr/dialogs/send/trust-step.js +52 -0
- package/server/src/herdr/dialogs/shadow/alive-log.js +100 -0
- package/server/src/herdr/dialogs/shadow/alive.js +211 -0
- package/server/src/herdr/dialogs/shadow/atomic.js +55 -0
- package/server/src/herdr/dialogs/shadow/channel.js +321 -0
- package/server/src/herdr/dialogs/shadow/evidence.js +322 -0
- package/server/src/herdr/dialogs/shadow/files.js +375 -0
- package/server/src/herdr/dialogs/shadow/liveness.js +145 -0
- package/server/src/herdr/dialogs/shadow/sweep.js +220 -0
- package/server/src/herdr/dialogs/timing.js +88 -0
- package/server/src/herdr/history-steps.js +190 -0
- package/server/src/herdr/hook-commands.js +355 -0
- package/server/src/herdr/hook-config.js +1468 -0
- package/server/src/herdr/identity.js +277 -0
- package/server/src/herdr/index.js +27 -0
- package/server/src/herdr/input-segments.js +135 -0
- package/server/src/herdr/jsonl-activity.js +122 -0
- package/server/src/herdr/jsonl-follow.js +2358 -0
- package/server/src/herdr/jsonl-pending.js +551 -0
- package/server/src/herdr/jsonl-queue.js +133 -0
- package/server/src/herdr/jsonl-usage.js +174 -0
- package/server/src/herdr/launcher.js +574 -0
- package/server/src/herdr/line-diff.js +104 -0
- package/server/src/herdr/mode-cycle.js +78 -0
- package/server/src/herdr/project-workspace.js +131 -0
- package/server/src/herdr/provenance.js +204 -0
- package/server/src/herdr/session-pulse.js +536 -0
- package/server/src/herdr/socket.js +1003 -0
- package/server/src/herdr/statusline.js +348 -0
- package/server/src/herdr/supervisor.js +1934 -0
- package/server/src/herdr/transcript-path.js +123 -0
- package/server/src/herdr/trust.js +201 -0
- package/server/src/herdr/types.js +163 -0
- package/server/src/herdr/ultracode.js +132 -0
- package/server/src/herdr/uploads-registry.js +173 -0
- package/server/src/herdr/uploads.js +642 -0
- package/server/src/herdr/workspace-resolver.js +219 -0
- package/server/src/hidden-chars.js +52 -0
- package/server/src/inbox/card.js +130 -0
- package/server/src/inbox/dialogs.js +150 -0
- package/server/src/inbox/heads.js +55 -0
- package/server/src/inbox/inbox.js +440 -0
- package/server/src/inbox/index.js +21 -0
- package/server/src/inbox/removals.js +181 -0
- package/server/src/inbox/segments.js +37 -0
- package/server/src/index.js +800 -0
- package/server/src/install/data-dir.js +103 -0
- package/server/src/install/evidence.js +66 -0
- package/server/src/install/mode.js +37 -0
- package/server/src/install/repair.js +223 -0
- package/server/src/install/sdk-lock.json +153 -0
- package/server/src/install/sdk-package.json +7 -0
- package/server/src/install/sdk-probe.js +18 -0
- package/server/src/install/sdk.js +624 -0
- package/server/src/install/service-target.js +106 -0
- package/server/src/iroh/adapter.js +294 -0
- package/server/src/iroh/duplex.js +169 -0
- package/server/src/iroh/endpoint.js +17 -0
- package/server/src/iroh/listener.js +422 -0
- package/server/src/iroh/log-budget.js +70 -0
- package/server/src/iroh/module-probe.js +17 -0
- package/server/src/iroh/path-log.js +96 -0
- package/server/src/iroh/socket.js +89 -0
- package/server/src/live-sessions.js +162 -0
- package/server/src/log-timestamps-install.js +8 -0
- package/server/src/log-timestamps.js +63 -0
- package/server/src/mac-stats.js +261 -0
- package/server/src/notes/store.js +248 -0
- package/server/src/notify/apns-channel.js +70 -0
- package/server/src/notify/apns-devices.js +477 -0
- package/server/src/notify/apns-payload.js +267 -0
- package/server/src/notify/apns-sink.js +207 -0
- package/server/src/notify/apns.js +307 -0
- package/server/src/notify/consent-canary-push.js +163 -0
- package/server/src/notify/content.js +328 -0
- package/server/src/notify/fanout.js +44 -0
- package/server/src/notify/index.js +505 -0
- package/server/src/notify/live-activity-limits.js +126 -0
- package/server/src/notify/live-activity-state.js +176 -0
- package/server/src/notify/live-activity.js +581 -0
- package/server/src/notify/policy.js +273 -0
- package/server/src/notify/presence.js +176 -0
- package/server/src/notify/push-crypto.js +95 -0
- package/server/src/notify/relay-pass.js +487 -0
- package/server/src/notify/relay-sender.js +206 -0
- package/server/src/notify/sender.js +117 -0
- package/server/src/notify/weekly-limit.js +204 -0
- package/server/src/notify/workflow-phase.js +11 -0
- package/server/src/permissions.js +239 -0
- package/server/src/pr-status/gh.js +270 -0
- package/server/src/pr-status/index.js +12 -0
- package/server/src/pr-status/source.js +22 -0
- package/server/src/pr-status/tracker.js +204 -0
- package/server/src/risk.js +100 -0
- package/server/src/router.js +603 -0
- package/server/src/routes/context.js +8 -0
- package/server/src/routes/devices.js +246 -0
- package/server/src/routes/inbox.js +91 -0
- package/server/src/routes/limits.js +41 -0
- package/server/src/routes/notes.js +105 -0
- package/server/src/routes/projects.js +189 -0
- package/server/src/routes/push.js +252 -0
- package/server/src/routes/sessions.js +878 -0
- package/server/src/routes/system.js +275 -0
- package/server/src/routes/terminal.js +140 -0
- package/server/src/safe-read.js +203 -0
- package/server/src/session-label.js +48 -0
- package/server/src/session-list.js +166 -0
- package/server/src/sessions/activity-clocks.js +47 -0
- package/server/src/sessions/attach-slots.js +64 -0
- package/server/src/sessions/claim-window.js +132 -0
- package/server/src/sessions/cli-registry.js +233 -0
- package/server/src/sessions/companion-scope.js +103 -0
- package/server/src/sessions/consent-cards.js +509 -0
- package/server/src/sessions/context-usage.js +23 -0
- package/server/src/sessions/conversation-lists.js +68 -0
- package/server/src/sessions/demo-modules.js +16 -0
- package/server/src/sessions/dialog-timing.js +57 -0
- package/server/src/sessions/diff-measure.js +30 -0
- package/server/src/sessions/driver-events.js +282 -0
- package/server/src/sessions/errors.js +64 -0
- package/server/src/sessions/fallback-label.js +38 -0
- package/server/src/sessions/held-echo.js +258 -0
- package/server/src/sessions/herdr-lifecycle.js +453 -0
- package/server/src/sessions/interrupt-windows.js +141 -0
- package/server/src/sessions/launch-gate.js +299 -0
- package/server/src/sessions/manager-api.js +1 -0
- package/server/src/sessions/manager.js +3957 -0
- package/server/src/sessions/pr-status-link.js +50 -0
- package/server/src/sessions/project-scan.js +48 -0
- package/server/src/sessions/question-card.js +137 -0
- package/server/src/sessions/recent-projects.js +55 -0
- package/server/src/sessions/ring-buffer.js +211 -0
- package/server/src/sessions/seen-marks.js +434 -0
- package/server/src/sessions/send-registry.js +275 -0
- package/server/src/sessions/session-git.js +304 -0
- package/server/src/sessions/session-restart.js +420 -0
- package/server/src/sessions/session-scope.js +30 -0
- package/server/src/sessions/session-take-back.js +118 -0
- package/server/src/sessions/session.js +743 -0
- package/server/src/sessions/state-machine.js +145 -0
- package/server/src/sessions/state-sentences.js +642 -0
- package/server/src/sessions/waiting-line.js +72 -0
- package/server/src/shutdown.js +20 -0
- package/server/src/sse.js +611 -0
- package/server/src/tailnet.js +169 -0
- package/server/src/term/backend.js +59 -0
- package/server/src/term/herdr-backend.js +1649 -0
- package/server/src/term/herdr-stream.js +109 -0
- package/server/src/term/index.js +338 -0
- package/server/src/term/lifecycle.js +182 -0
- package/server/src/term/paste.js +139 -0
- package/server/src/term/registry.js +1032 -0
- package/server/src/term/ws.js +306 -0
- package/server/src/text.js +102 -0
- package/server/src/transcript-import.js +579 -0
- package/server/src/usage.js +255 -0
- package/server/src/version-watch.js +243 -0
- package/server/src/version.js +102 -0
- package/server/src/voice/soniox.js +301 -0
|
@@ -0,0 +1,442 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Rejestr kształtów CLI zadań w tle — JEDYNE miejsce, w którym stoją słowa Claude Code, po
|
|
3
|
+
* których Rarog poznaje zadanie w tle albo meldunek o nim. Także artefakt sesji
|
|
4
|
+
* (`artifactPublish`, `artifactWatch`): jego meldunek jedzie tym samym nośnikiem co meldunek
|
|
5
|
+
* zadania, a drugi rejestr dla jednego nośnika rozjechałby się z tym przy pierwszej zmianie CLI.
|
|
6
|
+
*
|
|
7
|
+
* Wzór: `SCREEN_SIGNATURES` (`herdr/dialogs/screen/signatures.ts`). Wartości są tu, a moduły
|
|
8
|
+
* katalogu biorą je stąd — rejestr nie jest opisem kodu, tylko kodem. Po aktualizacji Claude Code
|
|
9
|
+
* pytanie „co u nas zależy od formatu CLI" ma jedną odpowiedź: ten plik.
|
|
10
|
+
*
|
|
11
|
+
* Podział ról: tu stoją SŁOWA (literały), a GRAMATYKA zostaje w modułach, które je czytają —
|
|
12
|
+
* `notification.ts` wie, że znacznik ma zamknięcie, `notice.ts`, że rodzaj stoi na początku
|
|
13
|
+
* streszczenia, `reducer.ts`, które pole wyniku narzędzia znaczy start.
|
|
14
|
+
*
|
|
15
|
+
* `cli` names the CLI version of the measurement the shape comes from; entries moved here from the comments of
|
|
16
|
+
* `reducer.ts` and `notice.ts` without a version carry {@link UNKNOWN}. Every NEW entry has a version, because without
|
|
17
|
+
* it nobody knows what to refresh. The version from the script measurement (`docs/background-tasks.md`, „After a
|
|
18
|
+
* Claude Code update”) goes only to an entry whose EVERY literal stands in a measured fixture, which
|
|
19
|
+
* `herdr-background-fixtures.test.ts` checks.
|
|
20
|
+
*
|
|
21
|
+
* Poza rejestrem, celowo:
|
|
22
|
+
* - ogólny format wpisu transkryptu (`type`, `message.content`, bloki `tool_use`/`tool_result`,
|
|
23
|
+
* `tool_use_id`, `timestamp`, `isSidechain`) — wspólny z `herdr/jsonl-pending.ts`
|
|
24
|
+
* i `transcript-import.ts`, nie jest wiedzą o zadaniach w tle;
|
|
25
|
+
* - interpunkcja meldunku: nazwa zadania stoi w pierwszym cudzysłowie streszczenia
|
|
26
|
+
* (`notification.ts`), a cudzysłów nie jest słowem, którego da się pilnować;
|
|
27
|
+
* - kształt identyfikatorów (`wf_<id>`, id agenta) — strażniki ścieżek w `satellite.ts`;
|
|
28
|
+
* - pliki przebiegu workflow (journal, skrypt, rama harnessu) — przy swoich pomiarach
|
|
29
|
+
* w `workflow-run.ts`.
|
|
30
|
+
*
|
|
31
|
+
* Strażnik (`server/test/herdr-background-boundary.test.ts`): literał stąd nie ma prawa stać
|
|
32
|
+
* w kodzie `server/src/**` poza tym plikiem. Drugi parser meldunku albo drugie czytanie
|
|
33
|
+
* `toolUseResult` zaczyna się właśnie od przepisania literału.
|
|
34
|
+
*/
|
|
35
|
+
/** Wartość `cli`, której komentarze sprzed rejestru nie podawały. Nie zgadujemy. */
|
|
36
|
+
export const UNKNOWN = 'nieznana';
|
|
37
|
+
const ORDINARY_WORD = 'słowo pospolite: pole o tej nazwie mają też inne wpisy i inne moduły';
|
|
38
|
+
const TOOL_NAME = 'nazwa narzędzia CLI: zna ją też parser ekranu, wiersz aktywności i dane demo';
|
|
39
|
+
export const CLI_SHAPES = {
|
|
40
|
+
notification: {
|
|
41
|
+
what: 'meldunek o końcu albo zdarzeniu zadania: tekst w znacznikach, ten sam w kilku wpisach naraz',
|
|
42
|
+
literals: {
|
|
43
|
+
open: '<task-notification>',
|
|
44
|
+
taskId: '<task-id>',
|
|
45
|
+
// The call that started the task and the file its output goes to (also on CLI 2.1.316, live session file).
|
|
46
|
+
toolUseId: '<tool-use-id>',
|
|
47
|
+
outputFile: '<output-file>',
|
|
48
|
+
/*
|
|
49
|
+
* The output file's place: `<tmp>/claude-<uid>/<slug>/<session uuid>/tasks/<task id>.output`. For a `Bash`
|
|
50
|
+
* command a regular file with the output and an `[exited with code N]` line; for an agent the CLI puts a
|
|
51
|
+
* symlink to the agent's conversation file there. The CLI deletes these files after some days (unmeasured).
|
|
52
|
+
* Read only by the pull request reader (`pull-request-files.ts`).
|
|
53
|
+
*/
|
|
54
|
+
outputDir: 'tasks',
|
|
55
|
+
outputExtension: '.output',
|
|
56
|
+
status: '<status>',
|
|
57
|
+
summary: '<summary>',
|
|
58
|
+
},
|
|
59
|
+
cli: '2.1.296',
|
|
60
|
+
common: {
|
|
61
|
+
outputDir: 'ordinary word: the driver event of the task list has the same name',
|
|
62
|
+
outputExtension: 'ordinary word: `.output` stands in code as an object field (`deps.output`)',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
notificationCarriers: {
|
|
66
|
+
what: 'wpisy niosące meldunek poza wpisem `user` z gołym napisem: kolejka promptów i załącznik',
|
|
67
|
+
literals: {
|
|
68
|
+
queueType: 'queue-operation',
|
|
69
|
+
queueText: 'content',
|
|
70
|
+
attachmentType: 'attachment',
|
|
71
|
+
attachmentField: 'attachment',
|
|
72
|
+
queuedCommand: 'queued_command',
|
|
73
|
+
queuedText: 'prompt',
|
|
74
|
+
},
|
|
75
|
+
cli: UNKNOWN,
|
|
76
|
+
common: {
|
|
77
|
+
queueText: ORDINARY_WORD,
|
|
78
|
+
attachmentType: ORDINARY_WORD,
|
|
79
|
+
attachmentField: ORDINARY_WORD,
|
|
80
|
+
queuedText: ORDINARY_WORD,
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
/**
|
|
84
|
+
* Tym samym załącznikiem kolejki co meldunek jedzie prompt, który przyszedł W TRAKCIE tury: CLI
|
|
85
|
+
* wchłania go w tę turę i nie zapisuje zwykłego wpisu `user`. Zmierzone ręcznie na
|
|
86
|
+
* plikach sesji projektu (CLI 2.1.267–2.1.296, 112 promptów człowieka i 40 wiadomości od
|
|
87
|
+
* subagentów z pochodzeniem `peer`). Czyta `queued-prompt.ts`.
|
|
88
|
+
*/
|
|
89
|
+
queuedPrompt: {
|
|
90
|
+
what: 'załącznik kolejki z promptem człowieka wchłoniętym w trwającą turę: tryb i pochodzenie',
|
|
91
|
+
literals: { mode: 'commandMode', prompt: 'prompt', origin: 'origin', kind: 'kind', human: 'human' },
|
|
92
|
+
cli: '2.1.296',
|
|
93
|
+
common: { prompt: ORDINARY_WORD, origin: ORDINARY_WORD, kind: ORDINARY_WORD, human: ORDINARY_WORD },
|
|
94
|
+
},
|
|
95
|
+
notificationOrigin: {
|
|
96
|
+
what: 'wartość `origin.kind` wpisu, którą CLI znakuje notkę o zadaniu w tle (bramka notki)',
|
|
97
|
+
literals: { kind: 'task-notification' },
|
|
98
|
+
cli: '2.1.296',
|
|
99
|
+
},
|
|
100
|
+
terminalStatuses: {
|
|
101
|
+
what: 'statusy, po których zadanie na pewno nie żyje — w `<status>` meldunku i w `TaskOutput`',
|
|
102
|
+
literals: {
|
|
103
|
+
completed: 'completed',
|
|
104
|
+
failed: 'failed',
|
|
105
|
+
killed: 'killed',
|
|
106
|
+
stopped: 'stopped',
|
|
107
|
+
},
|
|
108
|
+
cli: UNKNOWN,
|
|
109
|
+
common: {
|
|
110
|
+
completed: ORDINARY_WORD,
|
|
111
|
+
failed: ORDINARY_WORD,
|
|
112
|
+
killed: ORDINARY_WORD,
|
|
113
|
+
stopped: ORDINARY_WORD,
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
unknownFate: {
|
|
117
|
+
what: 'streszczenie sieroty: po wznowieniu procesu CLI przyznaje, że nie wie, co stało się z zadaniem',
|
|
118
|
+
literals: { sentence: 'No completion record was found' },
|
|
119
|
+
cli: UNKNOWN,
|
|
120
|
+
},
|
|
121
|
+
summaryKinds: {
|
|
122
|
+
what: 'początek `<summary>` mówi, jakiego rodzaju zadanie się melduje (rodzaj notki)',
|
|
123
|
+
literals: {
|
|
124
|
+
orphanStart: 'No completion record',
|
|
125
|
+
orphanShells: 'background shell command task(s)',
|
|
126
|
+
monitorEvent: 'Monitor event',
|
|
127
|
+
monitorEnd: 'Monitor',
|
|
128
|
+
command: 'Background command',
|
|
129
|
+
workflow: ['Dynamic workflow', 'Background workflow'],
|
|
130
|
+
agent: ['Agent', 'agent'],
|
|
131
|
+
backgroundAgent: ['Background Agent', 'Background agent'],
|
|
132
|
+
},
|
|
133
|
+
cli: UNKNOWN,
|
|
134
|
+
common: {
|
|
135
|
+
monitorEnd: 'to samo słowo jest nazwą narzędzia `Monitor`',
|
|
136
|
+
agent: 'słowo „agent” stoi w nazwach i tekstach całego serwera',
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
summaryExitCode: {
|
|
140
|
+
what: 'kod wyjścia komendy w streszczeniu: `exit code N`',
|
|
141
|
+
literals: { prefix: 'exit code ' },
|
|
142
|
+
cli: '2.1.296',
|
|
143
|
+
},
|
|
144
|
+
/*
|
|
145
|
+
* Frazy kluczowe, nie całe zdania: CLI wolno przeredagować resztę dopisku, a rozpoznanie ma to
|
|
146
|
+
* przeżyć. Pełne brzmienia (znak w znak te same na 2.1.295 i 2.1.296) stoją w fixture'ach
|
|
147
|
+
* `postoj.jsonl` i `wznowienie.jsonl`. Trzecie znane brzmienie `<note>` należy do KOMEND po
|
|
148
|
+
* timeoucie („…start it again with `run_in_background`…") i celowo go tu nie ma: nie mówi nic
|
|
149
|
+
* o agencie, a rozpoznanie dopisku dotyczy wyłącznie meldunku agenta (`notification.ts`).
|
|
150
|
+
*/
|
|
151
|
+
agentNote: {
|
|
152
|
+
what: 'dopisek `<note>` meldunku o zatrzymaniu agenta: postój (jego własna praca w tle jeszcze leci) albo koniec',
|
|
153
|
+
literals: {
|
|
154
|
+
tag: '<note>',
|
|
155
|
+
standby: 'background work of its own still running',
|
|
156
|
+
ended: 'no live background children',
|
|
157
|
+
// Zaraz po dopisku stoi wynik agenta (albo koniec meldunku); `<note>` w treści wyniku to tekst modelu.
|
|
158
|
+
result: '<result>',
|
|
159
|
+
// Meldunek agenta, który czytał treść artefaktu, ma PRZED wynikiem jeszcze ten znacznik i linię
|
|
160
|
+
// ostrzeżenia (zmierzone ręcznie na pliku żywej sesji, CLI 2.1.296).
|
|
161
|
+
relayed: '<artifact-content-authored-by-others/>',
|
|
162
|
+
},
|
|
163
|
+
cli: '2.1.296',
|
|
164
|
+
},
|
|
165
|
+
toolResult: {
|
|
166
|
+
what: 'pole wpisu `user` z wynikiem narzędzia; jego kształt rozróżnia start, zatrzymanie i odbiór wyniku',
|
|
167
|
+
literals: { field: 'toolUseResult' },
|
|
168
|
+
cli: '2.1.296',
|
|
169
|
+
},
|
|
170
|
+
taskStart: {
|
|
171
|
+
what: 'start zadania: `agentId` → subagent, `taskId` z `taskType` → workflow, `backgroundTaskId` → komenda',
|
|
172
|
+
literals: {
|
|
173
|
+
agentId: 'agentId',
|
|
174
|
+
taskId: 'taskId',
|
|
175
|
+
taskType: 'taskType',
|
|
176
|
+
backgroundTaskId: 'backgroundTaskId',
|
|
177
|
+
},
|
|
178
|
+
cli: UNKNOWN,
|
|
179
|
+
common: { agentId: 'to samo słowo jest polem journala przebiegu (`workflow-run.ts`)' },
|
|
180
|
+
},
|
|
181
|
+
agentResume: {
|
|
182
|
+
what: 'wznowienie subagenta: wynik `SendMessage` w kształcie `{message, pin, resumedAgentId, success: true}`',
|
|
183
|
+
literals: {
|
|
184
|
+
resumedAgentId: 'resumedAgentId',
|
|
185
|
+
success: 'success',
|
|
186
|
+
},
|
|
187
|
+
cli: '2.1.296',
|
|
188
|
+
common: { success: ORDINARY_WORD },
|
|
189
|
+
},
|
|
190
|
+
taskDescription: {
|
|
191
|
+
what: 'opis zadania: z wyniku startu (`description`, `workflowName`) albo z wywołania narzędzia',
|
|
192
|
+
literals: {
|
|
193
|
+
description: 'description',
|
|
194
|
+
workflowName: 'workflowName',
|
|
195
|
+
command: 'command',
|
|
196
|
+
},
|
|
197
|
+
cli: UNKNOWN,
|
|
198
|
+
common: { description: ORDINARY_WORD, command: ORDINARY_WORD },
|
|
199
|
+
},
|
|
200
|
+
/**
|
|
201
|
+
* `until`: warunek monitora w wywołaniu ze starszych plików (wersja CLI nieznana).
|
|
202
|
+
* Dzisiejsze wejście `Monitor` go nie ma: docs `agent-sdk/typescript.md`, „Monitor”
|
|
203
|
+
* podają `{description, timeout_ms, command?, ws?}`, a fixture'y
|
|
204
|
+
* `tasks/incydent-gotowe-po-postoju-2.1.301/subagents/` niosą `{timeout_ms, command, description}`.
|
|
205
|
+
*/
|
|
206
|
+
taskWho: {
|
|
207
|
+
what: 'kto i czym wykonuje zadanie: model i streszczenie w wyniku, podtyp i warunek monitora w wywołaniu',
|
|
208
|
+
literals: {
|
|
209
|
+
resolvedModel: 'resolvedModel',
|
|
210
|
+
summary: 'summary',
|
|
211
|
+
subagentType: 'subagent_type',
|
|
212
|
+
until: 'until',
|
|
213
|
+
},
|
|
214
|
+
cli: UNKNOWN,
|
|
215
|
+
common: { summary: ORDINARY_WORD, until: ORDINARY_WORD },
|
|
216
|
+
},
|
|
217
|
+
workflowRun: {
|
|
218
|
+
what: 'identyfikator przebiegu workflow w wyniku startu — klucz katalogu przebiegu; wznowienie go powtarza',
|
|
219
|
+
literals: { runId: 'runId' },
|
|
220
|
+
cli: UNKNOWN,
|
|
221
|
+
},
|
|
222
|
+
skillFork: {
|
|
223
|
+
what: '`Skill` puszczony w tle: wejście `{skill, args}`, wynik z `agentId` i `commandName`, bez opisu',
|
|
224
|
+
literals: {
|
|
225
|
+
tool: 'Skill',
|
|
226
|
+
skill: 'skill',
|
|
227
|
+
args: 'args',
|
|
228
|
+
commandName: 'commandName',
|
|
229
|
+
},
|
|
230
|
+
cli: '2.1.258',
|
|
231
|
+
common: { tool: TOOL_NAME, skill: ORDINARY_WORD, args: ORDINARY_WORD },
|
|
232
|
+
},
|
|
233
|
+
/**
|
|
234
|
+
* Wynik z `agentId`, który NIE jest startem w tle: narzędzie skończyło pracę na pierwszym planie i wynik niesie
|
|
235
|
+
* już jej koniec. Zmierzone ręcznie na wynikach z `agentId` w plikach głównych tego konta (CLI
|
|
236
|
+
* 2.1.216–2.1.309): fork `Skill` na pierwszym planie `{agentId, commandName, result, status: "forked", success}`
|
|
237
|
+
* (1 wynik, 2.1.309) i subagent na pierwszym planie `{agentId, content, status: "completed", …}` (7 wyników).
|
|
238
|
+
* Start w tle ma `status: "async_launched"` (958) albo `"forked"` z `background: true` (2). Kształtu forka
|
|
239
|
+
* przerwanego albo nieudanego nie zmierzono.
|
|
240
|
+
*/
|
|
241
|
+
foregroundEnd: {
|
|
242
|
+
what: 'wynik z `agentId`, który niesie już koniec: fork skilla bez `background: true` albo status końcowy',
|
|
243
|
+
literals: {
|
|
244
|
+
status: 'status',
|
|
245
|
+
forked: 'forked',
|
|
246
|
+
background: 'background',
|
|
247
|
+
},
|
|
248
|
+
cli: '2.1.309',
|
|
249
|
+
common: {
|
|
250
|
+
status: ORDINARY_WORD,
|
|
251
|
+
background: 'to samo słowo jest nazwą slash-komendy `/background` (`commands/registry.ts`)',
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
taskTools: {
|
|
255
|
+
what: 'narzędzia, po których może powstać zadanie w tle (razem z `Skill` i `Monitor`)',
|
|
256
|
+
literals: {
|
|
257
|
+
bash: 'Bash',
|
|
258
|
+
agent: 'Agent',
|
|
259
|
+
task: 'Task',
|
|
260
|
+
workflow: 'Workflow',
|
|
261
|
+
},
|
|
262
|
+
cli: UNKNOWN,
|
|
263
|
+
common: { bash: TOOL_NAME, agent: TOOL_NAME, task: TOOL_NAME, workflow: TOOL_NAME },
|
|
264
|
+
},
|
|
265
|
+
/**
|
|
266
|
+
* `timeout`: pole WYWOŁANIA z terminem monitora w ms. Zmierzone ręcznie na pliku
|
|
267
|
+
* subagenta żywej sesji (CLI 2.1.296): wywołanie `{description, timeout_ms: 1800000, command}`,
|
|
268
|
+
* wynik `{taskId, timeoutMs, persistent}` bez `backgroundTaskId` i bez `taskType`, wygaśnięcie
|
|
269
|
+
* jako zdarzenie bez `<status>` w kolejce pliku głównego. Termin domyślny 5 minut, najwyżej 30 minut
|
|
270
|
+
* (docs `agent-sdk/typescript.md`, „Monitor”: 300000 ms i skuteczny sufit 1800000). `timeout` czyta
|
|
271
|
+
* tylko czytnik pliku subagenta (`agent-file.ts`), żeby wiedzieć, do kiedy agent może czekać na
|
|
272
|
+
* monitor; listę zadań zasila wynik (`monitorStart`).
|
|
273
|
+
*/
|
|
274
|
+
monitorTool: {
|
|
275
|
+
what: 'narzędzie `Monitor`: rodzaj poznajemy po nazwie, termin po polu wywołania',
|
|
276
|
+
literals: { tool: 'Monitor', timeout: 'timeout_ms' },
|
|
277
|
+
cli: '2.1.296',
|
|
278
|
+
common: { tool: TOOL_NAME, timeout: 'parametr o tej nazwie mają też żądania do herdr (`drivers/herdr`)' },
|
|
279
|
+
},
|
|
280
|
+
/**
|
|
281
|
+
* The record of a `SubagentStop` hook in the subagent file: an `attachment` of type `hook_success` with the hook's
|
|
282
|
+
* event in `hookEvent`. With such a hook configured the CLI writes it at every stop of the agent (standby and the
|
|
283
|
+
* end after `SubagentHandback`), after the agent's last entry, so it is often the file's last line. Measured by hand
|
|
284
|
+
* on the session files of this account (CLI 2.1.325–2.1.330): 699 records, none with a `timestamp` earlier than the
|
|
285
|
+
* entry before it, 374 of the 386 subagent files that end with an attachment end with it. Other hook records do not
|
|
286
|
+
* qualify: a `PostToolUse` record of parallel calls is earlier than the entry before it in 29 363 of 46 800.
|
|
287
|
+
* Read only by the subagent file reader (`agent-file.ts`), for the proof that the file is known to its last line.
|
|
288
|
+
*/
|
|
289
|
+
subagentStopHook: {
|
|
290
|
+
what: 'record of the `SubagentStop` hook in the subagent file: written at the agent stop, at its own time',
|
|
291
|
+
literals: { type: 'hook_success', event: 'hookEvent', stop: 'SubagentStop' },
|
|
292
|
+
cli: '2.1.330',
|
|
293
|
+
},
|
|
294
|
+
/**
|
|
295
|
+
* A copy of one message of an API request in the subagent file: an entry of type `api-request-blob` with `hash`
|
|
296
|
+
* and `message`, without `timestamp`. Its tool calls repeat calls that already stand in ordinary entries of the
|
|
297
|
+
* same file. Measured by hand on the session files of this account (CLI 2.1.330): 121 199 such entries in 2 432 of
|
|
298
|
+
* 2 554 subagent files, none with `timestamp`, and each of their 85 738 tool calls has the same `id` in an ordinary
|
|
299
|
+
* entry. Read only by the subagent file reader (`agent-file.ts`), which skips it when it looks for other own tasks.
|
|
300
|
+
*/
|
|
301
|
+
requestBlob: {
|
|
302
|
+
what: 'copy of an API request message in the subagent file: no time, its tool calls repeat earlier entries',
|
|
303
|
+
literals: { type: 'api-request-blob' },
|
|
304
|
+
cli: '2.1.330',
|
|
305
|
+
},
|
|
306
|
+
/**
|
|
307
|
+
* Start monitora agenta głównego: wynik `Monitor` `{persistent, taskId, timeoutMs}` obok bloku
|
|
308
|
+
* `tool_result`, bez `backgroundTaskId` i bez `taskType`. Identyfikator to `taskId` z wpisu `taskStart`, tu
|
|
309
|
+
* stoją pola, które odróżniają ten wynik od startu workflow i niosą termin. Zmierzone ręcznie na plikach
|
|
310
|
+
* rozmów tego konta, same klucze (CLI 2.1.319): 35 z 37 wyników `Monitor` ma ten kształt, `timeoutMs`
|
|
311
|
+
* zawsze liczbą, `persistent` zawsze `false`; pozostałe dwa to tekst błędu. Meldunki o monitorze niosą ten
|
|
312
|
+
* sam identyfikator w `<task-id>`.
|
|
313
|
+
*/
|
|
314
|
+
monitorStart: {
|
|
315
|
+
what: 'start monitora: wynik `Monitor` z `taskId`, terminem `timeoutMs` i znacznikiem `persistent`',
|
|
316
|
+
literals: { timeoutMs: 'timeoutMs', persistent: 'persistent' },
|
|
317
|
+
cli: '2.1.319',
|
|
318
|
+
},
|
|
319
|
+
/**
|
|
320
|
+
* Na CLI 2.1.319 (pomiar ręczny na plikach rozmów tego konta, same klucze i prefiks zdania) wynik
|
|
321
|
+
* ma kształt `{command, message, task_id, task_type}`, a `message` zaczyna się od prefiksu w 97 z 97 wyników,
|
|
322
|
+
* także w 4 zatrzymaniach monitora (`task_type: local_bash`). Po zatrzymaniu monitora meldunek nie przychodzi.
|
|
323
|
+
*/
|
|
324
|
+
taskStop: {
|
|
325
|
+
what: 'jawne zatrzymanie (`TaskStop`): wynik `{message: "Successfully stopped task: …", task_id}`',
|
|
326
|
+
literals: {
|
|
327
|
+
taskId: 'task_id',
|
|
328
|
+
message: 'message',
|
|
329
|
+
messagePrefix: 'Successfully stopped task',
|
|
330
|
+
},
|
|
331
|
+
cli: '2.1.319',
|
|
332
|
+
common: { message: ORDINARY_WORD },
|
|
333
|
+
},
|
|
334
|
+
/**
|
|
335
|
+
* Narzędzie `TaskOutput` usunięto w CLI 2.1.277 (docs `agent-sdk/typescript.md`, „TaskOutput”; changelog
|
|
336
|
+
* 2.1.277), a fixture `tasks/measured/taskoutput-w-postoju-2.1.296.jsonl` notuje jego brak. Kształt zostaje
|
|
337
|
+
* dla plików rozmów sprzed tej wersji (wersja CLI nieznana).
|
|
338
|
+
*/
|
|
339
|
+
taskOutput: {
|
|
340
|
+
what: 'wynik odebrany przez `TaskOutput`: `{retrieval_status, task: {task_id, status}}`, bez meldunku',
|
|
341
|
+
literals: {
|
|
342
|
+
retrievalStatus: 'retrieval_status',
|
|
343
|
+
task: 'task',
|
|
344
|
+
taskId: 'task_id',
|
|
345
|
+
status: 'status',
|
|
346
|
+
},
|
|
347
|
+
cli: UNKNOWN,
|
|
348
|
+
common: { task: ORDINARY_WORD, status: ORDINARY_WORD },
|
|
349
|
+
},
|
|
350
|
+
/**
|
|
351
|
+
* Lista artefaktów sesji (`artifacts.ts`, opis: `docs/artifacts.md`). Wynik publikacji narzędziem
|
|
352
|
+
* `Artifact` stoi w `toolUseResult` obok bloku `tool_result`, jak start zadania w tle. Nowa strona
|
|
353
|
+
* i ponowna publikacja niosą `updated` (boolean), utworzenie z typu (`type_url`, od CLI 2.1.293)
|
|
354
|
+
* `created_from_type: true` bez `updated`. Pierwszy zmierzony wynik: CLI 2.1.278. Pomiar:
|
|
355
|
+
* odczyt magazynu CLI bez żywej sesji (`docs/artifacts.md`, „After a Claude Code update”), fixture
|
|
356
|
+
* `artifacts/measured/publikacje.jsonl`.
|
|
357
|
+
*/
|
|
358
|
+
artifactPublish: {
|
|
359
|
+
what: 'wynik publikacji artefaktu (`Artifact`): adres strony, tytuł i znacznik nowej, ponownej albo z typu',
|
|
360
|
+
literals: {
|
|
361
|
+
url: 'url',
|
|
362
|
+
title: 'title',
|
|
363
|
+
updated: 'updated',
|
|
364
|
+
createdFromType: 'created_from_type',
|
|
365
|
+
// Jedyna forma adresu w wynikach (gramatykę `<prefiks><id z liter i cyfr>` trzyma `notification.ts`).
|
|
366
|
+
urlPrefix: 'https://claude.ai/artifact/',
|
|
367
|
+
},
|
|
368
|
+
cli: '2.1.301',
|
|
369
|
+
common: { url: ORDINARY_WORD, title: ORDINARY_WORD },
|
|
370
|
+
},
|
|
371
|
+
/**
|
|
372
|
+
* Meldunek CLI o końcu obserwacji artefaktu: notka harnessu (`origin.kind: task-notification`) bez
|
|
373
|
+
* `<task-id>` i `<status>`, z `<task-type>` i zdarzeniem `Watch on <adres> ended — …`. Usunięcie artefaktu
|
|
374
|
+
* na claude.ai to wariant `(artifact not found)`; pozostałe zmierzone: `(public, outside your organization)`
|
|
375
|
+
* i „the signed-in account changed” (bez adresu). Fixture `artifacts/measured/meldunki.jsonl`.
|
|
376
|
+
*/
|
|
377
|
+
artifactWatch: {
|
|
378
|
+
what: 'meldunek o końcu obserwacji artefaktu: rodzaj zadania, wariant „nie ma takiego artefaktu” i adres w zdarzeniu',
|
|
379
|
+
literals: {
|
|
380
|
+
taskType: '<task-type>',
|
|
381
|
+
lifecycle: 'artifact-watch-lifecycle',
|
|
382
|
+
notFound: '(artifact not found)',
|
|
383
|
+
event: '<event>',
|
|
384
|
+
watchOn: 'Watch on',
|
|
385
|
+
ended: 'ended',
|
|
386
|
+
},
|
|
387
|
+
cli: '2.1.301',
|
|
388
|
+
common: { ended: 'słowo pospolite: to samo słowo jest wartością dopisku meldunku agenta (`notification.ts`)' },
|
|
389
|
+
},
|
|
390
|
+
/**
|
|
391
|
+
* The session's scheduled tasks (`scheduled-tasks.ts`). `CronCreate` input `{cron, prompt, recurring}` (`recurring`
|
|
392
|
+
* may be the string `"true"`), result `{id, humanSchedule, recurring, durable, nextFireAt}` with a boolean
|
|
393
|
+
* `recurring` and `nextFireAt` in epoch ms; `CronDelete` result `{id}`; `CronList` result `{jobs: [...]}`, a full
|
|
394
|
+
* snapshot whose jobs carry `recurring` only when it is `true` and which also lists a pending `ScheduleWakeup`
|
|
395
|
+
* without any marker. A run is a `system` entry with the `scheduled_task_fire` subtype and `{taskId, cron, prompt}`;
|
|
396
|
+
* a `ScheduleWakeup` run adds `taskKind` and `cronKind` equal to `loop`. The `session_cron_carry` attachment holds
|
|
397
|
+
* `tasks` (after `/compact`), `otherArmed` (first entry of the file `/clear` opens) or `ended` (exit that stopped the
|
|
398
|
+
* tasks), each task `{id, cron, prompt, createdAt, recurring}`. Fixtures: `scheduled/measured/`.
|
|
399
|
+
*/
|
|
400
|
+
scheduledTasks: {
|
|
401
|
+
what: 'scheduled task calls (`CronCreate`, `CronDelete`, `CronList`), their run line and the carry attachment',
|
|
402
|
+
literals: {
|
|
403
|
+
createTool: 'CronCreate',
|
|
404
|
+
deleteTool: 'CronDelete',
|
|
405
|
+
listTool: 'CronList',
|
|
406
|
+
fire: 'scheduled_task_fire',
|
|
407
|
+
carry: 'session_cron_carry',
|
|
408
|
+
taskId: 'taskId',
|
|
409
|
+
taskKind: 'taskKind',
|
|
410
|
+
cronKind: 'cronKind',
|
|
411
|
+
loop: 'loop',
|
|
412
|
+
id: 'id',
|
|
413
|
+
cron: 'cron',
|
|
414
|
+
prompt: 'prompt',
|
|
415
|
+
recurring: 'recurring',
|
|
416
|
+
nextFireAt: 'nextFireAt',
|
|
417
|
+
jobs: 'jobs',
|
|
418
|
+
tasks: 'tasks',
|
|
419
|
+
otherArmed: 'otherArmed',
|
|
420
|
+
ended: 'ended',
|
|
421
|
+
createdAt: 'createdAt',
|
|
422
|
+
},
|
|
423
|
+
cli: '2.1.329',
|
|
424
|
+
common: {
|
|
425
|
+
loop: 'ordinary word: the same word is the `/loop` slash command (`commands/registry.ts`)',
|
|
426
|
+
id: 'ordinary word: fields with this name stand in entries and modules all over the server',
|
|
427
|
+
prompt: 'ordinary word: fields with this name stand in entries and modules all over the server',
|
|
428
|
+
tasks: 'ordinary word: the driver event of the task list has the same name',
|
|
429
|
+
ended: 'ordinary word: the same word is a value of the agent notification note (`notification.ts`)',
|
|
430
|
+
createdAt: 'ordinary word: device and note stores have a field with this name',
|
|
431
|
+
},
|
|
432
|
+
},
|
|
433
|
+
};
|
|
434
|
+
/**
|
|
435
|
+
* Literał jako fragment wyrażenia regularnego — bez znaczenia specjalnego żadnego znaku.
|
|
436
|
+
*
|
|
437
|
+
* Moduły katalogu składają wzorce Z literałów rejestru (znacznik z zamknięciem, początek
|
|
438
|
+
* streszczenia jako całe słowo), więc ucieczka znaków stoi raz, przy rejestrze.
|
|
439
|
+
*/
|
|
440
|
+
export function literalSource(literal) {
|
|
441
|
+
return literal.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
442
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Strażniki identyfikatorów zadań w tle — CZYSTE, bez importów.
|
|
3
|
+
*
|
|
4
|
+
* Oba id pochodzą z TREŚCI plików (wynik narzędzia w transkrypcie, wpis journala) i trafiają do
|
|
5
|
+
* ścieżek na dysku, więc kształt sprawdzamy przed każdym `join`: id z ukośnikiem albo `..`
|
|
6
|
+
* czytałoby pliki spoza katalogu sesji.
|
|
7
|
+
*
|
|
8
|
+
* Osobny moduł, żeby czysty reduktor (`reducer.ts`) nie importował modułu z `node:fs`
|
|
9
|
+
* (`satellite.ts`); pilnuje tego strażnik czystości w `herdr-background-boundary.test.ts`.
|
|
10
|
+
*/
|
|
11
|
+
const RUN_ID = /^wf_[A-Za-z0-9_-]+$/;
|
|
12
|
+
const AGENT_ID = /^[A-Za-z0-9_-]+$/;
|
|
13
|
+
const BACKGROUND_TASK_ID = /^[a-z0-9]{1,32}$/;
|
|
14
|
+
/** Identyfikator przebiegu workflow (`wf_<id>`) — zarazem nazwa katalogu przebiegu w satelicie. */
|
|
15
|
+
export function isRunId(value) {
|
|
16
|
+
return RUN_ID.test(value);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Id of a background task (`backgroundTaskId`, `<task-id>`): lower-case letters and digits, as the CLI writes it
|
|
20
|
+
* for a command (`b8qecntp5`) and an agent (`a` and 16 hex digits); measured on 2.1.296. It names the output file
|
|
21
|
+
* `<id>.output`.
|
|
22
|
+
*/
|
|
23
|
+
export function isBackgroundTaskId(value) {
|
|
24
|
+
return BACKGROUND_TASK_ID.test(value);
|
|
25
|
+
}
|
|
26
|
+
/** Identyfikator agenta — składnik nazw `agent-<id>.jsonl` i `agent-<id>.meta.json`. */
|
|
27
|
+
export function isAgentId(value) {
|
|
28
|
+
return AGENT_ID.test(value);
|
|
29
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One incremental read of one conversation file: from the remembered offset, in byte chunks, up to a byte budget,
|
|
3
|
+
* handing the complete lines of each chunk to the caller (`jsonl-lines.ts` cuts them; a line over the ceiling is
|
|
4
|
+
* skipped whole). A file shorter than the offset or with another inode or device is read again from byte zero, and
|
|
5
|
+
* the caller learns that before the first line, so it can drop what it built from the old content. Never throws: a
|
|
6
|
+
* missing file is a normal state, and any other error (also midway, which leaves the offset after the last handled
|
|
7
|
+
* chunk) comes back as `failed`, so a caller that has no other wake-up can read again.
|
|
8
|
+
*
|
|
9
|
+
* Recognition is not here: the caller filters and parses the lines. Which files to read, the budget across files and
|
|
10
|
+
* the cost log stay with the caller too (`pull-request-files.ts`, `scheduled-task-file.ts`).
|
|
11
|
+
*/
|
|
12
|
+
import { open } from 'node:fs/promises';
|
|
13
|
+
import { emptyCarry, resetCarry, takeLines } from './jsonl-lines.js';
|
|
14
|
+
/** A cursor at byte zero of the file with this identity. */
|
|
15
|
+
export function cursorAt(identity) {
|
|
16
|
+
const cursor = { ...emptyCarry(), offset: 0, ino: identity.ino, dev: identity.dev };
|
|
17
|
+
resetCarry(cursor);
|
|
18
|
+
return cursor;
|
|
19
|
+
}
|
|
20
|
+
/** A missing file or directory on the path: a normal state, not a read error. */
|
|
21
|
+
function missing(error) {
|
|
22
|
+
const code = error?.code;
|
|
23
|
+
return code === 'ENOENT' || code === 'ENOTDIR';
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Reads one file from its cursor by at most `budgetBytes`. The cursor is updated in place (or replaced through
|
|
27
|
+
* `restart`), chunk by chunk, before the chunk's lines go to `onLines`.
|
|
28
|
+
*/
|
|
29
|
+
export async function readIncrement(path, opts) {
|
|
30
|
+
let handle;
|
|
31
|
+
try {
|
|
32
|
+
handle = await open(path, 'r');
|
|
33
|
+
}
|
|
34
|
+
catch (error) {
|
|
35
|
+
return missing(error) ? { bytes: 0, more: false } : { bytes: 0, more: false, failed: true };
|
|
36
|
+
}
|
|
37
|
+
let bytes = 0;
|
|
38
|
+
try {
|
|
39
|
+
const info = await handle.stat();
|
|
40
|
+
if (opts.stale())
|
|
41
|
+
return { bytes, more: false };
|
|
42
|
+
let state = opts.cursor;
|
|
43
|
+
if (state === undefined || info.ino !== state.ino || info.dev !== state.dev || info.size < state.offset) {
|
|
44
|
+
state = opts.restart({ ino: info.ino, dev: info.dev });
|
|
45
|
+
}
|
|
46
|
+
const end = Math.min(info.size, state.offset + opts.budgetBytes);
|
|
47
|
+
const buffer = Buffer.allocUnsafe(Math.max(1, Math.min(opts.chunkBytes, end - state.offset)));
|
|
48
|
+
while (state.offset < end) {
|
|
49
|
+
const { bytesRead } = await handle.read(buffer, 0, Math.min(buffer.length, end - state.offset), state.offset);
|
|
50
|
+
if (opts.stale())
|
|
51
|
+
return { bytes, more: false };
|
|
52
|
+
if (bytesRead === 0)
|
|
53
|
+
break;
|
|
54
|
+
state.offset += bytesRead;
|
|
55
|
+
bytes += bytesRead;
|
|
56
|
+
const pending = opts.onLines(takeLines(state, buffer.subarray(0, bytesRead), opts.lineMaxBytes), state);
|
|
57
|
+
if (pending !== undefined)
|
|
58
|
+
await pending;
|
|
59
|
+
if (opts.stale())
|
|
60
|
+
return { bytes, more: false };
|
|
61
|
+
}
|
|
62
|
+
return { bytes, more: state.offset < info.size };
|
|
63
|
+
}
|
|
64
|
+
catch {
|
|
65
|
+
return { bytes, more: false, failed: true };
|
|
66
|
+
}
|
|
67
|
+
finally {
|
|
68
|
+
await handle.close().catch(() => undefined);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zadania w tle sesji Claude Code (komendy, subagenci, workflow, monitory) — JEDNO miejsce.
|
|
3
|
+
* Także lista artefaktów sesji (`artifacts.ts`): ten sam nośnik meldunku i rejestr.
|
|
4
|
+
*
|
|
5
|
+
* Wszystko, co Rarog wie o `backgroundTasks`, ma mieszkać w tym katalogu: skąd wpis się bierze,
|
|
6
|
+
* kiedy znika, jak dostaje rozkład przebiegu i co z tego liczy się jako praca. Opis całości
|
|
7
|
+
* (źródła, cykl życia, diagnostyka, znane luki): `docs/background-tasks.md`. Wzór układu:
|
|
8
|
+
* `server/src/herdr/dialogs/` i `docs/dialogs.md`.
|
|
9
|
+
*
|
|
10
|
+
* ── Mapa modułów (strażnik: `server/test/herdr-background-boundary.test.ts`)
|
|
11
|
+
*
|
|
12
|
+
* - `index.ts` — ta mapa i publiczne API katalogu.
|
|
13
|
+
* - `cli-shapes.ts` — rejestr kształtów CLI: każdy literał, po którym poznajemy zadanie w tle
|
|
14
|
+
* albo meldunek o nim, z wersją CLI i datą pomiaru. Jedyne miejsce tych słów.
|
|
15
|
+
* - `notification.ts` — CZYSTY, JEDYNY parser tekstu meldunku `<task-notification>` (id, status,
|
|
16
|
+
* streszczenie, nazwa z cudzysłowu, kod wyjścia, dopisek o postoju agenta)
|
|
17
|
+
* i odcisk meldunku, po którym reduktor poznaje kopie.
|
|
18
|
+
* - `reducer.ts` — CZYSTA maszyna stanów: wpis transkryptu → lista otwartych zadań (start,
|
|
19
|
+
* postój i wznowienie subagenta, koniec, kopie meldunków). Bez I/O, zegara i logów.
|
|
20
|
+
* Czyta plik główny, a z opcją `sidechain` plik subagenta (jego własne komendy).
|
|
21
|
+
* Ma regułę restartu procesu CLI: chwilę startu dostaje z zewnątrz.
|
|
22
|
+
* - `notice.ts` — CZYSTE: meldunek o końcu zadania → notka transkryptu (`TranscriptMessage.notice`).
|
|
23
|
+
* - `artifacts.ts` — CZYSTE: artefakty sesji. Wynik publikacji narzędziem `Artifact` i meldunek
|
|
24
|
+
* o usunięciu (notka harnessu, ten sam parser co meldunek zadania) → lista adresów
|
|
25
|
+
* z tytułem i czasem. Nie zadanie w tle: stoi tu, bo meldunek jedzie tym samym
|
|
26
|
+
* nośnikiem, a jego słowa trzyma ten sam rejestr. Opis: `docs/artifacts.md`.
|
|
27
|
+
* - `pull-requests.ts` — CZYSTE: pull requesty sesji. Wywołanie `Bash` z poleceniem `gh pr create`
|
|
28
|
+
* i linia wyniku z adresem PR → lista adresów z repo, numerem, czasem i tytułem. Nie
|
|
29
|
+
* zadanie w tle: stoi tu obok artefaktów, bo czyta te same pliki rozmowy i jedzie tą samą
|
|
30
|
+
* drogą do apki. Opis: `docs/pull-requests.md`.
|
|
31
|
+
* - `scheduled-tasks.ts` — PURE: the session's scheduled tasks (crons). `CronCreate`, `CronDelete` and `CronList`
|
|
32
|
+
* results, the run line and the carry attachment → the list of armed tasks; also the prefilter for
|
|
33
|
+
* raw lines. Not a background task: it lives here because the registry holds its CLI words.
|
|
34
|
+
* - `pull-request-files.ts` — czytnik plików rozmowy pod kątem PR-ów: plik główny, pliki
|
|
35
|
+
* subagentów i agentów workflow, wszystkie, przyrostowo, z prefiltrem i budżetem bajtów.
|
|
36
|
+
* - `scheduled-task-file.ts` — the reader of the main conversation file for the scheduled tasks:
|
|
37
|
+
* incrementally, with the tracker's prefilter, the list rebuilt from zero on truncation.
|
|
38
|
+
* - `incremental-read.ts` — one incremental read of one conversation file: offset, chunks, byte
|
|
39
|
+
* budget, read from the start on truncation or another inode, read errors reported. Used by
|
|
40
|
+
* `pull-request-files.ts` and `scheduled-task-file.ts`.
|
|
41
|
+
* - `queued-prompt.ts` — CZYSTE: prompt człowieka wchłonięty w trwającą turę. Nie zadanie w tle;
|
|
42
|
+
* stoi tu, bo jedzie tym samym załącznikiem kolejki co meldunek, a słowa tego
|
|
43
|
+
* nośnika trzyma rejestr. Parser transkryptu robi z niego wiadomość `user`.
|
|
44
|
+
* - `ids.ts` — CZYSTE strażniki kształtu identyfikatorów (`wf_<id>`, id agenta) przed
|
|
45
|
+
* złożeniem ścieżki na dysku.
|
|
46
|
+
* - `satellite.ts` — katalog sesji obok transkryptu: szukanie adresu i relokacja. Korzysta
|
|
47
|
+
* z niego także puls tury.
|
|
48
|
+
* - `workflow-run.ts` — czytnik rozkładu przebiegu workflow: fazy ze skryptu, agenci
|
|
49
|
+
* z journala.
|
|
50
|
+
* - `agent-file.ts` — czytnik pliku rozmowy subagenta: przyrostowo, porcjami, oddaje czas
|
|
51
|
+
* ostatniego wpisu i otwarte własne komendy agenta.
|
|
52
|
+
* - `main-scan.ts` — przegląd pliku GŁÓWNEGO sprzed okna ogona: przy podpięciu followera
|
|
53
|
+
* podaje reduktorowi linie o zadaniach z części pliku, której okno nie objęło,
|
|
54
|
+
* a drugim ujściem liście artefaktów (ta po skróceniu pliku i przeskoku też).
|
|
55
|
+
* Strumieniowo, z prefiltrem przed `JSON.parse`. Dysk czytają tylko ten moduł,
|
|
56
|
+
* `agent-file.ts`, `workflow-run.ts`, `pull-request-files.ts`, `incremental-read.ts`,
|
|
57
|
+
* `scheduled-task-file.ts` i `satellite.ts`.
|
|
58
|
+
* - `jsonl-lines.ts` — CZYSTE: porcje bajtów pliku jsonl → kompletne linie (bufor niedokończonej
|
|
59
|
+
* linii, sufit długości). Wspólne dla `agent-file.ts`, `main-scan.ts` i `incremental-read.ts`.
|
|
60
|
+
* - `merge.ts` — sklejanie listy followera z rozkładami przebiegów i faktami z plików
|
|
61
|
+
* subagentów (wybudzenie agenta w postoju, jego `ownTasks`) oraz zegar odczytów;
|
|
62
|
+
* funkcje nad jawnym stanem (`TasksState`), który trzyma fasada drivera.
|
|
63
|
+
* - `work.ts` — CZYSTE, JEDNO miejsce reguł „co jest pracą": push „gotowe", restart sesji,
|
|
64
|
+
* licznik i zegar ciszy kafla Live Activity. Tu stoi też jedyna definicja
|
|
65
|
+
* subagenta w postoju, który pracą nie jest. Wywołujący tylko pytają.
|
|
66
|
+
*
|
|
67
|
+
* ── Jak importować
|
|
68
|
+
*
|
|
69
|
+
* Moduły z własnym cyklem życia (fasada drivera, follower, puls tury) biorą API stąd. Moduły
|
|
70
|
+
* czyste wolno importować wprost z pliku, i tak robią ci, którzy sami są czyści albo stoją nisko
|
|
71
|
+
* w grafie importów: `transcript-import.ts` bierze `notice.ts` i `queued-prompt.ts`, dane demo
|
|
72
|
+
* `notice.ts`, a manager i kafel Live Activity `work.ts`. Przez `index.ts` parser historii ciągnąłby czytnik przebiegów i zamknął cykl
|
|
73
|
+
* `transcript-import → … → transcript-path → transcript-import`.
|
|
74
|
+
*
|
|
75
|
+
* ── Kierunek zależności
|
|
76
|
+
*
|
|
77
|
+
* Katalog nie zna fasady drivera (`drivers/herdr-driver.ts`), managera (`sessions/manager.ts`)
|
|
78
|
+
* ani nadzorcy (`herdr/supervisor.ts`) — to one wołają katalog, nigdy odwrotnie.
|
|
79
|
+
*/
|
|
80
|
+
export { createBackgroundTasksTracker } from './reducer.js';
|
|
81
|
+
export { isTaskNotificationOrigin, noticeFromText } from './notice.js';
|
|
82
|
+
export { isRunId } from './ids.js';
|
|
83
|
+
export { locateSatelliteDir } from './satellite.js';
|
|
84
|
+
export { createWorkflowRunReader, phaseCounts } from './workflow-run.js';
|
|
85
|
+
export { createAgentFileReader } from './agent-file.js';
|
|
86
|
+
export { scanMainFileBefore } from './main-scan.js';
|
|
87
|
+
export { artifactsSignature, createArtifactsTracker } from './artifacts.js';
|
|
88
|
+
export { pullRequestsSignature } from './pull-requests.js';
|
|
89
|
+
export { createScheduledTasksTracker } from './scheduled-tasks.js';
|
|
90
|
+
export { PULL_REQUESTS_BACKLOG_MS, PULL_REQUESTS_POLL_MS, createPullRequestFilesReader, } from './pull-request-files.js';
|
|
91
|
+
export { SCHEDULED_TASKS_BACKLOG_MS, SCHEDULED_TASKS_POLL_MS, createScheduledTaskFileReader, } from './scheduled-task-file.js';
|
|
92
|
+
export { TASKS_POLL_MS, createTasksState, forgetSession, noteTasks, runName, stopTasks, } from './merge.js';
|
|
93
|
+
export { hasBackgroundWork, hasOpenWorkflow, onlyWaitingAgents, tasksBlockRestart, tasksHoldingDonePush, workflowsWithRun, } from './work.js';
|