@askdkc/dsh-cli 0.11.7 → 0.12.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 +1 -0
- package/README.md +47 -283
- package/cordis.patch.yml +1 -0
- package/cordis.yml +1 -0
- package/lib/types/adapter/channel/ui-policy.d.ts +1 -1
- package/lib/types/adapter/channel/ui-policy.d.ts.map +1 -1
- package/lib/types/adapter/channel/ui-policy.js +1 -0
- package/lib/types/adapter/ports/channel-ui.d.ts +2 -0
- package/lib/types/adapter/ports/channel-ui.d.ts.map +1 -1
- package/lib/types/components/LogoV2.d.ts +2 -1
- package/lib/types/components/LogoV2.d.ts.map +1 -1
- package/lib/types/components/LogoV2.js +9 -15
- package/lib/types/components/ModelPicker.d.ts +9 -11
- package/lib/types/components/ModelPicker.d.ts.map +1 -1
- package/lib/types/components/ModelPicker.js +6 -9
- package/lib/types/components/Spinner/SpinnerAnimationRow.d.ts +6 -1
- package/lib/types/components/Spinner/SpinnerAnimationRow.d.ts.map +1 -1
- package/lib/types/components/Spinner/SpinnerAnimationRow.js +8 -9
- package/lib/types/components/WorkingSpinner.d.ts +3 -1
- package/lib/types/components/WorkingSpinner.d.ts.map +1 -1
- package/lib/types/components/WorkingSpinner.js +9 -4
- package/lib/types/components/bigfont.d.ts +2 -0
- package/lib/types/components/bigfont.d.ts.map +1 -1
- package/lib/types/components/bigfont.js +5 -1
- package/lib/types/components/splashLayout.d.ts +12 -0
- package/lib/types/components/splashLayout.d.ts.map +1 -0
- package/lib/types/components/splashLayout.js +18 -0
- package/lib/types/dsh-adapter/activity-store.d.ts +1 -1
- package/lib/types/dsh-adapter/activity-store.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/projection.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/projection.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/projection.js +4 -0
- package/lib/types/dsh-adapter/channel/session-reset.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-reset.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-reset.js +2 -0
- package/lib/types/dsh-adapter/channel/state.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/state.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/state.js +2 -1
- package/lib/types/i18n.d.ts +32 -2
- package/lib/types/i18n.d.ts.map +1 -1
- package/lib/types/i18n.js +19 -1
- package/lib/types/modelGroups.d.ts +3 -1
- package/lib/types/modelGroups.d.ts.map +1 -1
- package/lib/types/modelGroups.js +4 -0
- package/lib/types/screens/Chat.d.ts.map +1 -1
- package/lib/types/screens/Chat.js +37 -37
- package/node_modules/@askdkc/dsh-auth/LICENSE +1 -0
- package/node_modules/@askdkc/dsh-auth/README.ja.md +17 -12
- package/node_modules/@askdkc/dsh-auth/README.md +18 -13
- package/node_modules/@askdkc/dsh-auth/package.json +7 -2
- package/node_modules/dsh-working-activity/LICENSE +28 -0
- package/node_modules/dsh-working-activity/README.md +16 -0
- package/node_modules/dsh-working-activity/cordis.patch.yml +19 -0
- package/node_modules/dsh-working-activity/lib/client.js +169 -0
- package/node_modules/dsh-working-activity/lib/client.js.map +1 -0
- package/node_modules/dsh-working-activity/lib/types/activity-event.d.ts +147 -0
- package/node_modules/dsh-working-activity/lib/types/activity-event.js +18 -0
- package/node_modules/dsh-working-activity/lib/types/client/WorkingLine.d.ts +8 -0
- package/node_modules/dsh-working-activity/lib/types/client/WorkingLine.d.ts.map +1 -0
- package/node_modules/dsh-working-activity/lib/types/client/WorkingLine.js +57 -0
- package/node_modules/dsh-working-activity/lib/types/client/activity.d.ts +37 -0
- package/node_modules/dsh-working-activity/lib/types/client/activity.d.ts.map +1 -0
- package/node_modules/dsh-working-activity/lib/types/client/activity.js +26 -0
- package/node_modules/dsh-working-activity/lib/types/client/elapsed.d.ts +41 -0
- package/node_modules/dsh-working-activity/lib/types/client/elapsed.d.ts.map +1 -0
- package/node_modules/dsh-working-activity/lib/types/client/elapsed.js +78 -0
- package/node_modules/dsh-working-activity/lib/types/client/index.d.ts +26 -0
- package/node_modules/dsh-working-activity/lib/types/client/index.d.ts.map +1 -0
- package/node_modules/dsh-working-activity/lib/types/client/index.js +19 -0
- package/node_modules/dsh-working-activity/lib/types/compat/assistant-stream.d.ts +59 -0
- package/node_modules/dsh-working-activity/lib/types/compat/assistant-stream.js +189 -0
- package/node_modules/dsh-working-activity/lib/types/compat/session-events.d.ts +38 -0
- package/node_modules/dsh-working-activity/lib/types/compat/session-events.js +193 -0
- package/node_modules/dsh-working-activity/lib/types/compat/tool-result.d.ts +72 -0
- package/node_modules/dsh-working-activity/lib/types/compat/tool-result.js +136 -0
- package/node_modules/dsh-working-activity/lib/types/config.d.ts +74 -0
- package/node_modules/dsh-working-activity/lib/types/config.js +142 -0
- package/node_modules/dsh-working-activity/lib/types/events.d.ts +41 -0
- package/node_modules/dsh-working-activity/lib/types/events.js +9 -0
- package/node_modules/dsh-working-activity/lib/types/frames.d.ts +36 -0
- package/node_modules/dsh-working-activity/lib/types/frames.js +126 -0
- package/node_modules/dsh-working-activity/lib/types/index.d.ts +71 -0
- package/node_modules/dsh-working-activity/lib/types/index.js +350 -0
- package/node_modules/dsh-working-activity/lib/types/invariant.d.ts +15 -0
- package/node_modules/dsh-working-activity/lib/types/invariant.js +72 -0
- package/node_modules/dsh-working-activity/lib/types/japanese.d.ts +28 -0
- package/node_modules/dsh-working-activity/lib/types/japanese.js +47 -0
- package/node_modules/dsh-working-activity/lib/types/lang.d.ts +140 -0
- package/node_modules/dsh-working-activity/lib/types/lang.js +209 -0
- package/node_modules/dsh-working-activity/lib/types/phrases.d.ts +246 -0
- package/node_modules/dsh-working-activity/lib/types/phrases.js +611 -0
- package/node_modules/dsh-working-activity/lib/types/projection.d.ts +168 -0
- package/node_modules/dsh-working-activity/lib/types/projection.js +162 -0
- package/node_modules/dsh-working-activity/lib/types/registration.d.ts +6 -0
- package/node_modules/dsh-working-activity/lib/types/registration.js +94 -0
- package/node_modules/dsh-working-activity/lib/types/status.d.ts +400 -0
- package/node_modules/dsh-working-activity/lib/types/status.js +1306 -0
- package/node_modules/dsh-working-activity/package.json +108 -0
- package/node_modules/dsh-working-activity/src/activity-event.ts +106 -0
- package/node_modules/dsh-working-activity/src/client/WorkingLine.module.css +74 -0
- package/node_modules/dsh-working-activity/src/client/WorkingLine.tsx +94 -0
- package/node_modules/dsh-working-activity/src/client/activity.ts +43 -0
- package/node_modules/dsh-working-activity/src/client/css-modules.d.ts +6 -0
- package/node_modules/dsh-working-activity/src/client/elapsed.ts +88 -0
- package/node_modules/dsh-working-activity/src/client/index.ts +45 -0
- package/node_modules/dsh-working-activity/src/compat/assistant-stream.ts +209 -0
- package/node_modules/dsh-working-activity/src/compat/session-events.ts +201 -0
- package/node_modules/dsh-working-activity/src/compat/tool-result.ts +132 -0
- package/node_modules/dsh-working-activity/src/config.ts +176 -0
- package/node_modules/dsh-working-activity/src/events.ts +45 -0
- package/node_modules/dsh-working-activity/src/frames.ts +138 -0
- package/node_modules/dsh-working-activity/src/index.ts +467 -0
- package/node_modules/dsh-working-activity/src/invariant.ts +98 -0
- package/node_modules/dsh-working-activity/src/japanese.ts +47 -0
- package/node_modules/dsh-working-activity/src/lang.ts +221 -0
- package/node_modules/dsh-working-activity/src/phrases.ts +715 -0
- package/node_modules/dsh-working-activity/src/projection.ts +259 -0
- package/node_modules/dsh-working-activity/src/registration.ts +99 -0
- package/node_modules/dsh-working-activity/src/status.ts +1474 -0
- package/package.json +13 -9
- package/vendor/dsh-working-activity/node_modules/zod/LICENSE +21 -0
- package/vendor/dsh-working-activity/node_modules/zod/README.md +191 -0
- package/vendor/dsh-working-activity/node_modules/zod/index.cjs +33 -0
- package/vendor/dsh-working-activity/node_modules/zod/index.d.cts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/index.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/index.js +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/locales/index.cjs +17 -0
- package/vendor/dsh-working-activity/node_modules/zod/locales/index.d.cts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/locales/index.d.ts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/locales/index.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/locales/package.json +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/mini/index.cjs +32 -0
- package/vendor/dsh-working-activity/node_modules/zod/mini/index.d.cts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/mini/index.d.ts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/mini/index.js +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/mini/package.json +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/package.json +135 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/index.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/locales/index.ts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/mini/index.ts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/errors.ts +13 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/external.ts +6 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/index.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/types.ts +5138 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/checks.ts +32 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/external.ts +52 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/api.ts +1823 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/config.ts +15 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/core.ts +153 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/errors.ts +455 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/index.ts +16 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/regexes.ts +190 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/schemas.ts +4730 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/util.ts +983 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/index.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/el.ts +121 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/en.ts +123 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/fr.ts +132 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/hr.ts +131 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/index.ts +52 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ro.ts +129 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/uz.ts +117 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/external.ts +41 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/ZodError.cjs +138 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/ZodError.js +133 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/errors.cjs +17 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/errors.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/errors.d.ts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/errors.js +9 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/external.cjs +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/external.d.cts +6 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/external.d.ts +6 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/external.js +6 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/util.js +133 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/index.cjs +33 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/index.d.cts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/index.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/index.js +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/locales/en.cjs +112 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/locales/en.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/package.json +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/standard-schema.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/types.cjs +3777 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/types.d.cts +1034 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/types.d.ts +1034 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/types.js +3695 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/checks.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/coerce.js +17 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/compat.js +31 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/errors.js +48 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/external.cjs +73 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/external.d.cts +16 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/external.d.ts +16 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/external.js +20 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/from-json-schema.js +599 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/index.cjs +33 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/index.js +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/iso.js +30 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/package.json +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/parse.js +15 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/schemas.cjs +1511 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/schemas.d.cts +767 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/schemas.d.ts +767 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/schemas.js +1395 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/api.cjs +1227 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/api.d.cts +325 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/api.d.ts +325 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/api.js +1087 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/checks.cjs +601 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/checks.js +575 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/core.cjs +85 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/core.d.cts +70 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/core.d.ts +70 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/core.js +78 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/doc.cjs +39 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/doc.js +35 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/errors.cjs +216 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/errors.d.cts +221 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/errors.d.ts +221 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/errors.js +185 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/index.cjs +47 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/index.d.cts +16 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/index.d.ts +16 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/index.js +16 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-processors.js +601 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/package.json +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/parse.cjs +131 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/parse.js +93 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/regexes.cjs +172 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/regexes.d.cts +85 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/regexes.d.ts +85 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/regexes.js +139 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/registries.cjs +56 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/registries.js +51 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/schemas.cjs +2270 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/schemas.d.cts +1184 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/schemas.d.ts +1184 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/schemas.js +2239 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/to-json-schema.js +448 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/util.cjs +734 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/util.d.cts +200 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/util.d.ts +200 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/util.js +674 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/versions.cjs +8 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/versions.js +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/index.cjs +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/index.d.cts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/index.d.ts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/index.js +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ar.js +106 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/az.cjs +132 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/az.js +105 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/be.cjs +183 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/be.js +156 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/bg.js +120 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ca.js +107 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/cs.js +111 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/da.cjs +142 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/da.js +115 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/de.cjs +135 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/de.js +108 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/el.cjs +136 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/el.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/en.cjs +140 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/en.js +113 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/eo.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/es.cjs +159 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/es.js +132 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fa.js +114 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fi.js +112 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr.cjs +152 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr.js +125 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/he.cjs +241 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/he.js +214 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hr.cjs +149 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hr.js +122 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hu.js +108 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hy.js +147 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/id.cjs +133 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/id.js +106 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/index.cjs +111 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/index.d.cts +52 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/index.d.ts +52 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/index.js +52 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/is.cjs +136 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/is.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/it.cjs +135 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/it.js +108 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ja.js +107 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ka.js +112 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/kh.js +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/km.cjs +137 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/km.js +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ko.js +111 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/lt.js +203 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/mk.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ms.js +107 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/nl.js +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/no.cjs +135 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/no.js +108 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ota.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/package.json +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pl.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ps.js +114 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pt.js +108 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ro.cjs +146 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ro.js +119 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ru.js +156 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sl.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sv.js +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ta.js +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/th.cjs +137 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/th.js +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/tr.js +105 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ua.js +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uk.js +108 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ur.js +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uz.cjs +137 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uz.js +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/vi.js +108 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/yo.js +107 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/checks.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/coerce.js +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/external.cjs +63 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/external.d.cts +13 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/external.d.ts +13 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/external.js +14 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/index.cjs +32 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/index.js +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/iso.js +34 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/package.json +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/parse.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/schemas.cjs +1083 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/schemas.d.cts +445 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/schemas.d.ts +445 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/schemas.js +961 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/package.json +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4-mini/index.cjs +32 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4-mini/index.js +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4-mini/package.json +7 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Language resolution + copy dictionary for the working-activity plugin.
|
|
3
|
+
*
|
|
4
|
+
* The plugin follows the dsh-tui UI language without importing it: the same
|
|
5
|
+
* chain dsh-tui resolves (`DSH_TUI_LANG` env → `~/.dsh-tui/lang.json` → OS
|
|
6
|
+
* locale → zh) is read here directly, so a `/lang en|zh` switch (or the
|
|
7
|
+
* /settings language pick) hot-swaps this plugin's narration and status-line
|
|
8
|
+
* copy on the next render tick.
|
|
9
|
+
*
|
|
10
|
+
* Resolution order:
|
|
11
|
+
* 1. `setLangOverride()` — a plugin-level `lang: zh|en` config key
|
|
12
|
+
* (cordis.yml) or an explicit test pin.
|
|
13
|
+
* 2. `DSH_TUI_LANG` env var — pinned at process start.
|
|
14
|
+
* 3. `~/.dsh-tui/lang.json` — the persisted dsh-tui choice, mtime-cached
|
|
15
|
+
* so the per-tick status render never re-reads an unchanged file.
|
|
16
|
+
* 4. OS locale guess (`LC_ALL` / `LC_MESSAGES` / `LANG`); POSIX/C means
|
|
17
|
+
* "no locale selected" and maps to English.
|
|
18
|
+
* 5. `zh` — the original hard-coded language.
|
|
19
|
+
*
|
|
20
|
+
* The dictionary is a flat key → per-language string map; `t(key, params)`
|
|
21
|
+
* substitutes `{{name}}` placeholders. Missing keys render the key itself so
|
|
22
|
+
* a typo is visible instead of silently blank.
|
|
23
|
+
* @module @deepseek-ai/dsh-working-activity/lang
|
|
24
|
+
*/
|
|
25
|
+
import { readFileSync, statSync } from 'node:fs';
|
|
26
|
+
import { homedir } from 'node:os';
|
|
27
|
+
import { join } from 'node:path';
|
|
28
|
+
import { AsyncLocalStorage } from 'node:async_hooks';
|
|
29
|
+
/** The languages shipped with the plugin, in display order. */
|
|
30
|
+
export const LANGS = ['zh', 'en', 'ja'];
|
|
31
|
+
const progressLanguage = new AsyncLocalStorage();
|
|
32
|
+
/** Scope a rendered status line to its own session without changing the UI language. */
|
|
33
|
+
export function withProgressLang(lang, render) {
|
|
34
|
+
return progressLanguage.run(lang, render);
|
|
35
|
+
}
|
|
36
|
+
/** Use the terminal locale only for the first ambiguous prompt in a session. */
|
|
37
|
+
export function terminalProgressLang() {
|
|
38
|
+
const locale = (process.env.LC_ALL || process.env.LC_MESSAGES || process.env.LANG || '').toLowerCase();
|
|
39
|
+
if (locale.startsWith('ja'))
|
|
40
|
+
return 'ja';
|
|
41
|
+
if (locale.startsWith('zh'))
|
|
42
|
+
return 'zh';
|
|
43
|
+
return 'en';
|
|
44
|
+
}
|
|
45
|
+
/** Detect only confident language signals in user-authored prose. */
|
|
46
|
+
export function detectInputLanguage(input) {
|
|
47
|
+
const prose = input.normalize('NFKC')
|
|
48
|
+
.replace(/```[\s\S]*?(?:```|$)/g, ' ')
|
|
49
|
+
.replace(/`[^`]*`/g, ' ')
|
|
50
|
+
.replace(/^\s*>.*$/gm, ' ')
|
|
51
|
+
.replace(/\b(?:https?|file):\/\/\S+/gi, ' ')
|
|
52
|
+
.replace(/(?:^|\s)(?:[A-Za-z]:\\|\/|\.\.?\/)[^\s]+/g, ' ');
|
|
53
|
+
if (/[\p{Script=Hiragana}\p{Script=Katakana}]/u.test(prose))
|
|
54
|
+
return 'ja';
|
|
55
|
+
const han = prose.match(/\p{Script=Han}/gu)?.length ?? 0;
|
|
56
|
+
const latin = prose.match(/[A-Za-z]/g)?.length ?? 0;
|
|
57
|
+
if (han >= 4 && han > latin)
|
|
58
|
+
return 'zh';
|
|
59
|
+
if ((prose.match(/\b[A-Za-z]+(?:'[A-Za-z]+)?\b/g)?.length ?? 0) >= 3)
|
|
60
|
+
return 'en';
|
|
61
|
+
return undefined;
|
|
62
|
+
}
|
|
63
|
+
/** The dsh-tui prefs file this plugin mirrors (shared language contract). */
|
|
64
|
+
const LANG_FILE = join(homedir(), '.dsh-tui', 'lang.json');
|
|
65
|
+
const dict = {
|
|
66
|
+
// ── ⏵ self-narration contract (system prompt, /lang aware) ──────────
|
|
67
|
+
'narrate-instruction': {
|
|
68
|
+
zh: '[状态栏] 你有一个状态栏展示给用户。【必须】在每个步骤/子任务开始时(不只是调用工具前),在回复正文的最前面单独写一行:⏵ 你在做的具体事情(不超过20字),然后换行继续正常回复。整轮回复只写一行 ⏵,不要重复。信息为主——让人一眼知道你在干什么,风格自然、可以带点俏皮。例:⏵ 修复登录页样式、⏵ 查一下报错原因、⏵ 给补丁跑个验证。切换任务时必须更新。',
|
|
69
|
+
en: '[Status line] You have a status line visible to the user. [Required] At the start of each step or subtask (not only before tool calls), write exactly one standalone line at the very beginning of your response: ⏵ a concrete description of what you are doing (20 words max), then continue with the normal response on the next line. Write only one ⏵ line per response and do not repeat it. Prioritize information so the user can understand the current work at a glance; keep the style natural and optionally playful. Examples: ⏵ Fixing the login page styles, ⏵ Investigating the error, ⏵ Running validation for the patch. Update it when the task changes.',
|
|
70
|
+
},
|
|
71
|
+
// ── status-line structural copy ─────────────────────────────────────
|
|
72
|
+
/** Plain (non-playful) phase labels. */
|
|
73
|
+
'waiting-label': { zh: '等待模型响应', en: 'Waiting for model', ja: 'モデルの応答待ち' },
|
|
74
|
+
'thinking-label': { zh: '思考中', en: 'Thinking', ja: '考えています' },
|
|
75
|
+
/** Elapsed suffix: zh glues the char, en keeps a space. */
|
|
76
|
+
'line-elapsed': { zh: '总{{elapsed}}', en: 'total {{elapsed}}', ja: '合計 {{elapsed}}' },
|
|
77
|
+
/** Plain-mode completion prefix (playful pools pick their own). */
|
|
78
|
+
'done-prefix': { zh: '搞定 ✓', en: 'Finished', ja: '完了 ✓' },
|
|
79
|
+
/** Turn-completion summary. */
|
|
80
|
+
'done-summary': {
|
|
81
|
+
zh: '{{tools}} · 想{{thinking}} 干{{tooling}}',
|
|
82
|
+
en: '{{tools}} · thought {{thinking}} worked {{tooling}}',
|
|
83
|
+
ja: '{{tools}} · 思考 {{thinking}} 作業 {{tooling}}',
|
|
84
|
+
},
|
|
85
|
+
'tool-count-one': { zh: '{{count}} 工具', en: '{{count}} tool', ja: 'ツール {{count}} 件' },
|
|
86
|
+
'tool-count-many': { zh: '{{count}} 工具', en: '{{count}} tools', ja: 'ツール {{count}} 件' },
|
|
87
|
+
/** Consecutive-tool streak badge (replaces the old flame emoji). */
|
|
88
|
+
'tool-streak': { zh: '工具x{{count}}', en: 'tool x{{count}}', ja: 'ツール連続 {{count}} 件' },
|
|
89
|
+
/** Approval badge while a tool is parked on the user's decision. */
|
|
90
|
+
'tool-waiting-approval': { zh: '在等你批准', en: 'awaiting your approval', ja: '承認待ち' },
|
|
91
|
+
/** Subagent count in the done summary. */
|
|
92
|
+
'subagent-count': { zh: '子代理 {{count}} 个', en: '{{count}} subagents', ja: 'サブエージェント {{count}} 件' },
|
|
93
|
+
/** Work-reminder copy after `workRemindAt` turn-hours. */
|
|
94
|
+
'work-remind': { zh: '已连续工作 {{hours}} 小时,歇会儿?', en: 'Worked {{hours}}h straight — take a break?', ja: '{{hours}} 時間続けて作業しています。少し休みますか?' },
|
|
95
|
+
};
|
|
96
|
+
/** Explicit pin set by plugin config or tests; `auto` restores the chain. */
|
|
97
|
+
let override = 'auto';
|
|
98
|
+
/** Force (or release) the active language; `auto` re-enables the chain. */
|
|
99
|
+
export function setLangOverride(lang) {
|
|
100
|
+
override = lang;
|
|
101
|
+
// Releasing (or re-setting) the pin decides the language from the file again,
|
|
102
|
+
// and an explicit switch must not wait out the probe TTL.
|
|
103
|
+
invalidateLangCache();
|
|
104
|
+
}
|
|
105
|
+
/** The currently active language. */
|
|
106
|
+
export function langNow() {
|
|
107
|
+
const scoped = progressLanguage.getStore();
|
|
108
|
+
if (scoped !== undefined)
|
|
109
|
+
return scoped;
|
|
110
|
+
if (override !== 'auto')
|
|
111
|
+
return override;
|
|
112
|
+
const env = process.env.DSH_TUI_LANG;
|
|
113
|
+
if (env === 'zh' || env === 'en')
|
|
114
|
+
return env;
|
|
115
|
+
return readLangFile() ?? detectLocaleLang();
|
|
116
|
+
}
|
|
117
|
+
/** Translate a dictionary key, substituting `{{name}}` placeholders. */
|
|
118
|
+
export function t(key, params = {}) {
|
|
119
|
+
const entry = dict[key];
|
|
120
|
+
const template = entry?.[langNow()] ?? entry?.en ?? key;
|
|
121
|
+
return template.replace(/\{\{(\w+)\}\}/g, (match, name) => name in params ? String(params[name]) : match);
|
|
122
|
+
}
|
|
123
|
+
/** Is a value a valid shipped language code? */
|
|
124
|
+
export function isLang(value) {
|
|
125
|
+
return value === 'zh' || value === 'en' || value === 'ja';
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* How long one filesystem probe is trusted. Long enough that a 500 ms status
|
|
129
|
+
* render does not stat the file on every translation, short enough that a
|
|
130
|
+
* `/lang` switch written by the UI still lands within a second.
|
|
131
|
+
*/
|
|
132
|
+
const LANG_FILE_PROBE_TTL_MS = 1000;
|
|
133
|
+
/**
|
|
134
|
+
* Read the persisted dsh-tui language choice.
|
|
135
|
+
*
|
|
136
|
+
* The probe is cached twice over: the parsed value is reused while the file's
|
|
137
|
+
* mtime is unchanged, and even the `statSync` itself is skipped for
|
|
138
|
+
* {@link LANG_FILE_PROBE_TTL_MS}. Both halves matter — one render translates
|
|
139
|
+
* several keys, and a host that never wrote the file would otherwise pay a
|
|
140
|
+
* FAILED stat on every one of them (issue #14).
|
|
141
|
+
*
|
|
142
|
+
* @param nowMs - Instant to measure the probe cache against.
|
|
143
|
+
* @returns the persisted language, or `undefined` when the file is absent or
|
|
144
|
+
* holds no valid `{ lang }` value.
|
|
145
|
+
*/
|
|
146
|
+
export function readLangFile(nowMs = Date.now()) {
|
|
147
|
+
if (lastProbeAt !== 0 && nowMs - lastProbeAt < LANG_FILE_PROBE_TTL_MS)
|
|
148
|
+
return cachedLang;
|
|
149
|
+
lastProbeAt = nowMs;
|
|
150
|
+
let mtimeMs;
|
|
151
|
+
try {
|
|
152
|
+
mtimeMs = statSync(LANG_FILE).mtimeMs;
|
|
153
|
+
}
|
|
154
|
+
catch {
|
|
155
|
+
// Absence is cached like any other answer: the common case on a host that
|
|
156
|
+
// never ran the UI's language picker.
|
|
157
|
+
cachedMtime = -1;
|
|
158
|
+
cachedLang = undefined;
|
|
159
|
+
return undefined;
|
|
160
|
+
}
|
|
161
|
+
if (cachedMtime === mtimeMs)
|
|
162
|
+
return cachedLang;
|
|
163
|
+
try {
|
|
164
|
+
const parsed = JSON.parse(readFileSync(LANG_FILE, 'utf8'));
|
|
165
|
+
const lang = parsed !== null && typeof parsed === 'object' && !Array.isArray(parsed)
|
|
166
|
+
? parsed.lang
|
|
167
|
+
: undefined;
|
|
168
|
+
cachedLang = isLang(lang) ? lang : undefined;
|
|
169
|
+
}
|
|
170
|
+
catch {
|
|
171
|
+
cachedLang = undefined;
|
|
172
|
+
}
|
|
173
|
+
cachedMtime = mtimeMs;
|
|
174
|
+
return cachedLang;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Drop the file cache so the next read probes the filesystem immediately.
|
|
178
|
+
* Called whenever the language is pinned explicitly, so a switch is never
|
|
179
|
+
* delayed by the probe TTL.
|
|
180
|
+
*/
|
|
181
|
+
export function invalidateLangCache() {
|
|
182
|
+
lastProbeAt = 0;
|
|
183
|
+
cachedMtime = -1;
|
|
184
|
+
cachedLang = undefined;
|
|
185
|
+
}
|
|
186
|
+
let cachedMtime = -1;
|
|
187
|
+
let cachedLang;
|
|
188
|
+
/** When the file was last probed; `0` means "never probed in this process". */
|
|
189
|
+
let lastProbeAt = 0;
|
|
190
|
+
/**
|
|
191
|
+
* Guess the language from the OS locale (`LC_ALL`, `LC_MESSAGES`, `LANG`),
|
|
192
|
+
* defaulting to `zh`. POSIX/C means "no locale selected" and conventionally
|
|
193
|
+
* maps to English (what CI runners report). An absent locale variable
|
|
194
|
+
* (typical on Windows) defaults to `zh`.
|
|
195
|
+
*/
|
|
196
|
+
export function detectLocaleLang() {
|
|
197
|
+
const raw = process.env.LC_ALL ||
|
|
198
|
+
process.env.LC_MESSAGES ||
|
|
199
|
+
process.env.LANG ||
|
|
200
|
+
'';
|
|
201
|
+
const locale = raw.split('.')[0]?.toLowerCase() ?? '';
|
|
202
|
+
if (locale.startsWith('zh'))
|
|
203
|
+
return 'zh';
|
|
204
|
+
if (locale.startsWith('en'))
|
|
205
|
+
return 'en';
|
|
206
|
+
if (locale === 'c' || locale === 'posix')
|
|
207
|
+
return 'en';
|
|
208
|
+
return 'zh';
|
|
209
|
+
}
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copy pools for the working-activity status line: short, colloquial, playful
|
|
3
|
+
* fragments with a "live person" vibe, in both Chinese and English. The zh
|
|
4
|
+
* pools are the original copy; the en pools mirror the same tone — deadpan,
|
|
5
|
+
* meme-y, occasionally unhinged. Everything here is pure data + pure pickers;
|
|
6
|
+
* the active language is resolved per pick via `langNow()`.
|
|
7
|
+
* @module @deepseek-ai/dsh-working-activity/phrases
|
|
8
|
+
*/
|
|
9
|
+
import type { WaitingReason } from './activity-event.js';
|
|
10
|
+
/** A pool of copy fragments. */
|
|
11
|
+
export type PhrasePool = readonly string[];
|
|
12
|
+
/** Pick one random entry; repeated draws avoid the previous entry when possible. */
|
|
13
|
+
export declare function pickPhrase(entries: PhrasePool, previous?: string): string;
|
|
14
|
+
/** A rotation window: the turn's seed, and which window of it. */
|
|
15
|
+
export interface PhraseSlot {
|
|
16
|
+
readonly seed: number;
|
|
17
|
+
readonly slot: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Deterministic 32-bit mix of a seed and a window index (avalanche, then mask).
|
|
21
|
+
*
|
|
22
|
+
* The point is reproducibility, not cryptography: the same inputs must always
|
|
23
|
+
* produce the same value, so a reader may re-derive a phrase as often as it
|
|
24
|
+
* likes without the copy moving under it.
|
|
25
|
+
*/
|
|
26
|
+
export declare function mixSlot(seed: number, slot: number): number;
|
|
27
|
+
/**
|
|
28
|
+
* Deterministic sibling of {@link pickPhrase}.
|
|
29
|
+
*
|
|
30
|
+
* The projected line is READ far more often than it is written — a client ticks
|
|
31
|
+
* it, the host validates it, a checkpoint may re-render it — so picking at
|
|
32
|
+
* random inside a read makes the copy churn on every read (measured: three
|
|
33
|
+
* different phrases across three consecutive 500 ms reads). This picks by
|
|
34
|
+
* position instead: one phrase per window, always the same phrase for the same
|
|
35
|
+
* window, and adjacent windows differ.
|
|
36
|
+
* @param entries - The pool to draw from.
|
|
37
|
+
* @param seed - Per-turn seed (the turn's start time), so turns differ.
|
|
38
|
+
* @param slot - Rotation window index within the phase.
|
|
39
|
+
*/
|
|
40
|
+
export declare function pickPhraseAt(entries: PhrasePool, seed: number, slot: number): string;
|
|
41
|
+
/** Thinking phrases while the model works without a tool. */
|
|
42
|
+
export declare const THINKING_PHRASES: readonly string[];
|
|
43
|
+
/** Tiered phrases when thinking runs long (elapsed >= threshold). */
|
|
44
|
+
export declare const THINKING_TIERS: readonly {
|
|
45
|
+
/** Minimum thinking ms for this tier. */
|
|
46
|
+
readonly atMs: number;
|
|
47
|
+
readonly pool: readonly string[];
|
|
48
|
+
}[];
|
|
49
|
+
/** Phrases shown while waiting for the first streamed token. */
|
|
50
|
+
export declare const WAITING_PHRASES: readonly string[];
|
|
51
|
+
/** Tool-name patterns mapped to playful action verbs. */
|
|
52
|
+
export declare const ACTION_MAP: readonly {
|
|
53
|
+
readonly test: RegExp;
|
|
54
|
+
readonly actions: readonly string[];
|
|
55
|
+
}[];
|
|
56
|
+
/** Fallback verbs for unknown tools. */
|
|
57
|
+
export declare const FALLBACK_ACTIONS: readonly string[];
|
|
58
|
+
/** Tool failure phrases, replacing a bare ✗. */
|
|
59
|
+
export declare const FAIL_PHRASES: readonly string[];
|
|
60
|
+
/** Turn-completion phrases. */
|
|
61
|
+
export declare const DONE_PHRASES: readonly string[];
|
|
62
|
+
/** Night-owl phrases mixed in between 00:00 and 06:00 local time. */
|
|
63
|
+
export declare const NIGHT_PHRASES: readonly string[];
|
|
64
|
+
/** English thinking phrases — casual, meme-y, alive. */
|
|
65
|
+
export declare const EN_THINKING_PHRASES: readonly string[];
|
|
66
|
+
/** English tiered phrases when thinking runs long. */
|
|
67
|
+
export declare const EN_THINKING_TIERS: readonly {
|
|
68
|
+
readonly atMs: number;
|
|
69
|
+
readonly pool: readonly string[];
|
|
70
|
+
}[];
|
|
71
|
+
/** English phrases while waiting for the first token. */
|
|
72
|
+
export declare const EN_WAITING_PHRASES: readonly string[];
|
|
73
|
+
/** English tool-name → action verbs. */
|
|
74
|
+
export declare const EN_ACTION_MAP: readonly {
|
|
75
|
+
readonly test: RegExp;
|
|
76
|
+
readonly actions: readonly string[];
|
|
77
|
+
}[];
|
|
78
|
+
/** English fallback verbs for unknown tools. */
|
|
79
|
+
export declare const EN_FALLBACK_ACTIONS: readonly string[];
|
|
80
|
+
/** English tool failure phrases. */
|
|
81
|
+
export declare const EN_FAIL_PHRASES: readonly string[];
|
|
82
|
+
/** English turn-completion phrases. */
|
|
83
|
+
export declare const EN_DONE_PHRASES: readonly string[];
|
|
84
|
+
/** English night-owl phrases. */
|
|
85
|
+
export declare const EN_NIGHT_PHRASES: readonly string[];
|
|
86
|
+
/** Rare easter-egg phrases (1/150 draw, pi `RARE_PHRASES`). */
|
|
87
|
+
export declare const RARE_PHRASES: readonly string[];
|
|
88
|
+
/** English rare easter-egg phrases. */
|
|
89
|
+
export declare const EN_RARE_PHRASES: readonly string[];
|
|
90
|
+
/** Chance of drawing a rare phrase per thinking rotation. */
|
|
91
|
+
export declare const RARE_CHANCE: number;
|
|
92
|
+
/** Weekend-greeting phrases (once per turn on Sat/Sun). */
|
|
93
|
+
export declare const WEEKEND_PHRASES: readonly string[];
|
|
94
|
+
/** English weekend greetings. */
|
|
95
|
+
export declare const EN_WEEKEND_PHRASES: readonly string[];
|
|
96
|
+
/** Whether `date` falls on a weekend. */
|
|
97
|
+
export declare function isWeekend(date: Date): boolean;
|
|
98
|
+
/** Holiday copy keyed by `MM-DD` (zh). */
|
|
99
|
+
export declare const HOLIDAY_PHRASES: Readonly<Record<string, readonly string[]>>;
|
|
100
|
+
/** English holiday copy keyed by `MM-DD`. */
|
|
101
|
+
export declare const EN_HOLIDAY_PHRASES: Readonly<Record<string, readonly string[]>>;
|
|
102
|
+
/** Lunar New Year copy (approximated by Gregorian dates, extended yearly). */
|
|
103
|
+
export declare const LUNAR_NEW_YEAR_PHRASES: readonly string[];
|
|
104
|
+
/** English Lunar New Year copy. */
|
|
105
|
+
export declare const EN_LUNAR_NEW_YEAR_PHRASES: readonly string[];
|
|
106
|
+
/**
|
|
107
|
+
* Gregorian dates marked as Lunar New Year (2025–2030, extend yearly).
|
|
108
|
+
*
|
|
109
|
+
* Each year lists the seven-day holiday block starting at the new moon.
|
|
110
|
+
* `tests/easter-eggs.spec.ts` fails when the table no longer covers the
|
|
111
|
+
* current year + 1, so an expired table goes red in CI instead of silently
|
|
112
|
+
* stopping the egg.
|
|
113
|
+
*/
|
|
114
|
+
export declare const LUNAR_NEW_YEAR_DAYS: Readonly<Record<string, true>>;
|
|
115
|
+
/** Phrases shown after the user interrupts and the model resumes. */
|
|
116
|
+
export declare const CONTINUE_PHRASES: readonly string[];
|
|
117
|
+
/** English post-interruption phrases. */
|
|
118
|
+
export declare const EN_CONTINUE_PHRASES: readonly string[];
|
|
119
|
+
/** Phrases after a successful context compaction. */
|
|
120
|
+
export declare const COMPACT_PHRASES: readonly string[];
|
|
121
|
+
/** English post-compaction phrases. */
|
|
122
|
+
export declare const EN_COMPACT_PHRASES: readonly string[];
|
|
123
|
+
/** Urgent phrases when compaction is forced by overflow. */
|
|
124
|
+
export declare const OVERFLOW_PHRASES: readonly string[];
|
|
125
|
+
/** English overflow phrases. */
|
|
126
|
+
export declare const EN_OVERFLOW_PHRASES: readonly string[];
|
|
127
|
+
/** Phrases when retrying after a forced compaction. */
|
|
128
|
+
export declare const COMPACT_RETRY_PHRASES: readonly string[];
|
|
129
|
+
/** English compact-retry phrases. */
|
|
130
|
+
export declare const EN_COMPACT_RETRY_PHRASES: readonly string[];
|
|
131
|
+
/**
|
|
132
|
+
* Phrases while the provider asked for a retry (rate limit / transient error).
|
|
133
|
+
* The waiting pool cannot say this: "still queuing" reads as the model's own
|
|
134
|
+
* latency, while a retry is the provider pushing back.
|
|
135
|
+
*/
|
|
136
|
+
export declare const RETRY_PHRASES: readonly string[];
|
|
137
|
+
/** English retry phrases. */
|
|
138
|
+
export declare const EN_RETRY_PHRASES: readonly string[];
|
|
139
|
+
/** Phrases while a tool is parked on the user's approval. */
|
|
140
|
+
export declare const APPROVAL_PHRASES: readonly string[];
|
|
141
|
+
/** English approval phrases. */
|
|
142
|
+
export declare const EN_APPROVAL_PHRASES: readonly string[];
|
|
143
|
+
/** Phrases while the host is compacting the context. */
|
|
144
|
+
export declare const COMPACTION_START_PHRASES: readonly string[];
|
|
145
|
+
/** English compaction-in-progress phrases. */
|
|
146
|
+
export declare const EN_COMPACTION_START_PHRASES: readonly string[];
|
|
147
|
+
/**
|
|
148
|
+
* Pick the copy for one waiting reason, in the active language.
|
|
149
|
+
*
|
|
150
|
+
* Deterministic per stall: the caller seeds the draw with the turn and the
|
|
151
|
+
* stall's start, so repeated reads of one stall show one line (a per-read
|
|
152
|
+
* re-roll is the flicker bug this module's slot scheme exists to prevent).
|
|
153
|
+
* @param reason - Why the turn is stalled.
|
|
154
|
+
* @param at - Slot (seed + window) making the pick reproducible.
|
|
155
|
+
*/
|
|
156
|
+
export declare function waitingReasonPhrase(reason: WaitingReason, at?: PhraseSlot): string;
|
|
157
|
+
/** Model-switch quips keyed by a lowercase substring of the model id. */
|
|
158
|
+
export declare const MODEL_QUIPS: Readonly<Record<string, readonly string[]>>;
|
|
159
|
+
/** English model-switch quips. */
|
|
160
|
+
export declare const EN_MODEL_QUIPS: Readonly<Record<string, readonly string[]>>;
|
|
161
|
+
/** Detect a holiday for `date`, Lunar New Year first. */
|
|
162
|
+
export declare function holidayPhrase(date: Date, at?: PhraseSlot): string | null;
|
|
163
|
+
/** Pick a rare easter-egg phrase in the active language. */
|
|
164
|
+
export declare function rarePhrase(previous?: string, at?: PhraseSlot): string;
|
|
165
|
+
/** Pick a weekend greeting in the active language. */
|
|
166
|
+
export declare function weekendPhrase(previous?: string, at?: PhraseSlot): string;
|
|
167
|
+
/** Pick a post-interruption phrase in the active language. */
|
|
168
|
+
export declare function continuePhrase(): string;
|
|
169
|
+
/** Pick a post-compaction phrase in the active language. */
|
|
170
|
+
export declare function compactPhrase(): string;
|
|
171
|
+
/** Pick an overflow phrase in the active language. */
|
|
172
|
+
export declare function overflowPhrase(): string;
|
|
173
|
+
/** Pick a compact-retry phrase in the active language. */
|
|
174
|
+
export declare function compactRetryPhrase(): string;
|
|
175
|
+
/**
|
|
176
|
+
* Quip for a model id (substring match), or null when no pool matches.
|
|
177
|
+
* @param modelId - Model id, e.g. `deepseek-chat` or `gpt-4o`.
|
|
178
|
+
*/
|
|
179
|
+
export declare function modelQuip(modelId: string): string | null;
|
|
180
|
+
/** Feature toggles for the lively phrase selector. */
|
|
181
|
+
export interface LivelyFeatures {
|
|
182
|
+
/** Allow rare 1/150 easter eggs. */
|
|
183
|
+
readonly rareEggs?: boolean;
|
|
184
|
+
/** Allow weekend greetings on Sat/Sun. */
|
|
185
|
+
readonly weekend?: boolean;
|
|
186
|
+
/** Allow date-matched holiday / Lunar New Year copy. */
|
|
187
|
+
readonly holidays?: boolean;
|
|
188
|
+
/** Mix night-owl copy between 00:00 and 06:00. */
|
|
189
|
+
readonly nightPhrases?: boolean;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Pick a thinking phrase with the pi extension's egg order: holiday first,
|
|
193
|
+
* then rare (1/150), then weekend, then the elapsed-time tiers with night
|
|
194
|
+
* mixing. Every egg is gated by `features` (defaults all on).
|
|
195
|
+
* @param elapsedMs - Milliseconds spent thinking in the current phase.
|
|
196
|
+
* @param previous - Previously shown phrase, to avoid repeats.
|
|
197
|
+
* @param night - Whether the night window is active (mixes night copy).
|
|
198
|
+
* @param now - Current wall-clock time (injectable for tests).
|
|
199
|
+
* @param features - Feature toggles; absent flags default to on.
|
|
200
|
+
* @param extra - User custom phrases appended to the base thinking pool.
|
|
201
|
+
*/
|
|
202
|
+
export declare function livelyThinkingPhrase(elapsedMs: number, previous?: string, night?: boolean, now?: Date, features?: LivelyFeatures, extra?: readonly string[]): string;
|
|
203
|
+
/** Common git tool names / bash commands containing `git `. */
|
|
204
|
+
export declare const GIT_TOOL_RE: RegExp;
|
|
205
|
+
/** Detect the 00:00–06:00 night window (local time). */
|
|
206
|
+
export declare function isNight(hour: number): boolean;
|
|
207
|
+
/** The zh or en base waiting pool by the active language. */
|
|
208
|
+
export declare function waitingPool(): readonly string[];
|
|
209
|
+
/**
|
|
210
|
+
* Pick a thinking phrase appropriate for the elapsed thinking time, in the
|
|
211
|
+
* active language.
|
|
212
|
+
* @param elapsedMs - Milliseconds spent thinking in the current phase.
|
|
213
|
+
* @param previous - Previously shown phrase, to avoid repeats.
|
|
214
|
+
* @param night - Mix night-owl copy into the pool.
|
|
215
|
+
* @param extra - User custom phrases appended to the base (non-tier) pool.
|
|
216
|
+
*/
|
|
217
|
+
export declare function thinkingPhrase(elapsedMs: number, previous?: string, night?: boolean, extra?: readonly string[], at?: PhraseSlot): string;
|
|
218
|
+
/** Pick a waiting phrase in the active language. */
|
|
219
|
+
export declare function waitingPhrase(previous?: string, at?: PhraseSlot): string;
|
|
220
|
+
/**
|
|
221
|
+
* The line shown when thinking turns into doing: the turn's first tool call.
|
|
222
|
+
*
|
|
223
|
+
* Deliberately its own pool rather than part of the thinking copy — it marks a
|
|
224
|
+
* transition, so it must read as one ("thought it through, getting to work")
|
|
225
|
+
* instead of as another "the model is busy" fragment.
|
|
226
|
+
*/
|
|
227
|
+
export declare const TOOL_OPENING_PHRASES: readonly string[];
|
|
228
|
+
/** English mirror of {@link TOOL_OPENING_PHRASES}. */
|
|
229
|
+
export declare const EN_TOOL_OPENING_PHRASES: readonly string[];
|
|
230
|
+
/** Pick the thinking→doing opening line in the active language. */
|
|
231
|
+
export declare function toolOpeningPhrase(at?: PhraseSlot): string;
|
|
232
|
+
/** Pick a tool-failure phrase in the active language. */
|
|
233
|
+
export declare function failPhrase(): string;
|
|
234
|
+
/** Pick a turn-completion phrase in the active language. */
|
|
235
|
+
export declare function donePhrase(): string;
|
|
236
|
+
/**
|
|
237
|
+
* Map a tool name to a playful action verb, in the active language.
|
|
238
|
+
* @param toolName - Registry tool name (unqualified).
|
|
239
|
+
* @param custom - Exact-name custom action pools, matched case-insensitively
|
|
240
|
+
* (user-owned copy, used verbatim in any language).
|
|
241
|
+
*/
|
|
242
|
+
export declare function actionFor(toolName: string, custom?: Readonly<Record<string, readonly string[]>>): string;
|
|
243
|
+
/** Whether a tool is a git operation (name match, or a shell command containing `git `). */
|
|
244
|
+
export declare function isGitTool(toolName: string, args?: Readonly<Record<string, unknown>>): boolean;
|
|
245
|
+
/** Format milliseconds as a compact human duration (`1m23s`). */
|
|
246
|
+
export declare function fmtDuration(ms: number): string;
|