@songtonyli/dsh-cli 0.1.15 → 0.1.17
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/README.md +1 -1
- package/bin/dsh.mjs +1 -1
- package/node_modules/@bufbuild/protobuf/README.md +41 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/clone.js +66 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/boot.js +18 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/enum.js +31 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/extension.js +28 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/file.js +18 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/index.js +39 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/message.js +24 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/service.js +27 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/symbols.js +43 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/types.js +15 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/boot.js +105 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/embed.js +244 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/enum.js +58 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/extension.js +28 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/file.js +35 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/index.js +39 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/message.js +24 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/restore-json-names.js +29 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/scalar.js +67 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/service.js +27 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/symbols.js +74 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/types.js +15 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/create.js +296 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/descriptors.js +53 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/equals.js +209 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/extensions.js +168 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/fields.js +45 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/from-binary.js +415 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/from-json.js +1037 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/index.js +55 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/is-message.js +33 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/json-value.js +15 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/merge.js +70 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/package.json +4 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/proto-int64.js +131 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/error.js +36 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/guard.js +78 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/index.js +41 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/message.js +157 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/names.js +115 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/nested-types.js +110 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/path.js +376 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect-check.js +292 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect-types.js +16 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect.js +469 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/scalar.js +129 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/unsafe.js +149 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/registry.js +954 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/to-binary.js +437 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/to-json.js +625 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/from-text.js +684 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/index.js +21 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/is-group-like.js +47 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/reader.js +481 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/to-text.js +358 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/writer.js +220 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/types.js +15 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/unknown-enum.js +26 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/base64-encoding.js +188 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/binary-encoding.js +726 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/index.js +37 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/size-delimited.js +191 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/text-encoding.js +106 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/text-format.js +199 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/varint.js +334 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/any.js +75 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/duration.js +39 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/any_pb.js +27 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/api_pb.js +39 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/compiler/plugin_pb.js +68 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/cpp_features_pb.js +60 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/descriptor_pb.js +892 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/duration_pb.js +27 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/empty_pb.js +27 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/field_mask_pb.js +27 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/go_features_pb.js +126 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/java_features_pb.js +106 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/source_context_pb.js +27 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/struct_pb.js +59 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/timestamp_pb.js +27 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/type_pb.js +242 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/wrappers_pb.js +67 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/index.js +48 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/json.js +44 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/timestamp.js +57 -0
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/wrappers.js +66 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/clone.js +63 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/boot.js +14 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/enum.js +26 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/extension.js +25 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/file.js +14 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/index.js +23 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/message.js +21 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/service.js +24 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/symbols.js +40 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/types.js +14 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/boot.js +101 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +239 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +53 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +25 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +32 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +23 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/message.js +21 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/restore-json-names.js +26 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +63 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +24 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +71 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +14 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/create.js +293 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/descriptors.js +50 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/equals.js +206 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +159 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/fields.js +41 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +409 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +1029 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/index.js +29 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +30 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/json-value.js +14 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/merge.js +67 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/package.json +4 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +128 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +31 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +71 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/index.js +21 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/message.js +152 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +109 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +105 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/path.js +369 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js +284 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-types.js +14 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +464 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +124 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +140 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/registry.js +948 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/to-binary.js +433 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +620 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/from-text.js +680 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/index.js +15 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/is-group-like.js +44 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/reader.js +477 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/to-text.js +355 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/writer.js +214 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/types.js +14 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/unknown-enum.js +23 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +184 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js +721 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +18 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +186 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +101 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.js +195 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js +325 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +69 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +35 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +24 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +36 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +65 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +57 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +888 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +24 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +24 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +24 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +123 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +103 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +24 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +56 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +24 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +239 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +64 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +32 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/json.js +41 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +50 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js +61 -0
- package/node_modules/@bufbuild/protobuf/package.json +136 -0
- package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-base/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-base/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +9 -3
- package/node_modules/@deepseek-ai/dsh-base/package.json +1 -0
- package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +61 -61
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/client.js +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +55 -55
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +182 -182
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +151 -151
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +74 -74
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +76 -76
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +39 -39
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +23 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +27 -27
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +18 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +22 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +115 -115
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +40 -40
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +97 -87
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +35 -35
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +61 -61
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/README.md +6 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/README.zh.md +6 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/lib/client.js +36 -35
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/lib/client.js +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +41 -41
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/lib/client.js +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +68 -68
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.pdf.js +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/client.js +21 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +24 -24
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.js +18 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.terminal.js +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +19 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +38 -38
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +25 -25
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +70 -70
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +198 -198
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +50 -50
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +24 -24
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +81 -81
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +25 -25
- package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm/README.md +2 -1
- package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +2 -1
- package/node_modules/@deepseek-ai/dsh-llm-cursor/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-cursor/README.md +136 -0
- package/node_modules/@deepseek-ai/dsh-llm-cursor/README.zh.md +136 -0
- package/node_modules/@deepseek-ai/dsh-llm-cursor/lib/index.js +2529 -0
- package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +62 -0
- package/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +3 -3
- package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tui-app/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-web-app/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +1 -1
- package/package.json +5 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/queue-mirror.js +0 -61
- package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-UEJ3Ntqn.js +0 -1511
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
// Copyright 2021-2026 Buf Technologies, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
import { scalarEquals } from "./reflect/scalar.js";
|
|
15
|
+
import { reflect } from "./reflect/reflect.js";
|
|
16
|
+
import { ScalarType, } from "./descriptors.js";
|
|
17
|
+
import { anyUnpack } from "./wkt/index.js";
|
|
18
|
+
import { createExtensionContainer, getExtension } from "./extensions.js";
|
|
19
|
+
/**
|
|
20
|
+
* Compare two messages of the same type for equality.
|
|
21
|
+
*
|
|
22
|
+
* Fields are compared one by one, but only when set: a field set in one message
|
|
23
|
+
* but not the other makes them unequal, while fields set in both are compared
|
|
24
|
+
* by value. Extensions and unknown fields are disregarded by default.
|
|
25
|
+
*
|
|
26
|
+
* Float and double values are compared with IEEE semantics: NaN does not equal
|
|
27
|
+
* NaN, and -0 equals 0 (with the exception for singular fields with implicit
|
|
28
|
+
* presence: -0 is set, +0 is unset).
|
|
29
|
+
*/
|
|
30
|
+
export function equals(schema, a, b, options) {
|
|
31
|
+
if (a.$typeName != schema.typeName || b.$typeName != schema.typeName) {
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
if (a === b) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
return reflectEquals(reflect(schema, a), reflect(schema, b), options);
|
|
38
|
+
}
|
|
39
|
+
function reflectEquals(a, b, opts) {
|
|
40
|
+
if (a.desc.typeName === "google.protobuf.Any" && (opts === null || opts === void 0 ? void 0 : opts.unpackAny) == true) {
|
|
41
|
+
return anyUnpackedEquals(a.message, b.message, opts);
|
|
42
|
+
}
|
|
43
|
+
for (const f of a.fields) {
|
|
44
|
+
if (!fieldEquals(f, a, b, opts)) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
if ((opts === null || opts === void 0 ? void 0 : opts.unknown) == true && !unknownEquals(a, b, opts.registry)) {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
if ((opts === null || opts === void 0 ? void 0 : opts.extensions) == true && !extensionsEquals(a, b, opts)) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
// TODO(tstamm) add an option to consider NaN equal to NaN?
|
|
57
|
+
function fieldEquals(f, a, b, opts) {
|
|
58
|
+
if (!a.isSet(f) && !b.isSet(f)) {
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
if (!a.isSet(f) || !b.isSet(f)) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
switch (f.fieldKind) {
|
|
65
|
+
case "scalar":
|
|
66
|
+
return scalarEquals(f.scalar, a.get(f), b.get(f));
|
|
67
|
+
case "enum":
|
|
68
|
+
return a.get(f) === b.get(f);
|
|
69
|
+
case "message":
|
|
70
|
+
return reflectEquals(a.get(f), b.get(f), opts);
|
|
71
|
+
case "map": {
|
|
72
|
+
// TODO(tstamm) can't we compare sizes first?
|
|
73
|
+
const mapA = a.get(f);
|
|
74
|
+
const mapB = b.get(f);
|
|
75
|
+
const keys = [];
|
|
76
|
+
for (const k of mapA.keys()) {
|
|
77
|
+
if (!mapB.has(k)) {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
keys.push(k);
|
|
81
|
+
}
|
|
82
|
+
for (const k of mapB.keys()) {
|
|
83
|
+
if (!mapA.has(k)) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
for (const key of keys) {
|
|
88
|
+
const va = mapA.get(key);
|
|
89
|
+
const vb = mapB.get(key);
|
|
90
|
+
if (va === vb) {
|
|
91
|
+
continue;
|
|
92
|
+
}
|
|
93
|
+
switch (f.mapKind) {
|
|
94
|
+
case "enum":
|
|
95
|
+
return false;
|
|
96
|
+
case "message":
|
|
97
|
+
if (!reflectEquals(va, vb, opts)) {
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
break;
|
|
101
|
+
case "scalar":
|
|
102
|
+
if (!scalarEquals(f.scalar, va, vb)) {
|
|
103
|
+
return false;
|
|
104
|
+
}
|
|
105
|
+
break;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
break;
|
|
109
|
+
}
|
|
110
|
+
case "list": {
|
|
111
|
+
const listA = a.get(f);
|
|
112
|
+
const listB = b.get(f);
|
|
113
|
+
if (listA.size != listB.size) {
|
|
114
|
+
return false;
|
|
115
|
+
}
|
|
116
|
+
for (let i = 0; i < listA.size; i++) {
|
|
117
|
+
const va = listA.get(i);
|
|
118
|
+
const vb = listB.get(i);
|
|
119
|
+
if (va === vb) {
|
|
120
|
+
continue;
|
|
121
|
+
}
|
|
122
|
+
switch (f.listKind) {
|
|
123
|
+
case "enum":
|
|
124
|
+
return false;
|
|
125
|
+
case "message":
|
|
126
|
+
if (!reflectEquals(va, vb, opts)) {
|
|
127
|
+
return false;
|
|
128
|
+
}
|
|
129
|
+
break;
|
|
130
|
+
case "scalar":
|
|
131
|
+
if (!scalarEquals(f.scalar, va, vb)) {
|
|
132
|
+
return false;
|
|
133
|
+
}
|
|
134
|
+
break;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
break;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
return true;
|
|
141
|
+
}
|
|
142
|
+
function anyUnpackedEquals(a, b, opts) {
|
|
143
|
+
if (a.typeUrl !== b.typeUrl) {
|
|
144
|
+
return false;
|
|
145
|
+
}
|
|
146
|
+
const unpackedA = anyUnpack(a, opts.registry);
|
|
147
|
+
const unpackedB = anyUnpack(b, opts.registry);
|
|
148
|
+
if (unpackedA && unpackedB) {
|
|
149
|
+
const schema = opts.registry.getMessage(unpackedA.$typeName);
|
|
150
|
+
if (schema) {
|
|
151
|
+
return equals(schema, unpackedA, unpackedB, opts);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
return scalarEquals(ScalarType.BYTES, a.value, b.value);
|
|
155
|
+
}
|
|
156
|
+
function unknownEquals(a, b, registry) {
|
|
157
|
+
function getTrulyUnknown(msg, registry) {
|
|
158
|
+
var _a;
|
|
159
|
+
const u = (_a = msg.getUnknown()) !== null && _a !== void 0 ? _a : [];
|
|
160
|
+
return registry
|
|
161
|
+
? u.filter((uf) => !registry.getExtensionFor(msg.desc, uf.no))
|
|
162
|
+
: u;
|
|
163
|
+
}
|
|
164
|
+
const unknownA = getTrulyUnknown(a, registry);
|
|
165
|
+
const unknownB = getTrulyUnknown(b, registry);
|
|
166
|
+
if (unknownA.length != unknownB.length) {
|
|
167
|
+
return false;
|
|
168
|
+
}
|
|
169
|
+
for (let i = 0; i < unknownA.length; i++) {
|
|
170
|
+
const a = unknownA[i];
|
|
171
|
+
const b = unknownB[i];
|
|
172
|
+
if (a.no != b.no) {
|
|
173
|
+
return false;
|
|
174
|
+
}
|
|
175
|
+
if (a.wireType != b.wireType) {
|
|
176
|
+
return false;
|
|
177
|
+
}
|
|
178
|
+
if (!scalarEquals(ScalarType.BYTES, a.data, b.data)) {
|
|
179
|
+
return false;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
return true;
|
|
183
|
+
}
|
|
184
|
+
function extensionsEquals(a, b, opts) {
|
|
185
|
+
function getSetExtensions(msg, registry) {
|
|
186
|
+
var _a;
|
|
187
|
+
return ((_a = msg.getUnknown()) !== null && _a !== void 0 ? _a : [])
|
|
188
|
+
.map((uf) => registry.getExtensionFor(msg.desc, uf.no))
|
|
189
|
+
.filter((e) => e != undefined)
|
|
190
|
+
.filter((e, index, arr) => arr.indexOf(e) === index);
|
|
191
|
+
}
|
|
192
|
+
const extensionsA = getSetExtensions(a, opts.registry);
|
|
193
|
+
const extensionsB = getSetExtensions(b, opts.registry);
|
|
194
|
+
if (extensionsA.length != extensionsB.length ||
|
|
195
|
+
extensionsA.some((e) => !extensionsB.includes(e))) {
|
|
196
|
+
return false;
|
|
197
|
+
}
|
|
198
|
+
for (const extension of extensionsA) {
|
|
199
|
+
const [containerA, field] = createExtensionContainer(extension, getExtension(a.message, extension));
|
|
200
|
+
const [containerB] = createExtensionContainer(extension, getExtension(b.message, extension));
|
|
201
|
+
if (!fieldEquals(field, containerA, containerB, opts)) {
|
|
202
|
+
return false;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
return true;
|
|
206
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
// Copyright 2021-2026 Buf Technologies, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
import { create } from "./create.js";
|
|
15
|
+
import { makeReadContext, readField } from "./from-binary.js";
|
|
16
|
+
import { reflect } from "./reflect/reflect.js";
|
|
17
|
+
import { scalarZeroValue } from "./reflect/scalar.js";
|
|
18
|
+
import { writeField } from "./to-binary.js";
|
|
19
|
+
import { BinaryReader, BinaryWriter } from "./wire/binary-encoding.js";
|
|
20
|
+
import { isWrapperDesc } from "./wkt/wrappers.js";
|
|
21
|
+
/**
|
|
22
|
+
* Retrieve an extension value from a message.
|
|
23
|
+
*
|
|
24
|
+
* The function never returns undefined. Use hasExtension() to check whether an
|
|
25
|
+
* extension is set. If the extension is not set, this function returns the
|
|
26
|
+
* default value (if one was specified in the protobuf source), or the zero value
|
|
27
|
+
* (for example `0` for numeric types, `[]` for repeated extension fields, and
|
|
28
|
+
* an empty message instance for message fields).
|
|
29
|
+
*
|
|
30
|
+
* Extensions are stored as unknown fields on a message. To mutate an extension
|
|
31
|
+
* value, make sure to store the new value with setExtension() after mutating.
|
|
32
|
+
*
|
|
33
|
+
* If the extension does not extend the given message, an error is raised.
|
|
34
|
+
*/
|
|
35
|
+
export function getExtension(message, extension, options) {
|
|
36
|
+
assertExtendee(extension, message);
|
|
37
|
+
const ufs = filterUnknownFields(message.$unknown, extension);
|
|
38
|
+
const [container, field, get] = createExtensionContainer(extension);
|
|
39
|
+
const ctx = makeReadContext(options);
|
|
40
|
+
for (const uf of ufs) {
|
|
41
|
+
readField(container, new BinaryReader(uf.data), field, uf.wireType, ctx);
|
|
42
|
+
}
|
|
43
|
+
return get();
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Set an extension value on a message. If the message already has a value for
|
|
47
|
+
* this extension, the value is replaced.
|
|
48
|
+
*
|
|
49
|
+
* If the extension does not extend the given message, an error is raised.
|
|
50
|
+
*/
|
|
51
|
+
export function setExtension(message, extension, value) {
|
|
52
|
+
var _a;
|
|
53
|
+
assertExtendee(extension, message);
|
|
54
|
+
const ufs = ((_a = message.$unknown) !== null && _a !== void 0 ? _a : []).filter((uf) => uf.no !== extension.number);
|
|
55
|
+
const [container, field] = createExtensionContainer(extension, value);
|
|
56
|
+
const writer = new BinaryWriter();
|
|
57
|
+
writeField(writer, { writeUnknownFields: true }, container, field);
|
|
58
|
+
const reader = new BinaryReader(writer.finish());
|
|
59
|
+
while (reader.pos < reader.len) {
|
|
60
|
+
const [no, wireType] = reader.tag();
|
|
61
|
+
const data = reader.skip(wireType, no);
|
|
62
|
+
ufs.push({ no, wireType, data });
|
|
63
|
+
}
|
|
64
|
+
message.$unknown = ufs;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Remove an extension value from a message.
|
|
68
|
+
*
|
|
69
|
+
* If the extension does not extend the given message, an error is raised.
|
|
70
|
+
*/
|
|
71
|
+
export function clearExtension(message, extension) {
|
|
72
|
+
assertExtendee(extension, message);
|
|
73
|
+
if (message.$unknown === undefined) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
message.$unknown = message.$unknown.filter((uf) => uf.no !== extension.number);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Check whether an extension is set on a message.
|
|
80
|
+
*/
|
|
81
|
+
export function hasExtension(message, extension) {
|
|
82
|
+
var _a;
|
|
83
|
+
return (extension.extendee.typeName === message.$typeName &&
|
|
84
|
+
!!((_a = message.$unknown) === null || _a === void 0 ? void 0 : _a.find((uf) => uf.no === extension.number)));
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Check whether an option is set on a descriptor.
|
|
88
|
+
*
|
|
89
|
+
* Options are extensions to the `google.protobuf.*Options` messages defined in
|
|
90
|
+
* google/protobuf/descriptor.proto. This function gets the option message from
|
|
91
|
+
* the descriptor, and calls hasExtension().
|
|
92
|
+
*/
|
|
93
|
+
export function hasOption(element, option) {
|
|
94
|
+
const message = element.proto.options;
|
|
95
|
+
if (!message) {
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
return hasExtension(message, option);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Retrieve an option value from a descriptor.
|
|
102
|
+
*
|
|
103
|
+
* Options are extensions to the `google.protobuf.*Options` messages defined in
|
|
104
|
+
* google/protobuf/descriptor.proto. This function gets the option message from
|
|
105
|
+
* the descriptor, and calls getExtension(). Same as getExtension(), this
|
|
106
|
+
* function never returns undefined.
|
|
107
|
+
*/
|
|
108
|
+
export function getOption(element, option) {
|
|
109
|
+
const message = element.proto.options;
|
|
110
|
+
if (!message) {
|
|
111
|
+
const [, , get] = createExtensionContainer(option);
|
|
112
|
+
return get();
|
|
113
|
+
}
|
|
114
|
+
return getExtension(message, option);
|
|
115
|
+
}
|
|
116
|
+
function filterUnknownFields(unknownFields, extension) {
|
|
117
|
+
if (unknownFields === undefined)
|
|
118
|
+
return [];
|
|
119
|
+
if (extension.fieldKind === "enum" || extension.fieldKind === "scalar") {
|
|
120
|
+
// singular scalar fields do not merge, we pick the last
|
|
121
|
+
for (let i = unknownFields.length - 1; i >= 0; --i) {
|
|
122
|
+
if (unknownFields[i].no == extension.number) {
|
|
123
|
+
return [unknownFields[i]];
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
return [];
|
|
127
|
+
}
|
|
128
|
+
return unknownFields.filter((uf) => uf.no === extension.number);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* @private
|
|
132
|
+
*/
|
|
133
|
+
export function createExtensionContainer(extension, value) {
|
|
134
|
+
const localName = extension.typeName;
|
|
135
|
+
const field = Object.assign(Object.assign({}, extension), { kind: "field", parent: extension.extendee, localName });
|
|
136
|
+
const desc = Object.assign(Object.assign({}, extension.extendee), { fields: [field], members: [field], oneofs: [] });
|
|
137
|
+
const container = create(desc, value !== undefined ? { [localName]: value } : undefined);
|
|
138
|
+
return [
|
|
139
|
+
reflect(desc, container),
|
|
140
|
+
field,
|
|
141
|
+
() => {
|
|
142
|
+
const value = container[localName];
|
|
143
|
+
if (value === undefined) {
|
|
144
|
+
// biome-ignore lint/style/noNonNullAssertion: Only message fields are undefined, rest will have a zero value.
|
|
145
|
+
const desc = extension.message;
|
|
146
|
+
if (isWrapperDesc(desc)) {
|
|
147
|
+
return scalarZeroValue(desc.fields[0].scalar, desc.fields[0].longAsString);
|
|
148
|
+
}
|
|
149
|
+
return create(desc);
|
|
150
|
+
}
|
|
151
|
+
return value;
|
|
152
|
+
},
|
|
153
|
+
];
|
|
154
|
+
}
|
|
155
|
+
function assertExtendee(extension, message) {
|
|
156
|
+
if (extension.extendee.typeName != message.$typeName) {
|
|
157
|
+
throw new Error(`extension ${extension.typeName} can only be applied to message ${extension.extendee.typeName}`);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// Copyright 2021-2026 Buf Technologies, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
import { unsafeClear, unsafeIsSet } from "./reflect/unsafe.js";
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the field is set.
|
|
17
|
+
*
|
|
18
|
+
* - Scalar and enum fields with implicit presence (proto3):
|
|
19
|
+
* Set if not a zero value.
|
|
20
|
+
*
|
|
21
|
+
* - Scalar and enum fields with explicit presence (proto2, oneof):
|
|
22
|
+
* Set if a value was set when creating or parsing the message, or when a
|
|
23
|
+
* value was assigned to the field's property.
|
|
24
|
+
*
|
|
25
|
+
* - Message fields:
|
|
26
|
+
* Set if the property is not undefined.
|
|
27
|
+
*
|
|
28
|
+
* - List and map fields:
|
|
29
|
+
* Set if not empty.
|
|
30
|
+
*/
|
|
31
|
+
export function isFieldSet(message, field) {
|
|
32
|
+
return (field.parent.typeName == message.$typeName && unsafeIsSet(message, field));
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Resets the field, so that isFieldSet() will return false.
|
|
36
|
+
*/
|
|
37
|
+
export function clearField(message, field) {
|
|
38
|
+
if (field.parent.typeName == message.$typeName) {
|
|
39
|
+
unsafeClear(message, field);
|
|
40
|
+
}
|
|
41
|
+
}
|