@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
|
@@ -4,15 +4,12 @@ import type { ModelGroupRow } from '../modelGroups.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* Model picker: a permission-colored Pane with
|
|
6
6
|
* the rows as Select entries (❯ focus pointer, ✓ on the active row,
|
|
7
|
-
* descriptions), plus the Enter/Esc hint line.
|
|
8
|
-
*
|
|
7
|
+
* descriptions), plus the Enter/Esc hint line. Selection switches through
|
|
8
|
+
* the Chat coordinator's live-fork path.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
11
|
-
* name + model count,
|
|
12
|
-
* Enter
|
|
13
|
-
* Enter — the same live-fork path the flat picker always had. A
|
|
14
|
-
* single-group catalog skips the top level entirely (showBack=false, plain
|
|
15
|
-
* confirm/exit hint), so single-provider setups keep the pre-grouping UX.
|
|
10
|
+
* Opens on the complete searchable model list. Tab can show provider groups
|
|
11
|
+
* (registry display name + model count), where Enter drills into one
|
|
12
|
+
* provider. Enter on a model switches through the live-fork path.
|
|
16
13
|
*
|
|
17
14
|
* 长列表按焦点窗口化(Select 同款):picker 经 OverlayAbove 浮层挂载后有
|
|
18
15
|
* maxHeight 裁剪,全量渲染会让焦点行被裁掉(看不到焦点按 Enter)。
|
|
@@ -28,13 +25,14 @@ export declare function ModelPicker(props: {
|
|
|
28
25
|
cursor?: number;
|
|
29
26
|
emptyReason?: 'loading' | 'empty' | 'no-match' | 'error';
|
|
30
27
|
} | {
|
|
31
|
-
/**
|
|
32
|
-
* or the mixed-provider recents list (`showProviderPrefix`). */
|
|
28
|
+
/** Flat catalog or one group's models (`showProviderPrefix` for mixed providers). */
|
|
33
29
|
models: readonly LlmModelInfo[];
|
|
34
30
|
/** The group's display label as this pane's title (default: "Model"). */
|
|
35
31
|
groupLabel?: string;
|
|
36
|
-
/**
|
|
32
|
+
/** A drilled-in provider or recents group can return to the group list. */
|
|
37
33
|
showBack: boolean;
|
|
34
|
+
/** Flat catalog can switch to provider groups with Tab. */
|
|
35
|
+
showGroups?: boolean;
|
|
38
36
|
/** Prefix each row with its provider (the recents group mixes providers). */
|
|
39
37
|
showProviderPrefix?: boolean;
|
|
40
38
|
focusIndex: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelPicker.d.ts","sourceRoot":"","sources":["../../../src/components/ModelPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAUtD
|
|
1
|
+
{"version":3,"file":"ModelPicker.d.ts","sourceRoot":"","sources":["../../../src/components/ModelPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAUtD;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAC7B;IACA,+DAA+D;IAC/D,MAAM,EAAE,SAAS,aAAa,EAAE,CAAA;IAChC,UAAU,EAAE,MAAM,CAAA;IAClB,8DAA8D;IAC9D,eAAe,EAAE,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,CAAA;CACzD,GACC;IACA,qFAAqF;IACrF,MAAM,EAAE,SAAS,YAAY,EAAE,CAAA;IAC/B,yEAAyE;IACzE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,2EAA2E;IAC3E,QAAQ,EAAE,OAAO,CAAA;IACjB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,6EAA6E;IAC7E,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,UAAU,EAAE,MAAM,CAAA;IAClB,4EAA4E;IAC5E,YAAY,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,CAAA;CACzD,GAAG,KAAK,CAAC,SAAS,CA4EpB"}
|
|
@@ -12,15 +12,12 @@ import { useTerminalFocus } from '../ink/hooks/use-terminal-focus.js';
|
|
|
12
12
|
/**
|
|
13
13
|
* Model picker: a permission-colored Pane with
|
|
14
14
|
* the rows as Select entries (❯ focus pointer, ✓ on the active row,
|
|
15
|
-
* descriptions), plus the Enter/Esc hint line.
|
|
16
|
-
*
|
|
15
|
+
* descriptions), plus the Enter/Esc hint line. Selection switches through
|
|
16
|
+
* the Chat coordinator's live-fork path.
|
|
17
17
|
*
|
|
18
|
-
*
|
|
19
|
-
* name + model count,
|
|
20
|
-
* Enter
|
|
21
|
-
* Enter — the same live-fork path the flat picker always had. A
|
|
22
|
-
* single-group catalog skips the top level entirely (showBack=false, plain
|
|
23
|
-
* confirm/exit hint), so single-provider setups keep the pre-grouping UX.
|
|
18
|
+
* Opens on the complete searchable model list. Tab can show provider groups
|
|
19
|
+
* (registry display name + model count), where Enter drills into one
|
|
20
|
+
* provider. Enter on a model switches through the live-fork path.
|
|
24
21
|
*
|
|
25
22
|
* 长列表按焦点窗口化(Select 同款):picker 经 OverlayAbove 浮层挂载后有
|
|
26
23
|
* maxHeight 裁剪,全量渲染会让焦点行被裁掉(看不到焦点按 Enter)。
|
|
@@ -44,7 +41,7 @@ export function ModelPicker(props) {
|
|
|
44
41
|
const { start, end } = listWindow(rowHeights, props.focusIndex, listRows);
|
|
45
42
|
const hint = inGroups
|
|
46
43
|
? t('hint-model-groups')
|
|
47
|
-
: props.showBack ? t('hint-model-back') : t('hint-confirm-exit');
|
|
44
|
+
: props.showBack ? t('hint-model-back') : props.showGroups ? t('hint-model-all') : t('hint-confirm-exit');
|
|
48
45
|
return (_jsxs(Pane, { color: "permission", children: [_jsxs(Box, { flexDirection: "column", children: [_jsx(Box, { marginBottom: 1, children: _jsx(Text, { color: "remember", bold: true, children: inGroups || props.groupLabel === undefined ? t('picker-title-model') : props.groupLabel }) }), _jsx(SearchBox, { query: props.query ?? '', cursorOffset: props.cursor ?? 0, isFocused: true, isTerminalFocused: terminalFocused, borderless: true, placeholder: t('picker-model-search') }), _jsx(Text, { dimColor: true, children: t('picker-model-results', { count: rows.length }) }), rows.length === 0 && _jsx(Text, { dimColor: true, children: t(props.emptyReason === 'loading' ? 'model-loading' : props.emptyReason === 'error' ? 'picker-model-error' : props.emptyReason === 'no-match' ? 'picker-model-no-match' : 'picker-model-empty') }), rows.slice(start, end).map((row, index) => {
|
|
49
46
|
const absoluteIndex = start + index;
|
|
50
47
|
return inGroups ? (_jsx(ListItem, { isFocused: absoluteIndex === props.focusIndex, declareCursor: false, isSelected: row.provider === props.currentProvider, description: t('picker-group-count', { count: row.count }), showScrollUp: absoluteIndex === start && start > 0, showScrollDown: absoluteIndex === end - 1 && end < rows.length, onClick: onPick ? () => onPick(absoluteIndex) : undefined, children: row.label === RECENTS_LABEL_PLACEHOLDER && row.provider === RECENTS_GROUP_PROVIDER
|
|
@@ -2,6 +2,11 @@ import React from 'react';
|
|
|
2
2
|
import { type Theme } from '../../theme.js';
|
|
3
3
|
import type { SpinnerMode } from './spinnerMode.js';
|
|
4
4
|
export type SpinnerAnimationRowProps = {
|
|
5
|
+
progressCopy?: {
|
|
6
|
+
tokens: string;
|
|
7
|
+
thinking: string;
|
|
8
|
+
thoughtFor: string;
|
|
9
|
+
};
|
|
5
10
|
mode: SpinnerMode;
|
|
6
11
|
reducedMotion: boolean;
|
|
7
12
|
hasActiveTools: boolean;
|
|
@@ -29,5 +34,5 @@ export type SpinnerAnimationRowProps = {
|
|
|
29
34
|
* animation clock (frame, glimmer, token counter animation, elapsed time,
|
|
30
35
|
* stalled intensity, thinking shimmer).
|
|
31
36
|
*/
|
|
32
|
-
export declare function SpinnerAnimationRow({ mode, reducedMotion, hasActiveTools, responseLengthRef, uploadTokensRef, message, messageColor, shimmerColor, loadingStartTimeRef, totalPausedMsRef, pauseStartTimeRef, spinnerSuffix, verbose, columns, thinkingStatus, }: SpinnerAnimationRowProps): React.ReactNode;
|
|
37
|
+
export declare function SpinnerAnimationRow({ progressCopy, mode, reducedMotion, hasActiveTools, responseLengthRef, uploadTokensRef, message, messageColor, shimmerColor, loadingStartTimeRef, totalPausedMsRef, pauseStartTimeRef, spinnerSuffix, verbose, columns, thinkingStatus, }: SpinnerAnimationRowProps): React.ReactNode;
|
|
33
38
|
//# sourceMappingURL=SpinnerAnimationRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpinnerAnimationRow.d.ts","sourceRoot":"","sources":["../../../../src/components/Spinner/SpinnerAnimationRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0B,MAAM,OAAO,CAAA;AAM9C,OAAO,EAAY,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAIrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"SpinnerAnimationRow.d.ts","sourceRoot":"","sources":["../../../../src/components/Spinner/SpinnerAnimationRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0B,MAAM,OAAO,CAAA;AAM9C,OAAO,EAAY,K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AAO,EACP,cAAc,GACf,EAAE,wBAAwB,GAAG,KAAK,CAAC,SAAS,CAuM5C"}
|
|
@@ -14,7 +14,6 @@ import { useStalledAnimation } from './useStalledAnimation.js';
|
|
|
14
14
|
import { interpolateColor, parseRGB, toRGBColor } from './spinnerUtils.js';
|
|
15
15
|
import { useTheme } from '../design-system/ThemeProvider.js';
|
|
16
16
|
const SEP_WIDTH = stringWidth(' · ');
|
|
17
|
-
const THINKING_BARE_WIDTH = stringWidth('thinking');
|
|
18
17
|
const SHOW_TOKENS_AFTER_MS = 30_000;
|
|
19
18
|
const THINKING_DELAY_MS = 2800;
|
|
20
19
|
const THINKING_PULSE_MS = 1800;
|
|
@@ -37,7 +36,7 @@ function easeToward(current, target, elapsedMs, responseMs) {
|
|
|
37
36
|
* animation clock (frame, glimmer, token counter animation, elapsed time,
|
|
38
37
|
* stalled intensity, thinking shimmer).
|
|
39
38
|
*/
|
|
40
|
-
export function SpinnerAnimationRow({ mode, reducedMotion, hasActiveTools, responseLengthRef, uploadTokensRef, message, messageColor, shimmerColor, loadingStartTimeRef, totalPausedMsRef, pauseStartTimeRef, spinnerSuffix, verbose, columns, thinkingStatus, }) {
|
|
39
|
+
export function SpinnerAnimationRow({ progressCopy = { tokens: 'tokens', thinking: 'thinking', thoughtFor: 'thought for {{seconds}}s' }, mode, reducedMotion, hasActiveTools, responseLengthRef, uploadTokensRef, message, messageColor, shimmerColor, loadingStartTimeRef, totalPausedMsRef, pauseStartTimeRef, spinnerSuffix, verbose, columns, thinkingStatus, }) {
|
|
41
40
|
const [viewportRef, time] = useAnimationFrame(reducedMotion ? null : 50);
|
|
42
41
|
// === Elapsed time (wall-clock, derived from refs each frame) ===
|
|
43
42
|
const now = Date.now();
|
|
@@ -85,14 +84,14 @@ export function SpinnerAnimationRow({ mode, reducedMotion, hasActiveTools, respo
|
|
|
85
84
|
// Real upload tokens (last request's input + cache) ride beside the
|
|
86
85
|
// animated download estimate; both labeled once to keep the row short.
|
|
87
86
|
const tokensLabel = uploadTokens > 0
|
|
88
|
-
? `↑ ${formatNumber(uploadTokens)} · ↓ ${tokenCount} tokens`
|
|
89
|
-
: `↓ ${tokenCount} tokens`;
|
|
87
|
+
? `↑ ${formatNumber(uploadTokens)} · ↓ ${tokenCount} ${progressCopy.tokens}`
|
|
88
|
+
: `↓ ${tokenCount} ${progressCopy.tokens}`;
|
|
90
89
|
const tokensWidth = stringWidth(tokensLabel);
|
|
91
90
|
// === Thinking text (may shrink to fit) ===
|
|
92
91
|
let thinkingText = thinkingStatus === 'thinking'
|
|
93
|
-
?
|
|
92
|
+
? progressCopy.thinking
|
|
94
93
|
: typeof thinkingStatus === 'number'
|
|
95
|
-
?
|
|
94
|
+
? progressCopy.thoughtFor.replace('{{seconds}}', String(Math.max(1, Math.round(thinkingStatus / 1000))))
|
|
96
95
|
: null;
|
|
97
96
|
let thinkingWidthValue = thinkingText ? stringWidth(thinkingText) : 0;
|
|
98
97
|
// === Progressive width gating ===
|
|
@@ -103,9 +102,9 @@ export function SpinnerAnimationRow({ mode, reducedMotion, hasActiveTools, respo
|
|
|
103
102
|
const availableSpace = columns - messageWidth - 5;
|
|
104
103
|
let showThinking = wantsThinking && availableSpace > thinkingWidthValue;
|
|
105
104
|
if (!showThinking && wantsThinking && thinkingStatus === 'thinking') {
|
|
106
|
-
if (availableSpace >
|
|
107
|
-
thinkingText =
|
|
108
|
-
thinkingWidthValue =
|
|
105
|
+
if (availableSpace > stringWidth(progressCopy.thinking)) {
|
|
106
|
+
thinkingText = progressCopy.thinking;
|
|
107
|
+
thinkingWidthValue = stringWidth(progressCopy.thinking);
|
|
109
108
|
showThinking = true;
|
|
110
109
|
}
|
|
111
110
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { SpinnerMode } from './Spinner/spinnerMode.js';
|
|
3
|
+
import { type ProgressLanguage } from '../i18n.js';
|
|
3
4
|
/**
|
|
4
5
|
* The working spinner block shown between the transcript and the prompt
|
|
5
6
|
* input while a turn is in flight. The channel feeds the mode, token count,
|
|
@@ -7,8 +8,9 @@ import type { SpinnerMode } from './Spinner/spinnerMode.js';
|
|
|
7
8
|
*
|
|
8
9
|
* Random verb is picked once per turn (per mount of the spinner).
|
|
9
10
|
*/
|
|
10
|
-
export declare function WorkingSpinner({ mode, hasActiveTools, responseLengthRef, uploadTokensRef, loadingStartTimeRef, totalPausedMsRef, pauseStartTimeRef, thinkingStatus, }: {
|
|
11
|
+
export declare function WorkingSpinner({ mode, progressLanguage, hasActiveTools, responseLengthRef, uploadTokensRef, loadingStartTimeRef, totalPausedMsRef, pauseStartTimeRef, thinkingStatus, }: {
|
|
11
12
|
mode: SpinnerMode;
|
|
13
|
+
progressLanguage: ProgressLanguage;
|
|
12
14
|
hasActiveTools: boolean;
|
|
13
15
|
responseLengthRef: React.RefObject<number>;
|
|
14
16
|
/** Most recent request's real upload tokens; 0 until the first usage event. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkingSpinner.d.ts","sourceRoot":"","sources":["../../../src/components/WorkingSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAG1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"WorkingSpinner.d.ts","sourceRoot":"","sources":["../../../src/components/WorkingSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAG1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAG3D,OAAO,EAAqC,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAGrF;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,GACf,EAAE;IACD,IAAI,EAAE,WAAW,CAAA;IACjB,gBAAgB,EAAE,gBAAgB,CAAA;IAClC,cAAc,EAAE,OAAO,CAAA;IACvB,iBAAiB,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,CAAA;IAC1C,+EAA+E;IAC/E,eAAe,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,CAAA;IACxC,mBAAmB,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,CAAA;IAC5C,gBAAgB,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,CAAA;IACzC,iBAAiB,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;IACjD,cAAc,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAAA;CAC3C,GAAG,KAAK,CAAC,SAAS,CAkClB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,OAAO,GAClB,UAAU,GAAG,MAAM,GAAG,IAAI,CA6C5B"}
|
|
@@ -4,7 +4,7 @@ import { useTerminalSize } from '../ink/hooks/use-terminal-size.js';
|
|
|
4
4
|
import { Box } from '../ui.js';
|
|
5
5
|
import { SpinnerAnimationRow } from './Spinner/SpinnerAnimationRow.js';
|
|
6
6
|
import { SPINNER_VERBS } from '../terminal-utils/spinnerVerbs.js';
|
|
7
|
-
import {
|
|
7
|
+
import { progressSpinnerVerb, progressText } from '../i18n.js';
|
|
8
8
|
import { sample } from 'lodash-es';
|
|
9
9
|
/**
|
|
10
10
|
* The working spinner block shown between the transcript and the prompt
|
|
@@ -13,12 +13,17 @@ import { sample } from 'lodash-es';
|
|
|
13
13
|
*
|
|
14
14
|
* Random verb is picked once per turn (per mount of the spinner).
|
|
15
15
|
*/
|
|
16
|
-
export function WorkingSpinner({ mode, hasActiveTools, responseLengthRef, uploadTokensRef, loadingStartTimeRef, totalPausedMsRef, pauseStartTimeRef, thinkingStatus, }) {
|
|
16
|
+
export function WorkingSpinner({ mode, progressLanguage, hasActiveTools, responseLengthRef, uploadTokensRef, loadingStartTimeRef, totalPausedMsRef, pauseStartTimeRef, thinkingStatus, }) {
|
|
17
17
|
const { columns } = useTerminalSize();
|
|
18
18
|
// Pick a random verb once per spinner mount (per turn).
|
|
19
19
|
const [randomVerb] = useState(() => sample(SPINNER_VERBS) ?? 'Working');
|
|
20
|
-
const message = `${
|
|
21
|
-
|
|
20
|
+
const message = `${progressSpinnerVerb(progressLanguage, randomVerb)}…`;
|
|
21
|
+
const progressCopy = {
|
|
22
|
+
tokens: progressText(progressLanguage, 'tokens'),
|
|
23
|
+
thinking: progressText(progressLanguage, 'thinking'),
|
|
24
|
+
thoughtFor: progressText(progressLanguage, 'thoughtFor'),
|
|
25
|
+
};
|
|
26
|
+
return (_jsx(Box, { flexDirection: "column", width: "100%", alignItems: "flex-start", children: _jsx(SpinnerAnimationRow, { progressCopy: progressCopy, mode: mode, reducedMotion: false, hasActiveTools: hasActiveTools, responseLengthRef: responseLengthRef, uploadTokensRef: uploadTokensRef, message: message, messageColor: "accent", shimmerColor: "accentShimmer", loadingStartTimeRef: loadingStartTimeRef, totalPausedMsRef: totalPausedMsRef, pauseStartTimeRef: pauseStartTimeRef, spinnerSuffix: null, verbose: true, columns: columns, thinkingStatus: thinkingStatus }) }));
|
|
22
27
|
}
|
|
23
28
|
/**
|
|
24
29
|
* Tracks thinking status: 'thinking' while the model is streaming reasoning,
|
|
@@ -11,6 +11,8 @@ export interface Rgb {
|
|
|
11
11
|
g: number;
|
|
12
12
|
b: number;
|
|
13
13
|
}
|
|
14
|
+
/** Number of terminal cells painted by a line, including its trailing glyph spacing. */
|
|
15
|
+
export declare function bigTextWidth(text: string): number;
|
|
14
16
|
/**
|
|
15
17
|
* Render `text` in the 5-row block font. The gradient runs `from` → `to`
|
|
16
18
|
* across the full line width; a SWEEP_WINDOW-wide highlight mixed toward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bigfont.d.ts","sourceRoot":"","sources":["../../../src/components/bigfont.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AAEH,MAAM,WAAW,GAAG;IAClB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV;AAiCD;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,GAAG,EACT,EAAE,EAAE,GAAG,EACP,KAAK,EAAE,GAAG,EACV,MAAM,SAAK,GACV,MAAM,EAAE,CA+CV"}
|
|
1
|
+
{"version":3,"file":"bigfont.d.ts","sourceRoot":"","sources":["../../../src/components/bigfont.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AAEH,MAAM,WAAW,GAAG;IAClB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV;AAiCD,wFAAwF;AACxF,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEjD;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,GAAG,EACT,EAAE,EAAE,GAAG,EACP,KAAK,EAAE,GAAG,EACV,MAAM,SAAK,GACV,MAAM,EAAE,CA+CV"}
|
|
@@ -26,6 +26,10 @@ const WORD_GAP = 2;
|
|
|
26
26
|
const SWEEP_WINDOW = 8;
|
|
27
27
|
const esc = (rgb) => `\x1b[38;2;${rgb.r};${rgb.g};${rgb.b}m`;
|
|
28
28
|
const RESET = '\x1b[39m';
|
|
29
|
+
/** Number of terminal cells painted by a line, including its trailing glyph spacing. */
|
|
30
|
+
export function bigTextWidth(text) {
|
|
31
|
+
return [...text].reduce((width, ch) => width + (ch === ' ' ? WORD_GAP : ADVANCE), 0);
|
|
32
|
+
}
|
|
29
33
|
/**
|
|
30
34
|
* Render `text` in the 5-row block font. The gradient runs `from` → `to`
|
|
31
35
|
* across the full line width; a SWEEP_WINDOW-wide highlight mixed toward
|
|
@@ -40,7 +44,7 @@ const RESET = '\x1b[39m';
|
|
|
40
44
|
* @returns Five ANSI rows, one per block-font line.
|
|
41
45
|
*/
|
|
42
46
|
export function renderBigText(text, time, from, to, flash, stepMs = 60) {
|
|
43
|
-
const width =
|
|
47
|
+
const width = bigTextWidth(text);
|
|
44
48
|
const cycle = width + SWEEP_WINDOW * 2;
|
|
45
49
|
const sweepStart = (Math.floor(time / stepMs) % cycle) - SWEEP_WINDOW;
|
|
46
50
|
const pulse = (Math.sin(time / (stepMs * 2)) + 1) / 2;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Width reserved for the whale's widest animated frame. */
|
|
2
|
+
export declare const WHALE_BOX_WIDTH = 40;
|
|
3
|
+
export declare const COLUMN_GAP = 2;
|
|
4
|
+
/** Choose one complete splash layout for the available content columns. */
|
|
5
|
+
export declare function resolveSplashLayout(columns: number, { whale }: {
|
|
6
|
+
whale: boolean;
|
|
7
|
+
}): {
|
|
8
|
+
showWhale: boolean;
|
|
9
|
+
showBigTitle: boolean;
|
|
10
|
+
showPlainTitle: boolean;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=splashLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"splashLayout.d.ts","sourceRoot":"","sources":["../../../src/components/splashLayout.ts"],"names":[],"mappings":"AAEA,4DAA4D;AAC5D,eAAO,MAAM,eAAe,KAAK,CAAA;AACjC,eAAO,MAAM,UAAU,IAAI,CAAA;AAE3B,2EAA2E;AAC3E,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,GAAG;IACnF,SAAS,EAAE,OAAO,CAAA;IAClB,YAAY,EAAE,OAAO,CAAA;IACrB,cAAc,EAAE,OAAO,CAAA;CACxB,CAYA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { bigTextWidth } from './bigfont.js';
|
|
2
|
+
/** Width reserved for the whale's widest animated frame. */
|
|
3
|
+
export const WHALE_BOX_WIDTH = 40;
|
|
4
|
+
export const COLUMN_GAP = 2;
|
|
5
|
+
/** Choose one complete splash layout for the available content columns. */
|
|
6
|
+
export function resolveSplashLayout(columns, { whale }) {
|
|
7
|
+
const titleWidth = bigTextWidth('DEEPSEEK');
|
|
8
|
+
if (whale && columns >= WHALE_BOX_WIDTH + COLUMN_GAP + titleWidth) {
|
|
9
|
+
return { showWhale: true, showBigTitle: true, showPlainTitle: false };
|
|
10
|
+
}
|
|
11
|
+
if (columns >= titleWidth) {
|
|
12
|
+
return { showWhale: false, showBigTitle: true, showPlainTitle: false };
|
|
13
|
+
}
|
|
14
|
+
if (whale && columns >= WHALE_BOX_WIDTH) {
|
|
15
|
+
return { showWhale: true, showBigTitle: false, showPlainTitle: false };
|
|
16
|
+
}
|
|
17
|
+
return { showWhale: false, showBigTitle: false, showPlainTitle: true };
|
|
18
|
+
}
|
|
@@ -53,7 +53,7 @@ export interface ActivityView {
|
|
|
53
53
|
/** Timestamp of the last folded event — the value's freshness signal. */
|
|
54
54
|
readonly updatedAt: number;
|
|
55
55
|
/** Language the line was rendered in. */
|
|
56
|
-
readonly lang: 'zh' | 'en';
|
|
56
|
+
readonly lang: 'zh' | 'en' | 'ja';
|
|
57
57
|
}
|
|
58
58
|
/** The slice of the host projection registry this module uses. */
|
|
59
59
|
export interface ProjectionRegistryLike {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity-store.d.ts","sourceRoot":"","sources":["../../../src/dsh-adapter/activity-store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAGlD,wDAAwD;AACxD,eAAO,MAAM,uBAAuB,oBAAoB,CAAA;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C,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAK3C,OAAO,CAAC,IAAI;CAGb;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,aAAa,GACnB,CAAC,OAAO,EAAE;IAAE,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAA;CAAE,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAW1E;AAED,8EAA8E;AAC9E,eAAO,MAAM,YAAY,MAAM,CAAA;AAK/B;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,aAAa,GAAG,IAAI,CAwCjF;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,aAAa,CAIjF;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,YAAY,GAAG,SAAS,CAIzG;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,sBAAsB,GAAG,SAAS,EAC5C,KAAK,EAAE,aAAa,EACpB,OAAO,EAAE,OAAO,GACf,IAAI,CAkBN"}
|
|
@@ -6,7 +6,7 @@ import type { SelectionAttachment } from '../../adapter/ports/channel-view.js';
|
|
|
6
6
|
import type { InputConvergence } from './input-actions.js';
|
|
7
7
|
import type { BackgroundJobStore } from '../jobs.js';
|
|
8
8
|
import type { TuiRendererHost } from '../renderers.js';
|
|
9
|
-
type ProjectionState = Pick<ChannelState, 'rows' | 'thinkingFold' | 'activeToolCount' | 'spinnerMode' | 'goal' | 'contextSegments' | 'tokens' | 'lastUsage' | 'lastUserText' | 'responseChars' | 'tps' | 'cancelPending' | 'working' | 'turnStart' | 'tpsSamples' | 'contextWindow' | 'reasoningEffort' | 'sessionTitle' | 'todos' | 'agentPreset' | 'sessionColor' | 'status' | 'emit'>;
|
|
9
|
+
type ProjectionState = Pick<ChannelState, 'rows' | 'thinkingFold' | 'activeToolCount' | 'spinnerMode' | 'progressLanguage' | 'goal' | 'contextSegments' | 'tokens' | 'lastUsage' | 'lastUserText' | 'responseChars' | 'tps' | 'cancelPending' | 'working' | 'turnStart' | 'tpsSamples' | 'contextWindow' | 'reasoningEffort' | 'sessionTitle' | 'todos' | 'agentPreset' | 'sessionColor' | 'status' | 'emit'>;
|
|
10
10
|
interface ProjectionDependencies {
|
|
11
11
|
agent(): Agent;
|
|
12
12
|
rowIds: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projection.d.ts","sourceRoot":"","sources":["../../../../src/dsh-adapter/channel/projection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAe,MAAM,sBAAsB,CAAA;AACrE,OAAO,KAAK,EAAE,YAAY,EAAwB,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AACrH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAA;AAE9E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"projection.d.ts","sourceRoot":"","sources":["../../../../src/dsh-adapter/channel/projection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,C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;IAC1B;+DAC2D;IAC3D,WAAW,IAAI,OAAO,CAAA;IACtB;4EACwE;IACxE,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,mBAAmB,GAAG,SAAS,CAAA;CACrE;AACD,iFAAiF;AACjF,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,sBAAsB;iBAm/BxE,IAAI;2BAlqBQ,SAAS,YAAY,EAAE,KAAG,IAAI;yBAiGhC,YAAY,KAAG,IAAI;+BAxBb,oBAAoB,KAAG,IAAI;2BAtKjC,IAAI;6BAgBF,IAAI;4BA3IH,MAAM,WAAW,MAAM,KAAG,YAAY,GAAG,SAAS;8BAYhD,MAAM,WAAW,MAAM,QAAQ,YAAY,CAAC,aAAa,CAAC,CAAC,MAAM,CAAC,KAAG,cAAc,GAAG,SAAS;sBAoBvG,SAAS,YAAY,EAAE,GAAG,SAAS,KAAG,MAAM;2BASvC,SAAS,YAAY,EAAE,GAAG,SAAS,KAAG,MAAM;EAq2B3E"}
|
|
@@ -10,6 +10,7 @@ import { logForDebugging } from '../../utils/debug.js';
|
|
|
10
10
|
import { cleanRenderText } from '../sanitize.js';
|
|
11
11
|
import { NOTICE_CELLS } from './decisions.js';
|
|
12
12
|
import { markChannelReadDirty } from '../../adapter/channel/read-view.js';
|
|
13
|
+
import { detectInputLanguage } from 'dsh-working-activity/lang';
|
|
13
14
|
/** One authoritative reducer for both durable replay and live session events. */
|
|
14
15
|
export function createChannelProjection(state, deps) {
|
|
15
16
|
/** The in-progress assistant text row; `undefined` when no step is streaming. */
|
|
@@ -486,6 +487,9 @@ export function createChannelProjection(state, deps) {
|
|
|
486
487
|
if (event.data.source.kind !== 'user')
|
|
487
488
|
break;
|
|
488
489
|
const text = firstTextOf(event.data.content);
|
|
490
|
+
const detectedLanguage = detectInputLanguage(text);
|
|
491
|
+
if (detectedLanguage !== undefined)
|
|
492
|
+
state.progressLanguage = detectedLanguage;
|
|
489
493
|
const images = transcriptImages(event.data.content);
|
|
490
494
|
if (text || images.length > 0) {
|
|
491
495
|
// IDE selection indicator: the delivery path remembered what this
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ChannelState } from './types.js';
|
|
2
|
-
export type SessionResetState = Pick<ChannelState, 'rows' | 'todos' | 'pending' | 'goal' | 'sessionTitle' | 'sessionColor' | 'tokens' | 'responseChars' | 'activeToolCount' | 'lastUserText' | 'working' | 'cancelPending' | 'spinnerMode' | 'tps' | 'tpsSamples' | 'lastUsage' | 'contextSegments'>;
|
|
2
|
+
export type SessionResetState = Pick<ChannelState, 'rows' | 'todos' | 'pending' | 'goal' | 'sessionTitle' | 'sessionColor' | 'tokens' | 'responseChars' | 'activeToolCount' | 'lastUserText' | 'progressLanguage' | 'working' | 'cancelPending' | 'spinnerMode' | 'tps' | 'tpsSamples' | 'lastUsage' | 'contextSegments'>;
|
|
3
3
|
/**
|
|
4
4
|
* Reset the projection facts shared by every foreground session adoption.
|
|
5
5
|
* Target-specific route, cwd, preset, loaded-context and status fields stay
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-reset.d.ts","sourceRoot":"","sources":["../../../../src/dsh-adapter/channel/session-reset.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"session-reset.d.ts","sourceRoot":"","sources":["../../../../src/dsh-adapter/channel/session-reset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9C,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,YAAY,EACV,MAAM,GACN,OAAO,GACP,SAAS,GACT,MAAM,GACN,cAAc,GACd,cAAc,GACd,QAAQ,GACR,eAAe,GACf,iBAAiB,GACjB,cAAc,GACd,kBAAkB,GAClB,SAAS,GACT,eAAe,GACf,aAAa,GACb,KAAK,GACL,YAAY,GACZ,WAAW,GACX,iBAAiB,CACpB,CAAA;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,iBAAiB,EACxB,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,EACzB,cAAc,EAAE,MAAM,IAAI,EAC1B,cAAc,EAAE,MAAM,IAAI,EAC1B,SAAS,EAAE,MAAM,IAAI,GACpB,IAAI,CAqCN"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { markChannelReadDirty } from '../../adapter/channel/read-view.js';
|
|
2
|
+
import { terminalProgressLang } from 'dsh-working-activity/lang';
|
|
2
3
|
/**
|
|
3
4
|
* Reset the projection facts shared by every foreground session adoption.
|
|
4
5
|
* Target-specific route, cwd, preset, loaded-context and status fields stay
|
|
@@ -27,6 +28,7 @@ export function resetSessionProjection(state, rowIds, resetProjector, resetSubag
|
|
|
27
28
|
state.responseChars = 0;
|
|
28
29
|
state.activeToolCount = 0;
|
|
29
30
|
state.lastUserText = '';
|
|
31
|
+
state.progressLanguage = terminalProgressLang();
|
|
30
32
|
state.working = false;
|
|
31
33
|
state.cancelPending = false;
|
|
32
34
|
state.spinnerMode = 'requesting';
|
|
@@ -47,5 +47,5 @@ export declare function createInitialChannelView(options: ChannelLaunchOptions,
|
|
|
47
47
|
sessionId: string;
|
|
48
48
|
mode: ChannelState['mode'];
|
|
49
49
|
cwdDescription: string;
|
|
50
|
-
}): Pick<ChannelState, 'effortLevels' | 'version' | 'rows' | 'status' | 'sessionTitle' | 'sessionColor' | 'agentId' | 'sessionId' | 'agentBindingGeneration' | 'model' | 'provider' | 'tokens' | 'cwd' | 'displayCwd' | 'gitBranch' | 'working' | 'cancelPending' | 'spinnerMode' | 'responseChars' | 'activeToolCount' | 'turnStart' | 'lastUserText' | 'notifications' | 'contextWindow' | 'reasoningEffort' | 'mode' | 'modeIndex' | 'activityFrames' | 'configuredProvider' | 'configuredModel' | 'configuredPreset' | 'configuredActivityFrames' | 'configuredLang' | 'diffLayout' | 'thinkingFold' | 'toolBackground' | 'scrollGutter' | 'pageMargin' | 'foldTerminalCommand' | 'promptSessionLabel' | 'expandEditor' | 'smoothStreaming' | 'statusBar' | 'whale' | 'whaleIdle' | 'minimal' | 'activityEnabled' | 'contextBarEnabled' | 'agentPreset' | 'goal' | 'todos' | 'loadedContext' | 'pending' | 'commandList' | 'lastUsage' | 'tps' | 'tpsSamples' | 'contextSegments' | 'subagents' | 'backgroundJobs' | 'selection'>;
|
|
50
|
+
}): Pick<ChannelState, 'effortLevels' | 'version' | 'rows' | 'status' | 'sessionTitle' | 'sessionColor' | 'agentId' | 'sessionId' | 'agentBindingGeneration' | 'model' | 'provider' | 'tokens' | 'cwd' | 'displayCwd' | 'gitBranch' | 'working' | 'cancelPending' | 'spinnerMode' | 'responseChars' | 'activeToolCount' | 'turnStart' | 'lastUserText' | 'progressLanguage' | 'notifications' | 'contextWindow' | 'reasoningEffort' | 'mode' | 'modeIndex' | 'activityFrames' | 'configuredProvider' | 'configuredModel' | 'configuredPreset' | 'configuredActivityFrames' | 'configuredLang' | 'diffLayout' | 'thinkingFold' | 'toolBackground' | 'scrollGutter' | 'pageMargin' | 'foldTerminalCommand' | 'promptSessionLabel' | 'expandEditor' | 'smoothStreaming' | 'statusBar' | 'whale' | 'whaleIdle' | 'minimal' | 'activityEnabled' | 'contextBarEnabled' | 'agentPreset' | 'goal' | 'todos' | 'loadedContext' | 'pending' | 'commandList' | 'lastUsage' | 'tps' | 'tpsSamples' | 'contextSegments' | 'subagents' | 'backgroundJobs' | 'selection'>;
|
|
51
51
|
//# sourceMappingURL=state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/dsh-adapter/channel/state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/dsh-adapter/channel/state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAEzD,O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AgB,GAAG,WAAW,CACtG,CAuBA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { terminalProgressLang } from 'dsh-working-activity/lang';
|
|
1
2
|
import { normalizePageMargin, normalizeScrollGutter, normalizeStatusBar, normalizeToolBackground } from '../../tuiDisplayPrefs.js';
|
|
2
3
|
import { normalizeActivityPreset } from '../../components/activityFrames.js';
|
|
3
4
|
/**
|
|
@@ -12,7 +13,7 @@ export function createInitialChannelView(options, input) {
|
|
|
12
13
|
tokens: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0, peak: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, idle: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 } },
|
|
13
14
|
cwd: options.cwd, displayCwd: input.cwdDescription, gitBranch: undefined, working: false,
|
|
14
15
|
cancelPending: false, spinnerMode: 'requesting', responseChars: 0, activeToolCount: 0,
|
|
15
|
-
turnStart: 0, lastUserText: '', notifications: [], contextWindow: undefined,
|
|
16
|
+
turnStart: 0, lastUserText: '', progressLanguage: terminalProgressLang(), notifications: [], contextWindow: undefined,
|
|
16
17
|
reasoningEffort: options.effort, mode: input.mode, modeIndex: 0,
|
|
17
18
|
activityFrames: normalizeActivityPreset(options.activityFrames), configuredProvider: options.configuredProvider,
|
|
18
19
|
configuredModel: options.configuredModel, configuredPreset: options.configuredPreset,
|
package/lib/types/i18n.d.ts
CHANGED
|
@@ -2905,8 +2905,12 @@ declare const dict: {
|
|
|
2905
2905
|
readonly en: "Could not load models; reopen /model to retry";
|
|
2906
2906
|
};
|
|
2907
2907
|
readonly 'hint-model-groups': {
|
|
2908
|
-
readonly zh: "**Enter** 查看模型 · Esc 退出";
|
|
2909
|
-
readonly en: "**Enter** to view models · Esc to exit";
|
|
2908
|
+
readonly zh: "**Enter** 查看模型 · **Tab** 全部模型 · Esc 退出";
|
|
2909
|
+
readonly en: "**Enter** to view models · **Tab** all models · Esc to exit";
|
|
2910
|
+
};
|
|
2911
|
+
readonly 'hint-model-all': {
|
|
2912
|
+
readonly zh: "**Enter** 切换模型 · **Tab** 提供方分组 · Esc 退出";
|
|
2913
|
+
readonly en: "**Enter** to switch · **Tab** provider groups · Esc to exit";
|
|
2910
2914
|
};
|
|
2911
2915
|
readonly 'hint-model-back': {
|
|
2912
2916
|
readonly zh: "**Enter** 切换模型 · Esc/⌫ 返回上级";
|
|
@@ -4409,6 +4413,32 @@ export declare function t(key: I18nKey, params?: I18nParams): string;
|
|
|
4409
4413
|
* @param params - Placeholder values substituted into whichever text wins.
|
|
4410
4414
|
*/
|
|
4411
4415
|
export declare function tOr(key: string, fallback: string, params?: I18nParams): string;
|
|
4416
|
+
/** Progress copy follows the accepted prompt instead of the global /lang setting. */
|
|
4417
|
+
declare const progressDict: {
|
|
4418
|
+
readonly working: {
|
|
4419
|
+
readonly en: "Working";
|
|
4420
|
+
readonly zh: "工作中";
|
|
4421
|
+
readonly ja: "作業中";
|
|
4422
|
+
};
|
|
4423
|
+
readonly tokens: {
|
|
4424
|
+
readonly en: "tokens";
|
|
4425
|
+
readonly zh: "token";
|
|
4426
|
+
readonly ja: "トークン";
|
|
4427
|
+
};
|
|
4428
|
+
readonly thinking: {
|
|
4429
|
+
readonly en: "thinking";
|
|
4430
|
+
readonly zh: "思考中";
|
|
4431
|
+
readonly ja: "思考中";
|
|
4432
|
+
};
|
|
4433
|
+
readonly thoughtFor: {
|
|
4434
|
+
readonly en: "thought for {{seconds}}s";
|
|
4435
|
+
readonly zh: "思考了 {{seconds}} 秒";
|
|
4436
|
+
readonly ja: "{{seconds}} 秒思考";
|
|
4437
|
+
};
|
|
4438
|
+
};
|
|
4439
|
+
export type ProgressLanguage = 'en' | 'zh' | 'ja';
|
|
4440
|
+
export declare function progressText(language: ProgressLanguage, key: keyof typeof progressDict, params?: I18nParams): string;
|
|
4441
|
+
export declare function progressSpinnerVerb(language: ProgressLanguage, verb: string): string;
|
|
4412
4442
|
/** Read-only view of the dictionary for audits (scripts/verify-i18n.ts). */
|
|
4413
4443
|
export declare const i18nDict: Readonly<Record<string, {
|
|
4414
4444
|
readonly zh?: I18nText;
|
package/lib/types/i18n.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AAMH,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAI9B,+DAA+D;AAC/D,eAAO,MAAM,KAAK,uBAAwB,CAAA;AAE1C;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAE9D,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AAMH,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAI9B,+DAA+D;AAC/D,eAAO,MAAM,KAAK,uBAAwB,CAAA;AAE1C;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAE9D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAQ,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,QAAQ,CAAA;CAAE,CAAC,CAAQ,CAAA;AAI1G;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAS5D;AAED,wEAAwE;AACxE,wBAAgB,YAAY,CAAC,GAAG,GAAE,MAAkB,GAAG,IAAI,GAAG,SAAS,CAMtE;AAED,iDAAiD;AACjD,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,GAAE,MAAkB,GAAG,OAAO,CAU1E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAWvC;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,CAIzC"}
|
package/lib/types/i18n.js
CHANGED
|
@@ -905,7 +905,8 @@ const dict = {
|
|
|
905
905
|
'picker-model-empty': { zh: '没有可用模型', en: 'No models available' },
|
|
906
906
|
'picker-model-no-match': { zh: '没有匹配的模型', en: 'No matching models' },
|
|
907
907
|
'picker-model-error': { zh: '模型列表获取失败,请重新打开 /model', en: 'Could not load models; reopen /model to retry' },
|
|
908
|
-
'hint-model-groups': { zh: '**Enter** 查看模型 · Esc 退出', en: '**Enter** to view models · Esc to exit' },
|
|
908
|
+
'hint-model-groups': { zh: '**Enter** 查看模型 · **Tab** 全部模型 · Esc 退出', en: '**Enter** to view models · **Tab** all models · Esc to exit' },
|
|
909
|
+
'hint-model-all': { zh: '**Enter** 切换模型 · **Tab** 提供方分组 · Esc 退出', en: '**Enter** to switch · **Tab** provider groups · Esc to exit' },
|
|
909
910
|
'hint-model-back': { zh: '**Enter** 切换模型 · Esc/⌫ 返回上级', en: '**Enter** to switch · Esc/⌫ to go back' },
|
|
910
911
|
'picker-title-skills': { zh: '技能', en: 'Skills' },
|
|
911
912
|
'skills-loading': { zh: '正在加载技能', en: 'Loading skills' },
|
|
@@ -1416,6 +1417,23 @@ export function tOr(key, fallback, params = {}) {
|
|
|
1416
1417
|
const entry = dict[key];
|
|
1417
1418
|
return substitute(pickText(entry?.[activeLang], params) ?? fallback, params);
|
|
1418
1419
|
}
|
|
1420
|
+
/** Progress copy follows the accepted prompt instead of the global /lang setting. */
|
|
1421
|
+
const progressDict = {
|
|
1422
|
+
working: { en: 'Working', zh: '工作中', ja: '作業中' },
|
|
1423
|
+
tokens: { en: 'tokens', zh: 'token', ja: 'トークン' },
|
|
1424
|
+
thinking: { en: 'thinking', zh: '思考中', ja: '思考中' },
|
|
1425
|
+
thoughtFor: { en: 'thought for {{seconds}}s', zh: '思考了 {{seconds}} 秒', ja: '{{seconds}} 秒思考' },
|
|
1426
|
+
};
|
|
1427
|
+
export function progressText(language, key, params = {}) {
|
|
1428
|
+
return substitute(progressDict[key][language], params);
|
|
1429
|
+
}
|
|
1430
|
+
export function progressSpinnerVerb(language, verb) {
|
|
1431
|
+
if (language === 'ja')
|
|
1432
|
+
return progressText(language, 'working');
|
|
1433
|
+
const entry = dict[`spinner-verb-${verb.toLowerCase()}`];
|
|
1434
|
+
const copy = entry?.[language];
|
|
1435
|
+
return typeof copy === 'string' ? copy : verb;
|
|
1436
|
+
}
|
|
1419
1437
|
/** Read-only view of the dictionary for audits (scripts/verify-i18n.ts). */
|
|
1420
1438
|
export const i18nDict = dict;
|
|
1421
1439
|
// ── persistence (~/.dsh-tui/lang.json) ─────────────────────────────────
|
|
@@ -33,6 +33,8 @@ export interface ModelGroupRow {
|
|
|
33
33
|
}
|
|
34
34
|
/** Literal, case-insensitive AND matching across a model's identifying fields. */
|
|
35
35
|
export declare function filterModels(models: readonly LlmModelInfo[], query: string, providers: readonly LlmProviderInfo[]): readonly LlmModelInfo[];
|
|
36
|
+
/** Initial focus in the flat, search-first picker. */
|
|
37
|
+
export declare function modelPickerFlatIndex(models: readonly LlmModelInfo[], currentProvider: string | undefined, currentModel: string | undefined): number;
|
|
36
38
|
/**
|
|
37
39
|
* The recent refs that the current catalog still lists, most-recent-first —
|
|
38
40
|
* the second level of the recents group. Refs whose model vanished from the
|
|
@@ -48,7 +50,7 @@ export declare function recentCatalogModels(recents: readonly ModelRef[], models
|
|
|
48
50
|
* still catalogued) pin one extra pseudo-group at the top.
|
|
49
51
|
*/
|
|
50
52
|
export declare function deriveModelGroups(models: readonly LlmModelInfo[], providerInfos: readonly LlmProviderInfo[], recents?: readonly ModelRef[]): readonly ModelGroupRow[];
|
|
51
|
-
/** Where
|
|
53
|
+
/** Where the optional provider-group view should land. */
|
|
52
54
|
export interface ModelPickerLanding {
|
|
53
55
|
/**
|
|
54
56
|
* The group to open *inside* — set only by the single-provider fast path,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modelGroups.d.ts","sourceRoot":"","sources":["../../src/modelGroups.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AAEpF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,gBAAgB,CAAA;AAEnD,gFAAgF;AAChF,eAAO,MAAM,yBAAyB,eAAe,CAAA;AAErD,8EAA8E;AAC9E,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;CACpB;AAED,2EAA2E;AAC3E,MAAM,WAAW,aAAa;IAC5B,8EAA8E;IAC9E,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,mFAAmF;IACnF,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,6DAA6D;IAC7D,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACvB;AAED,kFAAkF;AAClF,wBAAgB,YAAY,CAC1B,MAAM,EAAE,SAAS,YAAY,EAAE,EAC/B,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,SAAS,eAAe,EAAE,GACpC,SAAS,YAAY,EAAE,CAQzB;AAED;;;;;;GA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SAAS,EACnC,YAAY,EAAE,MAAM,GAAG,SAAS,GAC/B,MAAM,CAGR;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,SAAS,QAAQ,EAAE,EAC5B,MAAM,EAAE,SAAS,YAAY,EAAE,GAC9B,SAAS,YAAY,EAAE,CAUzB;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,SAAS,YAAY,EAAE,EAC/B,aAAa,EAAE,SAAS,eAAe,EAAE,EACzC,OAAO,CAAC,EAAE,SAAS,QAAQ,EAAE,GAC5B,SAAS,aAAa,EAAE,CAsB1B;AAED,0DAA0D;AAC1D,MAAM,WAAW,kBAAkB;IACjC;;;;;OAKG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IAClC,kDAAkD;IAClD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACvB;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,SAAS,YAAY,EAAE,EAC/B,eAAe,EAAE,MAAM,GAAG,SAAS,EACnC,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,OAAO,CAAC,EAAE,SAAS,QAAQ,EAAE,GAC5B,kBAAkB,CAiBpB"}
|
package/lib/types/modelGroups.js
CHANGED
|
@@ -27,6 +27,10 @@ export function filterModels(models, query, providers) {
|
|
|
27
27
|
return terms.every(term => fields.some(field => field.includes(term)));
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
+
/** Initial focus in the flat, search-first picker. */
|
|
31
|
+
export function modelPickerFlatIndex(models, currentProvider, currentModel) {
|
|
32
|
+
return Math.max(0, models.findIndex(model => model.provider === currentProvider && model.id === currentModel));
|
|
33
|
+
}
|
|
30
34
|
/**
|
|
31
35
|
* The recent refs that the current catalog still lists, most-recent-first —
|
|
32
36
|
* the second level of the recents group. Refs whose model vanished from the
|