@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,105 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* Iterate over all types - enumerations, extensions, services, messages -
|
|
16
|
+
* and enumerations, extensions and messages nested in messages.
|
|
17
|
+
*/
|
|
18
|
+
export function* nestedTypes(desc) {
|
|
19
|
+
switch (desc.kind) {
|
|
20
|
+
case "file":
|
|
21
|
+
for (const message of desc.messages) {
|
|
22
|
+
yield message;
|
|
23
|
+
yield* nestedTypes(message);
|
|
24
|
+
}
|
|
25
|
+
yield* desc.enums;
|
|
26
|
+
yield* desc.services;
|
|
27
|
+
yield* desc.extensions;
|
|
28
|
+
break;
|
|
29
|
+
case "message":
|
|
30
|
+
for (const message of desc.nestedMessages) {
|
|
31
|
+
yield message;
|
|
32
|
+
yield* nestedTypes(message);
|
|
33
|
+
}
|
|
34
|
+
yield* desc.nestedEnums;
|
|
35
|
+
yield* desc.nestedExtensions;
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Iterate over types referenced by fields of the given message.
|
|
41
|
+
*
|
|
42
|
+
* For example:
|
|
43
|
+
*
|
|
44
|
+
* ```proto
|
|
45
|
+
* syntax="proto3";
|
|
46
|
+
*
|
|
47
|
+
* message Example {
|
|
48
|
+
* Msg singular = 1;
|
|
49
|
+
* repeated Level list = 2;
|
|
50
|
+
* }
|
|
51
|
+
*
|
|
52
|
+
* message Msg {}
|
|
53
|
+
*
|
|
54
|
+
* enum Level {
|
|
55
|
+
* LEVEL_UNSPECIFIED = 0;
|
|
56
|
+
* }
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* The message Example references the message Msg, and the enum Level.
|
|
60
|
+
*/
|
|
61
|
+
export function usedTypes(descMessage) {
|
|
62
|
+
return usedTypesInternal(descMessage, new Set());
|
|
63
|
+
}
|
|
64
|
+
function* usedTypesInternal(descMessage, seen) {
|
|
65
|
+
var _a, _b;
|
|
66
|
+
for (const field of descMessage.fields) {
|
|
67
|
+
const ref = (_b = (_a = field.enum) !== null && _a !== void 0 ? _a : field.message) !== null && _b !== void 0 ? _b : undefined;
|
|
68
|
+
if (!ref || seen.has(ref.typeName)) {
|
|
69
|
+
continue;
|
|
70
|
+
}
|
|
71
|
+
seen.add(ref.typeName);
|
|
72
|
+
yield ref;
|
|
73
|
+
if (ref.kind == "message") {
|
|
74
|
+
yield* usedTypesInternal(ref, seen);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Returns the ancestors of a given Protobuf element, up to the file.
|
|
80
|
+
*/
|
|
81
|
+
export function parentTypes(desc) {
|
|
82
|
+
const parents = [];
|
|
83
|
+
while (desc.kind !== "file") {
|
|
84
|
+
const p = parent(desc);
|
|
85
|
+
desc = p;
|
|
86
|
+
parents.push(p);
|
|
87
|
+
}
|
|
88
|
+
return parents;
|
|
89
|
+
}
|
|
90
|
+
function parent(desc) {
|
|
91
|
+
var _a;
|
|
92
|
+
switch (desc.kind) {
|
|
93
|
+
case "enum_value":
|
|
94
|
+
case "field":
|
|
95
|
+
case "oneof":
|
|
96
|
+
case "rpc":
|
|
97
|
+
return desc.parent;
|
|
98
|
+
case "service":
|
|
99
|
+
return desc.file;
|
|
100
|
+
case "extension":
|
|
101
|
+
case "enum":
|
|
102
|
+
case "message":
|
|
103
|
+
return (_a = desc.parent) !== null && _a !== void 0 ? _a : desc.file;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,369 @@
|
|
|
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 { ScalarType, } from "../descriptors.js";
|
|
15
|
+
/**
|
|
16
|
+
* Create a PathBuilder.
|
|
17
|
+
*/
|
|
18
|
+
export function buildPath(schema) {
|
|
19
|
+
return new PathBuilderImpl(schema, schema, []);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Parse a Path from a string.
|
|
23
|
+
*
|
|
24
|
+
* Throws an InvalidPathError if the path is invalid.
|
|
25
|
+
*
|
|
26
|
+
* Note that a Registry must be provided via the options argument to parse
|
|
27
|
+
* paths that refer to an extension.
|
|
28
|
+
*/
|
|
29
|
+
export function parsePath(schema, path, options) {
|
|
30
|
+
var _a, _b;
|
|
31
|
+
const builder = new PathBuilderImpl(schema, schema, []);
|
|
32
|
+
const err = (message, i) => new InvalidPathError(schema, message + " at column " + (i + 1), path);
|
|
33
|
+
for (let i = 0; i < path.length;) {
|
|
34
|
+
const token = nextToken(i, path);
|
|
35
|
+
const left = builder.getLeft();
|
|
36
|
+
let right = undefined;
|
|
37
|
+
if ("field" in token) {
|
|
38
|
+
right =
|
|
39
|
+
(left === null || left === void 0 ? void 0 : left.kind) != "message"
|
|
40
|
+
? undefined
|
|
41
|
+
: ((_a = left.fields.find((field) => field.name === token.field)) !== null && _a !== void 0 ? _a : left.oneofs.find((oneof) => oneof.name === token.field));
|
|
42
|
+
if (!right) {
|
|
43
|
+
throw err(`Unknown field "${token.field}"`, i);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
else if ("ext" in token) {
|
|
47
|
+
right = (_b = options === null || options === void 0 ? void 0 : options.registry) === null || _b === void 0 ? void 0 : _b.getExtension(token.ext);
|
|
48
|
+
if (!right) {
|
|
49
|
+
throw err(`Unknown extension "${token.ext}"`, i);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
else if ("val" in token) {
|
|
53
|
+
// list or map
|
|
54
|
+
right =
|
|
55
|
+
(left === null || left === void 0 ? void 0 : left.kind) == "field" &&
|
|
56
|
+
left.fieldKind == "list" &&
|
|
57
|
+
typeof token.val == "bigint"
|
|
58
|
+
? { kind: "list_sub", index: Number(token.val) }
|
|
59
|
+
: { kind: "map_sub", key: token.val };
|
|
60
|
+
}
|
|
61
|
+
else if ("err" in token) {
|
|
62
|
+
throw err(token.err, token.i);
|
|
63
|
+
}
|
|
64
|
+
if (right) {
|
|
65
|
+
try {
|
|
66
|
+
builder.add([right]);
|
|
67
|
+
}
|
|
68
|
+
catch (e) {
|
|
69
|
+
throw err(e instanceof InvalidPathError ? e.message : String(e), i);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
i = token.i;
|
|
73
|
+
}
|
|
74
|
+
return builder.toPath();
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Stringify a path.
|
|
78
|
+
*/
|
|
79
|
+
export function pathToString(path) {
|
|
80
|
+
const str = [];
|
|
81
|
+
for (const ele of path) {
|
|
82
|
+
switch (ele.kind) {
|
|
83
|
+
case "field":
|
|
84
|
+
case "oneof":
|
|
85
|
+
if (str.length > 0) {
|
|
86
|
+
str.push(".");
|
|
87
|
+
}
|
|
88
|
+
str.push(ele.name);
|
|
89
|
+
break;
|
|
90
|
+
case "extension":
|
|
91
|
+
str.push("[", ele.typeName, "]");
|
|
92
|
+
break;
|
|
93
|
+
case "list_sub":
|
|
94
|
+
str.push("[", ele.index, "]");
|
|
95
|
+
break;
|
|
96
|
+
case "map_sub":
|
|
97
|
+
if (typeof ele.key == "string") {
|
|
98
|
+
str.push('["', ele.key
|
|
99
|
+
.split("\\")
|
|
100
|
+
.join("\\\\")
|
|
101
|
+
.split('"')
|
|
102
|
+
.join('\\"')
|
|
103
|
+
.split("\r")
|
|
104
|
+
.join("\\r")
|
|
105
|
+
.split("\n")
|
|
106
|
+
.join("\\n"), '"]');
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
str.push("[", ele.key, "]");
|
|
110
|
+
}
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
return str.join("");
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* InvalidPathError is thrown for invalid Paths, for example during parsing from
|
|
118
|
+
* a string, or when a new Path is built.
|
|
119
|
+
*/
|
|
120
|
+
export class InvalidPathError extends Error {
|
|
121
|
+
constructor(schema, message, path) {
|
|
122
|
+
super(message);
|
|
123
|
+
this.name = "InvalidPathError";
|
|
124
|
+
this.schema = schema;
|
|
125
|
+
this.path = path;
|
|
126
|
+
// see https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-2.html#example
|
|
127
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
class PathBuilderImpl {
|
|
131
|
+
constructor(schema, left, path) {
|
|
132
|
+
this.schema = schema;
|
|
133
|
+
this.left = left;
|
|
134
|
+
this.path = path;
|
|
135
|
+
}
|
|
136
|
+
getLeft() {
|
|
137
|
+
return this.left;
|
|
138
|
+
}
|
|
139
|
+
field(field) {
|
|
140
|
+
return this.push(field);
|
|
141
|
+
}
|
|
142
|
+
oneof(oneof) {
|
|
143
|
+
return this.push(oneof);
|
|
144
|
+
}
|
|
145
|
+
extension(extension) {
|
|
146
|
+
return this.push(extension);
|
|
147
|
+
}
|
|
148
|
+
list(index) {
|
|
149
|
+
return this.push({ kind: "list_sub", index });
|
|
150
|
+
}
|
|
151
|
+
map(key) {
|
|
152
|
+
return this.push({ kind: "map_sub", key });
|
|
153
|
+
}
|
|
154
|
+
add(pathOrBuilder) {
|
|
155
|
+
const path = Array.isArray(pathOrBuilder)
|
|
156
|
+
? pathOrBuilder
|
|
157
|
+
: pathOrBuilder.toPath();
|
|
158
|
+
const l = this.path.length;
|
|
159
|
+
try {
|
|
160
|
+
for (const ele of path) {
|
|
161
|
+
this.push(ele);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
catch (e) {
|
|
165
|
+
// undo pushes
|
|
166
|
+
this.path.splice(l);
|
|
167
|
+
throw e;
|
|
168
|
+
}
|
|
169
|
+
return this;
|
|
170
|
+
}
|
|
171
|
+
toPath() {
|
|
172
|
+
return this.path.concat();
|
|
173
|
+
}
|
|
174
|
+
clone() {
|
|
175
|
+
return new PathBuilderImpl(this.schema, this.left, this.path.concat());
|
|
176
|
+
}
|
|
177
|
+
push(ele) {
|
|
178
|
+
switch (ele.kind) {
|
|
179
|
+
case "field":
|
|
180
|
+
if (!this.left ||
|
|
181
|
+
this.left.kind != "message" ||
|
|
182
|
+
this.left.typeName != ele.parent.typeName) {
|
|
183
|
+
throw this.err("field access");
|
|
184
|
+
}
|
|
185
|
+
this.path.push(ele);
|
|
186
|
+
this.left =
|
|
187
|
+
ele.fieldKind == "message"
|
|
188
|
+
? ele.message
|
|
189
|
+
: ele.fieldKind == "list" || ele.fieldKind == "map"
|
|
190
|
+
? ele
|
|
191
|
+
: undefined;
|
|
192
|
+
return this;
|
|
193
|
+
case "oneof":
|
|
194
|
+
if (!this.left ||
|
|
195
|
+
this.left.kind != "message" ||
|
|
196
|
+
this.left.typeName != ele.parent.typeName) {
|
|
197
|
+
throw this.err("oneof access");
|
|
198
|
+
}
|
|
199
|
+
this.path.push(ele);
|
|
200
|
+
this.left = undefined;
|
|
201
|
+
return this;
|
|
202
|
+
case "extension":
|
|
203
|
+
if (!this.left ||
|
|
204
|
+
this.left.kind != "message" ||
|
|
205
|
+
this.left.typeName != ele.extendee.typeName) {
|
|
206
|
+
throw this.err("extension access");
|
|
207
|
+
}
|
|
208
|
+
this.path.push(ele);
|
|
209
|
+
this.left = ele.fieldKind == "message" ? ele.message : undefined;
|
|
210
|
+
return this;
|
|
211
|
+
case "list_sub":
|
|
212
|
+
if (!this.left ||
|
|
213
|
+
this.left.kind != "field" ||
|
|
214
|
+
this.left.fieldKind != "list") {
|
|
215
|
+
throw this.err("list access");
|
|
216
|
+
}
|
|
217
|
+
if (ele.index < 0 || !Number.isInteger(ele.index)) {
|
|
218
|
+
throw this.err("list index");
|
|
219
|
+
}
|
|
220
|
+
this.path.push(ele);
|
|
221
|
+
this.left =
|
|
222
|
+
this.left.listKind == "message" ? this.left.message : undefined;
|
|
223
|
+
return this;
|
|
224
|
+
case "map_sub":
|
|
225
|
+
if (!this.left ||
|
|
226
|
+
this.left.kind != "field" ||
|
|
227
|
+
this.left.fieldKind != "map") {
|
|
228
|
+
throw this.err("map access");
|
|
229
|
+
}
|
|
230
|
+
if (!checkKeyType(ele.key, this.left.mapKey)) {
|
|
231
|
+
throw this.err("map key");
|
|
232
|
+
}
|
|
233
|
+
this.path.push(ele);
|
|
234
|
+
this.left =
|
|
235
|
+
this.left.mapKind == "message" ? this.left.message : undefined;
|
|
236
|
+
return this;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
err(what) {
|
|
240
|
+
return new InvalidPathError(this.schema, "Invalid " + what, this.path);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
function checkKeyType(key, type) {
|
|
244
|
+
switch (type) {
|
|
245
|
+
case ScalarType.STRING:
|
|
246
|
+
return typeof key == "string";
|
|
247
|
+
case ScalarType.INT32:
|
|
248
|
+
case ScalarType.UINT32:
|
|
249
|
+
case ScalarType.SINT32:
|
|
250
|
+
case ScalarType.SFIXED32:
|
|
251
|
+
case ScalarType.FIXED32:
|
|
252
|
+
return typeof key == "number";
|
|
253
|
+
case ScalarType.UINT64:
|
|
254
|
+
case ScalarType.INT64:
|
|
255
|
+
case ScalarType.FIXED64:
|
|
256
|
+
case ScalarType.SFIXED64:
|
|
257
|
+
case ScalarType.SINT64:
|
|
258
|
+
return typeof key == "bigint";
|
|
259
|
+
case ScalarType.BOOL:
|
|
260
|
+
return typeof key == "boolean";
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
function nextToken(i, path) {
|
|
264
|
+
const re_extension = /^[A-Za-z_][A-Za-z_0-9]*(?:\.[A-Za-z_][A-Za-z_0-9]*)*$/;
|
|
265
|
+
const re_field = /^[A-Za-z_][A-Za-z_0-9]*$/;
|
|
266
|
+
if (path[i] == "[") {
|
|
267
|
+
i++;
|
|
268
|
+
while (path[i] == " ") {
|
|
269
|
+
// skip leading whitespace
|
|
270
|
+
i++;
|
|
271
|
+
}
|
|
272
|
+
if (i >= path.length) {
|
|
273
|
+
return { err: "Premature end", i: path.length - 1 };
|
|
274
|
+
}
|
|
275
|
+
let token;
|
|
276
|
+
if (path[i] == `"`) {
|
|
277
|
+
// string literal
|
|
278
|
+
i++;
|
|
279
|
+
let val = "";
|
|
280
|
+
for (;;) {
|
|
281
|
+
if (path[i] == `"`) {
|
|
282
|
+
// end of string literal
|
|
283
|
+
i++;
|
|
284
|
+
break;
|
|
285
|
+
}
|
|
286
|
+
if (path[i] == "\\") {
|
|
287
|
+
switch (path[i + 1]) {
|
|
288
|
+
case `"`:
|
|
289
|
+
case "\\":
|
|
290
|
+
val += path[i + 1];
|
|
291
|
+
break;
|
|
292
|
+
case "r":
|
|
293
|
+
val += "\r";
|
|
294
|
+
break;
|
|
295
|
+
case "n":
|
|
296
|
+
val += "\n";
|
|
297
|
+
break;
|
|
298
|
+
default:
|
|
299
|
+
return { err: "Invalid escape sequence", i };
|
|
300
|
+
}
|
|
301
|
+
i++;
|
|
302
|
+
}
|
|
303
|
+
else {
|
|
304
|
+
val += path[i];
|
|
305
|
+
}
|
|
306
|
+
if (i >= path.length) {
|
|
307
|
+
return { err: "Premature end of string", i: path.length - 1 };
|
|
308
|
+
}
|
|
309
|
+
i++;
|
|
310
|
+
}
|
|
311
|
+
token = { val };
|
|
312
|
+
}
|
|
313
|
+
else if (path[i].match(/\d/)) {
|
|
314
|
+
// integer literal
|
|
315
|
+
const start = i;
|
|
316
|
+
while (i < path.length && /\d/.test(path[i])) {
|
|
317
|
+
i++;
|
|
318
|
+
}
|
|
319
|
+
token = { val: BigInt(path.substring(start, i)) };
|
|
320
|
+
}
|
|
321
|
+
else if (path[i] == "]") {
|
|
322
|
+
return { err: "Premature ]", i };
|
|
323
|
+
}
|
|
324
|
+
else {
|
|
325
|
+
// extension identifier or bool literal
|
|
326
|
+
const start = i;
|
|
327
|
+
while (i < path.length && path[i] != " " && path[i] != "]") {
|
|
328
|
+
i++;
|
|
329
|
+
}
|
|
330
|
+
const name = path.substring(start, i);
|
|
331
|
+
if (name === "true") {
|
|
332
|
+
token = { val: true };
|
|
333
|
+
}
|
|
334
|
+
else if (name === "false") {
|
|
335
|
+
token = { val: false };
|
|
336
|
+
}
|
|
337
|
+
else if (re_extension.test(name)) {
|
|
338
|
+
token = { ext: name };
|
|
339
|
+
}
|
|
340
|
+
else {
|
|
341
|
+
return { err: "Invalid ident", i: start };
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
while (path[i] == " ") {
|
|
345
|
+
// skip trailing whitespace
|
|
346
|
+
i++;
|
|
347
|
+
}
|
|
348
|
+
if (path[i] != "]") {
|
|
349
|
+
return { err: "Missing ]", i };
|
|
350
|
+
}
|
|
351
|
+
i++;
|
|
352
|
+
return Object.assign(Object.assign({}, token), { i });
|
|
353
|
+
}
|
|
354
|
+
// field identifier
|
|
355
|
+
if (i > 0) {
|
|
356
|
+
if (path[i] != ".") {
|
|
357
|
+
return { err: `Expected "."`, i };
|
|
358
|
+
}
|
|
359
|
+
i++;
|
|
360
|
+
}
|
|
361
|
+
const start = i;
|
|
362
|
+
while (i < path.length && path[i] != "." && path[i] != "[") {
|
|
363
|
+
i++;
|
|
364
|
+
}
|
|
365
|
+
const field = path.substring(start, i);
|
|
366
|
+
return re_field.test(field)
|
|
367
|
+
? { field, i }
|
|
368
|
+
: { err: "Invalid ident", i: start };
|
|
369
|
+
}
|