@askdkc/dsh-cli 0.11.7 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -0
- package/README.md +49 -282
- 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/ModelDialogLayer.d.ts +12 -0
- package/lib/types/components/ModelDialogLayer.d.ts.map +1 -0
- package/lib/types/components/ModelDialogLayer.js +39 -0
- package/lib/types/components/ModelPicker.d.ts +12 -43
- package/lib/types/components/ModelPicker.d.ts.map +1 -1
- package/lib/types/components/ModelPicker.js +15 -47
- 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/design-system/ListItem.d.ts.map +1 -1
- package/lib/types/components/design-system/ListItem.js +1 -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/command-completions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/command-completions.js +11 -2
- 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/dsh-adapter/contract.d.ts +3 -3
- package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.js +4 -3
- package/lib/types/i18n.d.ts +44 -22
- package/lib/types/i18n.d.ts.map +1 -1
- package/lib/types/i18n.js +22 -6
- package/lib/types/modelFavorites.d.ts +8 -0
- package/lib/types/modelFavorites.d.ts.map +1 -0
- package/lib/types/modelFavorites.js +59 -0
- package/lib/types/modelGroups.d.ts +6 -7
- package/lib/types/modelGroups.d.ts.map +1 -1
- package/lib/types/modelGroups.js +8 -7
- package/lib/types/modelPickerRows.d.ts +19 -0
- package/lib/types/modelPickerRows.d.ts.map +1 -0
- package/lib/types/modelPickerRows.js +54 -0
- package/lib/types/screens/Chat.d.ts.map +1 -1
- package/lib/types/screens/Chat.js +189 -240
- package/lib/types/screens/chatOverlay.d.ts.map +1 -1
- package/lib/types/screens/chatOverlay.js +2 -0
- 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 +17 -12
- 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 +104 -100
- package/vendor/dsh-working-activity/node_modules/zod/LICENSE +21 -0
- package/vendor/dsh-working-activity/node_modules/zod/README.md +191 -0
- package/vendor/dsh-working-activity/node_modules/zod/index.cjs +33 -0
- package/vendor/dsh-working-activity/node_modules/zod/index.d.cts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/index.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/index.js +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/locales/index.cjs +17 -0
- package/vendor/dsh-working-activity/node_modules/zod/locales/index.d.cts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/locales/index.d.ts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/locales/index.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/locales/package.json +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/mini/index.cjs +32 -0
- package/vendor/dsh-working-activity/node_modules/zod/mini/index.d.cts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/mini/index.d.ts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/mini/index.js +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/mini/package.json +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/package.json +135 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/index.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/locales/index.ts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/mini/index.ts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/errors.ts +13 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/external.ts +6 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/index.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v3/types.ts +5138 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/checks.ts +32 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/external.ts +52 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/api.ts +1823 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/config.ts +15 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/core.ts +153 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/errors.ts +455 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/index.ts +16 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/regexes.ts +190 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/schemas.ts +4730 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/util.ts +983 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/index.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/el.ts +121 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/en.ts +123 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/fr.ts +132 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/hr.ts +131 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/index.ts +52 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ro.ts +129 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/uz.ts +117 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/external.ts +41 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
- package/vendor/dsh-working-activity/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/ZodError.cjs +138 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/ZodError.js +133 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/errors.cjs +17 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/errors.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/errors.d.ts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/errors.js +9 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/external.cjs +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/external.d.cts +6 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/external.d.ts +6 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/external.js +6 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/util.js +133 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/index.cjs +33 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/index.d.cts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/index.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/index.js +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/locales/en.cjs +112 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/locales/en.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/package.json +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/standard-schema.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/types.cjs +3777 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/types.d.cts +1034 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/types.d.ts +1034 -0
- package/vendor/dsh-working-activity/node_modules/zod/v3/types.js +3695 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/checks.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/coerce.js +17 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/compat.js +31 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/errors.js +48 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/external.cjs +73 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/external.d.cts +16 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/external.d.ts +16 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/external.js +20 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/from-json-schema.js +599 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/index.cjs +33 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/index.js +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/iso.js +30 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/package.json +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/parse.js +15 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/schemas.cjs +1511 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/schemas.d.cts +767 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/schemas.d.ts +767 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/classic/schemas.js +1395 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/api.cjs +1227 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/api.d.cts +325 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/api.d.ts +325 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/api.js +1087 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/checks.cjs +601 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/checks.js +575 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/core.cjs +85 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/core.d.cts +70 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/core.d.ts +70 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/core.js +78 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/doc.cjs +39 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/doc.js +35 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/errors.cjs +216 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/errors.d.cts +221 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/errors.d.ts +221 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/errors.js +185 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/index.cjs +47 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/index.d.cts +16 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/index.d.ts +16 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/index.js +16 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-processors.js +601 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/package.json +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/parse.cjs +131 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/parse.js +93 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/regexes.cjs +172 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/regexes.d.cts +85 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/regexes.d.ts +85 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/regexes.js +139 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/registries.cjs +56 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/registries.js +51 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/schemas.cjs +2270 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/schemas.d.cts +1184 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/schemas.d.ts +1184 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/schemas.js +2239 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/to-json-schema.js +448 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/util.cjs +734 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/util.d.cts +200 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/util.d.ts +200 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/util.js +674 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/versions.cjs +8 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/core/versions.js +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/index.cjs +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/index.d.cts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/index.d.ts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/index.js +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ar.js +106 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/az.cjs +132 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/az.js +105 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/be.cjs +183 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/be.js +156 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/bg.js +120 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ca.js +107 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/cs.js +111 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/da.cjs +142 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/da.js +115 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/de.cjs +135 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/de.js +108 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/el.cjs +136 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/el.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/en.cjs +140 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/en.js +113 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/eo.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/es.cjs +159 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/es.js +132 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fa.js +114 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fi.js +112 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr.cjs +152 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr.js +125 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/he.cjs +241 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/he.js +214 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hr.cjs +149 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hr.js +122 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hu.js +108 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hy.js +147 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/id.cjs +133 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/id.js +106 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/index.cjs +111 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/index.d.cts +52 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/index.d.ts +52 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/index.js +52 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/is.cjs +136 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/is.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/it.cjs +135 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/it.js +108 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ja.js +107 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ka.js +112 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/kh.js +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/km.cjs +137 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/km.js +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ko.js +111 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/lt.js +203 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/mk.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ms.js +107 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/nl.js +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/no.cjs +135 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/no.js +108 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ota.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/package.json +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pl.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ps.js +114 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pt.js +108 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ro.cjs +146 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ro.js +119 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ru.js +156 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sl.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sv.js +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ta.js +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/th.cjs +137 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/th.js +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/tr.js +105 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ua.js +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uk.js +108 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ur.js +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uz.cjs +137 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uz.js +110 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/vi.js +108 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/yo.js +107 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/checks.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/coerce.js +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/external.cjs +63 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/external.d.cts +13 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/external.d.ts +13 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/external.js +14 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/index.cjs +32 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/index.js +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/iso.js +34 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/package.json +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/parse.js +1 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/schemas.cjs +1083 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/schemas.d.cts +445 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/schemas.d.ts +445 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/mini/schemas.js +961 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4/package.json +7 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4-mini/index.cjs +32 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4-mini/index.js +3 -0
- package/vendor/dsh-working-activity/node_modules/zod/v4-mini/package.json +7 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Box, useApp, useTerminalSize } from '../ui.js';
|
|
4
|
+
import measureElement from '../ink/measure-element.js';
|
|
5
|
+
/** Root-level, zero-layout-height modal. Its catcher and card are siblings. */
|
|
6
|
+
export function ModelDialogLayer({ children, onClose, onInsufficientSpace, fullscreen }) {
|
|
7
|
+
const terminal = useTerminalSize();
|
|
8
|
+
const { stdout } = useApp();
|
|
9
|
+
const ref = React.useRef(null);
|
|
10
|
+
const [region, setRegion] = React.useState({ columns: terminal.columns, rows: terminal.rows });
|
|
11
|
+
React.useLayoutEffect(() => {
|
|
12
|
+
const node = ref.current;
|
|
13
|
+
const parent = node?.parentNode;
|
|
14
|
+
if (!node || !parent)
|
|
15
|
+
return;
|
|
16
|
+
const { width } = measureElement(node);
|
|
17
|
+
const { height } = measureElement(parent);
|
|
18
|
+
let bottom = height;
|
|
19
|
+
let rootHeight = height;
|
|
20
|
+
for (let ancestor = parent; ancestor; ancestor = ancestor.parentNode) {
|
|
21
|
+
bottom += ancestor.yogaNode?.getComputedTop() ?? 0;
|
|
22
|
+
rootHeight = ancestor.yogaNode?.getComputedHeight() ?? rootHeight;
|
|
23
|
+
}
|
|
24
|
+
const terminalRows = stdout.rows ?? terminal.rows;
|
|
25
|
+
const visibleTop = rootHeight > terminalRows ? rootHeight - terminalRows + 1 : 0;
|
|
26
|
+
const rows = fullscreen ? terminalRows : Math.max(1, Math.min(terminalRows, bottom - visibleTop));
|
|
27
|
+
if (!fullscreen && rows < 8)
|
|
28
|
+
onInsufficientSpace?.();
|
|
29
|
+
const columns = Math.max(1, width || terminal.columns);
|
|
30
|
+
setRegion(previous => previous.columns === columns && previous.rows === rows ? previous : { columns, rows });
|
|
31
|
+
});
|
|
32
|
+
const visible = region;
|
|
33
|
+
const columns = Math.max(1, Math.min(72, visible.columns - 2));
|
|
34
|
+
const rows = Math.max(1, Math.min(26, visible.rows - 2));
|
|
35
|
+
const left = Math.max(0, Math.floor((visible.columns - columns) / 2));
|
|
36
|
+
const bottom = Math.max(0, Math.ceil((visible.rows - rows) / 2));
|
|
37
|
+
const layer = _jsxs(_Fragment, { children: [_jsx(Box, { ref: ref, position: "absolute", bottom: 0, left: 0, width: "100%", height: visible.rows, backdrop: "dim", onClick: event => { event.stopImmediatePropagation(); onClose(); } }), _jsx(Box, { position: "absolute", bottom: bottom, left: left, width: columns, height: rows, backgroundColor: "toolCardBackground", opaque: true, overflow: "hidden", onClick: event => event.stopImmediatePropagation(), children: children({ columns, rows }) })] });
|
|
38
|
+
return layer;
|
|
39
|
+
}
|
|
@@ -1,48 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* the rows as Select entries (❯ focus pointer, ✓ on the active row,
|
|
7
|
-
* descriptions), plus the Enter/Esc hint line. The DSH agent's model is
|
|
8
|
-
* fixed at creation time, so a selection notifies "restart to apply".
|
|
9
|
-
*
|
|
10
|
-
* Two levels: the top level lists **provider groups** (registry display
|
|
11
|
-
* name + model count, ✓ on the current provider's row) and drills in with
|
|
12
|
-
* Enter; the second level lists that group's models and switches with
|
|
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.
|
|
16
|
-
*
|
|
17
|
-
* 长列表按焦点窗口化(Select 同款):picker 经 OverlayAbove 浮层挂载后有
|
|
18
|
-
* maxHeight 裁剪,全量渲染会让焦点行被裁掉(看不到焦点按 Enter)。
|
|
19
|
-
*/
|
|
20
|
-
export declare function ModelPicker(props: {
|
|
21
|
-
/** Top level: provider groups; Enter/click drills into one. */
|
|
22
|
-
groups: readonly ModelGroupRow[];
|
|
2
|
+
import type { ModelPickerRow } from '../modelPickerRows.js';
|
|
3
|
+
import type { ModelRef } from '../modelGroups.js';
|
|
4
|
+
export declare function ModelPicker({ rows, focusIndex, currentModel, favorites, query, cursor, height, status, switching, onPick, onWheelStep }: {
|
|
5
|
+
rows: readonly ModelPickerRow[];
|
|
23
6
|
focusIndex: number;
|
|
24
|
-
/** Current route key — its group row carries the ✓ marker. */
|
|
25
|
-
currentProvider: string;
|
|
26
|
-
onPick?: (index: number) => void;
|
|
27
|
-
query?: string;
|
|
28
|
-
cursor?: number;
|
|
29
|
-
emptyReason?: 'loading' | 'empty' | 'no-match' | 'error';
|
|
30
|
-
} | {
|
|
31
|
-
/** Second level (or single-group fast path): one provider's models —
|
|
32
|
-
* or the mixed-provider recents list (`showProviderPrefix`). */
|
|
33
|
-
models: readonly LlmModelInfo[];
|
|
34
|
-
/** The group's display label as this pane's title (default: "Model"). */
|
|
35
|
-
groupLabel?: string;
|
|
36
|
-
/** Multi-group catalogs show the back hint; the fast path keeps the plain one. */
|
|
37
|
-
showBack: boolean;
|
|
38
|
-
/** Prefix each row with its provider (the recents group mixes providers). */
|
|
39
|
-
showProviderPrefix?: boolean;
|
|
40
|
-
focusIndex: number;
|
|
41
|
-
/** `provider/model` of the current model — its row carries the ✓ marker. */
|
|
42
7
|
currentModel: string;
|
|
43
|
-
|
|
44
|
-
query
|
|
45
|
-
cursor
|
|
46
|
-
|
|
8
|
+
favorites: readonly ModelRef[];
|
|
9
|
+
query: string;
|
|
10
|
+
cursor: number;
|
|
11
|
+
height: number;
|
|
12
|
+
status: 'loading' | 'ready' | 'error';
|
|
13
|
+
switching: boolean;
|
|
14
|
+
onPick(index: number): void;
|
|
15
|
+
onWheelStep(step: number): void;
|
|
47
16
|
}): React.ReactNode;
|
|
48
17
|
//# sourceMappingURL=ModelPicker.d.ts.map
|
|
@@ -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,
|
|
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,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAE3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAMjD,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE;IACxI,IAAI,EAAE,SAAS,cAAc,EAAE,CAAA;IAC/B,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,SAAS,QAAQ,EAAE,CAAA;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAA;IACrC,SAAS,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CAChC,GAAG,KAAK,CAAC,SAAS,CA4BlB"}
|
|
@@ -1,54 +1,22 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { t } from '../i18n.js';
|
|
3
2
|
import { Box, Text } from '../ui.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { ListItem } from './design-system/ListItem.js';
|
|
7
|
-
import { HintLine } from './design-system/HintLine.js';
|
|
3
|
+
import { t } from '../i18n.js';
|
|
4
|
+
import { focusedModelRow } from '../modelPickerRows.js';
|
|
8
5
|
import { listWindow } from './listWindow.js';
|
|
9
|
-
import { useOverlayListRows } from './OverlayAbove.js';
|
|
10
6
|
import { SearchBox } from './SearchBox.js';
|
|
7
|
+
import { ListItem } from './design-system/ListItem.js';
|
|
11
8
|
import { useTerminalFocus } from '../ink/hooks/use-terminal-focus.js';
|
|
12
|
-
|
|
13
|
-
* Model picker: a permission-colored Pane with
|
|
14
|
-
* the rows as Select entries (❯ focus pointer, ✓ on the active row,
|
|
15
|
-
* descriptions), plus the Enter/Esc hint line. The DSH agent's model is
|
|
16
|
-
* fixed at creation time, so a selection notifies "restart to apply".
|
|
17
|
-
*
|
|
18
|
-
* Two levels: the top level lists **provider groups** (registry display
|
|
19
|
-
* name + model count, ✓ on the current provider's row) and drills in with
|
|
20
|
-
* Enter; the second level lists that group's models and switches with
|
|
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.
|
|
24
|
-
*
|
|
25
|
-
* 长列表按焦点窗口化(Select 同款):picker 经 OverlayAbove 浮层挂载后有
|
|
26
|
-
* maxHeight 裁剪,全量渲染会让焦点行被裁掉(看不到焦点按 Enter)。
|
|
27
|
-
*/
|
|
28
|
-
export function ModelPicker(props) {
|
|
29
|
-
const inGroups = 'groups' in props;
|
|
9
|
+
export function ModelPicker({ rows, focusIndex, currentModel, favorites, query, cursor, height, status, switching, onPick, onWheelStep }) {
|
|
30
10
|
const terminalFocused = useTerminalFocus();
|
|
31
|
-
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
const rows = inGroups ? props.groups : props.models;
|
|
43
|
-
const listRows = useOverlayListRows(8);
|
|
44
|
-
const { start, end } = listWindow(rowHeights, props.focusIndex, listRows);
|
|
45
|
-
const hint = inGroups
|
|
46
|
-
? t('hint-model-groups')
|
|
47
|
-
: props.showBack ? t('hint-model-back') : t('hint-confirm-exit');
|
|
48
|
-
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
|
-
const absoluteIndex = start + index;
|
|
50
|
-
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
|
|
51
|
-
? t('picker-group-recent')
|
|
52
|
-
: row.label }, row.provider)) : (_jsx(ListItem, { isFocused: absoluteIndex === props.focusIndex, declareCursor: false, isSelected: `${row.provider}/${row.id}` === props.currentModel, description: row.description, showScrollUp: absoluteIndex === start && start > 0, showScrollDown: absoluteIndex === end - 1 && end < rows.length, onClick: onPick ? () => onPick(absoluteIndex) : undefined, children: props.showProviderPrefix === true ? `${row.provider} / ${row.name}` : row.name }, `${row.provider}/${row.id}`));
|
|
53
|
-
})] }), _jsx(Text, { dimColor: true, italic: true, children: _jsx(HintLine, { text: hint }) })] }));
|
|
11
|
+
const available = Math.max(1, height - 6);
|
|
12
|
+
const window = listWindow(rows.map(() => 1), focusIndex, available);
|
|
13
|
+
const focused = focusedModelRow(rows, focusIndex);
|
|
14
|
+
const route = focused ? `${focused.model.provider}/${focused.model.id}` : '';
|
|
15
|
+
const hint = switching ? t('model-switching', { name: focused?.model.name ?? '' }) : t('hint-model-dialog');
|
|
16
|
+
return (_jsxs(Box, { flexDirection: "column", width: "100%", height: height, paddingX: 1, overflow: "hidden", onWheel: (event) => {
|
|
17
|
+
event.stopImmediatePropagation();
|
|
18
|
+
onWheelStep(event.deltaY < 0 ? -1 : 1);
|
|
19
|
+
}, children: [_jsxs(Box, { flexDirection: "row", justifyContent: "space-between", children: [_jsx(Text, { bold: true, children: t('picker-title-model') }), _jsx(Text, { dimColor: true, children: "esc" })] }), _jsx(SearchBox, { query: query, cursorOffset: cursor, isFocused: true, isTerminalFocused: terminalFocused, borderless: true, placeholder: t('picker-model-search') }), _jsx(Text, { dimColor: true, children: t('picker-model-results', { count: rows.filter(row => row.kind === 'model').length }) }), rows.length === 0 && _jsx(Text, { dimColor: true, children: t(status === 'loading' ? 'model-loading' : status === 'error' ? 'picker-model-error' : query.trim() ? 'picker-model-no-match' : 'picker-model-empty') }), rows.slice(window.start, window.end).map((row, offset) => row.kind === 'heading'
|
|
20
|
+
? _jsx(Text, { color: "warning", bold: true, wrap: "truncate-end", children: row.key === 'heading:favorites' ? t('picker-model-favorites') : row.key === 'heading:recent' ? t('picker-group-recent') : row.label }, row.key)
|
|
21
|
+
: _jsx(Box, { width: "100%", height: 1, overflow: "hidden", backgroundColor: window.start + offset === focusIndex ? 'userMessageBackgroundHover' : undefined, children: _jsxs(ListItem, { isFocused: window.start + offset === focusIndex, isSelected: `${row.model.provider}/${row.model.id}` === currentModel, declareCursor: false, onClick: () => onPick(window.start + offset), children: [favorites.some(ref => ref.provider === row.model.provider && ref.id === row.model.id) ? '★ ' : '', row.model.name, _jsx(Text, { dimColor: true, children: ` ${row.providerName}` })] }) }, row.key)), _jsx(Box, { flexGrow: 1 }), _jsx(Text, { dimColor: true, wrap: "truncate-end", children: route }), _jsx(Text, { dimColor: true, wrap: "truncate-end", children: hint })] }));
|
|
54
22
|
}
|
|
@@ -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,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAIrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAuBnD,MAAM,MAAM,wBAAwB,GAAG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|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/design-system/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAA;AAGvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAGjE,MAAM,MAAM,aAAa,GAAG;IAC1B;qDACiD;IACjD,SAAS,EAAE,OAAO,CAAA;IAClB;uDACmD;IACnD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,4CAA4C;IAC5C,QAAQ,EAAE,SAAS,CAAA;IACnB,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,qEAAqE;IACrE,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,oEAAoE;IACpE,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,yEAAyE;IACzE,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;CACtC,CAAA;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,EACvB,SAAS,EACT,UAAkB,EAClB,QAAQ,EACR,WAAW,EACX,cAAc,EACd,YAAY,EACZ,MAAa,EACb,QAAgB,EAChB,aAAa,EACb,OAAO,GACR,EAAE,aAAa,GAAG,KAAK,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/design-system/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAA;AAGvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAGjE,MAAM,MAAM,aAAa,GAAG;IAC1B;qDACiD;IACjD,SAAS,EAAE,OAAO,CAAA;IAClB;uDACmD;IACnD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,4CAA4C;IAC5C,QAAQ,EAAE,SAAS,CAAA;IACnB,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,qEAAqE;IACrE,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,oEAAoE;IACpE,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,yEAAyE;IACzE,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;CACtC,CAAA;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,EACvB,SAAS,EACT,UAAkB,EAClB,QAAQ,EACR,WAAW,EACX,cAAc,EACd,YAAY,EACZ,MAAa,EACb,QAAgB,EAChB,aAAa,EACb,OAAO,GACR,EAAE,aAAa,GAAG,KAAK,CAAC,SAAS,CAmFjC"}
|
|
@@ -58,7 +58,7 @@ export function ListItem({ isFocused, isSelected = false, children, description,
|
|
|
58
58
|
// 非 Fragment 的 element(如调用方自己的 <Text>)保留原样——其子树高度
|
|
59
59
|
// 由调用方负责。
|
|
60
60
|
const flatChildren = flattenDeep(children);
|
|
61
|
-
return (_jsxs(Box, { ref: cursorRef, flexDirection: "column", onClick: clickable ? onClick : undefined, onMouseEnter: clickable ? () => setHovered(true) : undefined, onMouseLeave: clickable ? () => setHovered(false) : undefined, backgroundColor: clickable && hovered ? 'userMessageBackgroundHover' : undefined, children: [_jsxs(Box, { flexDirection: "row", gap: 1, height: 1, flexShrink: 0, overflow: "hidden", width: "100%", children: [renderIndicator(), styled ? (_jsx(Text, { color: getTextColor(), dimColor: disabled, wrap: "truncate-end", children: flatChildren })) : (flatChildren), isSelected && !disabled && _jsx(Text, { color: "success", children: TICK })] }), description && (_jsx(Box, { paddingLeft: 2, children: _jsx(Text, { color: "inactive", wrap: "truncate", children: flattenLine(description) }) }))] }));
|
|
61
|
+
return (_jsxs(Box, { ref: cursorRef, flexDirection: "column", onClick: clickable ? onClick : undefined, onMouseEnter: clickable ? () => setHovered(true) : undefined, onMouseLeave: clickable ? () => setHovered(false) : undefined, backgroundColor: clickable && hovered ? 'userMessageBackgroundHover' : undefined, children: [_jsxs(Box, { flexDirection: "row", gap: 1, height: 1, flexShrink: 0, overflow: "hidden", width: "100%", paddingRight: isSelected && !disabled ? 2 : 0, children: [renderIndicator(), styled ? (_jsx(Text, { color: getTextColor(), dimColor: disabled, wrap: "truncate-end", children: flatChildren })) : (flatChildren), isSelected && !disabled && _jsx(Box, { position: "absolute", right: 1, width: 1, children: _jsx(Text, { color: "success", children: TICK }) })] }), description && (_jsx(Box, { paddingLeft: 2, children: _jsx(Text, { color: "inactive", wrap: "truncate", children: flattenLine(description) }) }))] }));
|
|
62
62
|
}
|
|
63
63
|
/** 单行化:内嵌换行折叠为空格(行尾/行首换行随之消除)。 */
|
|
64
64
|
function flattenLine(s) {
|
|
@@ -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;AAExD,mEAAmE;AACnE,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAAA;AAE7E;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAA;IAC7B,uDAAuD;IACvD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,gFAAgF;IAChF,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,gEAAgE;IAChE,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,0EAA0E;IAC1E,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,0EAA0E;IAC1E,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,2CAA2C;IAC3C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,0CAA0C;IAC1C,QAAQ,CAA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AAC,SAAS,CAAC,EAAE,OAAO,CAAA;SAAE,EAAE,CAAA;QACpG,gBAAgB,IAAI,IAAI,CAAA;KACzB,CAAA;CACF,IAES,OAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"command-completions.d.ts","sourceRoot":"","sources":["../../../../src/dsh-adapter/channel/command-completions.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8C,KAAK,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AAI1G,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9C,wFAAwF;AACxF,wBAAgB,wBAAwB,CAAC,IAAI,EAAE;IAC7C,KAAK,EAAE,MAAM,YAAY,CAAA;IACzB,SAAS,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAA;IACjD,YAAY,CAAC,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,qBAAqB,EAAE,CAAA;KAAE,CAAA;IACtF,iBAAiB,IAAI,SAAS;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACnG,KAAK,EAAE;QACL,cAAc,IAAI,IAAI,CAAA;QACtB,UAAU,IAAI,SAAS,qBAAqB,EAAE,CAAA;QAC9C,iBAAiB,IAAI,IAAI,CAAA;QACzB,aAAa,IAAI,SAAS;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,CAAC;YAAC,IAAI,CAAC,EAAE,MAAM,CAAC;YAAC,SAAS,CAAC,EAAE,OAAO,CAAA;SAAE,EAAE,CAAA;QACpG,gBAAgB,IAAI,IAAI,CAAA;KACzB,CAAA;CACF,IAES,OAAO,MAAM,qDAmFtB"}
|
|
@@ -9,10 +9,19 @@ export function createCommandCompletions(deps) {
|
|
|
9
9
|
const { themeHost, commandTrees, workspaceCommands, model } = deps;
|
|
10
10
|
return (input) => {
|
|
11
11
|
const state = deps.state();
|
|
12
|
+
// Model arguments are search text, not a hierarchy of route completions.
|
|
13
|
+
// Keep the original line so Enter, Tab and click cannot select the first model.
|
|
14
|
+
if (/^\/model(?:[\t ]|$)/iu.test(input) && !/[\r\n]/u.test(input)) {
|
|
15
|
+
return [{
|
|
16
|
+
name: input.slice(1),
|
|
17
|
+
description: 'Open model picker',
|
|
18
|
+
descriptionKey: 'sugg-model-open-desc',
|
|
19
|
+
replacement: input,
|
|
20
|
+
commandLine: input,
|
|
21
|
+
}];
|
|
22
|
+
}
|
|
12
23
|
const head = input.slice(1).split(/[\t ]/)[0]?.toLowerCase() ?? '';
|
|
13
24
|
if (head !== '') {
|
|
14
|
-
if ('model'.startsWith(head))
|
|
15
|
-
model.warmModelNodes();
|
|
16
25
|
if ('preset'.startsWith(head))
|
|
17
26
|
model.warmPresetOptions();
|
|
18
27
|
if ('effort'.startsWith(head))
|
|
@@ -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,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,EA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AC,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,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,EAA2F,KAAK,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAE5N,OA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,EAAE,WAAW,CAAA;CACrB;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,oBAAoB,EAC7B,KAAK,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAAC,cAAc,EAAE,MAAM,CAAA;CAAE,GAChG,IAAI,CAAC,YAAY,EAClB,cAAc,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,cAAc,GAAG,cAAc,GAChF,SAAS,GAAG,WAAW,GAAG,wBAAwB,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAC5F,YAAY,GAAG,WAAW,GAAG,SAAS,GAAG,eAAe,GAAG,aAAa,GACxE,eAAe,GAAG,iBAAiB,GAAG,WAAW,GAAG,cAAc,GAAG,kBAAkB,GACvF,eAAe,GAAG,eAAe,GAAG,iBAAiB,GAAG,MAAM,GAAG,WAAW,GAC5E,gBAAgB,GAAG,oBAAoB,GAAG,iBAAiB,GAC3D,kBAAkB,GAAG,0BAA0B,GAAG,gBAAgB,GAAG,YAAY,GACjF,cAAc,GAAG,gBAAgB,GAAG,cAAc,GAAG,YAAY,GACjE,qBAAqB,GAAG,oBAAoB,GAAG,cAAc,GAAG,iBAAiB,GACjF,WAAW,GAAG,OAAO,GAAG,WAAW,GAAG,SAAS,GAAG,iBAAiB,GAAG,mBAAmB,GACzF,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,eAAe,GAAG,SAAS,GAAG,aAAa,GAC9E,WAAW,GAAG,KAAK,GAAG,YAAY,GAAG,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,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,
|