@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
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | 日本語
|
|
4
4
|
|
|
5
|
-
> [dsh-
|
|
5
|
+
> [dsh-cli](https://github.com/askdkc/dsh-cli) と
|
|
6
6
|
> [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 向けのプロバイダー認証
|
|
7
7
|
|
|
8
8
|
**ChatGPT、Claude、SuperGrok、OpenCode Zen/Go、OrcaRouter、OpenRouter、
|
|
9
9
|
Nous Portal、Infron** をモデルの提供元として利用できます。プロバイダーに応じて
|
|
10
10
|
OAuth、デバイスコード、API キーで認証します。dsh 本体のソース修正は不要です。
|
|
11
11
|
このプラグインは DeepSeek Harness のターミナル UI である
|
|
12
|
-
[dsh-
|
|
12
|
+
[dsh-cli](https://github.com/askdkc/dsh-cli) とともに開発され、dsh-cli に同梱されています。
|
|
13
13
|
任意の dsh プロファイルへ単独でインストールすることもできます。
|
|
14
14
|
|
|
15
15
|
```
|
|
16
|
-
dsh-
|
|
16
|
+
dsh-cli → /provider → Provider authentication → sign in
|
|
17
17
|
/auth login openai-codex ← the plugin command
|
|
18
18
|
/model → OpenAI Codex → gpt-5.6-sol ← routes & models
|
|
19
19
|
```
|
|
@@ -27,8 +27,8 @@ TUI と Web クライアントで使えます。対話画面のないホスト
|
|
|
27
27
|
|
|
28
28
|
## インストール
|
|
29
29
|
|
|
30
|
-
**dsh-
|
|
31
|
-
依存関係として同梱されています。dsh-
|
|
30
|
+
**dsh-cli と一緒に使う場合** — 追加作業は不要です。dsh-auth は dsh-cli パッケージに
|
|
31
|
+
依存関係として同梱されています。dsh-cli を更新すると、`/provider` のウィザードに
|
|
32
32
|
プロバイダー認証の項目が追加されます。
|
|
33
33
|
|
|
34
34
|
**任意の dsh プロファイルへ単独でインストールする場合:**
|
|
@@ -70,7 +70,7 @@ dsh plugin --profile <name> add @askdkc/dsh-auth
|
|
|
70
70
|
更新は認証情報ストアのロックでプロバイダーごとに直列化されるため、
|
|
71
71
|
並行するリクエストが更新済みトークンを重複して更新することはありません。
|
|
72
72
|
- `/auth status` と `/auth logout <provider>` を使えます。`ctx.dshAuth` サービスも
|
|
73
|
-
UI 向けに同じ API を公開しており、dsh-
|
|
73
|
+
UI 向けに同じ API を公開しており、dsh-cli の `/provider` ウィザードと
|
|
74
74
|
`/login` はこのサービスを利用します。
|
|
75
75
|
|
|
76
76
|
## 使い方
|
|
@@ -126,7 +126,7 @@ dsh plugin --profile <name> add @askdkc/dsh-auth
|
|
|
126
126
|
内容をログやステータス画面に出すことはありません
|
|
127
127
|
(`/auth status` に表示するのは有効期限の情報だけです)。
|
|
128
128
|
ファイルが壊れている場合は、上書きせず明示的に失敗します。
|
|
129
|
-
- dsh-
|
|
129
|
+
- dsh-cli は API キーの入力をマスクし、質問への回答の要約からも伏せます。
|
|
130
130
|
- 対話画面が登録されていない環境ではログインを拒否します。
|
|
131
131
|
ブラウザーや GUI があるとは仮定しません。リモート環境やヘッドレス環境では
|
|
132
132
|
明確なエラーを返します(エコシステム仕様のリモート決定性規則 TUI-RUN-001)。
|
|
@@ -143,14 +143,18 @@ pnpm verify # build + headless smoke (credential store, refresh
|
|
|
143
143
|
```
|
|
144
144
|
|
|
145
145
|
smoke テストは cordis や Harness を起動せずに、純粋なモジュールを直接検査します。
|
|
146
|
-
実際のログインを通す E2E 確認には対話可能なホスト(dsh-
|
|
146
|
+
実際のログインを通す E2E 確認には対話可能なホスト(dsh-cli)が必要で、
|
|
147
147
|
リリースごとに手動で検証します。このプラグインは
|
|
148
|
-
[dsh-
|
|
149
|
-
`dsh-auth/`
|
|
148
|
+
[dsh-cli リポジトリ](https://github.com/askdkc/dsh-cli) 内の通常の
|
|
149
|
+
`dsh-auth/` ディレクトリとして開発します。認証側と CLI 側を同じ commit にできます。
|
|
150
|
+
このリポジトリへ取り込んだ最初の版は
|
|
151
|
+
[dsh-auth-fork](https://github.com/askdkc/dsh-auth-fork) の commit
|
|
152
|
+
`a48e59ec502fa0a3238c78955ffcffdfa8ae5abb` です。
|
|
153
|
+
この版の開発とリリースは今後 dsh-cli リポジトリで管理します。
|
|
150
154
|
|
|
151
155
|
## ロードマップ
|
|
152
156
|
|
|
153
|
-
- **M2** *(実装済み)* — dsh-
|
|
157
|
+
- **M2** *(実装済み)* — dsh-cli との連携:`/provider` の OAuth 項目、
|
|
154
158
|
`/login` のアカウント欄、最近使ったモデルを固定表示するグループを備えた
|
|
155
159
|
2 階層の `/model` 選択画面。
|
|
156
160
|
- **M3** — `dsh-ecosystem-spec` への準拠(マニフェストの検証、
|
|
@@ -161,4 +165,5 @@ smoke テストは cordis や Harness を起動せずに、純粋なモジュー
|
|
|
161
165
|
|
|
162
166
|
## ライセンス
|
|
163
167
|
|
|
164
|
-
MIT
|
|
168
|
+
[MIT](LICENSE)。元の ccch1mneyyy の著作権表示を残し、独自開発分について
|
|
169
|
+
dkc の著作権表示を追加しています。
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
English | [日本語](README.ja.md)
|
|
4
4
|
|
|
5
|
-
> Provider authentication for [dsh-
|
|
5
|
+
> Provider authentication for [dsh-cli](https://github.com/askdkc/dsh-cli) and
|
|
6
6
|
> [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)
|
|
7
7
|
|
|
8
8
|
Use **ChatGPT, Claude, SuperGrok, OpenCode Zen/Go, OrcaRouter, OpenRouter,
|
|
9
9
|
Nous Portal, and Infron** as model providers with OAuth, device code, or an
|
|
10
10
|
API key according to the provider. No dsh source patch is needed. This plugin is developed alongside (and
|
|
11
|
-
bundled into) [dsh-
|
|
12
|
-
|
|
11
|
+
bundled into) [dsh-cli](https://github.com/askdkc/dsh-cli), the
|
|
12
|
+
terminal front door for DeepSeek Harness; it also installs
|
|
13
13
|
standalone into any dsh profile.
|
|
14
14
|
|
|
15
15
|
```
|
|
16
|
-
dsh-
|
|
16
|
+
dsh-cli → /provider → Provider authentication → sign in
|
|
17
17
|
/auth login openai-codex ← the plugin command
|
|
18
18
|
/model → OpenAI Codex → gpt-5.6-sol ← routes & models
|
|
19
19
|
```
|
|
@@ -27,8 +27,8 @@ the TUI, the web client, and refuses cleanly on headless hosts.
|
|
|
27
27
|
|
|
28
28
|
## Install
|
|
29
29
|
|
|
30
|
-
**With dsh-
|
|
31
|
-
(bundled dependency). Update dsh-
|
|
30
|
+
**With dsh-cli** — nothing to do: dsh-auth ships inside the dsh-cli package
|
|
31
|
+
(bundled dependency). Update dsh-cli and the `/provider` wizard gains its
|
|
32
32
|
provider authentication branch automatically.
|
|
33
33
|
|
|
34
34
|
**Standalone, into any dsh profile:**
|
|
@@ -70,7 +70,7 @@ signed-in providers' catalogs (credential-gated — see below).
|
|
|
70
70
|
per provider under the credential store's lock — concurrent requests never
|
|
71
71
|
double-refresh a rotated token.
|
|
72
72
|
- `/auth status` / `/auth logout <provider>`; the `ctx.dshAuth` service
|
|
73
|
-
exposes the same api for UIs (the dsh-
|
|
73
|
+
exposes the same api for UIs (the dsh-cli `/provider` wizard and `/login`
|
|
74
74
|
ride it).
|
|
75
75
|
|
|
76
76
|
## Usage
|
|
@@ -125,7 +125,7 @@ the `/auth login <provider>` hint — never silently.
|
|
|
125
125
|
logged, never echoed through status surfaces (`/auth status` shows expiry
|
|
126
126
|
metadata only), and a corrupt file fails loudly instead of being
|
|
127
127
|
overwritten.
|
|
128
|
-
- dsh-
|
|
128
|
+
- dsh-cli masks API-key input and redacts it from questionnaire summaries.
|
|
129
129
|
- Login refuses to run where no interactive surface is registered (no
|
|
130
130
|
browser/GUI assumptions — remote and headless hosts get a clear error,
|
|
131
131
|
per the ecosystem spec's remote-determinism rule, TUI-RUN-001).
|
|
@@ -143,13 +143,17 @@ pnpm verify # build + headless smoke (credential store, refresh
|
|
|
143
143
|
|
|
144
144
|
The smoke suite runs without cordis or a harness: the pure modules are
|
|
145
145
|
exercised directly. Real end-to-end login needs an interactive host
|
|
146
|
-
(dsh-
|
|
147
|
-
the [dsh-
|
|
148
|
-
`dsh-auth/`
|
|
146
|
+
(dsh-cli) and is verified manually per release. The plugin is developed in
|
|
147
|
+
the [dsh-cli repository](https://github.com/askdkc/dsh-cli) in the tracked
|
|
148
|
+
`dsh-auth/` directory. Auth and CLI changes can be committed together.
|
|
149
|
+
The initial in-repository snapshot came from
|
|
150
|
+
[dsh-auth-fork](https://github.com/askdkc/dsh-auth-fork) commit
|
|
151
|
+
`a48e59ec502fa0a3238c78955ffcffdfa8ae5abb`.
|
|
152
|
+
Development and releases of this copy are now managed in dsh-cli.
|
|
149
153
|
|
|
150
154
|
## Roadmap
|
|
151
155
|
|
|
152
|
-
- **M2** *(landed)* — dsh-
|
|
156
|
+
- **M2** *(landed)* — dsh-cli integration: `/provider` OAuth branch, `/login`
|
|
153
157
|
account section, two-level `/model` picker with a pinned recently-used
|
|
154
158
|
group.
|
|
155
159
|
- **M3** — `dsh-ecosystem-spec` conformance (manifest validation, admission
|
|
@@ -160,4 +164,5 @@ the [dsh-TUI repository](https://github.com/ccch1mneyyy/dsh-TUI) as the
|
|
|
160
164
|
|
|
161
165
|
## License
|
|
162
166
|
|
|
163
|
-
MIT
|
|
167
|
+
[MIT](LICENSE). The original ccch1mneyyy copyright notice is retained; dkc is
|
|
168
|
+
listed for the fork's independent development.
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@askdkc/dsh-auth",
|
|
3
3
|
"version": "0.1.1",
|
|
4
|
-
"description": "Provider authentication and model routes for DeepSeek Harness — no dsh source patch, bundled with dsh-
|
|
4
|
+
"description": "Provider authentication and model routes for DeepSeek Harness — no dsh source patch, bundled with dsh-cli",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "dkc",
|
|
8
|
+
"url": "https://github.com/askdkc"
|
|
9
|
+
},
|
|
6
10
|
"repository": {
|
|
7
11
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/askdkc/dsh-
|
|
12
|
+
"url": "git+https://github.com/askdkc/dsh-cli.git",
|
|
13
|
+
"directory": "dsh-auth"
|
|
9
14
|
},
|
|
10
15
|
"publishConfig": {
|
|
11
16
|
"access": "public"
|
|
@@ -44,11 +49,11 @@
|
|
|
44
49
|
},
|
|
45
50
|
"peerDependencies": {
|
|
46
51
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
47
|
-
"@deepseek-ai/dsh-attachment": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1",
|
|
48
|
-
"@deepseek-ai/dsh-commands": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1",
|
|
49
|
-
"@deepseek-ai/dsh-llm": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1",
|
|
50
|
-
"@deepseek-ai/dsh-llm-pi-ai": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1",
|
|
51
|
-
"@deepseek-ai/dsh-user-questions": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1",
|
|
52
|
+
"@deepseek-ai/dsh-attachment": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1 || 0.2.0-rc.1",
|
|
53
|
+
"@deepseek-ai/dsh-commands": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1 || 0.2.0-rc.1",
|
|
54
|
+
"@deepseek-ai/dsh-llm": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1 || 0.2.0-rc.1",
|
|
55
|
+
"@deepseek-ai/dsh-llm-pi-ai": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1 || 0.2.0-rc.1",
|
|
56
|
+
"@deepseek-ai/dsh-user-questions": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1 || 0.2.0-rc.1",
|
|
52
57
|
"@deepseek-ai/schemastery": "^3.18.1"
|
|
53
58
|
},
|
|
54
59
|
"peerDependenciesMeta": {
|
|
@@ -58,11 +63,11 @@
|
|
|
58
63
|
},
|
|
59
64
|
"devDependencies": {
|
|
60
65
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
61
|
-
"@deepseek-ai/dsh-attachment": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1",
|
|
62
|
-
"@deepseek-ai/dsh-commands": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1",
|
|
63
|
-
"@deepseek-ai/dsh-llm": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1",
|
|
64
|
-
"@deepseek-ai/dsh-llm-pi-ai": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1",
|
|
65
|
-
"@deepseek-ai/dsh-user-questions": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1",
|
|
66
|
+
"@deepseek-ai/dsh-attachment": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1 || 0.2.0-rc.1",
|
|
67
|
+
"@deepseek-ai/dsh-commands": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1 || 0.2.0-rc.1",
|
|
68
|
+
"@deepseek-ai/dsh-llm": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1 || 0.2.0-rc.1",
|
|
69
|
+
"@deepseek-ai/dsh-llm-pi-ai": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1 || 0.2.0-rc.1",
|
|
70
|
+
"@deepseek-ai/dsh-user-questions": "^0.1.0-rc.6 || ^0.1.1-rc.1 || 0.1.2-alpha.3 || 0.1.2-alpha.4 || 0.1.2-alpha.5 || 0.1.2-rc.1 || 0.1.3-alpha.2 || 0.1.5-alpha.1 || 0.1.5-alpha.2 || 0.1.5-rc.1 || 0.1.7-rc.1 || 0.2.0-rc.1",
|
|
66
71
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
67
72
|
"@types/node": "^22.0.0",
|
|
68
73
|
"typescript": "^6.0.3"
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026, chimney (ccch1mneyyy)
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without
|
|
6
|
+
modification, are permitted provided that the following conditions are met:
|
|
7
|
+
|
|
8
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
9
|
+
list of conditions and the following disclaimer.
|
|
10
|
+
|
|
11
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
|
13
|
+
and/or other materials provided with the distribution.
|
|
14
|
+
|
|
15
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
16
|
+
contributors may be used to endorse or promote products derived from
|
|
17
|
+
this software without specific prior written permission.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
20
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
21
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
22
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
23
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
24
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
25
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
26
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
27
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
28
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# dsh-working-activity input-language fork
|
|
2
|
+
|
|
3
|
+
This local fork starts from `dsh-working-activity` 0.5.0 (BSD-3-Clause).
|
|
4
|
+
It adds Japanese progress copy and a per-session `lang: input` mode. The original
|
|
5
|
+
`auto`, `zh`, and `en` modes retain their behavior.
|
|
6
|
+
|
|
7
|
+
The dsh-cli workspace links this package locally; its source manifest names
|
|
8
|
+
`@askdkc/dsh-working-activity@0.5.0-input.0` through an npm alias. Build with
|
|
9
|
+
`npm run build:working-activity` from the dsh-cli root. The publish-manifest
|
|
10
|
+
helper bundles the compiled fork under the runtime dependency name, so an
|
|
11
|
+
external dsh-cli installation does not need a separate fork release.
|
|
12
|
+
|
|
13
|
+
`client-snapshot/` is the unchanged 0.5.0 Web client bundle and declarations.
|
|
14
|
+
The build copies it into `lib/` after compiling the server side, so a fresh
|
|
15
|
+
checkout still has the existing optional Web entry. This change targets the
|
|
16
|
+
TUI; Web client language-aware ticking is not expanded here.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# dsh-working-activity bundle patch: mount the plugin itself into the
|
|
2
|
+
# profile composition tree.
|
|
3
|
+
#
|
|
4
|
+
# `dsh plugin --profile <name> add dsh-working-activity` auto-initializes the
|
|
5
|
+
# profile (first layer @deepseek-ai/dsh-base), pnpm-installs this package into
|
|
6
|
+
# the profile, and the CLI's reconcile step appends it to the profile's
|
|
7
|
+
# dsh.profile.bundles because this package.json declares `dsh.bundle.patch`.
|
|
8
|
+
# At boot, app-boot applies every bundle's patch list in bundle order over the
|
|
9
|
+
# empty root; this insert list is what actually mounts the working-activity
|
|
10
|
+
# row — no manual configuration is needed.
|
|
11
|
+
#
|
|
12
|
+
# All row config stays at schema defaults (phrases/publish/tickMs/
|
|
13
|
+
# publishIntervalMs/detailLimit/customActions/narrate). To tune a value (for
|
|
14
|
+
# dsh-cc, set publishIntervalMs to 500), override this row's config by id in
|
|
15
|
+
# the profile's own cordis.patch.yml user layer — do NOT insert a second
|
|
16
|
+
# same-id row.
|
|
17
|
+
- insert:
|
|
18
|
+
- id: working-activity
|
|
19
|
+
name: 'dsh-working-activity'
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
window.__ModuleLoader__.load({
|
|
2
|
+
id: "dsh-working-activity",
|
|
3
|
+
factory: (require) => {
|
|
4
|
+
var module = { exports: {} };
|
|
5
|
+
var exports = module.exports;
|
|
6
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
//#region src/client/activity.ts
|
|
9
|
+
/**
|
|
10
|
+
* The projection key this package reads, checked against the merged table: a
|
|
11
|
+
* rename on the host side, or a merge that silently failed to land, is a
|
|
12
|
+
* compile error here instead of a dock row that never renders.
|
|
13
|
+
*/
|
|
14
|
+
const ACTIVITY_PROJECTION_KEY = "workingActivity";
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/client/elapsed.ts
|
|
17
|
+
/** The duration shapes the host emits: `87ms`, `5s`, `1m23s`, `4h0m`. */
|
|
18
|
+
const DURATION = /^\d+(?:ms|s|m\d+s|h\d+m)$/;
|
|
19
|
+
/** The localized elapsed segment: `总5s`, `total 1m23s`. */
|
|
20
|
+
const ELAPSED = /^(?:总|total )\d+(?:ms|s|m\d+s|h\d+m)$/;
|
|
21
|
+
/** The segment separator the host composes the line with. */
|
|
22
|
+
const SEP = " · ";
|
|
23
|
+
/** Mirror of the host's `fmtDuration` (second granularity and shapes). */
|
|
24
|
+
function formatDuration(ms) {
|
|
25
|
+
if (ms < 1e3) return "0s";
|
|
26
|
+
const total = Math.floor(ms / 1e3);
|
|
27
|
+
if (total < 60) return `${total}s`;
|
|
28
|
+
const minutes = Math.floor(total / 60);
|
|
29
|
+
const seconds = total % 60;
|
|
30
|
+
if (minutes < 60) return `${minutes}m${seconds}s`;
|
|
31
|
+
return `${Math.floor(minutes / 60)}h${minutes % 60}m`;
|
|
32
|
+
}
|
|
33
|
+
/** Mirror of the host's `durationLabel` (sub-second reads in milliseconds). */
|
|
34
|
+
function formatCounter(ms) {
|
|
35
|
+
return ms < 1e3 ? `${Math.max(0, Math.floor(ms))}ms` : formatDuration(ms);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Replace the line's elapsed segment with one computed at `nowMs`.
|
|
39
|
+
*
|
|
40
|
+
* @param line - The host-rendered line (aged to the last fold).
|
|
41
|
+
* @param view - The value's phase, counters and language.
|
|
42
|
+
* @param nowMs - Wall clock to re-tick to.
|
|
43
|
+
* @returns the line with a current counter, or the input when there is
|
|
44
|
+
* nothing safe to replace.
|
|
45
|
+
*/
|
|
46
|
+
function refreshElapsedSuffix(line, view, nowMs) {
|
|
47
|
+
if (view.phase === "idle" || view.phase === "done") return line;
|
|
48
|
+
if (line.startsWith("✓ ")) return line;
|
|
49
|
+
const since = view.phase === "tool" ? view.phaseStartedAt : view.turnStartedAt;
|
|
50
|
+
if (!(since > 0)) return line;
|
|
51
|
+
const elapsed = Math.max(0, nowMs - since);
|
|
52
|
+
const replacement = view.phase === "tool" ? formatCounter(elapsed) : view.lang === "en" ? `total ${formatDuration(elapsed)}` : `总${formatDuration(elapsed)}`;
|
|
53
|
+
const segments = line.split(SEP);
|
|
54
|
+
for (let i = segments.length - 1; i > 0; i--) {
|
|
55
|
+
const segment = segments[i];
|
|
56
|
+
if (segment !== void 0 && (DURATION.test(segment) || ELAPSED.test(segment))) {
|
|
57
|
+
segments[i] = replacement;
|
|
58
|
+
return segments.join(SEP);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return line;
|
|
62
|
+
}
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region \0dsh-css:src/client/WorkingLine.module.css.mjs
|
|
65
|
+
const css = ".TG_uoa_line{box-sizing:border-box;width:100%;max-width:var(--dsh-composer-card-max-width);font-family:var(--dsw-font-family);color:var(--dsw-alias-label-secondary);align-items:center;gap:8px;margin:0 auto;padding:4px 16px 0;font-size:13px;line-height:18px;display:flex}.TG_uoa_marker{background:var(--dsw-alias-label-tertiary);border-radius:50%;flex:none;width:7px;height:7px;animation:1.6s ease-in-out infinite TG_uoa_working-pulse}.TG_uoa_line[data-activity-phase=done] .TG_uoa_marker{background:var(--dsw-alias-state-business-primary);animation:none}.TG_uoa_line[data-activity-phase=tool] .TG_uoa_marker{background:var(--dsw-alias-state-business-primary)}.TG_uoa_line[data-activity-phase=waiting] .TG_uoa_marker{background:var(--dsw-alias-label-tertiary);opacity:.6}.TG_uoa_text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.TG_uoa_tools{background:var(--dsw-alias-surface-tertiary);min-width:18px;color:var(--dsw-alias-label-secondary);text-align:center;border-radius:9px;flex:none;padding:0 5px;font-size:11px;line-height:18px}@keyframes TG_uoa_working-pulse{0%,to{opacity:1}50%{opacity:.35}}";
|
|
66
|
+
const tagId = "dsh-working-activity/WorkingLine.module.css";
|
|
67
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
68
|
+
const tag = document.createElement("style");
|
|
69
|
+
tag.dataset.plugin = "dsh-working-activity";
|
|
70
|
+
tag.dataset.pluginCss = tagId;
|
|
71
|
+
tag.textContent = css;
|
|
72
|
+
document.head.appendChild(tag);
|
|
73
|
+
}
|
|
74
|
+
var WorkingLine_module_css_default = {
|
|
75
|
+
"line": "TG_uoa_line",
|
|
76
|
+
"marker": "TG_uoa_marker",
|
|
77
|
+
"working-pulse": "TG_uoa_working-pulse",
|
|
78
|
+
"text": "TG_uoa_text",
|
|
79
|
+
"tools": "TG_uoa_tools"
|
|
80
|
+
};
|
|
81
|
+
//#endregion
|
|
82
|
+
//#region src/client/WorkingLine.tsx
|
|
83
|
+
/** Tool-count badge copy (no locale seat: the line text itself is host-composed). */
|
|
84
|
+
const TOOLS_LABEL = "tools this turn";
|
|
85
|
+
/** The one live tick attachment (exactly one dock row exists at a time). */
|
|
86
|
+
let tickAttachment;
|
|
87
|
+
/**
|
|
88
|
+
* Re-tick the elapsed counter on the mounted text node, once per second.
|
|
89
|
+
*
|
|
90
|
+
* The projection only pushes when a committed event folds (measured: three
|
|
91
|
+
* pushes per turn), so the host-rendered `line` ages between folds — the
|
|
92
|
+
* elapsed text would freeze for the length of a tool. The row therefore
|
|
93
|
+
* re-ticks the ONE moving segment locally; only segments matching the host's
|
|
94
|
+
* elapsed shapes are ever replaced (see ./elapsed.ts).
|
|
95
|
+
*
|
|
96
|
+
* Imperative on purpose, and hook-free: the component is also invoked as a
|
|
97
|
+
* plain function (the bundle gate reads its tree without a renderer), and a
|
|
98
|
+
* ref callback plus this module-level slot is enough — React detaches a
|
|
99
|
+
* changed inline ref with `null` first, which is where the previous interval
|
|
100
|
+
* dies; a settled value simply never attaches a new one.
|
|
101
|
+
*/
|
|
102
|
+
function attachElapsedTick(el, activity) {
|
|
103
|
+
if (tickAttachment !== void 0 && (el === null || tickAttachment.el !== el)) {
|
|
104
|
+
clearInterval(tickAttachment.timer);
|
|
105
|
+
tickAttachment = void 0;
|
|
106
|
+
}
|
|
107
|
+
if (el === null || activity === void 0 || activity.live !== true) return;
|
|
108
|
+
const paint = () => {
|
|
109
|
+
el.textContent = refreshElapsedSuffix(activity.line, activity, Date.now());
|
|
110
|
+
};
|
|
111
|
+
paint();
|
|
112
|
+
tickAttachment = {
|
|
113
|
+
el,
|
|
114
|
+
timer: setInterval(paint, 1e3)
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Working-line dock entry: reads the session's latest `workingActivity`
|
|
119
|
+
* projection value and renders the row, or nothing when idle/absent.
|
|
120
|
+
*/
|
|
121
|
+
function WorkingLine({ useProjection }) {
|
|
122
|
+
const activity = useProjection(ACTIVITY_PROJECTION_KEY);
|
|
123
|
+
if (activity === void 0 || activity.phase === "idle" || activity.line === "") return null;
|
|
124
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
125
|
+
className: WorkingLine_module_css_default.line,
|
|
126
|
+
"data-activity-phase": activity.phase,
|
|
127
|
+
children: [
|
|
128
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
129
|
+
className: WorkingLine_module_css_default.marker,
|
|
130
|
+
"aria-hidden": "true"
|
|
131
|
+
}),
|
|
132
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
133
|
+
className: WorkingLine_module_css_default.text,
|
|
134
|
+
ref: (el) => attachElapsedTick(el, activity),
|
|
135
|
+
children: activity.line
|
|
136
|
+
}),
|
|
137
|
+
activity.toolCount > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
138
|
+
className: WorkingLine_module_css_default.tools,
|
|
139
|
+
title: `${activity.toolCount} ${TOOLS_LABEL}`,
|
|
140
|
+
children: activity.toolCount
|
|
141
|
+
})
|
|
142
|
+
]
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region src/client/index.ts
|
|
147
|
+
/** Required services for the dock registration. */
|
|
148
|
+
const inject = ["slots"];
|
|
149
|
+
/**
|
|
150
|
+
* Client plugin body: the working-line dock entry.
|
|
151
|
+
* @param ctx - client root context.
|
|
152
|
+
*/
|
|
153
|
+
function apply(ctx) {
|
|
154
|
+
ctx.slots.inject("conversation.input.dock", () => ctx.slots.register({
|
|
155
|
+
name: "conversation.input.dock",
|
|
156
|
+
id: "activity",
|
|
157
|
+
order: 15,
|
|
158
|
+
registrant: "dsh-working-activity"
|
|
159
|
+
}, WorkingLine));
|
|
160
|
+
}
|
|
161
|
+
//#endregion
|
|
162
|
+
exports.WorkingLine = WorkingLine;
|
|
163
|
+
exports.apply = apply;
|
|
164
|
+
exports.inject = inject;
|
|
165
|
+
return module.exports;
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
|
|
169
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","names":["css"],"sources":["../src/client/activity.ts","../src/client/elapsed.ts","../src/client/WorkingLine.tsx","../src/client/index.ts"],"sourcesContent":["/**\n * Client-side contract of the working-activity Web half: the `workingActivity`\n * key of the session-projection type table.\n *\n * The browser reads the line through the session standard kit's\n * `useProjection('workingActivity')` — the host folds the projection from\n * committed session events and ships the whole value, so no client-side domain\n * folding exists and nothing is appended to the session log.\n *\n * The runtime patch that used to carry the value on the conversation snapshot\n * (`ConversationSnapshot.activity`, declared against `@deepseek-ai/dsh-client-runtime`)\n * is obsolete for the current host line: that package is frozen at `0.1.1-rc.2`\n * and absent from the `0.1.7-rc.2` client cohort.\n *\n * {@link WorkingActivityView} is imported from the host half on purpose — one\n * definition of the wire value, so the two halves cannot drift. The import is\n * TYPE-ONLY: a value import would pull host-only code (zod, node builtins) into\n * the browser bundle, which the build's purity gate rejects.\n * @module @deepseek-ai/dsh-working-activity/client/activity\n */\n\nimport type { SessionProjectionMap } from '@deepseek-ai/dsh-session-projection/types'\nimport type { WorkingActivityView } from '../projection.js'\n\ndeclare module '@deepseek-ai/dsh-session-projection/types' {\n interface SessionProjectionMap {\n /**\n * Latest folded working line for the current session, or absent while the\n * host unit is unmounted or no committed event has folded yet.\n */\n workingActivity: WorkingActivityView\n }\n}\n\n/**\n * The projection key this package reads, checked against the merged table: a\n * rename on the host side, or a merge that silently failed to land, is a\n * compile error here instead of a dock row that never renders.\n */\nexport const ACTIVITY_PROJECTION_KEY =\n 'workingActivity' satisfies Extract<keyof SessionProjectionMap, string>\n\nexport type { WorkingActivityView }\n","/**\n * Client-side elapsed re-tick for the working line.\n *\n * The projection is event-driven: the host pushes a value when a committed\n * event folds, and `view` renders at read time. The TUI creates its own\n * cadence by re-reading; a browser cannot, so between folds the shipped\n * `line` ages — measured on the rc.2 corridor, one turn carried three\n * pushes, freezing the elapsed text for the length of a tool. While `live`\n * is true, the dock row therefore re-ticks the ONE moving segment locally:\n * the elapsed counter.\n *\n * Safety: a segment is replaced only when it matches the shapes the host\n * emits (`总1m23s` / `total 5s` / a bare `87ms`). Any format drift on the\n * host side makes the matcher miss and the row falls back to the host's\n * (aging) text — stale, but never wrong. Settled `✓` lines carry a fixed\n * duration, not a counter, and are left alone. This module is deliberately\n * dependency-free: the host's `phrases.ts` reaches node builtins for\n * language detection, which the client bundle's purity gate rejects.\n * @module @deepseek-ai/dsh-working-activity/client/elapsed\n */\n\n/** What the caller knows about the value whose line is displayed. */\nexport interface ElapsedTickView {\n /** Current phase; only live phases carry a moving counter. */\n readonly phase: 'idle' | 'waiting' | 'thinking' | 'tool' | 'done'\n /** Wall clock the current phase began (the tool counter counts from it). */\n readonly phaseStartedAt: number\n /** Wall clock the current turn began (the elapsed counter counts from it). */\n readonly turnStartedAt: number\n /** Language the host rendered `line` in. */\n readonly lang: 'zh' | 'en'\n}\n\n/** The duration shapes the host emits: `87ms`, `5s`, `1m23s`, `4h0m`. */\nconst DURATION = /^\\d+(?:ms|s|m\\d+s|h\\d+m)$/\n/** The localized elapsed segment: `总5s`, `total 1m23s`. */\nconst ELAPSED = /^(?:总|total )\\d+(?:ms|s|m\\d+s|h\\d+m)$/\n/** The segment separator the host composes the line with. */\nconst SEP = ' · '\n\n/** Mirror of the host's `fmtDuration` (second granularity and shapes). */\nfunction formatDuration(ms: number): string {\n if (ms < 1000) return '0s'\n const total = Math.floor(ms / 1000)\n if (total < 60) return `${total}s`\n const minutes = Math.floor(total / 60)\n const seconds = total % 60\n if (minutes < 60) return `${minutes}m${seconds}s`\n return `${Math.floor(minutes / 60)}h${minutes % 60}m`\n}\n\n/** Mirror of the host's `durationLabel` (sub-second reads in milliseconds). */\nfunction formatCounter(ms: number): string {\n return ms < 1000 ? `${Math.max(0, Math.floor(ms))}ms` : formatDuration(ms)\n}\n\n/**\n * Replace the line's elapsed segment with one computed at `nowMs`.\n *\n * @param line - The host-rendered line (aged to the last fold).\n * @param view - The value's phase, counters and language.\n * @param nowMs - Wall clock to re-tick to.\n * @returns the line with a current counter, or the input when there is\n * nothing safe to replace.\n */\nexport function refreshElapsedSuffix(line: string, view: ElapsedTickView, nowMs: number): string {\n if (view.phase === 'idle' || view.phase === 'done') return line\n // A settled tool's `✓ … · 887ms` is a fixed fact, not a counter.\n if (line.startsWith('✓ ')) return line\n // The tool counter counts from the phase's entry; with concurrent tools the\n // host's own counter tracks the OLDEST one, so this may trail it by the\n // overlap — a display nuance, not a wrong number.\n const since = view.phase === 'tool' ? view.phaseStartedAt : view.turnStartedAt\n if (!(since > 0)) return line\n const elapsed = Math.max(0, nowMs - since)\n const replacement = view.phase === 'tool'\n ? formatCounter(elapsed)\n : (view.lang === 'en' ? `total ${formatDuration(elapsed)}` : `总${formatDuration(elapsed)}`)\n const segments = line.split(SEP)\n for (let i = segments.length - 1; i > 0; i--) {\n const segment = segments[i]\n if (segment !== undefined && (DURATION.test(segment) || ELAPSED.test(segment))) {\n segments[i] = replacement\n return segments.join(SEP)\n }\n }\n return line\n}\n","// Working-line dock entry: one dim full-width row above the composer card\n// showing the live working-activity line — phase-colored breathing marker,\n// the host-composed status line, and the turn's tool count badge.\n// Renders for every live phase (waiting/thinking/tool) and the done summary;\n// hides while idle or before the first frame.\n//\n// Data path: the host folds the `workingActivity` session projection and ships\n// the whole value to clients; the session standard kit's `useProjection` reads\n// it by key. Nothing is appended to the session log, and no client-runtime\n// patch is involved — the old `ConversationSnapshot.activity` transport is dead\n// on the current host line.\n//\n// The 'conversation.input.dock' SlotMap declaration lives in\n// @deepseek-ai/dsh-client-ui-conversation/client (contract/slots.ts) and the\n// `useProjection` standard seat in @deepseek-ai/dsh-client-ui-session/client;\n// this entry contributes into the slot without owning it.\nimport type { PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots'\n// Type-only merges, erased at build time and never required by the bundle:\n// the ui-conversation SlotMap entry (the dock seat's owner props) and the\n// ui-session standard kit (`useProjection`). ./activity.ts carries this\n// package's own projection-key merge, the key constant, and the view type.\nimport type {} from '@deepseek-ai/dsh-client-ui-conversation/client'\nimport type {} from '@deepseek-ai/dsh-client-ui-session/client'\nimport { ACTIVITY_PROJECTION_KEY, type WorkingActivityView } from './activity.ts'\nimport { refreshElapsedSuffix } from './elapsed.js'\nimport css from './WorkingLine.module.css'\n\n/** Full props of the dock entry: the input-zone runtime share (session standard kit). */\nexport type WorkingLineProps = PropsRuntime<'conversation.input.dock'>\n\n/** Tool-count badge copy (no locale seat: the line text itself is host-composed). */\nconst TOOLS_LABEL = 'tools this turn'\n\n/** The one live tick attachment (exactly one dock row exists at a time). */\nlet tickAttachment: { readonly el: HTMLElement; readonly timer: ReturnType<typeof setInterval> } | undefined\n\n/**\n * Re-tick the elapsed counter on the mounted text node, once per second.\n *\n * The projection only pushes when a committed event folds (measured: three\n * pushes per turn), so the host-rendered `line` ages between folds — the\n * elapsed text would freeze for the length of a tool. The row therefore\n * re-ticks the ONE moving segment locally; only segments matching the host's\n * elapsed shapes are ever replaced (see ./elapsed.ts).\n *\n * Imperative on purpose, and hook-free: the component is also invoked as a\n * plain function (the bundle gate reads its tree without a renderer), and a\n * ref callback plus this module-level slot is enough — React detaches a\n * changed inline ref with `null` first, which is where the previous interval\n * dies; a settled value simply never attaches a new one.\n */\nfunction attachElapsedTick(el: HTMLElement | null, activity: WorkingActivityView | undefined): void {\n if (tickAttachment !== undefined && (el === null || tickAttachment.el !== el)) {\n clearInterval(tickAttachment.timer)\n tickAttachment = undefined\n }\n if (el === null || activity === undefined || activity.live !== true) return\n const paint = (): void => {\n el.textContent = refreshElapsedSuffix(activity.line, activity, Date.now())\n }\n paint()\n tickAttachment = { el, timer: setInterval(paint, 1000) }\n}\n\n/**\n * Working-line dock entry: reads the session's latest `workingActivity`\n * projection value and renders the row, or nothing when idle/absent.\n */\nexport function WorkingLine({ useProjection }: WorkingLineProps) {\n // `undefined` is the uniform absence signal: the host unit is unmounted, no\n // frame carried the key for this session yet, or no session is current.\n // Rendering nothing (rather than an empty row) keeps the dock from reserving\n // space ahead of the first committed event.\n //\n // The annotation is load-bearing: `useProjection`'s precise engine type lives\n // in the session kit's own dependency (`@deepseek-ai/dsh-api-session-controller`),\n // which this package deliberately does not install (it would drag the whole\n // client peer closure into the dev tree). The key is pinned in ./activity.ts\n // against the merged table; this keeps the render body checked against the\n // host's view type.\n const activity: WorkingActivityView | undefined = useProjection(ACTIVITY_PROJECTION_KEY)\n if (activity === undefined || activity.phase === 'idle' || activity.line === '') return null\n return (\n <div className={css.line} data-activity-phase={activity.phase}>\n <span className={css.marker} aria-hidden=\"true\" />\n <span className={css.text} ref={el => attachElapsedTick(el, activity)}>{activity.line}</span>\n {activity.toolCount > 0 && (\n <span className={css.tools} title={`${activity.toolCount} ${TOOLS_LABEL}`}>\n {activity.toolCount}\n </span>\n )}\n </div>\n )\n}\n","/**\n * Working-activity surface plugin, browser half: the working-line entry in\n * the conversation.input.dock strip.\n *\n * The node half folds every committed session event into the `workingActivity`\n * session projection and the host ships that value to clients; this dock entry\n * reads it through the session standard kit's `useProjection` and owns no\n * store, no refresh chain, and no event listener. Nothing is appended to the\n * session log — the reason dsh-tui mounts this plugin with `publish: false`.\n *\n * Mount contract (see the root README's \"Web UI 集成\" section): the web\n * client's client-modules host scans loader entries for `dsh.client`\n * declarations and serves this package's `./client` bundle at\n * /plugins/dsh-working-activity/client.js. The entry contributes into the\n * input dock — no official-source patch is involved.\n */\nimport type { Context } from '@deepseek-ai/cordis'\n// Type-only merges: the ui-conversation SlotMap entry (the dock seat) and the\n// ui-renderer `slots` service on the client Context. Both are erased at build\n// time and never required by the bundle.\nimport type {} from '@deepseek-ai/dsh-client-ui-conversation/client'\nimport type {} from '@deepseek-ai/dsh-client-ui-renderer/client'\nimport { WorkingLine } from './WorkingLine.tsx'\n\nexport { WorkingLine, type WorkingLineProps } from './WorkingLine.tsx'\nexport type { WorkingActivityView } from './activity.ts'\n\n/** Required services for the dock registration. */\nexport const inject = ['slots']\n\n/**\n * Client plugin body: the working-line dock entry.\n * @param ctx - client root context.\n */\nexport function apply(ctx: Context): void {\n ctx.slots.inject('conversation.input.dock', () => ctx.slots.register({\n name: 'conversation.input.dock',\n // The pre-slots patch used the same id in ui-conversation; entries with\n // equal order render in registration order, and goal (10) / queue (20)\n // keep their seats — this row sits between them.\n id: 'activity',\n order: 15,\n registrant: 'dsh-working-activity',\n }, WorkingLine))\n}\n"],"mappings":";;;;;;;;;;;;;EAuCA,MAAa,0BACX;;;;ECNF,MAAM,WAAW;;EAEjB,MAAM,UAAU;;EAEhB,MAAM,MAAM;;EAGZ,SAAS,eAAe,IAAoB;GAC1C,IAAI,KAAK,KAAM,OAAO;GACtB,MAAM,QAAQ,KAAK,MAAM,KAAK,GAAI;GAClC,IAAI,QAAQ,IAAI,OAAO,GAAG,MAAM;GAChC,MAAM,UAAU,KAAK,MAAM,QAAQ,EAAE;GACrC,MAAM,UAAU,QAAQ;GACxB,IAAI,UAAU,IAAI,OAAO,GAAG,QAAQ,GAAG,QAAQ;GAC/C,OAAO,GAAG,KAAK,MAAM,UAAU,EAAE,EAAE,GAAG,UAAU,GAAG;EACrD;;EAGA,SAAS,cAAc,IAAoB;GACzC,OAAO,KAAK,MAAO,GAAG,KAAK,IAAI,GAAG,KAAK,MAAM,EAAE,CAAC,EAAE,MAAM,eAAe,EAAE;EAC3E;;;;;;;;;;EAWA,SAAgB,qBAAqB,MAAc,MAAuB,OAAuB;GAC/F,IAAI,KAAK,UAAU,UAAU,KAAK,UAAU,QAAQ,OAAO;GAE3D,IAAI,KAAK,WAAW,IAAI,GAAG,OAAO;GAIlC,MAAM,QAAQ,KAAK,UAAU,SAAS,KAAK,iBAAiB,KAAK;GACjE,IAAI,EAAE,QAAQ,IAAI,OAAO;GACzB,MAAM,UAAU,KAAK,IAAI,GAAG,QAAQ,KAAK;GACzC,MAAM,cAAc,KAAK,UAAU,SAC/B,cAAc,OAAO,IACpB,KAAK,SAAS,OAAO,SAAS,eAAe,OAAO,MAAM,IAAI,eAAe,OAAO;GACzF,MAAM,WAAW,KAAK,MAAM,GAAG;GAC/B,KAAK,IAAI,IAAI,SAAS,SAAS,GAAG,IAAI,GAAG,KAAK;IAC5C,MAAM,UAAU,SAAS;IACzB,IAAI,YAAY,KAAA,MAAc,SAAS,KAAK,OAAO,KAAK,QAAQ,KAAK,OAAO,IAAI;KAC9E,SAAS,KAAK;KACd,OAAO,SAAS,KAAK,GAAG;IAC1B;GACF;GACA,OAAO;EACT;;;;;;;;;;;;;;;;;;;;;;ECxDA,MAAM,cAAc;;EAGpB,IAAI;;;;;;;;;;;;;;;;EAiBJ,SAAS,kBAAkB,IAAwB,UAAiD;GAClG,IAAI,mBAAmB,KAAA,MAAc,OAAO,QAAQ,eAAe,OAAO,KAAK;IAC7E,cAAc,eAAe,KAAK;IAClC,iBAAiB,KAAA;GACnB;GACA,IAAI,OAAO,QAAQ,aAAa,KAAA,KAAa,SAAS,SAAS,MAAM;GACrE,MAAM,cAAoB;IACxB,GAAG,cAAc,qBAAqB,SAAS,MAAM,UAAU,KAAK,IAAI,CAAC;GAC3E;GACA,MAAM;GACN,iBAAiB;IAAE;IAAI,OAAO,YAAY,OAAO,GAAI;GAAE;EACzD;;;;;EAMA,SAAgB,YAAY,EAAE,iBAAmC;GAY/D,MAAM,WAA4C,cAAc,uBAAuB;GACvF,IAAI,aAAa,KAAA,KAAa,SAAS,UAAU,UAAU,SAAS,SAAS,IAAI,OAAO;GACxF,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;IAAK,WAAWA,+BAAI;IAAM,uBAAqB,SAAS;IAAxD,UAAA;KACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;MAAM,WAAWA,+BAAI;MAAQ,eAAY;KAAQ,CAAA;KACjD,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;MAAM,WAAWA,+BAAI;MAAM,MAAK,OAAM,kBAAkB,IAAI,QAAQ;MAAI,UAAA,SAAS;KAAW,CAAA;KAC3F,SAAS,YAAY,KACpB,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;MAAM,WAAWA,+BAAI;MAAO,OAAO,GAAG,SAAS,UAAU,GAAG;MACzD,UAAA,SAAS;KACN,CAAA;IAEL;;EAET;;;;ECjEA,MAAa,SAAS,CAAC,OAAO;;;;;EAM9B,SAAgB,MAAM,KAAoB;GACxC,IAAI,MAAM,OAAO,iCAAiC,IAAI,MAAM,SAAS;IACnE,MAAM;IAIN,IAAI;IACJ,OAAO;IACP,YAAY;GACd,GAAG,WAAW,CAAC;EACjB"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The tracker's own event vocabulary — the only input `ActivityTracker`
|
|
3
|
+
* understands.
|
|
4
|
+
*
|
|
5
|
+
* Why this exists: the state machine used to consume raw DSH `SessionEvent`s,
|
|
6
|
+
* so every host payload drift silently changed the rendered status (the
|
|
7
|
+
* current host moved a tool-call id out of `content[]` and replaced the durable
|
|
8
|
+
* `assistant/chunk` stream with transient frames — both broke the line without
|
|
9
|
+
* a single failing test). Events here carry **meaning**, never host shape:
|
|
10
|
+
* `kind` plus already-normalized values, and every one of them is timestamped
|
|
11
|
+
* by the producer so the clock stays injectable.
|
|
12
|
+
*
|
|
13
|
+
* Producers live in `src/compat/*` (durable session events) and
|
|
14
|
+
* `src/compat/assistant-stream.ts` (live attempt frames). The tracker must
|
|
15
|
+
* never import a DSH type.
|
|
16
|
+
* @module @deepseek-ai/dsh-working-activity/activity-event
|
|
17
|
+
*/
|
|
18
|
+
/** Token counters reported by one settled assistant message. */
|
|
19
|
+
export interface ActivityUsage {
|
|
20
|
+
readonly inputTokens: number;
|
|
21
|
+
readonly outputTokens: number;
|
|
22
|
+
readonly cacheReadTokens?: number;
|
|
23
|
+
readonly cacheWriteTokens?: number;
|
|
24
|
+
}
|
|
25
|
+
/** Which stream a delta came from (reasoning and text both drive narration). */
|
|
26
|
+
export type ActivityStreamKind = 'text' | 'reasoning';
|
|
27
|
+
/**
|
|
28
|
+
* Why the model is not making progress even though the turn is open: the
|
|
29
|
+
* provider asked for a retry, a tool is parked on the user's approval, or the
|
|
30
|
+
* host is compacting the context. Without this the line cannot tell "waiting
|
|
31
|
+
* on the model" from "the model is waiting on YOU".
|
|
32
|
+
*/
|
|
33
|
+
export type WaitingReason = 'retry' | 'approval' | 'compaction';
|
|
34
|
+
/**
|
|
35
|
+
* Why provisional stream state was dropped: the attempt was abandoned (its
|
|
36
|
+
* output will never be settled) or only a partial settlement was committed
|
|
37
|
+
* (`assistant/attempt`). Both clear the buffer; they are not the same event.
|
|
38
|
+
*/
|
|
39
|
+
export type ActivityStreamResetReason = 'abandoned' | 'attempt-settled';
|
|
40
|
+
/** One normalized activity event. */
|
|
41
|
+
export type ActivityEvent =
|
|
42
|
+
/** Accepted human text from the durable session log. */
|
|
43
|
+
{
|
|
44
|
+
readonly kind: 'user-prompt';
|
|
45
|
+
readonly at: number;
|
|
46
|
+
readonly text: string;
|
|
47
|
+
}
|
|
48
|
+
/** A new turn opened: per-turn counters reset, phase → waiting. */
|
|
49
|
+
| {
|
|
50
|
+
readonly kind: 'turn-start';
|
|
51
|
+
readonly at: number;
|
|
52
|
+
}
|
|
53
|
+
/** A step opened. Carries no phase change on its own. */
|
|
54
|
+
| {
|
|
55
|
+
readonly kind: 'step-start';
|
|
56
|
+
readonly at: number;
|
|
57
|
+
}
|
|
58
|
+
/** A live model attempt opened; later deltas belong to `attemptId`. */
|
|
59
|
+
| {
|
|
60
|
+
readonly kind: 'stream-start';
|
|
61
|
+
readonly at: number;
|
|
62
|
+
readonly attemptId?: string;
|
|
63
|
+
}
|
|
64
|
+
/** One streamed delta with non-empty text. */
|
|
65
|
+
| {
|
|
66
|
+
readonly kind: 'stream-delta';
|
|
67
|
+
readonly at: number;
|
|
68
|
+
readonly stream: ActivityStreamKind;
|
|
69
|
+
readonly text: string;
|
|
70
|
+
}
|
|
71
|
+
/** Drop provisional stream state for the attempt that just ended. */
|
|
72
|
+
| {
|
|
73
|
+
readonly kind: 'stream-reset';
|
|
74
|
+
readonly at: number;
|
|
75
|
+
readonly reason: ActivityStreamResetReason;
|
|
76
|
+
}
|
|
77
|
+
/** One assistant message settled with authoritative usage (and its text). */
|
|
78
|
+
| {
|
|
79
|
+
readonly kind: 'assistant-settled';
|
|
80
|
+
readonly at: number;
|
|
81
|
+
readonly usage?: ActivityUsage;
|
|
82
|
+
/**
|
|
83
|
+
* The settled message's text, when it has any.
|
|
84
|
+
*
|
|
85
|
+
* Live narration arrives on stream frames, which only a live host sees; a
|
|
86
|
+
* projection (or a replayed log) folds durable events alone, so the same
|
|
87
|
+
* `⏵` line must be recoverable from the message that carries it.
|
|
88
|
+
*/
|
|
89
|
+
readonly text?: string;
|
|
90
|
+
}
|
|
91
|
+
/** A tool started running. */
|
|
92
|
+
| {
|
|
93
|
+
readonly kind: 'tool-start';
|
|
94
|
+
readonly at: number;
|
|
95
|
+
readonly callId: string;
|
|
96
|
+
readonly name: string;
|
|
97
|
+
readonly arguments: string;
|
|
98
|
+
}
|
|
99
|
+
/** A tool settled; `callId` is the exact id its start carried. */
|
|
100
|
+
| {
|
|
101
|
+
readonly kind: 'tool-end';
|
|
102
|
+
readonly at: number;
|
|
103
|
+
readonly callId: string;
|
|
104
|
+
readonly failed: boolean;
|
|
105
|
+
}
|
|
106
|
+
/** The model route changed to `model`. */
|
|
107
|
+
| {
|
|
108
|
+
readonly kind: 'route-change';
|
|
109
|
+
readonly at: number;
|
|
110
|
+
readonly model: string;
|
|
111
|
+
}
|
|
112
|
+
/** Context compaction finished, or overflowed while trying. */
|
|
113
|
+
| {
|
|
114
|
+
readonly kind: 'compaction';
|
|
115
|
+
readonly at: number;
|
|
116
|
+
readonly overflow?: boolean;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* The turn is stalled for `reason`. Stays until the stall resolves: a delta
|
|
120
|
+
* (the model is producing again), an approval decision, the compaction
|
|
121
|
+
* settling, or the turn closing.
|
|
122
|
+
*/
|
|
123
|
+
| {
|
|
124
|
+
readonly kind: 'waiting-reason';
|
|
125
|
+
readonly at: number;
|
|
126
|
+
readonly reason: WaitingReason;
|
|
127
|
+
}
|
|
128
|
+
/** A stall resolved (e.g. `approval/decided`): back to the normal pools. */
|
|
129
|
+
| {
|
|
130
|
+
readonly kind: 'waiting-cleared';
|
|
131
|
+
readonly at: number;
|
|
132
|
+
}
|
|
133
|
+
/** The agent entered another lifecycle status. */
|
|
134
|
+
| {
|
|
135
|
+
readonly kind: 'agent-status';
|
|
136
|
+
readonly at: number;
|
|
137
|
+
readonly status: 'idle' | 'running';
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* The turn closed. `interrupted` is already derived by the producer from the
|
|
141
|
+
* host's reason vocabulary, so the tracker never learns those spellings.
|
|
142
|
+
*/
|
|
143
|
+
| {
|
|
144
|
+
readonly kind: 'turn-end';
|
|
145
|
+
readonly at: number;
|
|
146
|
+
readonly interrupted?: boolean;
|
|
147
|
+
};
|