prismatica 0.2.0
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 +403 -0
- package/dist/agent-runner.js +656 -0
- package/dist/agent-runner.js.map +1 -0
- package/dist/assurance/mainpush.js +533 -0
- package/dist/assurance/mainpush.js.map +1 -0
- package/dist/assurance/outcome.js +165 -0
- package/dist/assurance/outcome.js.map +1 -0
- package/dist/assurance/passport.js +98 -0
- package/dist/assurance/passport.js.map +1 -0
- package/dist/assurance/proofinputs.js +425 -0
- package/dist/assurance/proofinputs.js.map +1 -0
- package/dist/atlas/diff.js +102 -0
- package/dist/atlas/diff.js.map +1 -0
- package/dist/atlas/evidence.js +31 -0
- package/dist/atlas/evidence.js.map +1 -0
- package/dist/atlas/hygiene.js +288 -0
- package/dist/atlas/hygiene.js.map +1 -0
- package/dist/atlas/impact.js +312 -0
- package/dist/atlas/impact.js.map +1 -0
- package/dist/atlas/labels.js +121 -0
- package/dist/atlas/labels.js.map +1 -0
- package/dist/atlas/next.js +327 -0
- package/dist/atlas/next.js.map +1 -0
- package/dist/atlas/packs.js +169 -0
- package/dist/atlas/packs.js.map +1 -0
- package/dist/atlas/presentation.js +349 -0
- package/dist/atlas/presentation.js.map +1 -0
- package/dist/atlas/render.js +269 -0
- package/dist/atlas/render.js.map +1 -0
- package/dist/atlas/store.js +389 -0
- package/dist/atlas/store.js.map +1 -0
- package/dist/board/html.js +1382 -0
- package/dist/board/html.js.map +1 -0
- package/dist/board/model.js +369 -0
- package/dist/board/model.js.map +1 -0
- package/dist/board/server.js +325 -0
- package/dist/board/server.js.map +1 -0
- package/dist/board/understand.js +128 -0
- package/dist/board/understand.js.map +1 -0
- package/dist/change.js +104 -0
- package/dist/change.js.map +1 -0
- package/dist/checkengine.js +220 -0
- package/dist/checkengine.js.map +1 -0
- package/dist/claudehook.js +189 -0
- package/dist/claudehook.js.map +1 -0
- package/dist/cli.js +1120 -0
- package/dist/cli.js.map +1 -0
- package/dist/clipboard.js +33 -0
- package/dist/clipboard.js.map +1 -0
- package/dist/commands/abandon.js +329 -0
- package/dist/commands/abandon.js.map +1 -0
- package/dist/commands/accept.js +85 -0
- package/dist/commands/accept.js.map +1 -0
- package/dist/commands/amend.js +158 -0
- package/dist/commands/amend.js.map +1 -0
- package/dist/commands/check.js +128 -0
- package/dist/commands/check.js.map +1 -0
- package/dist/commands/close.js +274 -0
- package/dist/commands/close.js.map +1 -0
- package/dist/commands/context.js +46 -0
- package/dist/commands/context.js.map +1 -0
- package/dist/commands/delta.js +192 -0
- package/dist/commands/delta.js.map +1 -0
- package/dist/commands/discover.js +173 -0
- package/dist/commands/discover.js.map +1 -0
- package/dist/commands/doctor.js +384 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/flow.js +929 -0
- package/dist/commands/flow.js.map +1 -0
- package/dist/commands/forget.js +33 -0
- package/dist/commands/forget.js.map +1 -0
- package/dist/commands/frame.js +231 -0
- package/dist/commands/frame.js.map +1 -0
- package/dist/commands/gate.js +48 -0
- package/dist/commands/gate.js.map +1 -0
- package/dist/commands/guide.js +17 -0
- package/dist/commands/guide.js.map +1 -0
- package/dist/commands/init.js +257 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/merge.js +188 -0
- package/dist/commands/merge.js.map +1 -0
- package/dist/commands/next.js +352 -0
- package/dist/commands/next.js.map +1 -0
- package/dist/commands/open.js +255 -0
- package/dist/commands/open.js.map +1 -0
- package/dist/commands/pack.js +165 -0
- package/dist/commands/pack.js.map +1 -0
- package/dist/commands/propose.js +102 -0
- package/dist/commands/propose.js.map +1 -0
- package/dist/commands/ready.js +931 -0
- package/dist/commands/ready.js.map +1 -0
- package/dist/commands/review.js +434 -0
- package/dist/commands/review.js.map +1 -0
- package/dist/commands/rules.js +399 -0
- package/dist/commands/rules.js.map +1 -0
- package/dist/commands/seal.js +52 -0
- package/dist/commands/seal.js.map +1 -0
- package/dist/commands/ship.js +333 -0
- package/dist/commands/ship.js.map +1 -0
- package/dist/commands/start.js +1164 -0
- package/dist/commands/start.js.map +1 -0
- package/dist/commands/stats.js +100 -0
- package/dist/commands/stats.js.map +1 -0
- package/dist/commands/view.js +23 -0
- package/dist/commands/view.js.map +1 -0
- package/dist/config.js +46 -0
- package/dist/config.js.map +1 -0
- package/dist/detect.js +495 -0
- package/dist/detect.js.map +1 -0
- package/dist/errors.js +13 -0
- package/dist/errors.js.map +1 -0
- package/dist/evidence.js +20 -0
- package/dist/evidence.js.map +1 -0
- package/dist/executor.js +256 -0
- package/dist/executor.js.map +1 -0
- package/dist/gate.js +109 -0
- package/dist/gate.js.map +1 -0
- package/dist/gh.js +236 -0
- package/dist/gh.js.map +1 -0
- package/dist/git.js +589 -0
- package/dist/git.js.map +1 -0
- package/dist/guide.js +2038 -0
- package/dist/guide.js.map +1 -0
- package/dist/ids.js +60 -0
- package/dist/ids.js.map +1 -0
- package/dist/keys.js +58 -0
- package/dist/keys.js.map +1 -0
- package/dist/ledger.js +197 -0
- package/dist/ledger.js.map +1 -0
- package/dist/paths.js +109 -0
- package/dist/paths.js.map +1 -0
- package/dist/planning/context.js +94 -0
- package/dist/planning/context.js.map +1 -0
- package/dist/planning/materialise.js +210 -0
- package/dist/planning/materialise.js.map +1 -0
- package/dist/planning/pack.js +290 -0
- package/dist/planning/pack.js.map +1 -0
- package/dist/planning/schema.js +296 -0
- package/dist/planning/schema.js.map +1 -0
- package/dist/planning/snapshot.js +308 -0
- package/dist/planning/snapshot.js.map +1 -0
- package/dist/planning/validate.js +417 -0
- package/dist/planning/validate.js.map +1 -0
- package/dist/prepush.js +192 -0
- package/dist/prepush.js.map +1 -0
- package/dist/records/store.js +268 -0
- package/dist/records/store.js.map +1 -0
- package/dist/records/types.js +836 -0
- package/dist/records/types.js.map +1 -0
- package/dist/registry.js +68 -0
- package/dist/registry.js.map +1 -0
- package/dist/render.js +275 -0
- package/dist/render.js.map +1 -0
- package/dist/runtime.js +47 -0
- package/dist/runtime.js.map +1 -0
- package/dist/scope.js +62 -0
- package/dist/scope.js.map +1 -0
- package/dist/secrets.js +24 -0
- package/dist/secrets.js.map +1 -0
- package/dist/selfhost.js +199 -0
- package/dist/selfhost.js.map +1 -0
- package/dist/shellquote.js +5 -0
- package/dist/shellquote.js.map +1 -0
- package/dist/skills.js +398 -0
- package/dist/skills.js.map +1 -0
- package/dist/state.js +62 -0
- package/dist/state.js.map +1 -0
- package/dist/templates.js +264 -0
- package/dist/templates.js.map +1 -0
- package/dist/tier.js +48 -0
- package/dist/tier.js.map +1 -0
- package/dist/ui.js +94 -0
- package/dist/ui.js.map +1 -0
- package/dist/vitestreport.js +59 -0
- package/dist/vitestreport.js.map +1 -0
- package/dist/worktree.js +31 -0
- package/dist/worktree.js.map +1 -0
- package/node_modules/@inquirer/ansi/LICENSE +22 -0
- package/node_modules/@inquirer/ansi/README.md +89 -0
- package/node_modules/@inquirer/ansi/dist/index.d.ts +14 -0
- package/node_modules/@inquirer/ansi/dist/index.js +21 -0
- package/node_modules/@inquirer/ansi/package.json +78 -0
- package/node_modules/@inquirer/checkbox/LICENSE +22 -0
- package/node_modules/@inquirer/checkbox/README.md +195 -0
- package/node_modules/@inquirer/checkbox/dist/index.d.ts +56 -0
- package/node_modules/@inquirer/checkbox/dist/index.js +210 -0
- package/node_modules/@inquirer/checkbox/package.json +92 -0
- package/node_modules/@inquirer/confirm/LICENSE +22 -0
- package/node_modules/@inquirer/confirm/README.md +92 -0
- package/node_modules/@inquirer/confirm/dist/index.d.ts +10 -0
- package/node_modules/@inquirer/confirm/dist/index.js +48 -0
- package/node_modules/@inquirer/confirm/package.json +90 -0
- package/node_modules/@inquirer/core/LICENSE +22 -0
- package/node_modules/@inquirer/core/README.md +386 -0
- package/node_modules/@inquirer/core/dist/index.d.ts +13 -0
- package/node_modules/@inquirer/core/dist/index.js +12 -0
- package/node_modules/@inquirer/core/dist/lib/Separator.d.ts +10 -0
- package/node_modules/@inquirer/core/dist/lib/Separator.js +21 -0
- package/node_modules/@inquirer/core/dist/lib/create-prompt.d.ts +4 -0
- package/node_modules/@inquirer/core/dist/lib/create-prompt.js +165 -0
- package/node_modules/@inquirer/core/dist/lib/errors.d.ts +20 -0
- package/node_modules/@inquirer/core/dist/lib/errors.js +21 -0
- package/node_modules/@inquirer/core/dist/lib/hook-engine.d.ts +23 -0
- package/node_modules/@inquirer/core/dist/lib/hook-engine.js +111 -0
- package/node_modules/@inquirer/core/dist/lib/key.d.ts +15 -0
- package/node_modules/@inquirer/core/dist/lib/key.js +34 -0
- package/node_modules/@inquirer/core/dist/lib/make-theme.d.ts +3 -0
- package/node_modules/@inquirer/core/dist/lib/make-theme.js +32 -0
- package/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.d.ts +16 -0
- package/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js +121 -0
- package/node_modules/@inquirer/core/dist/lib/promise-polyfill.d.ts +7 -0
- package/node_modules/@inquirer/core/dist/lib/promise-polyfill.js +14 -0
- package/node_modules/@inquirer/core/dist/lib/screen-manager.d.ts +14 -0
- package/node_modules/@inquirer/core/dist/lib/screen-manager.js +84 -0
- package/node_modules/@inquirer/core/dist/lib/theme.d.ts +166 -0
- package/node_modules/@inquirer/core/dist/lib/theme.js +29 -0
- package/node_modules/@inquirer/core/dist/lib/use-effect.d.ts +2 -0
- package/node_modules/@inquirer/core/dist/lib/use-effect.js +11 -0
- package/node_modules/@inquirer/core/dist/lib/use-keypress.d.ts +3 -0
- package/node_modules/@inquirer/core/dist/lib/use-keypress.js +20 -0
- package/node_modules/@inquirer/core/dist/lib/use-memo.d.ts +1 -0
- package/node_modules/@inquirer/core/dist/lib/use-memo.js +14 -0
- package/node_modules/@inquirer/core/dist/lib/use-prefix.d.ts +5 -0
- package/node_modules/@inquirer/core/dist/lib/use-prefix.js +35 -0
- package/node_modules/@inquirer/core/dist/lib/use-ref.d.ts +6 -0
- package/node_modules/@inquirer/core/dist/lib/use-ref.js +4 -0
- package/node_modules/@inquirer/core/dist/lib/use-state.d.ts +4 -0
- package/node_modules/@inquirer/core/dist/lib/use-state.js +23 -0
- package/node_modules/@inquirer/core/dist/lib/utils.d.ts +13 -0
- package/node_modules/@inquirer/core/dist/lib/utils.js +25 -0
- package/node_modules/@inquirer/core/package.json +97 -0
- package/node_modules/@inquirer/editor/LICENSE +22 -0
- package/node_modules/@inquirer/editor/README.md +101 -0
- package/node_modules/@inquirer/editor/dist/index.d.ts +21 -0
- package/node_modules/@inquirer/editor/dist/index.js +73 -0
- package/node_modules/@inquirer/editor/package.json +91 -0
- package/node_modules/@inquirer/expand/LICENSE +22 -0
- package/node_modules/@inquirer/expand/README.md +141 -0
- package/node_modules/@inquirer/expand/dist/index.d.ts +24 -0
- package/node_modules/@inquirer/expand/dist/index.js +110 -0
- package/node_modules/@inquirer/expand/package.json +90 -0
- package/node_modules/@inquirer/external-editor/LICENSE +22 -0
- package/node_modules/@inquirer/external-editor/README.md +154 -0
- package/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.js +13 -0
- package/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.js +13 -0
- package/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.js +13 -0
- package/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.js +13 -0
- package/node_modules/@inquirer/external-editor/dist/errors.d.ts +20 -0
- package/node_modules/@inquirer/external-editor/dist/errors.js +32 -0
- package/node_modules/@inquirer/external-editor/dist/index.d.ts +35 -0
- package/node_modules/@inquirer/external-editor/dist/index.js +146 -0
- package/node_modules/@inquirer/external-editor/dist/parse-editor-command.d.ts +5 -0
- package/node_modules/@inquirer/external-editor/dist/parse-editor-command.js +28 -0
- package/node_modules/@inquirer/external-editor/package.json +97 -0
- package/node_modules/@inquirer/figures/LICENSE +22 -0
- package/node_modules/@inquirer/figures/dist/index.d.ts +275 -0
- package/node_modules/@inquirer/figures/dist/index.js +315 -0
- package/node_modules/@inquirer/figures/package.json +80 -0
- package/node_modules/@inquirer/input/LICENSE +22 -0
- package/node_modules/@inquirer/input/README.md +101 -0
- package/node_modules/@inquirer/input/dist/index.d.ts +20 -0
- package/node_modules/@inquirer/input/dist/index.js +99 -0
- package/node_modules/@inquirer/input/package.json +90 -0
- package/node_modules/@inquirer/number/LICENSE +22 -0
- package/node_modules/@inquirer/number/README.md +95 -0
- package/node_modules/@inquirer/number/dist/index.d.ts +13 -0
- package/node_modules/@inquirer/number/dist/index.js +95 -0
- package/node_modules/@inquirer/number/package.json +90 -0
- package/node_modules/@inquirer/password/LICENSE +22 -0
- package/node_modules/@inquirer/password/README.md +93 -0
- package/node_modules/@inquirer/password/dist/index.d.ts +15 -0
- package/node_modules/@inquirer/password/dist/index.js +60 -0
- package/node_modules/@inquirer/password/package.json +91 -0
- package/node_modules/@inquirer/prompts/LICENSE +22 -0
- package/node_modules/@inquirer/prompts/README.md +543 -0
- package/node_modules/@inquirer/prompts/dist/index.d.ts +10 -0
- package/node_modules/@inquirer/prompts/dist/index.js +10 -0
- package/node_modules/@inquirer/prompts/package.json +101 -0
- package/node_modules/@inquirer/rawlist/LICENSE +22 -0
- package/node_modules/@inquirer/rawlist/README.md +135 -0
- package/node_modules/@inquirer/rawlist/dist/index.d.ts +23 -0
- package/node_modules/@inquirer/rawlist/dist/index.js +145 -0
- package/node_modules/@inquirer/rawlist/package.json +90 -0
- package/node_modules/@inquirer/search/LICENSE +22 -0
- package/node_modules/@inquirer/search/README.md +213 -0
- package/node_modules/@inquirer/search/dist/index.d.ts +33 -0
- package/node_modules/@inquirer/search/dist/index.js +195 -0
- package/node_modules/@inquirer/search/package.json +91 -0
- package/node_modules/@inquirer/select/LICENSE +22 -0
- package/node_modules/@inquirer/select/README.md +188 -0
- package/node_modules/@inquirer/select/dist/index.d.ts +34 -0
- package/node_modules/@inquirer/select/dist/index.js +191 -0
- package/node_modules/@inquirer/select/package.json +92 -0
- package/node_modules/@inquirer/type/LICENSE +22 -0
- package/node_modules/@inquirer/type/dist/index.d.ts +2 -0
- package/node_modules/@inquirer/type/dist/index.js +2 -0
- package/node_modules/@inquirer/type/dist/inquirer.d.ts +35 -0
- package/node_modules/@inquirer/type/dist/inquirer.js +1 -0
- package/node_modules/@inquirer/type/dist/utils.d.ts +29 -0
- package/node_modules/@inquirer/type/dist/utils.js +2 -0
- package/node_modules/@inquirer/type/package.json +87 -0
- package/node_modules/@sec-ant/readable-stream/LICENSE +21 -0
- package/node_modules/@sec-ant/readable-stream/README.md +230 -0
- package/node_modules/@sec-ant/readable-stream/dist/core/asyncIterablePrototype.d.ts +1 -0
- package/node_modules/@sec-ant/readable-stream/dist/core/asyncIterator.d.ts +27 -0
- package/node_modules/@sec-ant/readable-stream/dist/core/fromAnyIterable.d.ts +6 -0
- package/node_modules/@sec-ant/readable-stream/dist/index/asyncIterator.d.ts +2 -0
- package/node_modules/@sec-ant/readable-stream/dist/index/asyncIterator.js +5 -0
- package/node_modules/@sec-ant/readable-stream/dist/index/fromAnyIterable.d.ts +2 -0
- package/node_modules/@sec-ant/readable-stream/dist/index/fromAnyIterable.js +5 -0
- package/node_modules/@sec-ant/readable-stream/dist/index/index.d.ts +2 -0
- package/node_modules/@sec-ant/readable-stream/dist/index/index.js +8 -0
- package/node_modules/@sec-ant/readable-stream/dist/polyfill/asyncIterator.d.ts +1 -0
- package/node_modules/@sec-ant/readable-stream/dist/polyfill/asyncIterator.js +3 -0
- package/node_modules/@sec-ant/readable-stream/dist/polyfill/fromAnyIterable.d.ts +1 -0
- package/node_modules/@sec-ant/readable-stream/dist/polyfill/fromAnyIterable.js +2 -0
- package/node_modules/@sec-ant/readable-stream/dist/polyfill/index.d.ts +2 -0
- package/node_modules/@sec-ant/readable-stream/dist/polyfill/index.js +4 -0
- package/node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.d.ts +1 -0
- package/node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.js +89 -0
- package/node_modules/@sec-ant/readable-stream/dist/ponyfill/fromAnyIterable.d.ts +1 -0
- package/node_modules/@sec-ant/readable-stream/dist/ponyfill/fromAnyIterable.js +34 -0
- package/node_modules/@sec-ant/readable-stream/dist/ponyfill/index.d.ts +2 -0
- package/node_modules/@sec-ant/readable-stream/dist/ponyfill/index.js +6 -0
- package/node_modules/@sec-ant/readable-stream/dist/types/async-iterator.d.ts +11 -0
- package/node_modules/@sec-ant/readable-stream/package.json +96 -0
- package/node_modules/@sindresorhus/merge-streams/index.d.ts +44 -0
- package/node_modules/@sindresorhus/merge-streams/index.js +265 -0
- package/node_modules/@sindresorhus/merge-streams/license +9 -0
- package/node_modules/@sindresorhus/merge-streams/package.json +49 -0
- package/node_modules/@sindresorhus/merge-streams/readme.md +53 -0
- package/node_modules/argparse/LICENSE +21 -0
- package/node_modules/argparse/README.md +257 -0
- package/node_modules/argparse/index.js +3 -0
- package/node_modules/argparse/lib/action/append/constant.js +47 -0
- package/node_modules/argparse/lib/action/append.js +53 -0
- package/node_modules/argparse/lib/action/count.js +40 -0
- package/node_modules/argparse/lib/action/help.js +47 -0
- package/node_modules/argparse/lib/action/store/constant.js +43 -0
- package/node_modules/argparse/lib/action/store/false.js +27 -0
- package/node_modules/argparse/lib/action/store/true.js +26 -0
- package/node_modules/argparse/lib/action/store.js +50 -0
- package/node_modules/argparse/lib/action/subparsers.js +149 -0
- package/node_modules/argparse/lib/action/version.js +47 -0
- package/node_modules/argparse/lib/action.js +146 -0
- package/node_modules/argparse/lib/action_container.js +482 -0
- package/node_modules/argparse/lib/argparse.js +14 -0
- package/node_modules/argparse/lib/argument/error.js +50 -0
- package/node_modules/argparse/lib/argument/exclusive.js +54 -0
- package/node_modules/argparse/lib/argument/group.js +75 -0
- package/node_modules/argparse/lib/argument_parser.js +1161 -0
- package/node_modules/argparse/lib/const.js +21 -0
- package/node_modules/argparse/lib/help/added_formatters.js +87 -0
- package/node_modules/argparse/lib/help/formatter.js +795 -0
- package/node_modules/argparse/lib/namespace.js +76 -0
- package/node_modules/argparse/lib/utils.js +57 -0
- package/node_modules/argparse/package.json +34 -0
- package/node_modules/chardet/LICENSE +19 -0
- package/node_modules/chardet/README.md +135 -0
- package/node_modules/chardet/lib/encoding/ascii.d.ts +6 -0
- package/node_modules/chardet/lib/encoding/ascii.js +23 -0
- package/node_modules/chardet/lib/encoding/ascii.js.map +1 -0
- package/node_modules/chardet/lib/encoding/index.d.ts +14 -0
- package/node_modules/chardet/lib/encoding/index.js +3 -0
- package/node_modules/chardet/lib/encoding/index.js.map +1 -0
- package/node_modules/chardet/lib/encoding/iso2022.d.ts +23 -0
- package/node_modules/chardet/lib/encoding/iso2022.js +114 -0
- package/node_modules/chardet/lib/encoding/iso2022.js.map +1 -0
- package/node_modules/chardet/lib/encoding/mbcs.d.ts +50 -0
- package/node_modules/chardet/lib/encoding/mbcs.js +347 -0
- package/node_modules/chardet/lib/encoding/mbcs.js.map +1 -0
- package/node_modules/chardet/lib/encoding/sbcs.d.ts +94 -0
- package/node_modules/chardet/lib/encoding/sbcs.js +935 -0
- package/node_modules/chardet/lib/encoding/sbcs.js.map +1 -0
- package/node_modules/chardet/lib/encoding/unicode.d.ts +27 -0
- package/node_modules/chardet/lib/encoding/unicode.js +109 -0
- package/node_modules/chardet/lib/encoding/unicode.js.map +1 -0
- package/node_modules/chardet/lib/encoding/utf8.d.ts +6 -0
- package/node_modules/chardet/lib/encoding/utf8.js +72 -0
- package/node_modules/chardet/lib/encoding/utf8.js.map +1 -0
- package/node_modules/chardet/lib/fs/browser.d.ts +2 -0
- package/node_modules/chardet/lib/fs/browser.js +6 -0
- package/node_modules/chardet/lib/fs/browser.js.map +1 -0
- package/node_modules/chardet/lib/fs/node.d.ts +2 -0
- package/node_modules/chardet/lib/fs/node.js +11 -0
- package/node_modules/chardet/lib/fs/node.js.map +1 -0
- package/node_modules/chardet/lib/index.d.ts +20 -0
- package/node_modules/chardet/lib/index.js +177 -0
- package/node_modules/chardet/lib/index.js.map +1 -0
- package/node_modules/chardet/lib/match.d.ts +9 -0
- package/node_modules/chardet/lib/match.js +8 -0
- package/node_modules/chardet/lib/match.js.map +1 -0
- package/node_modules/chardet/lib/utils.d.ts +1 -0
- package/node_modules/chardet/lib/utils.js +10 -0
- package/node_modules/chardet/lib/utils.js.map +1 -0
- package/node_modules/chardet/package.json +100 -0
- package/node_modules/cli-width/LICENSE +13 -0
- package/node_modules/cli-width/README.md +71 -0
- package/node_modules/cli-width/index.d.ts +13 -0
- package/node_modules/cli-width/index.js +49 -0
- package/node_modules/cli-width/package.json +40 -0
- package/node_modules/commander/LICENSE +22 -0
- package/node_modules/commander/Readme.md +1172 -0
- package/node_modules/commander/index.js +21 -0
- package/node_modules/commander/lib/argument.js +147 -0
- package/node_modules/commander/lib/command.js +2790 -0
- package/node_modules/commander/lib/error.js +36 -0
- package/node_modules/commander/lib/help.js +731 -0
- package/node_modules/commander/lib/option.js +377 -0
- package/node_modules/commander/lib/suggestSimilar.js +99 -0
- package/node_modules/commander/package-support.json +19 -0
- package/node_modules/commander/package.json +64 -0
- package/node_modules/commander/typings/index.d.ts +1113 -0
- package/node_modules/cross-spawn/LICENSE +21 -0
- package/node_modules/cross-spawn/README.md +89 -0
- package/node_modules/cross-spawn/index.js +39 -0
- package/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/node_modules/cross-spawn/lib/parse.js +91 -0
- package/node_modules/cross-spawn/lib/util/escape.js +47 -0
- package/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/node_modules/cross-spawn/package.json +73 -0
- package/node_modules/esprima/LICENSE.BSD +21 -0
- package/node_modules/esprima/README.md +46 -0
- package/node_modules/esprima/bin/esparse.js +139 -0
- package/node_modules/esprima/bin/esvalidate.js +236 -0
- package/node_modules/esprima/dist/esprima.js +6709 -0
- package/node_modules/esprima/package.json +112 -0
- package/node_modules/execa/index.d.ts +27 -0
- package/node_modules/execa/index.js +28 -0
- package/node_modules/execa/lib/arguments/command.js +20 -0
- package/node_modules/execa/lib/arguments/cwd.js +39 -0
- package/node_modules/execa/lib/arguments/encoding-option.js +50 -0
- package/node_modules/execa/lib/arguments/escape.js +88 -0
- package/node_modules/execa/lib/arguments/fd-options.js +108 -0
- package/node_modules/execa/lib/arguments/file-url.js +25 -0
- package/node_modules/execa/lib/arguments/options.js +96 -0
- package/node_modules/execa/lib/arguments/shell.js +11 -0
- package/node_modules/execa/lib/arguments/specific.js +111 -0
- package/node_modules/execa/lib/convert/add.js +15 -0
- package/node_modules/execa/lib/convert/concurrent.js +33 -0
- package/node_modules/execa/lib/convert/duplex.js +69 -0
- package/node_modules/execa/lib/convert/iterable.js +34 -0
- package/node_modules/execa/lib/convert/readable.js +113 -0
- package/node_modules/execa/lib/convert/shared.js +46 -0
- package/node_modules/execa/lib/convert/writable.js +90 -0
- package/node_modules/execa/lib/io/contents.js +116 -0
- package/node_modules/execa/lib/io/input-sync.js +44 -0
- package/node_modules/execa/lib/io/iterate.js +110 -0
- package/node_modules/execa/lib/io/max-buffer.js +89 -0
- package/node_modules/execa/lib/io/output-async.js +80 -0
- package/node_modules/execa/lib/io/output-sync.js +135 -0
- package/node_modules/execa/lib/io/pipeline.js +48 -0
- package/node_modules/execa/lib/io/strip-newline.js +12 -0
- package/node_modules/execa/lib/ipc/array.js +4 -0
- package/node_modules/execa/lib/ipc/buffer-messages.js +47 -0
- package/node_modules/execa/lib/ipc/forward.js +56 -0
- package/node_modules/execa/lib/ipc/get-each.js +89 -0
- package/node_modules/execa/lib/ipc/get-one.js +69 -0
- package/node_modules/execa/lib/ipc/graceful.js +72 -0
- package/node_modules/execa/lib/ipc/incoming.js +79 -0
- package/node_modules/execa/lib/ipc/ipc-input.js +44 -0
- package/node_modules/execa/lib/ipc/methods.js +49 -0
- package/node_modules/execa/lib/ipc/outgoing.js +47 -0
- package/node_modules/execa/lib/ipc/reference.js +44 -0
- package/node_modules/execa/lib/ipc/send.js +91 -0
- package/node_modules/execa/lib/ipc/strict.js +113 -0
- package/node_modules/execa/lib/ipc/validation.js +111 -0
- package/node_modules/execa/lib/methods/bind.js +23 -0
- package/node_modules/execa/lib/methods/command.js +43 -0
- package/node_modules/execa/lib/methods/create.js +65 -0
- package/node_modules/execa/lib/methods/main-async.js +194 -0
- package/node_modules/execa/lib/methods/main-sync.js +163 -0
- package/node_modules/execa/lib/methods/node.js +51 -0
- package/node_modules/execa/lib/methods/parameters.js +31 -0
- package/node_modules/execa/lib/methods/promise.js +15 -0
- package/node_modules/execa/lib/methods/script.js +22 -0
- package/node_modules/execa/lib/methods/template.js +153 -0
- package/node_modules/execa/lib/pipe/abort.js +20 -0
- package/node_modules/execa/lib/pipe/pipe-arguments.js +91 -0
- package/node_modules/execa/lib/pipe/sequence.js +24 -0
- package/node_modules/execa/lib/pipe/setup.js +72 -0
- package/node_modules/execa/lib/pipe/streaming.js +51 -0
- package/node_modules/execa/lib/pipe/throw.js +58 -0
- package/node_modules/execa/lib/resolve/all-async.js +46 -0
- package/node_modules/execa/lib/resolve/all-sync.js +33 -0
- package/node_modules/execa/lib/resolve/exit-async.js +54 -0
- package/node_modules/execa/lib/resolve/exit-sync.js +25 -0
- package/node_modules/execa/lib/resolve/stdio.js +47 -0
- package/node_modules/execa/lib/resolve/wait-stream.js +96 -0
- package/node_modules/execa/lib/resolve/wait-subprocess.js +146 -0
- package/node_modules/execa/lib/return/duration.js +8 -0
- package/node_modules/execa/lib/return/early-error.js +60 -0
- package/node_modules/execa/lib/return/final-error.js +40 -0
- package/node_modules/execa/lib/return/message.js +157 -0
- package/node_modules/execa/lib/return/reject.js +13 -0
- package/node_modules/execa/lib/return/result.js +186 -0
- package/node_modules/execa/lib/stdio/direction.js +76 -0
- package/node_modules/execa/lib/stdio/duplicate.js +116 -0
- package/node_modules/execa/lib/stdio/handle-async.js +52 -0
- package/node_modules/execa/lib/stdio/handle-sync.js +57 -0
- package/node_modules/execa/lib/stdio/handle.js +214 -0
- package/node_modules/execa/lib/stdio/input-option.js +50 -0
- package/node_modules/execa/lib/stdio/native.js +106 -0
- package/node_modules/execa/lib/stdio/stdio-option.js +60 -0
- package/node_modules/execa/lib/stdio/type.js +173 -0
- package/node_modules/execa/lib/terminate/cancel.js +20 -0
- package/node_modules/execa/lib/terminate/cleanup.js +16 -0
- package/node_modules/execa/lib/terminate/graceful.js +71 -0
- package/node_modules/execa/lib/terminate/kill.js +93 -0
- package/node_modules/execa/lib/terminate/signal.js +70 -0
- package/node_modules/execa/lib/terminate/timeout.js +21 -0
- package/node_modules/execa/lib/transform/encoding-transform.js +51 -0
- package/node_modules/execa/lib/transform/generator.js +107 -0
- package/node_modules/execa/lib/transform/normalize.js +111 -0
- package/node_modules/execa/lib/transform/object-mode.js +41 -0
- package/node_modules/execa/lib/transform/run-async.js +60 -0
- package/node_modules/execa/lib/transform/run-sync.js +50 -0
- package/node_modules/execa/lib/transform/split.js +110 -0
- package/node_modules/execa/lib/transform/validate.js +43 -0
- package/node_modules/execa/lib/utils/abort-signal.js +8 -0
- package/node_modules/execa/lib/utils/deferred.js +7 -0
- package/node_modules/execa/lib/utils/max-listeners.js +14 -0
- package/node_modules/execa/lib/utils/standard-stream.js +6 -0
- package/node_modules/execa/lib/utils/uint-array.js +69 -0
- package/node_modules/execa/lib/verbose/complete.js +24 -0
- package/node_modules/execa/lib/verbose/custom.js +26 -0
- package/node_modules/execa/lib/verbose/default.js +54 -0
- package/node_modules/execa/lib/verbose/error.js +13 -0
- package/node_modules/execa/lib/verbose/info.js +39 -0
- package/node_modules/execa/lib/verbose/ipc.js +15 -0
- package/node_modules/execa/lib/verbose/log.js +54 -0
- package/node_modules/execa/lib/verbose/output.js +60 -0
- package/node_modules/execa/lib/verbose/start.js +15 -0
- package/node_modules/execa/lib/verbose/values.js +33 -0
- package/node_modules/execa/license +9 -0
- package/node_modules/execa/package.json +105 -0
- package/node_modules/execa/readme.md +461 -0
- package/node_modules/execa/types/arguments/encoding-option.d.ts +19 -0
- package/node_modules/execa/types/arguments/fd-options.d.ts +8 -0
- package/node_modules/execa/types/arguments/options.d.ts +400 -0
- package/node_modules/execa/types/arguments/specific.d.ts +52 -0
- package/node_modules/execa/types/convert.d.ts +58 -0
- package/node_modules/execa/types/ipc.d.ts +156 -0
- package/node_modules/execa/types/methods/command.d.ts +114 -0
- package/node_modules/execa/types/methods/main-async.d.ts +379 -0
- package/node_modules/execa/types/methods/main-sync.d.ts +59 -0
- package/node_modules/execa/types/methods/node.d.ts +62 -0
- package/node_modules/execa/types/methods/script.d.ts +115 -0
- package/node_modules/execa/types/methods/template.d.ts +18 -0
- package/node_modules/execa/types/pipe.d.ts +58 -0
- package/node_modules/execa/types/return/final-error.d.ts +51 -0
- package/node_modules/execa/types/return/ignore.d.ts +26 -0
- package/node_modules/execa/types/return/result-all.d.ts +30 -0
- package/node_modules/execa/types/return/result-ipc.d.ts +27 -0
- package/node_modules/execa/types/return/result-stdio.d.ts +17 -0
- package/node_modules/execa/types/return/result-stdout.d.ts +50 -0
- package/node_modules/execa/types/return/result.d.ts +203 -0
- package/node_modules/execa/types/stdio/array.d.ts +16 -0
- package/node_modules/execa/types/stdio/direction.d.ts +12 -0
- package/node_modules/execa/types/stdio/option.d.ts +40 -0
- package/node_modules/execa/types/stdio/type.d.ts +170 -0
- package/node_modules/execa/types/subprocess/all.d.ts +17 -0
- package/node_modules/execa/types/subprocess/stdio.d.ts +18 -0
- package/node_modules/execa/types/subprocess/stdout.d.ts +22 -0
- package/node_modules/execa/types/subprocess/subprocess.d.ts +117 -0
- package/node_modules/execa/types/transform/normalize.d.ts +57 -0
- package/node_modules/execa/types/transform/object-mode.d.ts +21 -0
- package/node_modules/execa/types/utils.d.ts +13 -0
- package/node_modules/execa/types/verbose.d.ts +98 -0
- package/node_modules/extend-shallow/LICENSE +21 -0
- package/node_modules/extend-shallow/README.md +61 -0
- package/node_modules/extend-shallow/index.js +33 -0
- package/node_modules/extend-shallow/package.json +56 -0
- package/node_modules/fast-string-truncated-width/dist/index.d.ts +4 -0
- package/node_modules/fast-string-truncated-width/dist/index.js +111 -0
- package/node_modules/fast-string-truncated-width/dist/types.d.ts +19 -0
- package/node_modules/fast-string-truncated-width/dist/types.js +2 -0
- package/node_modules/fast-string-truncated-width/dist/utils.d.ts +4 -0
- package/node_modules/fast-string-truncated-width/dist/utils.js +20 -0
- package/node_modules/fast-string-truncated-width/license +21 -0
- package/node_modules/fast-string-truncated-width/package.json +35 -0
- package/node_modules/fast-string-truncated-width/readme.md +59 -0
- package/node_modules/fast-string-width/dist/index.d.ts +4 -0
- package/node_modules/fast-string-width/dist/index.js +14 -0
- package/node_modules/fast-string-width/license +21 -0
- package/node_modules/fast-string-width/package.json +34 -0
- package/node_modules/fast-string-width/readme.md +42 -0
- package/node_modules/fast-wrap-ansi/LICENSE +23 -0
- package/node_modules/fast-wrap-ansi/README.md +26 -0
- package/node_modules/fast-wrap-ansi/lib/main.d.ts +6 -0
- package/node_modules/fast-wrap-ansi/lib/main.js +218 -0
- package/node_modules/fast-wrap-ansi/package.json +51 -0
- package/node_modules/figures/index.d.ts +279 -0
- package/node_modules/figures/index.js +292 -0
- package/node_modules/figures/license +9 -0
- package/node_modules/figures/package.json +49 -0
- package/node_modules/figures/readme.md +337 -0
- package/node_modules/get-stream/license +9 -0
- package/node_modules/get-stream/package.json +60 -0
- package/node_modules/get-stream/readme.md +303 -0
- package/node_modules/get-stream/source/array-buffer.js +84 -0
- package/node_modules/get-stream/source/array.js +32 -0
- package/node_modules/get-stream/source/buffer.js +19 -0
- package/node_modules/get-stream/source/contents.js +121 -0
- package/node_modules/get-stream/source/exports.js +5 -0
- package/node_modules/get-stream/source/index.d.ts +121 -0
- package/node_modules/get-stream/source/index.js +13 -0
- package/node_modules/get-stream/source/stream.js +65 -0
- package/node_modules/get-stream/source/string.js +41 -0
- package/node_modules/get-stream/source/utils.js +11 -0
- package/node_modules/gray-matter/LICENSE +21 -0
- package/node_modules/gray-matter/README.md +565 -0
- package/node_modules/gray-matter/gray-matter.d.ts +114 -0
- package/node_modules/gray-matter/index.js +228 -0
- package/node_modules/gray-matter/lib/defaults.js +18 -0
- package/node_modules/gray-matter/lib/engine.js +30 -0
- package/node_modules/gray-matter/lib/engines.js +54 -0
- package/node_modules/gray-matter/lib/excerpt.js +32 -0
- package/node_modules/gray-matter/lib/parse.js +13 -0
- package/node_modules/gray-matter/lib/stringify.js +56 -0
- package/node_modules/gray-matter/lib/to-file.js +43 -0
- package/node_modules/gray-matter/lib/utils.js +66 -0
- package/node_modules/gray-matter/package.json +127 -0
- package/node_modules/human-signals/LICENSE +201 -0
- package/node_modules/human-signals/README.md +171 -0
- package/node_modules/human-signals/build/src/core.js +273 -0
- package/node_modules/human-signals/build/src/main.d.ts +206 -0
- package/node_modules/human-signals/build/src/main.js +70 -0
- package/node_modules/human-signals/build/src/realtime.js +16 -0
- package/node_modules/human-signals/build/src/signals.js +34 -0
- package/node_modules/human-signals/package.json +66 -0
- package/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/iconv-lite/README.md +138 -0
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/iconv-lite/encodings/sbcs-data.js +180 -0
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/node_modules/iconv-lite/encodings/utf32.js +314 -0
- package/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/node_modules/iconv-lite/lib/index.d.ts +129 -0
- package/node_modules/iconv-lite/lib/index.js +182 -0
- package/node_modules/iconv-lite/lib/streams.js +105 -0
- package/node_modules/iconv-lite/package.json +70 -0
- package/node_modules/iconv-lite/types/encodings.d.ts +425 -0
- package/node_modules/is-extendable/LICENSE +21 -0
- package/node_modules/is-extendable/README.md +72 -0
- package/node_modules/is-extendable/index.js +13 -0
- package/node_modules/is-extendable/package.json +51 -0
- package/node_modules/is-plain-obj/index.d.ts +35 -0
- package/node_modules/is-plain-obj/index.js +8 -0
- package/node_modules/is-plain-obj/license +9 -0
- package/node_modules/is-plain-obj/package.json +41 -0
- package/node_modules/is-plain-obj/readme.md +58 -0
- package/node_modules/is-stream/index.d.ts +90 -0
- package/node_modules/is-stream/index.js +37 -0
- package/node_modules/is-stream/license +9 -0
- package/node_modules/is-stream/package.json +48 -0
- package/node_modules/is-stream/readme.md +57 -0
- package/node_modules/is-unicode-supported/index.d.ts +12 -0
- package/node_modules/is-unicode-supported/index.js +21 -0
- package/node_modules/is-unicode-supported/license +9 -0
- package/node_modules/is-unicode-supported/package.json +47 -0
- package/node_modules/is-unicode-supported/readme.md +35 -0
- package/node_modules/isexe/.npmignore +2 -0
- package/node_modules/isexe/LICENSE +15 -0
- package/node_modules/isexe/README.md +51 -0
- package/node_modules/isexe/index.js +57 -0
- package/node_modules/isexe/mode.js +41 -0
- package/node_modules/isexe/package.json +31 -0
- package/node_modules/isexe/test/basic.js +221 -0
- package/node_modules/isexe/windows.js +42 -0
- package/node_modules/js-yaml/LICENSE +21 -0
- package/node_modules/js-yaml/README.md +302 -0
- package/node_modules/js-yaml/bin/js-yaml.js +132 -0
- package/node_modules/js-yaml/dist/js-yaml.js +4011 -0
- package/node_modules/js-yaml/dist/js-yaml.min.js +1 -0
- package/node_modules/js-yaml/index.js +7 -0
- package/node_modules/js-yaml/lib/js-yaml/common.js +59 -0
- package/node_modules/js-yaml/lib/js-yaml/dumper.js +850 -0
- package/node_modules/js-yaml/lib/js-yaml/exception.js +43 -0
- package/node_modules/js-yaml/lib/js-yaml/loader.js +1666 -0
- package/node_modules/js-yaml/lib/js-yaml/mark.js +76 -0
- package/node_modules/js-yaml/lib/js-yaml/schema/core.js +18 -0
- package/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +25 -0
- package/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +28 -0
- package/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +17 -0
- package/node_modules/js-yaml/lib/js-yaml/schema/json.js +25 -0
- package/node_modules/js-yaml/lib/js-yaml/schema.js +108 -0
- package/node_modules/js-yaml/lib/js-yaml/type/binary.js +138 -0
- package/node_modules/js-yaml/lib/js-yaml/type/bool.js +35 -0
- package/node_modules/js-yaml/lib/js-yaml/type/float.js +116 -0
- package/node_modules/js-yaml/lib/js-yaml/type/int.js +173 -0
- package/node_modules/js-yaml/lib/js-yaml/type/js/function.js +93 -0
- package/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +60 -0
- package/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +28 -0
- package/node_modules/js-yaml/lib/js-yaml/type/map.js +8 -0
- package/node_modules/js-yaml/lib/js-yaml/type/merge.js +12 -0
- package/node_modules/js-yaml/lib/js-yaml/type/null.js +34 -0
- package/node_modules/js-yaml/lib/js-yaml/type/omap.js +44 -0
- package/node_modules/js-yaml/lib/js-yaml/type/pairs.js +53 -0
- package/node_modules/js-yaml/lib/js-yaml/type/seq.js +8 -0
- package/node_modules/js-yaml/lib/js-yaml/type/set.js +29 -0
- package/node_modules/js-yaml/lib/js-yaml/type/str.js +8 -0
- package/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +88 -0
- package/node_modules/js-yaml/lib/js-yaml/type.js +61 -0
- package/node_modules/js-yaml/lib/js-yaml.js +39 -0
- package/node_modules/js-yaml/package.json +52 -0
- package/node_modules/kind-of/LICENSE +21 -0
- package/node_modules/kind-of/README.md +367 -0
- package/node_modules/kind-of/index.js +129 -0
- package/node_modules/kind-of/package.json +88 -0
- package/node_modules/mute-stream/LICENSE +15 -0
- package/node_modules/mute-stream/README.md +68 -0
- package/node_modules/mute-stream/lib/index.js +142 -0
- package/node_modules/mute-stream/package.json +54 -0
- package/node_modules/npm-run-path/index.d.ts +90 -0
- package/node_modules/npm-run-path/index.js +55 -0
- package/node_modules/npm-run-path/license +9 -0
- package/node_modules/npm-run-path/node_modules/path-key/index.d.ts +31 -0
- package/node_modules/npm-run-path/node_modules/path-key/index.js +12 -0
- package/node_modules/npm-run-path/node_modules/path-key/license +9 -0
- package/node_modules/npm-run-path/node_modules/path-key/package.json +41 -0
- package/node_modules/npm-run-path/node_modules/path-key/readme.md +57 -0
- package/node_modules/npm-run-path/package.json +52 -0
- package/node_modules/npm-run-path/readme.md +104 -0
- package/node_modules/parse-ms/index.d.ts +30 -0
- package/node_modules/parse-ms/index.js +45 -0
- package/node_modules/parse-ms/license +9 -0
- package/node_modules/parse-ms/package.json +47 -0
- package/node_modules/parse-ms/readme.md +46 -0
- package/node_modules/path-key/index.d.ts +40 -0
- package/node_modules/path-key/index.js +16 -0
- package/node_modules/path-key/license +9 -0
- package/node_modules/path-key/package.json +39 -0
- package/node_modules/path-key/readme.md +61 -0
- package/node_modules/picomatch/LICENSE +21 -0
- package/node_modules/picomatch/README.md +743 -0
- package/node_modules/picomatch/index.js +17 -0
- package/node_modules/picomatch/lib/constants.js +184 -0
- package/node_modules/picomatch/lib/parse.js +1416 -0
- package/node_modules/picomatch/lib/picomatch.js +361 -0
- package/node_modules/picomatch/lib/scan.js +391 -0
- package/node_modules/picomatch/lib/utils.js +72 -0
- package/node_modules/picomatch/package.json +83 -0
- package/node_modules/picomatch/posix.js +3 -0
- package/node_modules/pretty-ms/index.d.ts +157 -0
- package/node_modules/pretty-ms/index.js +149 -0
- package/node_modules/pretty-ms/license +9 -0
- package/node_modules/pretty-ms/package.json +55 -0
- package/node_modules/pretty-ms/readme.md +179 -0
- package/node_modules/safer-buffer/LICENSE +21 -0
- package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/node_modules/safer-buffer/Readme.md +156 -0
- package/node_modules/safer-buffer/dangerous.js +58 -0
- package/node_modules/safer-buffer/package.json +34 -0
- package/node_modules/safer-buffer/safer.js +77 -0
- package/node_modules/safer-buffer/tests.js +406 -0
- package/node_modules/section-matter/LICENSE +21 -0
- package/node_modules/section-matter/README.md +236 -0
- package/node_modules/section-matter/index.js +136 -0
- package/node_modules/section-matter/package.json +55 -0
- package/node_modules/shebang-command/index.js +19 -0
- package/node_modules/shebang-command/license +9 -0
- package/node_modules/shebang-command/package.json +34 -0
- package/node_modules/shebang-command/readme.md +34 -0
- package/node_modules/shebang-regex/index.d.ts +22 -0
- package/node_modules/shebang-regex/index.js +2 -0
- package/node_modules/shebang-regex/license +9 -0
- package/node_modules/shebang-regex/package.json +35 -0
- package/node_modules/shebang-regex/readme.md +33 -0
- package/node_modules/signal-exit/LICENSE.txt +16 -0
- package/node_modules/signal-exit/README.md +74 -0
- package/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
- package/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- package/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
- package/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- package/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
- package/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
- package/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
- package/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
- package/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- package/node_modules/signal-exit/package.json +106 -0
- package/node_modules/sprintf-js/.npmignore +1 -0
- package/node_modules/sprintf-js/LICENSE +24 -0
- package/node_modules/sprintf-js/README.md +88 -0
- package/node_modules/sprintf-js/bower.json +14 -0
- package/node_modules/sprintf-js/demo/angular.html +20 -0
- package/node_modules/sprintf-js/dist/angular-sprintf.min.js +4 -0
- package/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +1 -0
- package/node_modules/sprintf-js/dist/angular-sprintf.min.map +1 -0
- package/node_modules/sprintf-js/dist/sprintf.min.js +4 -0
- package/node_modules/sprintf-js/dist/sprintf.min.js.map +1 -0
- package/node_modules/sprintf-js/dist/sprintf.min.map +1 -0
- package/node_modules/sprintf-js/gruntfile.js +36 -0
- package/node_modules/sprintf-js/package.json +22 -0
- package/node_modules/sprintf-js/src/angular-sprintf.js +18 -0
- package/node_modules/sprintf-js/src/sprintf.js +208 -0
- package/node_modules/sprintf-js/test/test.js +82 -0
- package/node_modules/strip-bom-string/LICENSE +21 -0
- package/node_modules/strip-bom-string/README.md +66 -0
- package/node_modules/strip-bom-string/index.js +15 -0
- package/node_modules/strip-bom-string/package.json +60 -0
- package/node_modules/strip-final-newline/index.d.ts +18 -0
- package/node_modules/strip-final-newline/index.js +26 -0
- package/node_modules/strip-final-newline/license +9 -0
- package/node_modules/strip-final-newline/package.json +49 -0
- package/node_modules/strip-final-newline/readme.md +34 -0
- package/node_modules/unicorn-magic/default.d.ts +13 -0
- package/node_modules/unicorn-magic/default.js +14 -0
- package/node_modules/unicorn-magic/license +9 -0
- package/node_modules/unicorn-magic/node.d.ts +125 -0
- package/node_modules/unicorn-magic/node.js +49 -0
- package/node_modules/unicorn-magic/package.json +62 -0
- package/node_modules/unicorn-magic/readme.md +25 -0
- package/node_modules/which/LICENSE +15 -0
- package/node_modules/which/README.md +54 -0
- package/node_modules/which/bin/node-which +52 -0
- package/node_modules/which/package.json +43 -0
- package/node_modules/which/which.js +125 -0
- package/node_modules/yaml/LICENSE +13 -0
- package/node_modules/yaml/README.md +172 -0
- package/node_modules/yaml/bin.mjs +11 -0
- package/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
- package/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/node_modules/yaml/browser/dist/compose/composer.js +219 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +225 -0
- package/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/node_modules/yaml/browser/dist/errors.js +57 -0
- package/node_modules/yaml/browser/dist/index.js +17 -0
- package/node_modules/yaml/browser/dist/log.js +11 -0
- package/node_modules/yaml/browser/dist/nodes/Alias.js +116 -0
- package/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/node_modules/yaml/browser/dist/parse/lexer.js +721 -0
- package/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/node_modules/yaml/browser/dist/parse/parser.js +975 -0
- package/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +67 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +25 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/node_modules/yaml/browser/dist/util.js +11 -0
- package/node_modules/yaml/browser/dist/visit.js +233 -0
- package/node_modules/yaml/browser/index.js +5 -0
- package/node_modules/yaml/browser/package.json +3 -0
- package/node_modules/yaml/dist/cli.d.ts +8 -0
- package/node_modules/yaml/dist/cli.mjs +201 -0
- package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
- package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
- package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
- package/node_modules/yaml/dist/compose/compose-node.js +112 -0
- package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
- package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
- package/node_modules/yaml/dist/compose/composer.js +224 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +227 -0
- package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
- package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
- package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
- package/node_modules/yaml/dist/doc/Document.js +337 -0
- package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
- package/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
- package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
- package/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
- package/node_modules/yaml/dist/doc/directives.js +178 -0
- package/node_modules/yaml/dist/errors.d.ts +21 -0
- package/node_modules/yaml/dist/errors.js +62 -0
- package/node_modules/yaml/dist/index.d.ts +25 -0
- package/node_modules/yaml/dist/index.js +50 -0
- package/node_modules/yaml/dist/log.d.ts +3 -0
- package/node_modules/yaml/dist/log.js +19 -0
- package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/Alias.js +118 -0
- package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
- package/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
- package/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/node_modules/yaml/dist/nodes/Scalar.d.ts +47 -0
- package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
- package/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/node_modules/yaml/dist/options.d.ts +350 -0
- package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
- package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
- package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
- package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
- package/node_modules/yaml/dist/parse/cst.js +112 -0
- package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
- package/node_modules/yaml/dist/parse/lexer.js +723 -0
- package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
- package/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
- package/node_modules/yaml/dist/parse/parser.js +980 -0
- package/node_modules/yaml/dist/public-api.d.ts +44 -0
- package/node_modules/yaml/dist/public-api.js +107 -0
- package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
- package/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
- package/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
- package/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
- package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
- package/node_modules/yaml/dist/schema/tags.js +99 -0
- package/node_modules/yaml/dist/schema/types.d.ts +92 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +71 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
- package/node_modules/yaml/dist/stringify/stringify.js +132 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.js +27 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
- package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/node_modules/yaml/dist/test-events.d.ts +4 -0
- package/node_modules/yaml/dist/test-events.js +134 -0
- package/node_modules/yaml/dist/util.d.ts +16 -0
- package/node_modules/yaml/dist/util.js +28 -0
- package/node_modules/yaml/dist/visit.d.ts +102 -0
- package/node_modules/yaml/dist/visit.js +236 -0
- package/node_modules/yaml/package.json +97 -0
- package/node_modules/yaml/util.js +2 -0
- package/node_modules/yoctocolors/base.d.ts +47 -0
- package/node_modules/yoctocolors/base.js +94 -0
- package/node_modules/yoctocolors/index.d.ts +2 -0
- package/node_modules/yoctocolors/index.js +2 -0
- package/node_modules/yoctocolors/license +9 -0
- package/node_modules/yoctocolors/package.json +69 -0
- package/node_modules/yoctocolors/readme.md +138 -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 +57 -0
package/dist/cli.js
ADDED
|
@@ -0,0 +1,1120 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { confirm, input } from '@inquirer/prompts';
|
|
4
|
+
import { Command } from 'commander';
|
|
5
|
+
import { execa } from 'execa';
|
|
6
|
+
import { copyToClipboard } from './clipboard.js';
|
|
7
|
+
import { printAcceptResult, runAccept } from './commands/accept.js';
|
|
8
|
+
import { printAmendResult, runAmend } from './commands/amend.js';
|
|
9
|
+
import { printCheckReport, runCheck } from './commands/check.js';
|
|
10
|
+
import { printAbandonResult, runAbandon } from './commands/abandon.js';
|
|
11
|
+
import { printCloseResult, runClose } from './commands/close.js';
|
|
12
|
+
import { printDoctorReport, runDoctor } from './commands/doctor.js';
|
|
13
|
+
import { gatherIssueAndRiskAnswers, printFrameResult, runFrame } from './commands/frame.js';
|
|
14
|
+
import { printGateEvaluation, runGate } from './commands/gate.js';
|
|
15
|
+
import { printMergeResult, runMerge } from './commands/merge.js';
|
|
16
|
+
import { printInitReport, runInit } from './commands/init.js';
|
|
17
|
+
import { printNextResult, runNext } from './commands/next.js';
|
|
18
|
+
import { launchRecoveryLine, printOpenPlan, runOpen } from './commands/open.js';
|
|
19
|
+
import { printPackResult, runPack } from './commands/pack.js';
|
|
20
|
+
import { printReviewResult, reviewRecoveryLine, runReview } from './commands/review.js';
|
|
21
|
+
import { printReadyStatus, readyStatusJson, runReadyRecord, runReadyStatus, } from './commands/ready.js';
|
|
22
|
+
import { printSealResult, runSeal } from './commands/seal.js';
|
|
23
|
+
import { printShipReport, runShip } from './commands/ship.js';
|
|
24
|
+
import { printStatsReport, runStats } from './commands/stats.js';
|
|
25
|
+
import { printForgetResult, runForget } from './commands/forget.js';
|
|
26
|
+
import { printDiscoverResult, runDiscover } from './commands/discover.js';
|
|
27
|
+
import { printContextResult, runContext } from './commands/context.js';
|
|
28
|
+
import { printProposeResult, runPropose } from './commands/propose.js';
|
|
29
|
+
import { printStartOutcome, runStart, startCommand } from './commands/start.js';
|
|
30
|
+
import { printFlowApproveResult, printFlowDismissResult, printFlowList, printFlowReportResult, printFlowShow, printFlowStatusResult, printFlowVerifyResult, printBatchApproveResult, runFlowApprove, runFlowApproveAll, runFlowDismiss, runFlowList, runFlowReport, runFlowShow, runFlowStatus, runFlowVerify, } from './commands/flow.js';
|
|
31
|
+
import { printRulesApproveResult, printRulesDismissResult, printRulesList, printRulesVerifyResult, runRulesApprove, runRulesApproveAll, runRulesDismiss, runRulesList, runRulesVerify, } from './commands/rules.js';
|
|
32
|
+
import { printDeltaApprove, printDeltaList, printDeltaNewResult, printDeltaReject, printDeltaShow, runDeltaApprove, runDeltaList, runDeltaNew, runDeltaReject, runDeltaShow, runFrameFromDelta, } from './commands/delta.js';
|
|
33
|
+
import { runGuide } from './commands/guide.js';
|
|
34
|
+
import { runView } from './commands/view.js';
|
|
35
|
+
import { loadConfig } from './config.js';
|
|
36
|
+
import * as git from './git.js';
|
|
37
|
+
import { UserError } from './errors.js';
|
|
38
|
+
import { agentExecutorEnv, ownerOnlyRefusal } from './executor.js';
|
|
39
|
+
import { verifyPrePush } from './prepush.js';
|
|
40
|
+
import { FLOW_REPORT_STATUSES, } from './records/types.js';
|
|
41
|
+
import { RISK_TIERS } from './records/types.js';
|
|
42
|
+
import { prismaticaVersion } from './runtime.js';
|
|
43
|
+
import * as ui from './ui.js';
|
|
44
|
+
/**
|
|
45
|
+
* Expected failures print a plain message plus the exact next command —
|
|
46
|
+
* never a stack trace. Everything else stays loud.
|
|
47
|
+
*/
|
|
48
|
+
function reportError(error) {
|
|
49
|
+
if (error instanceof UserError) {
|
|
50
|
+
console.error(`${ui.bad('✗')} ${error.message}`);
|
|
51
|
+
if (error.fix) {
|
|
52
|
+
console.error('');
|
|
53
|
+
console.error(` next: ${ui.bold(error.fix.command)}`);
|
|
54
|
+
console.error(` why: ${error.fix.why}`);
|
|
55
|
+
}
|
|
56
|
+
process.exitCode = 1;
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
if (error instanceof Error && error.name === 'ExitPromptError') {
|
|
60
|
+
process.exitCode = 130; // user pressed Ctrl-C at a prompt
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
console.error(ui.bad(`unexpected error: ${error instanceof Error ? error.message : String(error)}`));
|
|
64
|
+
if (process.env.DEBUG) {
|
|
65
|
+
console.error(error);
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
console.error(ui.dim(' (set DEBUG=1 for a stack trace)'));
|
|
69
|
+
}
|
|
70
|
+
process.exitCode = 1;
|
|
71
|
+
}
|
|
72
|
+
function guarded(action) {
|
|
73
|
+
return async (...args) => {
|
|
74
|
+
try {
|
|
75
|
+
await action(...args);
|
|
76
|
+
}
|
|
77
|
+
catch (error) {
|
|
78
|
+
reportError(error);
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
function collect(value, previous) {
|
|
83
|
+
return [...previous, value];
|
|
84
|
+
}
|
|
85
|
+
/** Parse `--check "rejects empty email | signup.test.ts"`; test defaults to manual:owner. */
|
|
86
|
+
function parseCheckSpecs(specs) {
|
|
87
|
+
return specs.map((spec, index) => {
|
|
88
|
+
const [description, test] = spec.split('|').map((part) => part.trim());
|
|
89
|
+
return {
|
|
90
|
+
id: `ac-${index + 1}`,
|
|
91
|
+
description: description || `check ${index + 1}`,
|
|
92
|
+
test: test && test.length > 0 ? test : 'manual:owner',
|
|
93
|
+
};
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
function parseTier(value) {
|
|
97
|
+
if (!RISK_TIERS.includes(value)) {
|
|
98
|
+
throw new UserError(`Unknown tier "${value}". Use one of: ${RISK_TIERS.join(', ')}.`);
|
|
99
|
+
}
|
|
100
|
+
return value;
|
|
101
|
+
}
|
|
102
|
+
function isInteractive() {
|
|
103
|
+
return Boolean(process.stdin.isTTY && process.stdout.isTTY);
|
|
104
|
+
}
|
|
105
|
+
/** `flow approve` — the path `executor.ts`'s owner-only policy is keyed on. */
|
|
106
|
+
function commandPath(command) {
|
|
107
|
+
const names = [];
|
|
108
|
+
for (let node = command; node?.parent; node = node.parent) {
|
|
109
|
+
names.unshift(node.name());
|
|
110
|
+
}
|
|
111
|
+
return names.join(' ');
|
|
112
|
+
}
|
|
113
|
+
const program = new Command();
|
|
114
|
+
/**
|
|
115
|
+
* ONE gate for every owner-only command, rather than a wrapper repeated at
|
|
116
|
+
* fourteen call sites — a list is auditable and a per-site wrapper is
|
|
117
|
+
* forgettable, and forgetting one is how the guard quietly stops covering
|
|
118
|
+
* something. Runs before any action, including subcommands.
|
|
119
|
+
*
|
|
120
|
+
* The invocation's parsed options, including parent/global options, travel with
|
|
121
|
+
* the path, because one entry on that list is owner-only in only one of its two
|
|
122
|
+
* forms: `seal --request-changes` records a verdict that never advances the
|
|
123
|
+
* change (and, above light, blocks progression), and the exception is enumerated
|
|
124
|
+
* as data in `executor.ts` beside the list it qualifies. Commander has already
|
|
125
|
+
* parsed the flags by the time a preAction hook runs, so this reads the complete
|
|
126
|
+
* invocation — never a second parse of argv.
|
|
127
|
+
*/
|
|
128
|
+
program.hook('preAction', (_thisCommand, actionCommand) => {
|
|
129
|
+
const refusal = ownerOnlyRefusal(commandPath(actionCommand), process.env, actionCommand.optsWithGlobals());
|
|
130
|
+
if (refusal) {
|
|
131
|
+
// `refusal.invocation`, never the bare path: one command on that policy is
|
|
132
|
+
// owner-only in a single FORM (`ready record --new-run`), and naming the
|
|
133
|
+
// path alone would refuse the ordinary form in the sentence while allowing
|
|
134
|
+
// it in fact.
|
|
135
|
+
throw new UserError(`\`prismatica ${refusal.invocation}\` is the owner’s decision — an agent may not run it.`, refusal);
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
program
|
|
139
|
+
.name('prismatica')
|
|
140
|
+
.description('Deterministic change assurance for software that AI agents write.\n' +
|
|
141
|
+
'The agent builds. Prismatica inspects. Nothing ships until the intent,\n' +
|
|
142
|
+
'the proof, and the owner agree.')
|
|
143
|
+
.version(prismaticaVersion());
|
|
144
|
+
program
|
|
145
|
+
.command('init')
|
|
146
|
+
.description('set up Prismatica in this repository (safe to re-run; never overwrites records)')
|
|
147
|
+
.option('--name <name>', 'app name to record (default: the folder name)')
|
|
148
|
+
.option('--map-only', 'comprehension only — Flows and Rules, no gate, no hooks, no signing key')
|
|
149
|
+
.option('--hooks', 'install the git pre-push hook without asking')
|
|
150
|
+
.option('--no-hooks', 'skip the git pre-push hook without asking')
|
|
151
|
+
.option('--yes', 'answer yes to every offer (non-interactive)')
|
|
152
|
+
.option('--skip-github', 'do not contact GitHub to probe branch protection')
|
|
153
|
+
.action(guarded(async (options) => {
|
|
154
|
+
let { hooks } = options;
|
|
155
|
+
let name = options.name;
|
|
156
|
+
const mapOnly = Boolean(options.mapOnly);
|
|
157
|
+
if (options.yes || mapOnly) {
|
|
158
|
+
hooks ??= false;
|
|
159
|
+
}
|
|
160
|
+
if (isInteractive() && !options.yes && !mapOnly) {
|
|
161
|
+
name ??= await input({ message: 'App name', default: path.basename(process.cwd()) });
|
|
162
|
+
hooks ??= await confirm({
|
|
163
|
+
message: 'Install a git pre-push hook that runs `prismatica check` before every push?',
|
|
164
|
+
default: true,
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
else if (isInteractive() && !options.yes) {
|
|
168
|
+
name ??= await input({ message: 'App name', default: path.basename(process.cwd()) });
|
|
169
|
+
}
|
|
170
|
+
const report = await runInit({
|
|
171
|
+
cwd: process.cwd(),
|
|
172
|
+
appName: name,
|
|
173
|
+
hooks: hooks ?? false,
|
|
174
|
+
branchProtection: options.skipGithub ? 'skip' : 'auto',
|
|
175
|
+
mode: mapOnly ? 'map-only' : 'govern',
|
|
176
|
+
});
|
|
177
|
+
printInitReport(report);
|
|
178
|
+
}));
|
|
179
|
+
program
|
|
180
|
+
.command('frame')
|
|
181
|
+
.description('start a change: write a contract, link an issue, open a safe lane')
|
|
182
|
+
.argument('[title]', 'one-line title of the change')
|
|
183
|
+
.option('--issue <ref>', 'linked GitHub issue (URL or #number) — required')
|
|
184
|
+
.option('--intent <id>', 'link to a larger intent')
|
|
185
|
+
.option('--allow <glob>', 'a file glob the change may touch (repeatable)', collect, [])
|
|
186
|
+
.option('--forbid <glob>', 'a file glob the change must not touch (repeatable)', collect, [])
|
|
187
|
+
.option('--non-goal <text>', 'something this change explicitly will not do (repeatable)', collect, [])
|
|
188
|
+
.option('--check <spec>', 'acceptance check as "description | test-id" (repeatable)', collect, [])
|
|
189
|
+
.option('--docs <path>', 'a docs file that must be updated (repeatable)', collect, [])
|
|
190
|
+
.option('--tier <tier>', `force the risk tier (${RISK_TIERS.join('|')})`)
|
|
191
|
+
.option('--builder <agent>', 'which agent will build this change (e.g. claude, codex)')
|
|
192
|
+
.option('--auth', 'this change touches authentication (→ heavy)')
|
|
193
|
+
.option('--payments', 'this change touches payments (→ heavy)')
|
|
194
|
+
.option('--data', 'this change touches saved data / schema / migrations (→ heavy)')
|
|
195
|
+
.option('--copy-only', 'this change is only copy/colours/spacing (→ light)')
|
|
196
|
+
.option('--no-hook', 'do not install the Claude scope hook in the lane')
|
|
197
|
+
.option('--yes', 'non-interactive: use only the flags provided')
|
|
198
|
+
.option('--from-delta <deltaId>', 'frame from an approved delta — title/scope/acceptance derive from it (prompts for the issue and risk questions if not given)')
|
|
199
|
+
.action(guarded(async (title, options) => {
|
|
200
|
+
const interactive = isInteractive() && !options.yes;
|
|
201
|
+
if (options.fromDelta) {
|
|
202
|
+
const { issue, answers } = await gatherIssueAndRiskAnswers({
|
|
203
|
+
issue: options.issue ?? '',
|
|
204
|
+
tier: options.tier,
|
|
205
|
+
auth: options.auth,
|
|
206
|
+
payments: options.payments,
|
|
207
|
+
data: options.data,
|
|
208
|
+
copyOnly: options.copyOnly,
|
|
209
|
+
}, interactive, { input, confirm });
|
|
210
|
+
const result = await runFrameFromDelta({
|
|
211
|
+
cwd: process.cwd(),
|
|
212
|
+
deltaId: options.fromDelta,
|
|
213
|
+
issue,
|
|
214
|
+
intent: options.intent,
|
|
215
|
+
allowedPaths: options.allow.length > 0 ? options.allow : undefined,
|
|
216
|
+
forbiddenPaths: options.forbid,
|
|
217
|
+
nonGoals: options.nonGoal.length > 0 ? options.nonGoal : undefined,
|
|
218
|
+
acceptanceChecks: options.check.length > 0 ? parseCheckSpecs(options.check) : undefined,
|
|
219
|
+
docsDelta: options.docs,
|
|
220
|
+
answers,
|
|
221
|
+
tierOverride: options.tier ? parseTier(options.tier) : undefined,
|
|
222
|
+
builder: options.builder,
|
|
223
|
+
installHook: options.hook,
|
|
224
|
+
});
|
|
225
|
+
printFrameResult(result);
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
let resolvedTitle = title ?? '';
|
|
229
|
+
let allow = options.allow;
|
|
230
|
+
let checks = parseCheckSpecs(options.check);
|
|
231
|
+
if (interactive) {
|
|
232
|
+
if (resolvedTitle === '') {
|
|
233
|
+
resolvedTitle = await input({ message: 'One-line title for this change' });
|
|
234
|
+
}
|
|
235
|
+
if (allow.length === 0) {
|
|
236
|
+
const raw = await input({
|
|
237
|
+
message: 'Files this change may touch (comma-separated globs)',
|
|
238
|
+
});
|
|
239
|
+
allow = raw
|
|
240
|
+
.split(',')
|
|
241
|
+
.map((part) => part.trim())
|
|
242
|
+
.filter(Boolean);
|
|
243
|
+
}
|
|
244
|
+
if (checks.length === 0) {
|
|
245
|
+
const gathered = [];
|
|
246
|
+
for (;;) {
|
|
247
|
+
const spec = await input({
|
|
248
|
+
message: `Acceptance check ${gathered.length + 1} as "description | test-id" (empty to finish)`,
|
|
249
|
+
});
|
|
250
|
+
if (spec.trim() === '') {
|
|
251
|
+
break;
|
|
252
|
+
}
|
|
253
|
+
gathered.push(spec);
|
|
254
|
+
}
|
|
255
|
+
checks = parseCheckSpecs(gathered);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
const { issue, answers } = await gatherIssueAndRiskAnswers({
|
|
259
|
+
issue: options.issue ?? '',
|
|
260
|
+
tier: options.tier,
|
|
261
|
+
auth: options.auth,
|
|
262
|
+
payments: options.payments,
|
|
263
|
+
data: options.data,
|
|
264
|
+
copyOnly: options.copyOnly,
|
|
265
|
+
}, interactive, { input, confirm });
|
|
266
|
+
const result = await runFrame({
|
|
267
|
+
cwd: process.cwd(),
|
|
268
|
+
title: resolvedTitle,
|
|
269
|
+
issue,
|
|
270
|
+
intent: options.intent,
|
|
271
|
+
allowedPaths: allow,
|
|
272
|
+
forbiddenPaths: options.forbid,
|
|
273
|
+
nonGoals: options.nonGoal,
|
|
274
|
+
acceptanceChecks: checks,
|
|
275
|
+
docsDelta: options.docs,
|
|
276
|
+
answers,
|
|
277
|
+
tierOverride: options.tier ? parseTier(options.tier) : undefined,
|
|
278
|
+
builder: options.builder,
|
|
279
|
+
installHook: options.hook,
|
|
280
|
+
});
|
|
281
|
+
printFrameResult(result);
|
|
282
|
+
}));
|
|
283
|
+
// ── pack ─────────────────────────────────────────────────────────────────────
|
|
284
|
+
program
|
|
285
|
+
.command('pack')
|
|
286
|
+
.description('write a scoped, hashed brief for an agent from a contract')
|
|
287
|
+
.argument('<contractId>', 'the contract id to pack')
|
|
288
|
+
.action(guarded(async (contractId) => {
|
|
289
|
+
const result = await runPack({ cwd: process.cwd(), contractId });
|
|
290
|
+
printPackResult(result);
|
|
291
|
+
}));
|
|
292
|
+
program
|
|
293
|
+
.command('next')
|
|
294
|
+
.description("the one command to run when you don't know what to do next")
|
|
295
|
+
.option('--copy', 'copy the command to the clipboard instead of just printing it')
|
|
296
|
+
.action(guarded(async (options) => {
|
|
297
|
+
const result = await runNext({ cwd: process.cwd() });
|
|
298
|
+
printNextResult(result);
|
|
299
|
+
if (options.copy) {
|
|
300
|
+
// An `inAgent` step is a sentence, not a command line. Putting prose on
|
|
301
|
+
// the clipboard under "copied" would be worse than saying there is
|
|
302
|
+
// nothing to copy, because the owner would paste it into a shell.
|
|
303
|
+
if (result.advice.inAgent) {
|
|
304
|
+
console.log('');
|
|
305
|
+
console.log(ui.warn(' nothing to copy — this step happens in your coding agent, not your terminal'));
|
|
306
|
+
return;
|
|
307
|
+
}
|
|
308
|
+
const clip = await copyToClipboard(result.advice.command);
|
|
309
|
+
console.log('');
|
|
310
|
+
console.log(clip.ok
|
|
311
|
+
? ui.ok(` copied to the clipboard via ${clip.tool}`)
|
|
312
|
+
: ui.warn(` could not copy automatically: ${clip.reason}`));
|
|
313
|
+
}
|
|
314
|
+
}));
|
|
315
|
+
/**
|
|
316
|
+
* The two launch dials, as one object. Free text on purpose: no model name is
|
|
317
|
+
* hard-coded anywhere in Prismatica, and the installed provider is what
|
|
318
|
+
* validates the value.
|
|
319
|
+
*/
|
|
320
|
+
function tuningFrom(options) {
|
|
321
|
+
return { model: options.model, effort: options.effort };
|
|
322
|
+
}
|
|
323
|
+
program
|
|
324
|
+
.command('open')
|
|
325
|
+
.description('open the brief in an agent (in the lane), or copy it to the clipboard')
|
|
326
|
+
.argument('[agent]', 'agent to open (e.g. claude, codex) — omit with --copy')
|
|
327
|
+
.argument('[contractId]', 'the contract id')
|
|
328
|
+
.option('--copy', 'copy the brief to the clipboard instead of opening an agent')
|
|
329
|
+
.option('--no-spawn', 'print the launch command instead of running the agent')
|
|
330
|
+
.option('--model <model>', 'which model the builder runs (passed to that agent’s own flag)')
|
|
331
|
+
.option('--effort <effort>', 'how hard that model thinks, where the provider supports it')
|
|
332
|
+
.action(guarded(async (agent, contractId, options) => {
|
|
333
|
+
const id = options.copy ? (contractId ?? agent) : contractId;
|
|
334
|
+
if (!id) {
|
|
335
|
+
throw new UserError('Which change? Give a contract id.', {
|
|
336
|
+
command: options.copy ? 'prismatica open --copy <id>' : 'prismatica open <agent> <id>',
|
|
337
|
+
why: 'open needs to know which contract’s brief to hand over',
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
const plan = await runOpen({
|
|
341
|
+
cwd: process.cwd(),
|
|
342
|
+
contractId: id,
|
|
343
|
+
agent: options.copy ? undefined : agent,
|
|
344
|
+
copy: options.copy,
|
|
345
|
+
tuning: tuningFrom(options),
|
|
346
|
+
});
|
|
347
|
+
printOpenPlan(plan);
|
|
348
|
+
if (plan.mode === 'copy') {
|
|
349
|
+
const clip = await copyToClipboard(plan.brief);
|
|
350
|
+
console.log('');
|
|
351
|
+
console.log(clip.ok
|
|
352
|
+
? ui.ok(` copied to the clipboard via ${clip.tool}`)
|
|
353
|
+
: ui.warn(` could not copy automatically: ${clip.reason}`));
|
|
354
|
+
return;
|
|
355
|
+
}
|
|
356
|
+
const shouldSpawn = options.spawn !== false && isInteractive();
|
|
357
|
+
if (shouldSpawn && plan.launchCommand) {
|
|
358
|
+
const spawned = await execa(plan.launchCommand, plan.launchArgs, {
|
|
359
|
+
cwd: plan.worktree,
|
|
360
|
+
stdio: 'inherit',
|
|
361
|
+
reject: false,
|
|
362
|
+
// Mark everything downstream as agent-executed, so an owner-only
|
|
363
|
+
// command (`amend`) refuses rather than obeying the agent.
|
|
364
|
+
env: agentExecutorEnv(),
|
|
365
|
+
extendEnv: true,
|
|
366
|
+
});
|
|
367
|
+
if (spawned.failed) {
|
|
368
|
+
console.log('');
|
|
369
|
+
console.log(ui.warn(` could not launch "${plan.launchCommand}" — open it yourself: ${launchRecoveryLine(plan)}`));
|
|
370
|
+
// Say what the contract now records, so a failed spawn never leaves
|
|
371
|
+
// the owner guessing what the next `prismatica next` will name. The
|
|
372
|
+
// record is the routing choice, not the launch, so it stands — and
|
|
373
|
+
// the way to change it is to open a different agent.
|
|
374
|
+
if (plan.recordedBuilder) {
|
|
375
|
+
console.log(ui.dim(` "${plan.recordedBuilder}" stays recorded as this change's builder — open another agent to change it`));
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}));
|
|
380
|
+
program
|
|
381
|
+
.command('amend')
|
|
382
|
+
.description('change a contract’s scope with an audited reason (never re-baselines)')
|
|
383
|
+
.argument('<contractId>', 'the contract id to amend')
|
|
384
|
+
.requiredOption('--reason <text>', 'why the scope must change (written to the audit log)')
|
|
385
|
+
.option('--allow <glob>', 'add an allowed file glob (repeatable)', collect, [])
|
|
386
|
+
.option('--forbid <glob>', 'add a forbidden file glob (repeatable)', collect, [])
|
|
387
|
+
.option('--non-goal <text>', 'add a non-goal (repeatable)', collect, [])
|
|
388
|
+
.option('--check <spec>', 'add an acceptance check "description | test-id" (repeatable)', collect, [])
|
|
389
|
+
.option('--docs <path>', 'add a docs file to update (repeatable)', collect, [])
|
|
390
|
+
.option('--tier <tier>', `change the risk tier (${RISK_TIERS.join('|')})`)
|
|
391
|
+
.option('--description <text>', 'a human description of the change (optional)')
|
|
392
|
+
.action(guarded(async (contractId, options) => {
|
|
393
|
+
const addChecks = parseCheckSpecs(options.check).map((check, index) => ({
|
|
394
|
+
...check,
|
|
395
|
+
id: `ac-amend-${Date.now().toString(36)}-${index + 1}`,
|
|
396
|
+
}));
|
|
397
|
+
const result = await runAmend({
|
|
398
|
+
cwd: process.cwd(),
|
|
399
|
+
contractId,
|
|
400
|
+
reason: options.reason ?? '',
|
|
401
|
+
interactive: isInteractive(),
|
|
402
|
+
// The owner sees the boundary they are moving, in full, before it
|
|
403
|
+
// moves. There is deliberately no --yes: see src/executor.ts.
|
|
404
|
+
confirm: async (preview) => {
|
|
405
|
+
console.log('');
|
|
406
|
+
console.log(ui.bold(`Amend ${preview.contractId} — ${preview.title}`));
|
|
407
|
+
console.log('');
|
|
408
|
+
console.log(ui.field('change', preview.description, { labelWidth: 15 }));
|
|
409
|
+
console.log(ui.field('reason', preview.reason, { labelWidth: 15 }));
|
|
410
|
+
if (preview.existingAmendments > 0) {
|
|
411
|
+
console.log(ui.field('already amended', `${preview.existingAmendments} time(s)`, {
|
|
412
|
+
labelWidth: 15,
|
|
413
|
+
}));
|
|
414
|
+
}
|
|
415
|
+
const sections = [
|
|
416
|
+
['allow +', preview.addedAllowed],
|
|
417
|
+
['forbid +', preview.addedForbidden],
|
|
418
|
+
['non-goal +', preview.addedNonGoals],
|
|
419
|
+
['check +', preview.addedChecks],
|
|
420
|
+
['docs +', preview.addedDocs],
|
|
421
|
+
];
|
|
422
|
+
for (const [label, items] of sections) {
|
|
423
|
+
for (const item of items) {
|
|
424
|
+
console.log(` ${ui.ok(label)} ${item}`);
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
if (preview.tier) {
|
|
428
|
+
console.log(` ${ui.warn('tier →')} ${preview.tier}`);
|
|
429
|
+
}
|
|
430
|
+
console.log('');
|
|
431
|
+
console.log(ui.dim(` scope becomes ${preview.currentAllowed.length + preview.addedAllowed.length} allowed path(s), was ${preview.currentAllowed.length}`));
|
|
432
|
+
console.log('');
|
|
433
|
+
return confirm({ message: 'Widen this contract’s scope?', default: false });
|
|
434
|
+
},
|
|
435
|
+
changes: {
|
|
436
|
+
addAllow: options.allow,
|
|
437
|
+
addForbid: options.forbid,
|
|
438
|
+
addNonGoal: options.nonGoal,
|
|
439
|
+
addChecks,
|
|
440
|
+
addDocs: options.docs,
|
|
441
|
+
tier: options.tier ? parseTier(options.tier) : undefined,
|
|
442
|
+
description: options.description,
|
|
443
|
+
},
|
|
444
|
+
});
|
|
445
|
+
printAmendResult(result);
|
|
446
|
+
}));
|
|
447
|
+
// ── check ────────────────────────────────────────────────────────────────────
|
|
448
|
+
program
|
|
449
|
+
.command('check')
|
|
450
|
+
.description('run the proof checks for a change (the same engine the gate runs)')
|
|
451
|
+
.argument('[contractId]', 'the contract id (resolved from the branch if omitted)')
|
|
452
|
+
.action(guarded(async (contractId) => {
|
|
453
|
+
const report = await runCheck({ cwd: process.cwd(), contractId });
|
|
454
|
+
printCheckReport(report);
|
|
455
|
+
if (!report.result.pass) {
|
|
456
|
+
process.exitCode = 1;
|
|
457
|
+
}
|
|
458
|
+
}));
|
|
459
|
+
// ── ready records ───────────────────────────────────────────────────────────
|
|
460
|
+
const readyCmd = program
|
|
461
|
+
.command('ready')
|
|
462
|
+
.description('append or inspect durable Get Change Ready run bookkeeping');
|
|
463
|
+
readyCmd
|
|
464
|
+
.command('record')
|
|
465
|
+
.description('append one strict JSON run event; starts no agent and decides no verdict')
|
|
466
|
+
.argument('[contractId]', 'the contract id (resolved from the branch if omitted)')
|
|
467
|
+
.requiredOption('--import <file>', 'strict JSON event; multiline findings belong here, never argv')
|
|
468
|
+
.option('--new-run', 'OWNER ONLY: start a second bounded run, with fresh budgets, after this one stopped')
|
|
469
|
+
.action(guarded(async (contractId, options) => {
|
|
470
|
+
const result = await runReadyRecord({
|
|
471
|
+
cwd: process.cwd(),
|
|
472
|
+
contractId,
|
|
473
|
+
importFile: options.import,
|
|
474
|
+
newRun: Boolean(options.newRun),
|
|
475
|
+
});
|
|
476
|
+
printReadyStatus(result.status);
|
|
477
|
+
if (!result.appended)
|
|
478
|
+
console.log(ui.dim(' no append needed — this event was already durable'));
|
|
479
|
+
}));
|
|
480
|
+
readyCmd
|
|
481
|
+
.command('status')
|
|
482
|
+
.description('reconstruct the complete owner card without changing the lane')
|
|
483
|
+
.argument('[contractId]', 'the contract id (resolved from the branch if omitted)')
|
|
484
|
+
.option('--json', 'print the exact reconstructed record as JSON')
|
|
485
|
+
.action(guarded(async (contractId, options) => {
|
|
486
|
+
const status = await runReadyStatus({ cwd: process.cwd(), contractId });
|
|
487
|
+
// Both modes render in `ready.ts`. Neither may be formatted here: a
|
|
488
|
+
// hand-rolled `JSON.stringify` at this call site is how `--json` came to
|
|
489
|
+
// print raw bidi overrides while the card beside it sanitised them.
|
|
490
|
+
if (options.json)
|
|
491
|
+
console.log(readyStatusJson(status));
|
|
492
|
+
else
|
|
493
|
+
printReadyStatus(status);
|
|
494
|
+
}));
|
|
495
|
+
// ── prepush ──────────────────────────────────────────────────────────────────
|
|
496
|
+
/**
|
|
497
|
+
* Real git pre-push invocations pipe the ref-update protocol on stdin (see
|
|
498
|
+
* `prepush.ts`'s module comment) and stdin is not a TTY. A manual, interactive
|
|
499
|
+
* run (`prismatica prepush` typed directly) has no such pipe — reading it
|
|
500
|
+
* would hang waiting for input that will never come, so it's skipped
|
|
501
|
+
* entirely and treated as "nothing to push" (see `verifyPrePush`).
|
|
502
|
+
*/
|
|
503
|
+
async function readStdin() {
|
|
504
|
+
if (process.stdin.isTTY) {
|
|
505
|
+
return '';
|
|
506
|
+
}
|
|
507
|
+
const chunks = [];
|
|
508
|
+
for await (const chunk of process.stdin) {
|
|
509
|
+
chunks.push(chunk);
|
|
510
|
+
}
|
|
511
|
+
return Buffer.concat(chunks).toString('utf8');
|
|
512
|
+
}
|
|
513
|
+
program
|
|
514
|
+
.command('prepush')
|
|
515
|
+
.description('pure pre-push verifier used by the generated git hook — makes no durable writes')
|
|
516
|
+
.action(guarded(async () => {
|
|
517
|
+
const stdinText = await readStdin();
|
|
518
|
+
const verdict = await verifyPrePush(process.cwd(), stdinText);
|
|
519
|
+
console.log(verdict.ok ? ui.ok(`✓ ${verdict.reason}`) : ui.bad(`✗ ${verdict.reason}`));
|
|
520
|
+
if (!verdict.ok) {
|
|
521
|
+
process.exitCode = 1;
|
|
522
|
+
}
|
|
523
|
+
}));
|
|
524
|
+
program
|
|
525
|
+
.command('review')
|
|
526
|
+
.description('draft a review bound to the change’s exact committed diff')
|
|
527
|
+
.argument('[contractId]', 'the contract id (resolved from the branch if omitted)')
|
|
528
|
+
.option('--reviewer <name>', 'who (or which agent) is reviewing')
|
|
529
|
+
.option('--agent <agent>', 'draft, then start that agent (claude|codex) as a fresh reviewer in the lane')
|
|
530
|
+
.option('--copy', 'copy the short reviewer pointer to the clipboard instead')
|
|
531
|
+
.option('--no-spawn', 'with --agent, print the launch command instead of running it')
|
|
532
|
+
.option('--model <model>', 'which model reviews (with --agent)')
|
|
533
|
+
.option('--effort <effort>', 'how hard that model thinks, where the provider supports it')
|
|
534
|
+
.option('--reconsider', 'draft again over work that has NOT changed since a sealed request-changes verdict (owner only, needs a terminal)')
|
|
535
|
+
.action(guarded(async (contractId, options) => {
|
|
536
|
+
const result = await runReview({
|
|
537
|
+
cwd: process.cwd(),
|
|
538
|
+
contractId,
|
|
539
|
+
reviewer: options.reviewer,
|
|
540
|
+
agent: options.agent,
|
|
541
|
+
copy: options.copy,
|
|
542
|
+
tuning: tuningFrom(options),
|
|
543
|
+
reconsider: options.reconsider,
|
|
544
|
+
interactive: isInteractive(),
|
|
545
|
+
});
|
|
546
|
+
printReviewResult(result);
|
|
547
|
+
if (result.mode === 'copy') {
|
|
548
|
+
const clip = await copyToClipboard(result.pointer);
|
|
549
|
+
console.log('');
|
|
550
|
+
console.log(clip.ok
|
|
551
|
+
? ui.ok(` copied to the clipboard via ${clip.tool}`)
|
|
552
|
+
: ui.warn(` could not copy automatically: ${clip.reason}`));
|
|
553
|
+
return;
|
|
554
|
+
}
|
|
555
|
+
// Deliberately its own spawn, not a shared helper with `open`: a review
|
|
556
|
+
// must never route through `runOpen` (it would advance the stage and
|
|
557
|
+
// rewrite `contract.builder`), and a helper both call is the first step
|
|
558
|
+
// back towards exactly that. Twelve duplicated lines are the cheaper
|
|
559
|
+
// guarantee. Nothing here reads, captures or parses the agent's output.
|
|
560
|
+
const shouldSpawn = options.spawn !== false && isInteractive();
|
|
561
|
+
if (result.mode === 'agent' && shouldSpawn && result.launchCommand) {
|
|
562
|
+
const spawned = await execa(result.launchCommand, result.launchArgs ?? [], {
|
|
563
|
+
cwd: result.worktree,
|
|
564
|
+
stdio: 'inherit',
|
|
565
|
+
reject: false,
|
|
566
|
+
env: agentExecutorEnv(),
|
|
567
|
+
extendEnv: true,
|
|
568
|
+
});
|
|
569
|
+
if (spawned.failed) {
|
|
570
|
+
console.log('');
|
|
571
|
+
// The draft is already written and still binds this exact diff — a
|
|
572
|
+
// failed launch costs the session, never the record.
|
|
573
|
+
console.log(ui.warn(` could not launch "${result.launchCommand}" — the review for ${result.review.contractId} is still drafted and bound to this diff`));
|
|
574
|
+
console.log(ui.dim(` start it yourself: ${reviewRecoveryLine(result)}`));
|
|
575
|
+
console.log(ui.dim(` or copy the lane pointer for any reviewer: prismatica review ${result.review.contractId} --copy`));
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
}));
|
|
579
|
+
// ── seal ─────────────────────────────────────────────────────────────────────
|
|
580
|
+
program
|
|
581
|
+
.command('seal')
|
|
582
|
+
.description('verify the diff still matches the review, then seal it')
|
|
583
|
+
.argument('[contractId]', 'the contract id (resolved from the branch if omitted)')
|
|
584
|
+
.option('--request-changes', 'seal with a request-changes verdict instead of approve')
|
|
585
|
+
.action(guarded(async (contractId, options) => {
|
|
586
|
+
const result = await runSeal({
|
|
587
|
+
cwd: process.cwd(),
|
|
588
|
+
contractId,
|
|
589
|
+
verdict: options.requestChanges ? 'request_changes' : 'approve',
|
|
590
|
+
});
|
|
591
|
+
printSealResult(result);
|
|
592
|
+
}));
|
|
593
|
+
// ── accept ───────────────────────────────────────────────────────────────────
|
|
594
|
+
program
|
|
595
|
+
.command('accept')
|
|
596
|
+
.description('record the owner’s signed decision over the exact diff')
|
|
597
|
+
.argument('[contractId]', 'the contract id (resolved from the branch if omitted)')
|
|
598
|
+
.option('--reject', 'record a rejection instead of an approval')
|
|
599
|
+
.option('--by <name>', 'who is deciding (default: owner)')
|
|
600
|
+
.action(guarded(async (contractId, options) => {
|
|
601
|
+
const result = await runAccept({
|
|
602
|
+
cwd: process.cwd(),
|
|
603
|
+
contractId,
|
|
604
|
+
decision: options.reject ? 'rejected' : 'approved',
|
|
605
|
+
by: options.by,
|
|
606
|
+
});
|
|
607
|
+
printAcceptResult(result);
|
|
608
|
+
}));
|
|
609
|
+
// ── gate ─────────────────────────────────────────────────────────────────────
|
|
610
|
+
program
|
|
611
|
+
.command('gate')
|
|
612
|
+
.description('the CI entrypoint: assert every requirement; non-zero exit blocks the merge')
|
|
613
|
+
.argument('[contractId]', 'the contract id (resolved from the branch/PR if omitted)')
|
|
614
|
+
.action(guarded(async (contractId) => {
|
|
615
|
+
const evaluation = await runGate({ cwd: process.cwd(), contractId });
|
|
616
|
+
printGateEvaluation(evaluation);
|
|
617
|
+
if (!evaluation.pass) {
|
|
618
|
+
process.exitCode = 1;
|
|
619
|
+
}
|
|
620
|
+
}));
|
|
621
|
+
program
|
|
622
|
+
.command('ship')
|
|
623
|
+
.description('open/refresh the PR; with --verify, run a live smoke journey and write the passport')
|
|
624
|
+
.argument('[contractId]', 'the contract id (resolved from the branch if omitted)')
|
|
625
|
+
.option('--verify', 'after merge + deploy: run the smoke journey and write the passport')
|
|
626
|
+
.option('--pr <url>', 'the merged PR URL (with --verify, when gh cannot find it)')
|
|
627
|
+
.option('--deploy-result <text>', 'what the deploy did (required with --verify)')
|
|
628
|
+
.option('--deploy-target <text>', 'where it deployed (optional)')
|
|
629
|
+
.option('--rollback <route>', 'the tested rollback route (required with --verify)')
|
|
630
|
+
.option('--smoke <command>', 'the live smoke journey command (defaults to the journeys check)')
|
|
631
|
+
.action(guarded(async (contractId, options) => {
|
|
632
|
+
const report = await runShip({
|
|
633
|
+
cwd: process.cwd(),
|
|
634
|
+
contractId,
|
|
635
|
+
verify: options.verify,
|
|
636
|
+
prUrl: options.pr,
|
|
637
|
+
deployResult: options.deployResult,
|
|
638
|
+
deployTarget: options.deployTarget,
|
|
639
|
+
rollbackRoute: options.rollback,
|
|
640
|
+
smokeCommand: options.smoke,
|
|
641
|
+
});
|
|
642
|
+
printShipReport(report);
|
|
643
|
+
if (!report.shipped) {
|
|
644
|
+
process.exitCode = 1;
|
|
645
|
+
}
|
|
646
|
+
}));
|
|
647
|
+
// ── merge ────────────────────────────────────────────────────────────────────
|
|
648
|
+
program
|
|
649
|
+
.command('merge')
|
|
650
|
+
.description('exact-SHA, owner-guarded merge — requires a passing prismatica-gate for this exact head')
|
|
651
|
+
.argument('[contractId]', 'the contract id (resolved from the branch if omitted)')
|
|
652
|
+
.action(guarded(async (contractId) => {
|
|
653
|
+
const result = await runMerge({ cwd: process.cwd(), contractId });
|
|
654
|
+
printMergeResult(result);
|
|
655
|
+
}));
|
|
656
|
+
// ── close ────────────────────────────────────────────────────────────────────
|
|
657
|
+
program
|
|
658
|
+
.command('close')
|
|
659
|
+
.description("remove a shipped change's lane, once GitHub confirms its exact head merged")
|
|
660
|
+
.argument('[contractId]', 'the contract id (resolved from the branch if omitted)')
|
|
661
|
+
.action(guarded(async (contractId) => {
|
|
662
|
+
const report = await runClose({ cwd: process.cwd(), contractId });
|
|
663
|
+
printCloseResult(report);
|
|
664
|
+
}));
|
|
665
|
+
// ── abandon ──────────────────────────────────────────────────────────────────
|
|
666
|
+
program
|
|
667
|
+
.command('abandon')
|
|
668
|
+
.description('stop a change you have decided not to finish: close its PR, archive its records on its own branch, remove the lane')
|
|
669
|
+
.argument('[contractId]', 'the contract id (resolved from the branch if omitted)')
|
|
670
|
+
.requiredOption('--reason <text>', 'why this change is being abandoned — recorded, and required')
|
|
671
|
+
.action(guarded(async (contractId, options) => {
|
|
672
|
+
const report = await runAbandon({ cwd: process.cwd(), contractId, reason: options.reason });
|
|
673
|
+
printAbandonResult(report);
|
|
674
|
+
}));
|
|
675
|
+
// ── doctor ───────────────────────────────────────────────────────────────────
|
|
676
|
+
program
|
|
677
|
+
.command('doctor')
|
|
678
|
+
.description('repo health: tree, lanes, GitHub, CLAUDE.md, skill map, and the adoption score')
|
|
679
|
+
.option('--skip-github', 'do not contact GitHub')
|
|
680
|
+
.action(guarded(async (options) => {
|
|
681
|
+
const report = await runDoctor({ cwd: process.cwd(), skipGithub: options.skipGithub });
|
|
682
|
+
const config = loadConfig(await git.mainRepoRoot(process.cwd()));
|
|
683
|
+
printDoctorReport(report, config);
|
|
684
|
+
}));
|
|
685
|
+
// ── stats ────────────────────────────────────────────────────────────────────
|
|
686
|
+
program
|
|
687
|
+
.command('stats')
|
|
688
|
+
.description('cost per accepted change, median rework loops, and escaped bugs')
|
|
689
|
+
.action(guarded(async () => {
|
|
690
|
+
printStatsReport(await runStats({ cwd: process.cwd() }));
|
|
691
|
+
}));
|
|
692
|
+
program
|
|
693
|
+
.command('view')
|
|
694
|
+
.description('start the local board: Needs You, Work, Apps, Releases (127.0.0.1 only)')
|
|
695
|
+
.option('--port <port>', 'port to listen on', '4179')
|
|
696
|
+
.option('--here', 'show only the current repo, ignoring the registry')
|
|
697
|
+
.option('--no-open', 'do not open the browser automatically')
|
|
698
|
+
.action(guarded(async (options) => {
|
|
699
|
+
const port = Number.parseInt(options.port, 10);
|
|
700
|
+
if (Number.isNaN(port) || port < 0 || port > 65535) {
|
|
701
|
+
throw new UserError(`"${options.port}" is not a valid port.`);
|
|
702
|
+
}
|
|
703
|
+
await runView({ cwd: process.cwd(), port, here: options.here, open: options.open });
|
|
704
|
+
// keep the process alive; Ctrl-C stops the server
|
|
705
|
+
await new Promise(() => { });
|
|
706
|
+
}));
|
|
707
|
+
// ── forget ───────────────────────────────────────────────────────────────────
|
|
708
|
+
program
|
|
709
|
+
.command('forget')
|
|
710
|
+
.description('remove a repo from the board (records are untouched)')
|
|
711
|
+
.argument('[path]', 'repo path to forget (default: the current repo)')
|
|
712
|
+
.option('--gone', 'forget every repo that no longer exists on disk')
|
|
713
|
+
.option('--all', 'clear the board entirely')
|
|
714
|
+
.action(guarded(async (path, options) => {
|
|
715
|
+
const result = await runForget({
|
|
716
|
+
cwd: process.cwd(),
|
|
717
|
+
path,
|
|
718
|
+
gone: options.gone,
|
|
719
|
+
all: options.all,
|
|
720
|
+
});
|
|
721
|
+
printForgetResult(result);
|
|
722
|
+
}));
|
|
723
|
+
// ── context ──────────────────────────────────────────────────────────────────
|
|
724
|
+
/**
|
|
725
|
+
* The export half of the seam, and the one part of it an OWNER does not
|
|
726
|
+
* normally touch.
|
|
727
|
+
*
|
|
728
|
+
* Prismatica runs no planning agent: it hands one a document — the snapshot,
|
|
729
|
+
* provider-neutral instructions, and the JSON Schema for the answer — and the
|
|
730
|
+
* agent reads it. In the normal journey the SKILL runs these commands for
|
|
731
|
+
* itself, mid-conversation, and the owner never sees them: they describe what
|
|
732
|
+
* they want to Prismatica Start (or Understand), settle it, and receive one
|
|
733
|
+
* `prismatica start --import …` line to run in their own terminal.
|
|
734
|
+
*
|
|
735
|
+
* They stay published, and deliberately so — an agent with no Prismatica
|
|
736
|
+
* plugin, or an owner debugging what a skill was actually given, needs a way
|
|
737
|
+
* in. But the help says plainly who they are for, because a command an owner
|
|
738
|
+
* reads as "step one" is a command they will run as step one.
|
|
739
|
+
*/
|
|
740
|
+
const CONTEXT_HELP = `
|
|
741
|
+
These are machine-facing. In the normal journey you never run them:
|
|
742
|
+
|
|
743
|
+
1. Open your coding agent and use Prismatica Start (or Understand).
|
|
744
|
+
2. Describe what you need and settle the plan in conversation.
|
|
745
|
+
3. The skill runs \`prismatica context …\` itself and reads the repository.
|
|
746
|
+
4. It hands you the matching \`prismatica … --import <proposal.json>\` command
|
|
747
|
+
to run in your own terminal, where you review it and confirm.
|
|
748
|
+
|
|
749
|
+
They write nothing: no record, no repository file, and nothing at any path a
|
|
750
|
+
caller chooses — just one JSON file in a private OS temporary directory. That
|
|
751
|
+
is what makes them safe for an agent to run for itself.
|
|
752
|
+
|
|
753
|
+
Running one by hand is supported, and is the route for an agent with no
|
|
754
|
+
Prismatica plugin: hand it the printed file, then import the answer it saves.`;
|
|
755
|
+
const contextCmd = program
|
|
756
|
+
.command('context')
|
|
757
|
+
.description('machine-facing read-only context for Prismatica skills/agents')
|
|
758
|
+
.addHelpText('after', CONTEXT_HELP);
|
|
759
|
+
// Neither takes an argument, and neither takes a destination. What the owner
|
|
760
|
+
// wants is settled in the conversation they are already having with the agent
|
|
761
|
+
// and comes back inside the answer; the file always lands in a fresh private OS
|
|
762
|
+
// temp directory, because these are among the very few commands an AGENT may
|
|
763
|
+
// run for itself and a caller-supplied path would make a read-only export into
|
|
764
|
+
// a write primitive aimed anywhere the process can reach.
|
|
765
|
+
contextCmd
|
|
766
|
+
.command('start')
|
|
767
|
+
.description('read-only context for the Start skill — normally run by it, not by you')
|
|
768
|
+
.addHelpText('after', `${CONTEXT_HELP}
|
|
769
|
+
|
|
770
|
+
Prismatica Start owns the conversation: it settles what you want and who will
|
|
771
|
+
build it, and both travel back inside the plan. That is why this takes no
|
|
772
|
+
argument — there is nothing for you to type here that the conversation has not
|
|
773
|
+
already decided. Its answer comes back through \`prismatica start --import\`.`)
|
|
774
|
+
.action(guarded(async () => {
|
|
775
|
+
printContextResult(await runContext({ cwd: process.cwd(), kind: 'start' }));
|
|
776
|
+
}));
|
|
777
|
+
contextCmd
|
|
778
|
+
.command('discover')
|
|
779
|
+
.description('read-only context for the Understand skill — normally run by it, not by you')
|
|
780
|
+
.addHelpText('after', `${CONTEXT_HELP}
|
|
781
|
+
|
|
782
|
+
Prismatica Understand owns the conversation here; this only supplies the
|
|
783
|
+
authoritative machine context it reads. The answer it writes goes back through
|
|
784
|
+
\`prismatica discover --import\` (the map of the app → main) or
|
|
785
|
+
\`prismatica propose --import\` (noticed while building → that change's lane),
|
|
786
|
+
and those two ARE yours to run.`)
|
|
787
|
+
.action(guarded(async () => {
|
|
788
|
+
printContextResult(await runContext({ cwd: process.cwd(), kind: 'discover' }));
|
|
789
|
+
}));
|
|
790
|
+
program
|
|
791
|
+
.command('start')
|
|
792
|
+
.description('import an agent-written plan, preview it, and start the change')
|
|
793
|
+
.option('--import <file>', 'the JSON answer your agent produced from `context start`')
|
|
794
|
+
.option('--resume <contractId>', 'finish a change whose lane already exists')
|
|
795
|
+
.option('--issue <url-or-#number>', 'link an issue you already have instead of creating one')
|
|
796
|
+
.option('--no-hook', 'do not install the scope hook in the new lane')
|
|
797
|
+
.action(guarded(async (options) => {
|
|
798
|
+
if (!isInteractive()) {
|
|
799
|
+
// `start` asks the owner a question nothing may answer for them.
|
|
800
|
+
// Without a terminal there is no owner to ask, and there is no
|
|
801
|
+
// `--yes`: the whole point of the confirmation is that a person saw
|
|
802
|
+
// the plan and the issue text before either existed anywhere.
|
|
803
|
+
throw new UserError('`start` needs a terminal — it shows you the plan and the issue it will file, and asks you to confirm.', {
|
|
804
|
+
command: startCommand({
|
|
805
|
+
importFile: options.import ?? '<answer.json>',
|
|
806
|
+
resume: options.resume,
|
|
807
|
+
issue: options.issue,
|
|
808
|
+
installHook: options.hook,
|
|
809
|
+
}),
|
|
810
|
+
why: 'run it yourself; nothing may start a change on your behalf',
|
|
811
|
+
});
|
|
812
|
+
}
|
|
813
|
+
printStartOutcome(await runStart({
|
|
814
|
+
cwd: process.cwd(),
|
|
815
|
+
importFile: options.import ?? '',
|
|
816
|
+
resume: options.resume,
|
|
817
|
+
issue: options.issue,
|
|
818
|
+
installHook: options.hook,
|
|
819
|
+
prompts: { confirm },
|
|
820
|
+
}));
|
|
821
|
+
}));
|
|
822
|
+
// ── discover / propose ───────────────────────────────────────────────────────
|
|
823
|
+
/**
|
|
824
|
+
* The import half, twice, differing in one thing: WHERE the proposals land.
|
|
825
|
+
* `discover` writes the map of the app to main; `propose` writes to the change
|
|
826
|
+
* lane you are building in. The document chooses neither — the command does.
|
|
827
|
+
*/
|
|
828
|
+
program
|
|
829
|
+
.command('discover')
|
|
830
|
+
.description("import an agent's Flow/Rule proposals for the whole app (writes to main)")
|
|
831
|
+
.option('--import <file>', 'the JSON answer your agent produced from `context discover`')
|
|
832
|
+
.action(guarded(async (options) => {
|
|
833
|
+
printDiscoverResult(await runDiscover({ cwd: process.cwd(), importFile: options.import }));
|
|
834
|
+
}));
|
|
835
|
+
program
|
|
836
|
+
.command('propose')
|
|
837
|
+
.description("import an agent's Flow/Rule proposals into the change lane you are building in")
|
|
838
|
+
.argument('[contractId]', 'the contract id (resolved from the branch if omitted)')
|
|
839
|
+
.option('--import <file>', 'the JSON answer your agent produced from `context discover`')
|
|
840
|
+
.action(guarded(async (contractId, options) => {
|
|
841
|
+
printProposeResult(await runPropose({ cwd: process.cwd(), contractId, importFile: options.import }));
|
|
842
|
+
}));
|
|
843
|
+
// ── flow ─────────────────────────────────────────────────────────────────────
|
|
844
|
+
const flowCmd = program.command('flow').description('review, approve, and verify Flows');
|
|
845
|
+
flowCmd
|
|
846
|
+
.command('list')
|
|
847
|
+
.description('what this app does — every flow, grouped, in reading order')
|
|
848
|
+
.addHelpText('after', `
|
|
849
|
+
Example:
|
|
850
|
+
prismatica flow list what the app does, and anything that needs you`)
|
|
851
|
+
.action(guarded(async () => {
|
|
852
|
+
printFlowList(await runFlowList({ cwd: process.cwd() }));
|
|
853
|
+
}));
|
|
854
|
+
flowCmd
|
|
855
|
+
.command('show')
|
|
856
|
+
.description('the story of one flow: what it does, in order, and how solid the proof is')
|
|
857
|
+
.argument('<id>', 'the flow id')
|
|
858
|
+
.option('--details', 'the assumptions and preconditions each step relies on')
|
|
859
|
+
.option('--proof', 'how every step was verified, step by step')
|
|
860
|
+
.option('--code', 'where this flow lives in the code')
|
|
861
|
+
.option('--json', 'the same view as stable JSON (for scripts)')
|
|
862
|
+
.addHelpText('after', `
|
|
863
|
+
Examples:
|
|
864
|
+
prismatica flow show prove-a-change-with-check
|
|
865
|
+
prismatica flow show prove-a-change-with-check --proof --code
|
|
866
|
+
prismatica flow show prove-a-change-with-check --json | jq .steps
|
|
867
|
+
|
|
868
|
+
The flags compose; --json prints the view model instead of prose and ignores the rest.`)
|
|
869
|
+
.action(guarded(async (id, options) => {
|
|
870
|
+
printFlowShow(await runFlowShow({ cwd: process.cwd(), id }), options);
|
|
871
|
+
}));
|
|
872
|
+
flowCmd
|
|
873
|
+
.command('approve')
|
|
874
|
+
.description('approve a draft or proposed update — writes the canonical flow')
|
|
875
|
+
.argument('[id]', 'the proposal id (matches the target flow id); omit with --all')
|
|
876
|
+
.option('--by <name>', 'who is approving (default: owner)')
|
|
877
|
+
.option('--all', 'review every pending proposal together and approve them with one confirmation')
|
|
878
|
+
.action(guarded(async (id, options) => {
|
|
879
|
+
if (options.all) {
|
|
880
|
+
// `--all` is one REVIEWED confirmation, never a blind switch: the
|
|
881
|
+
// batch is printed in full first, and there is deliberately no --yes.
|
|
882
|
+
if (!isInteractive()) {
|
|
883
|
+
throw new UserError('`--all` needs a terminal — it shows you the batch and asks once.', {
|
|
884
|
+
command: 'prismatica flow list',
|
|
885
|
+
why: "approval is the owner's, so nothing may confirm a batch unattended",
|
|
886
|
+
});
|
|
887
|
+
}
|
|
888
|
+
printBatchApproveResult(await runFlowApproveAll({
|
|
889
|
+
cwd: process.cwd(),
|
|
890
|
+
by: options.by,
|
|
891
|
+
confirm: async (preview) => {
|
|
892
|
+
console.log('');
|
|
893
|
+
console.log(ui.bold(`${preview.length} pending flow proposal(s)`));
|
|
894
|
+
for (const item of preview) {
|
|
895
|
+
const what = item.alreadyApplied
|
|
896
|
+
? 'ALREADY APPLIED (finishing an interrupted run — clears the leftover draft, signs nothing)'
|
|
897
|
+
: item.action === 'new'
|
|
898
|
+
? 'NEW flow'
|
|
899
|
+
: 'UPDATE to existing truth';
|
|
900
|
+
console.log('');
|
|
901
|
+
console.log(ui.bullet(`${item.id} — ${what} — ${item.reason}`));
|
|
902
|
+
// The truth itself, in full. Approving SIGNS this; a summary
|
|
903
|
+
// line would make the signature consent to something unread.
|
|
904
|
+
for (const line of item.truthText.split('\n')) {
|
|
905
|
+
console.log(` ${line}`);
|
|
906
|
+
}
|
|
907
|
+
console.log(ui.dim(` truth hash: ${item.truthHash}`));
|
|
908
|
+
}
|
|
909
|
+
console.log('');
|
|
910
|
+
return confirm({ message: `Approve all ${preview.length}?`, default: false });
|
|
911
|
+
},
|
|
912
|
+
}), 'flow');
|
|
913
|
+
return;
|
|
914
|
+
}
|
|
915
|
+
if (!id) {
|
|
916
|
+
throw new UserError('Which proposal? Give an id, or use --all to review every pending one.', {
|
|
917
|
+
command: 'prismatica flow list',
|
|
918
|
+
why: 'see what is pending first',
|
|
919
|
+
});
|
|
920
|
+
}
|
|
921
|
+
printFlowApproveResult(await runFlowApprove({ cwd: process.cwd(), id, by: options.by }));
|
|
922
|
+
}));
|
|
923
|
+
flowCmd
|
|
924
|
+
.command('dismiss')
|
|
925
|
+
.description('keep the current flow — discard a pending draft or proposed update')
|
|
926
|
+
.argument('<id>', 'the proposal id')
|
|
927
|
+
.action(guarded(async (id) => {
|
|
928
|
+
printFlowDismissResult(id, await runFlowDismiss({ cwd: process.cwd(), id }));
|
|
929
|
+
}));
|
|
930
|
+
flowCmd
|
|
931
|
+
.command('verify')
|
|
932
|
+
.description('mark evidence as manually verified (all steps, or one with --step)')
|
|
933
|
+
.argument('<id>', 'the flow id')
|
|
934
|
+
.option('--step <n>', 'verify only this step number')
|
|
935
|
+
.action(guarded(async (id, options) => {
|
|
936
|
+
const step = options.step ? Number.parseInt(options.step, 10) : undefined;
|
|
937
|
+
printFlowVerifyResult(await runFlowVerify({ cwd: process.cwd(), id, step }));
|
|
938
|
+
}));
|
|
939
|
+
flowCmd
|
|
940
|
+
.command('status')
|
|
941
|
+
.description('set a flow’s status directly — no approval needed (works|planned|idea|uncertain)')
|
|
942
|
+
.argument('<id>', 'the flow id')
|
|
943
|
+
.argument('<status>', 'works | planned | idea | uncertain')
|
|
944
|
+
.action(guarded(async (id, status) => {
|
|
945
|
+
printFlowStatusResult(await runFlowStatus({ cwd: process.cwd(), id, status }));
|
|
946
|
+
}));
|
|
947
|
+
flowCmd
|
|
948
|
+
.command('report')
|
|
949
|
+
.description('the pre-check honesty record: what this change touched, flow by flow (run inside the lane)')
|
|
950
|
+
.option('--flow <id>', 'the flow this entry is about')
|
|
951
|
+
.option('--status <status>', `entry status (${FLOW_REPORT_STATUSES.join('|')})`)
|
|
952
|
+
.option('--reason <text>', 'why — the honest account, required')
|
|
953
|
+
.option('--steps <numbers>', 'comma-separated step numbers this entry covers')
|
|
954
|
+
.option('--none', 'assert no flows were affected by this change at all')
|
|
955
|
+
.option('--auto', "record what this change's own diff proves — one entry per directly-matched flow; never decides whether behaviour changed")
|
|
956
|
+
.action(guarded(async (options) => {
|
|
957
|
+
const status = options.status;
|
|
958
|
+
if (status && !FLOW_REPORT_STATUSES.includes(status)) {
|
|
959
|
+
throw new UserError(`Unknown status "${options.status}". Use one of: ${FLOW_REPORT_STATUSES.join(', ')}.`);
|
|
960
|
+
}
|
|
961
|
+
const steps = options.steps
|
|
962
|
+
? options.steps.split(',').map((s) => Number.parseInt(s.trim(), 10))
|
|
963
|
+
: undefined;
|
|
964
|
+
printFlowReportResult(await runFlowReport({
|
|
965
|
+
cwd: process.cwd(),
|
|
966
|
+
none: options.none,
|
|
967
|
+
auto: options.auto,
|
|
968
|
+
flowId: options.flow,
|
|
969
|
+
status,
|
|
970
|
+
reason: options.reason,
|
|
971
|
+
steps,
|
|
972
|
+
}));
|
|
973
|
+
}));
|
|
974
|
+
// ── rules ────────────────────────────────────────────────────────────────────
|
|
975
|
+
const rulesCmd = program.command('rules').description('review, approve, and verify app Rules');
|
|
976
|
+
rulesCmd
|
|
977
|
+
.command('list')
|
|
978
|
+
.description('what must stay true across this app — every rule in full')
|
|
979
|
+
.option('--details', 'which flows name each rule')
|
|
980
|
+
.option('--json', 'the same view as stable JSON (for scripts)')
|
|
981
|
+
.addHelpText('after', `
|
|
982
|
+
Examples:
|
|
983
|
+
prismatica rules list
|
|
984
|
+
prismatica rules list --details`)
|
|
985
|
+
.action(guarded(async (options) => {
|
|
986
|
+
printRulesList(await runRulesList({ cwd: process.cwd() }), options);
|
|
987
|
+
}));
|
|
988
|
+
rulesCmd
|
|
989
|
+
.command('approve')
|
|
990
|
+
.description('approve a candidate or proposed rule change')
|
|
991
|
+
.argument('[id]', 'the rule proposal id; omit with --all')
|
|
992
|
+
.option('--by <name>', 'who is approving (default: owner)')
|
|
993
|
+
.option('--all', 'review every pending rule together and approve them with one confirmation')
|
|
994
|
+
.action(guarded(async (id, options) => {
|
|
995
|
+
if (options.all) {
|
|
996
|
+
if (!isInteractive()) {
|
|
997
|
+
throw new UserError('`--all` needs a terminal — it shows you the batch and asks once.', {
|
|
998
|
+
command: 'prismatica rules list',
|
|
999
|
+
why: "approval is the owner's, so nothing may confirm a batch unattended",
|
|
1000
|
+
});
|
|
1001
|
+
}
|
|
1002
|
+
printBatchApproveResult(await runRulesApproveAll({
|
|
1003
|
+
cwd: process.cwd(),
|
|
1004
|
+
by: options.by,
|
|
1005
|
+
confirm: async (preview) => {
|
|
1006
|
+
console.log('');
|
|
1007
|
+
console.log(ui.bold(`${preview.length} pending rule proposal(s)`));
|
|
1008
|
+
for (const item of preview) {
|
|
1009
|
+
const what = item.alreadyApplied
|
|
1010
|
+
? 'ALREADY APPLIED (finishing an interrupted run — clears the leftover proposal, changes no rule)'
|
|
1011
|
+
: item.action === 'new'
|
|
1012
|
+
? 'NEW rule'
|
|
1013
|
+
: 'UPDATE';
|
|
1014
|
+
console.log(ui.bullet(`${item.id} — ${what}`));
|
|
1015
|
+
if (item.previousText !== undefined && item.previousText !== item.text) {
|
|
1016
|
+
console.log(` − ${item.previousText}`);
|
|
1017
|
+
}
|
|
1018
|
+
console.log(` ${item.previousText === undefined ? ' ' : '+'} ${item.text}`);
|
|
1019
|
+
if (item.action === 'new') {
|
|
1020
|
+
console.log(ui.dim(` created at: ${item.createdAt}`));
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
console.log('');
|
|
1024
|
+
return confirm({ message: `Approve all ${preview.length}?`, default: false });
|
|
1025
|
+
},
|
|
1026
|
+
}), 'rule');
|
|
1027
|
+
return;
|
|
1028
|
+
}
|
|
1029
|
+
if (!id) {
|
|
1030
|
+
throw new UserError('Which rule proposal? Give an id, or use --all to review every pending one.', {
|
|
1031
|
+
command: 'prismatica rules list',
|
|
1032
|
+
why: 'see what is pending first',
|
|
1033
|
+
});
|
|
1034
|
+
}
|
|
1035
|
+
printRulesApproveResult(await runRulesApprove({ cwd: process.cwd(), id, by: options.by }));
|
|
1036
|
+
}));
|
|
1037
|
+
rulesCmd
|
|
1038
|
+
.command('dismiss')
|
|
1039
|
+
.description('discard a pending rule proposal')
|
|
1040
|
+
.argument('<id>', 'the rule proposal id')
|
|
1041
|
+
.action(guarded(async (id) => {
|
|
1042
|
+
printRulesDismissResult(id, await runRulesDismiss({ cwd: process.cwd(), id }));
|
|
1043
|
+
}));
|
|
1044
|
+
rulesCmd
|
|
1045
|
+
.command('verify')
|
|
1046
|
+
.description('mark a rule as manually verified')
|
|
1047
|
+
.argument('<id>', 'the rule id')
|
|
1048
|
+
.action(guarded(async (id) => {
|
|
1049
|
+
printRulesVerifyResult(await runRulesVerify({ cwd: process.cwd(), id }));
|
|
1050
|
+
}));
|
|
1051
|
+
// ── delta ────────────────────────────────────────────────────────────────────
|
|
1052
|
+
const deltaCmd = program
|
|
1053
|
+
.command('delta')
|
|
1054
|
+
.description('propose, review, and approve a change to a Flow — the seed for `frame --from-delta`');
|
|
1055
|
+
deltaCmd
|
|
1056
|
+
.command('new')
|
|
1057
|
+
.description('propose a delta: what happens today, what should happen instead')
|
|
1058
|
+
.requiredOption('--flow <id>', 'the flow this delta is about')
|
|
1059
|
+
.option('--step <n>', 'which step, if this is about one specific step')
|
|
1060
|
+
.requiredOption('--today <text>', 'what happens now')
|
|
1061
|
+
.requiredOption('--instead <text>', "what should happen (also becomes the framed change's title)")
|
|
1062
|
+
.option('--keep <text>', 'something that must not change (repeatable)', collect, [])
|
|
1063
|
+
.option('--assume <text>', 'a new assumption this change adds or relies on (repeatable)', collect, [])
|
|
1064
|
+
.requiredOption('--show-me <text>', 'how the result will be demonstrated (seeds the acceptance check)')
|
|
1065
|
+
.action(guarded(async (options) => {
|
|
1066
|
+
printDeltaNewResult(await runDeltaNew({
|
|
1067
|
+
cwd: process.cwd(),
|
|
1068
|
+
flowId: options.flow,
|
|
1069
|
+
step: options.step ? Number.parseInt(options.step, 10) : undefined,
|
|
1070
|
+
today: options.today,
|
|
1071
|
+
instead: options.instead,
|
|
1072
|
+
keep: options.keep,
|
|
1073
|
+
assumptions: options.assume,
|
|
1074
|
+
showMe: options.showMe,
|
|
1075
|
+
}));
|
|
1076
|
+
}));
|
|
1077
|
+
deltaCmd
|
|
1078
|
+
.command('list')
|
|
1079
|
+
.description('list deltas and their status')
|
|
1080
|
+
.action(guarded(async () => {
|
|
1081
|
+
printDeltaList(await runDeltaList({ cwd: process.cwd() }));
|
|
1082
|
+
}));
|
|
1083
|
+
deltaCmd
|
|
1084
|
+
.command('show')
|
|
1085
|
+
.description('show one delta as a readable card')
|
|
1086
|
+
.argument('<id>', 'the delta id')
|
|
1087
|
+
.action(guarded(async (id) => {
|
|
1088
|
+
printDeltaShow(await runDeltaShow({ cwd: process.cwd(), id }));
|
|
1089
|
+
}));
|
|
1090
|
+
deltaCmd
|
|
1091
|
+
.command('approve')
|
|
1092
|
+
.description('approve a proposed delta — next: `frame --from-delta`')
|
|
1093
|
+
.argument('<id>', 'the delta id')
|
|
1094
|
+
.action(guarded(async (id) => {
|
|
1095
|
+
printDeltaApprove(await runDeltaApprove({ cwd: process.cwd(), id }));
|
|
1096
|
+
}));
|
|
1097
|
+
deltaCmd
|
|
1098
|
+
.command('reject')
|
|
1099
|
+
.description('reject a proposed delta — keeps the current flow as-is')
|
|
1100
|
+
.argument('<id>', 'the delta id')
|
|
1101
|
+
.action(guarded(async (id) => {
|
|
1102
|
+
printDeltaReject(await runDeltaReject({ cwd: process.cwd(), id }));
|
|
1103
|
+
}));
|
|
1104
|
+
// ── guide ────────────────────────────────────────────────────────────────────
|
|
1105
|
+
program
|
|
1106
|
+
.command('guide')
|
|
1107
|
+
.description('the plain-English guide to the whole loop (or one topic)')
|
|
1108
|
+
.argument('[topic]', 'gettingstarted | loop | next | terms | adopt | flows | deltas | handoff | discover | frame | check | review | ship | board | understand')
|
|
1109
|
+
.action(guarded(async (topic) => {
|
|
1110
|
+
console.log(runGuide(topic));
|
|
1111
|
+
}));
|
|
1112
|
+
// The preAction hook throws OUTSIDE any action, so `guarded` cannot see it.
|
|
1113
|
+
// Same presentation either way: a plain message and the exact next command.
|
|
1114
|
+
try {
|
|
1115
|
+
await program.parseAsync(process.argv);
|
|
1116
|
+
}
|
|
1117
|
+
catch (error) {
|
|
1118
|
+
reportError(error);
|
|
1119
|
+
}
|
|
1120
|
+
//# sourceMappingURL=cli.js.map
|