@songtonyli/dsh-cli 0.1.92 → 0.1.94
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/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +1 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -4
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/eventstream-handler-node/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-eventstream/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-websocket/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +8 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@deepseek-ai/cordis/package.json +4 -4
- package/node_modules/@deepseek-ai/cordis-plugin-group/package.json +3 -3
- package/node_modules/@deepseek-ai/cordis-plugin-include/README.md +10 -0
- package/node_modules/@deepseek-ai/cordis-plugin-include/lib/index.js +647 -149
- package/node_modules/@deepseek-ai/cordis-plugin-include/package.json +4 -4
- package/node_modules/@deepseek-ai/cordis-plugin-include/src/index.ts +362 -236
- package/node_modules/@deepseek-ai/cordis-plugin-include/src/journal.ts +242 -0
- package/node_modules/@deepseek-ai/cordis-plugin-include/src/patch.ts +261 -0
- package/node_modules/@deepseek-ai/cordis-plugin-loader/README.md +5 -1
- package/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js +96 -20
- package/node_modules/@deepseek-ai/cordis-plugin-loader/package.json +4 -4
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/entry.ts +2 -2
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/group.ts +3 -2
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/tree.ts +77 -8
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/index.ts +24 -13
- package/node_modules/@deepseek-ai/cordis-plugin-timer/package.json +3 -3
- package/node_modules/@deepseek-ai/cosmokit/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh/lib/bin-DQ1vWxS0.js +254 -0
- package/node_modules/@deepseek-ai/dsh/lib/bin.js +19 -245
- package/node_modules/@deepseek-ai/dsh/lib/dump-config-DCQrFN8g.js +64 -0
- package/node_modules/@deepseek-ai/dsh/lib/dump-config-ekMiCsuS.js +2 -0
- package/node_modules/@deepseek-ai/dsh/lib/dump-config-schema-C_NhxM7L.js +41 -0
- package/node_modules/@deepseek-ai/dsh/lib/plugin-cQMw2oZz.js +102 -0
- package/node_modules/@deepseek-ai/dsh/lib/profile-boot-xiaehH2x.js +330 -0
- package/node_modules/@deepseek-ai/dsh/lib/profile-boot.js +1 -1
- package/node_modules/@deepseek-ai/dsh/package.json +127 -127
- package/node_modules/@deepseek-ai/dsh-acp/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-acp/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-acp-app/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-action-cards/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-action-cards/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-action-cards/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-action-cards/lib/index.js +7 -4
- package/node_modules/@deepseek-ai/dsh-action-cards/lib/typert.host.js +16 -4
- package/node_modules/@deepseek-ai/dsh-action-cards/lib/typert.remote-client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-action-cards/lib/types/index.js +7 -4
- package/node_modules/@deepseek-ai/dsh-action-cards/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-agent/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-agent/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-agent/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-agent/lib/index.js +5 -30
- package/node_modules/@deepseek-ai/dsh-agent/lib/types/index.js +5 -32
- package/node_modules/@deepseek-ai/dsh-agent/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +5 -7
- package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +12 -8
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +15 -3
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/mount.js +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +39 -39
- package/node_modules/@deepseek-ai/dsh-agent-team/README.i18n.yaml +97 -0
- package/node_modules/@deepseek-ai/dsh-agent-team/README.md +217 -0
- package/node_modules/@deepseek-ai/dsh-agent-team/README.zh.md +217 -0
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/index.js +824 -0
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/typert.host.js +825 -0
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/typert.remote-client.js +79 -0
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/client.js +3 -0
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/error.js +10 -0
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/index.js +176 -0
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/journal.js +66 -0
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/projection.js +172 -0
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/task-board.js +257 -0
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/task-view.js +51 -0
- package/node_modules/@deepseek-ai/dsh-agent-team/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-team/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-team/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-team/package.json +83 -0
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-api-remote-access/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +1048 -558
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +4 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +8 -3
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +1 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +49 -46
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +16 -48
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +46 -44
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +252 -264
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +209 -245
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.js +10 -19
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/archived-session-gate.js +6 -3
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/manager.js +8 -32
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js +4 -21
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +2 -2
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/control.js +3 -3
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/controller.js +2 -2
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/listener.js +7 -7
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/list.js +14 -7
- package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +77 -77
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +15 -3
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-app-boot/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +841 -145
- package/node_modules/@deepseek-ai/dsh-app-boot/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-authorization/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-base/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-base/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +29 -15
- package/node_modules/@deepseek-ai/dsh-base/package.json +103 -101
- package/node_modules/@deepseek-ai/dsh-bash-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-brand/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-connection/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +15 -3
- package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +16 -0
- package/node_modules/@deepseek-ai/dsh-client-locale/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-modules/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +5 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-resources/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.i18n.yaml +40 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.md +100 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.zh.md +100 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/lib/client.js +1425 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/package.json +72 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +74 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +40 -40
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +5 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +5 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +56 -48
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +35 -35
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/lib/client.js +24 -61
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/de.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/es.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/fr.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/ja.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/pt.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/ru.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/zh.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/README.md +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/README.zh.md +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/lib/client.js +73 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.md +5 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.zh.md +5 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +185 -89
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +106 -111
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +4 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +12 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +12 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +4002 -400
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.md +3 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.zh.md +3 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +469 -41
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.md +15 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.zh.md +15 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/lib/client.js +773 -335
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/de.json +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/es.json +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/fr.json +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/ja.json +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/pt.json +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/ru.json +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/zh.json +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +10 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +11 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +11 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +269 -111
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +16 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +16 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +310 -150
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +18 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +128 -50
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +44 -37
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-cmdline/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-command-compact/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-command-goal/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +15 -3
- package/node_modules/@deepseek-ai/dsh-commands/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-compaction/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.i18n.yaml +18 -12
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.md +5 -5
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.zh.md +5 -5
- package/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +16 -8
- package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +27 -26
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-computer-use/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/README.md +90 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/README.zh.md +90 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/lib/index.js +35 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/lib/types/brand.js +10 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/lib/types/index.js +36 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/package.json +44 -0
- package/node_modules/@deepseek-ai/dsh-config-editor/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +230 -62
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +30 -6
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/lib/index.js +75 -77
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/lib/types/index.js +59 -54
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-credentials/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-cua/README.i18n.yaml +49 -0
- package/node_modules/@deepseek-ai/dsh-cua/README.md +132 -0
- package/node_modules/@deepseek-ai/dsh-cua/README.zh.md +132 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/api.js +597 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/bridge.js +611 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/client.js +1803 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/index.js +1922 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/native-client.js +285 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/protocol.js +305 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/typert.host.js +458 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/typert.remote-client.js +343 -0
- package/node_modules/@deepseek-ai/dsh-cua/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cua/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cua/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cua/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cua/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cua/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cua/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cua/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cua/package.json +151 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/README.i18n.yaml +46 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/README.md +94 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/README.zh.md +94 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/cordis.patch.yml +10 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/DETAIL.md +1 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/DETAIL.zh.md +1 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/preview.svg +33 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/preview.zh.svg +33 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/icon.svg +35 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/de.json +7 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/en.json +7 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/es.json +7 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/fr.json +7 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/ja.json +7 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/pt.json +7 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/ru.json +7 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/zh.json +7 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/package.json +57 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-deliverable-file-references/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-deque/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +46 -46
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/client.js +5773 -5757
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.host.js +15 -3
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/package.json +42 -42
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/package.json +19 -18
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-forge/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.md +6 -4
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.zh.md +6 -4
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/cordis.patch.yml +4 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.de.md +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.es.md +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.fr.md +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.ja.md +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.md +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.pt.md +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.ru.md +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.zh.md +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/preview.svg +28 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/preview.zh.svg +28 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/de.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/en.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/es.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/fr.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/ja.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/pt.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/ru.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/zh.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/package.json +10 -8
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/lib/index.js +11 -1
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/package.json +33 -33
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.md +8 -8
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.zh.md +8 -8
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/cordis.patch.yml +0 -4
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/client.js +892 -501
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/index.js +607 -229
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/typert.host.js +45 -31
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/typert.remote-client.js +33 -27
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/package.json +73 -75
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/lib/client.js +6 -2
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-experimental-translator/package.json +29 -29
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-file-reference/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-fs/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-fs-patch/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +15 -3
- package/node_modules/@deepseek-ai/dsh-goal/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/lib/index.js +5 -1
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-headless/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-headless/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-headless/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-headless/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-headless/package.json +30 -30
- package/node_modules/@deepseek-ai/dsh-hmr/lib/index.js +5 -1
- package/node_modules/@deepseek-ai/dsh-hmr/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-home-paths/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.host.js +2 -2
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.remote-client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-http-proxy/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-http-proxy/README.md +4 -1
- package/node_modules/@deepseek-ai/dsh-http-proxy/README.zh.md +4 -1
- package/node_modules/@deepseek-ai/dsh-http-proxy/lib/index.js +54 -16
- package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-jobs/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +37 -14
- package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +14 -2
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/content.js +38 -20
- package/node_modules/@deepseek-ai/dsh-llm/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-llm-cursor/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm-cursor/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-llm-cursor/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-llm-cursor/lib/index.js +27 -5
- package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +4 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +4 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +52 -2
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +45 -45
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/index.js +5 -8
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/index.js +4 -10
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +7 -2
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +7 -2
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +18 -8
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-mcp-client/README.i18n.yaml +15 -12
- package/node_modules/@deepseek-ai/dsh-mcp-client/README.md +29 -6
- package/node_modules/@deepseek-ai/dsh-mcp-client/README.zh.md +29 -6
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/index.js +870 -202
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/connection.js +379 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/credentials.js +99 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/deadline.js +27 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/diagnostic.js +56 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/generation.js +111 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/index.js +163 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/probe.js +89 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/server-context.js +25 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/status.js +95 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/templates.js +66 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/tools.js +432 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/transport.js +39 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/types.js +7 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +34 -24
- package/node_modules/@deepseek-ai/dsh-mcp-manager/README.i18n.yaml +64 -0
- package/node_modules/@deepseek-ai/dsh-mcp-manager/README.md +196 -0
- package/node_modules/@deepseek-ai/dsh-mcp-manager/README.zh.md +196 -0
- package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/index.js +572 -0
- package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/typert.host.js +323 -0
- package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/typert.remote-client.js +170 -0
- package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/types/index.js +582 -0
- package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/types/types.js +8 -0
- package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-manager/package.json +77 -0
- package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-message-quotes/lib/client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-message-quotes/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-native-command/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/lib/index.js +38 -15
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-official-bundles/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-official-bundles/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-official-bundles/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-official-bundles/lib/index.js +57 -95
- package/node_modules/@deepseek-ai/dsh-official-bundles/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-otel/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-output-retention/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +15 -3
- package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-persona/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-persona/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-persona/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-persona/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-plan-mode/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-plan-mode/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-plan-mode/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-plugin-detail/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +0 -1
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +12 -12
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +12 -12
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +0 -1
- package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +38 -38
- package/node_modules/@deepseek-ai/dsh-plugin-market/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-market/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-market/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/index.js +37 -7
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/repository-cache.js +40 -7
- package/node_modules/@deepseek-ai/dsh-plugin-market/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-plugin-market-index/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/typert.host.js +15 -3
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/types/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +11 -8
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.md +21 -1
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.zh.md +22 -2
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/index.js +2 -3
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/persistent-process.js +428 -31
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/process.js +423 -28
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +39 -16
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-sandbox/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +40 -40
- package/node_modules/@deepseek-ai/dsh-scope/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/index.js +21 -18
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +48 -48
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +39 -39
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-session/lib/types/known-event-types.js +1 -0
- package/node_modules/@deepseek-ai/dsh-session/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-session-format/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/lib/index.js +36 -13
- package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +76 -29
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-projection/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-session-projection/README.md +10 -6
- package/node_modules/@deepseek-ai/dsh-session-projection/README.zh.md +10 -6
- package/node_modules/@deepseek-ai/dsh-session-projection/lib/index.js +107 -42
- package/node_modules/@deepseek-ai/dsh-session-projection/lib/types/index.js +128 -47
- package/node_modules/@deepseek-ai/dsh-session-projection/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-query/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +15 -3
- package/node_modules/@deepseek-ai/dsh-session-reference/package.json +41 -41
- package/node_modules/@deepseek-ai/dsh-session-stats/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-session-title/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-settings/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-shell-env/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-skill/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-skill-office/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-spill/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +35 -35
- package/node_modules/@deepseek-ai/dsh-storage/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +39 -24
- package/node_modules/@deepseek-ai/dsh-subagent/README.md +41 -20
- package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +41 -20
- package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +580 -872
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +64 -120
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.remote-client.js +17 -63
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/activation.js +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/archive-admission.js +39 -115
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/child-agent.js +6 -4
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/continuation-messages.js +12 -14
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/control.js +1 -5
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/descriptor.js +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +83 -146
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/lifecycle.js +5 -31
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.js +401 -568
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/structured.js +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/types.js +2 -4
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +51 -55
- package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-subprocess/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-system-prompt/lib/index.js +0 -1
- package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-terminal/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-time-context/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-timeout/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +38 -15
- package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-token-meter/lib/index.js +4 -2
- package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/breakdown-projection.js +1 -0
- package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/usage-projection.js +1 -0
- package/node_modules/@deepseek-ai/dsh-token-meter/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.i18n.yaml +85 -0
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.md +178 -0
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.zh.md +178 -0
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/lib/index.js +308 -0
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/package.json +63 -0
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +37 -37
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +230 -183
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-tool-executor-native/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +7 -7
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +7 -7
- package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +5 -5
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +39 -39
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-tool-goal/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-goal/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-goal/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-goal/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-present/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +35 -35
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-tool-skill/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +15 -13
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +14 -12
- package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +40 -43
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.i18n.yaml +53 -38
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.md +41 -21
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.zh.md +41 -21
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/index.js +235 -98
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +25 -22
- package/node_modules/@deepseek-ai/dsh-tool-terminal/package.json +32 -32
- package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-web/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-web/README.md +5 -4
- package/node_modules/@deepseek-ai/dsh-tool-web/README.zh.md +5 -4
- package/node_modules/@deepseek-ai/dsh-tool-web/lib/index.js +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-web/package.json +25 -24
- package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-tools/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-tui-app/README.md +10 -8
- package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +10 -8
- package/node_modules/@deepseek-ai/dsh-tui-app/cordis.patch.yml +17 -0
- package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +113 -99
- package/node_modules/@deepseek-ai/dsh-tui-app/package.json +87 -87
- package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-user-approval/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-user-questions/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-user-questions/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-user-questions/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/index.js +5 -6
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +16 -4
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/types/index.js +5 -6
- package/node_modules/@deepseek-ai/dsh-user-questions/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-web/README.i18n.yaml +18 -12
- package/node_modules/@deepseek-ai/dsh-web/README.md +38 -7
- package/node_modules/@deepseek-ai/dsh-web/README.zh.md +38 -7
- package/node_modules/@deepseek-ai/dsh-web/lib/index.js +220 -112
- package/node_modules/@deepseek-ai/dsh-web/lib/typert.host.js +178 -0
- package/node_modules/@deepseek-ai/dsh-web/lib/typert.remote-client.js +45 -0
- package/node_modules/@deepseek-ai/dsh-web/lib/types/index.js +277 -0
- package/node_modules/@deepseek-ai/dsh-web/lib/types/types.js +18 -0
- package/node_modules/@deepseek-ai/dsh-web/package.json +26 -7
- package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-web-app/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +14 -6
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +157 -154
- package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +1 -1
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/README.md +22 -12
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/README.zh.md +22 -12
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/lib/index.js +394 -163
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/package.json +30 -19
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/lib/index.js +11 -0
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-B2q7cWGa.js +199 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-uWlUD22X.css +1 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/graphql-DFkUqiqq.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/http-BbPA7N5Y.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-BcJWnZHR.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/rst-CtdShwKQ.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/ruby-DllPV2XI.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/svelte-ZPgsG5h9.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/vue-CnLRC5W9.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/vendor-BUMdD3V7.js +411 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +3 -3
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.md +6 -4
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.zh.md +6 -4
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/lib/index.js +30 -18
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +20 -18
- package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/lib/index.js +11 -13
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +39 -39
- package/node_modules/@deepseek-ai/dsh-working-directory/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +26 -26
- package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
- package/node_modules/@earendil-works/pi-ai/README.md +35 -35
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +59 -71
- package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js +0 -6
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +125 -103
- package/node_modules/@earendil-works/pi-ai/dist/api/constrained-sampling.js +51 -18
- package/node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.js +0 -6
- package/node_modules/@earendil-works/pi-ai/dist/api/google-shared.js +57 -2
- package/node_modules/@earendil-works/pi-ai/dist/api/google-vertex.js +0 -6
- package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +17 -44
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +0 -5
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +42 -54
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +58 -57
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +0 -6
- package/node_modules/@earendil-works/pi-ai/dist/api/openrouter-images.js +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js +24 -9
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/github-copilot.js +4 -11
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/kimi-coding.js +4 -22
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/meta.js +1 -14
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/radius.js +9 -3
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/trusted-url.js +12 -0
- package/node_modules/@earendil-works/pi-ai/dist/cli.js +6 -2
- package/node_modules/@earendil-works/pi-ai/dist/index.js +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.js +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/ant-ling.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/baseten.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cerebras.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-workers-ai.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/compat-schema.js +144 -111
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/amazon-bedrock.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/anthropic.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/azure.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/baseten.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-ai-gateway.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-workers-ai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/fireworks.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/google-vertex.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/huggingface.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/kimi-coding.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/mistral.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai-codex.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-individual.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/together.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-ams.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-sgp.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/zai-coding-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/zai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/deepseek.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js +7 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/fireworks.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/google.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/groq.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/huggingface.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/meta.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/minimax-cn.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/minimax.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/mistral.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/model-schema.js +41 -30
- package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai-cn.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/nvidia.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/qwen-token-plan-cn.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/qwen-token-plan-individual.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/qwen-token-plan.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/radius-config.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/radius.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/schema-builders.js +18 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/together.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/typesafe.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/xai.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/xiaomi-token-plan-ams.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/xiaomi-token-plan-cn.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/xiaomi-token-plan-sgp.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/xiaomi.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai-coding-cn.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/telemetry.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/error-body.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/openrouter-cost.js +34 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +3 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/streaming-json.js +513 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/string-enum.js +20 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/text.js +9 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/transcript.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/validation.js +27 -277
- package/node_modules/@earendil-works/pi-ai/dist/utils/version.js +1 -1
- package/node_modules/@earendil-works/pi-ai/package.json +6 -5
- package/node_modules/@earendil-works/pi-schema/CHANGELOG.md +13 -0
- package/node_modules/@earendil-works/pi-schema/README.md +296 -0
- package/node_modules/@earendil-works/pi-schema/dist/annotations.js +193 -0
- package/node_modules/@earendil-works/pi-schema/dist/builders.js +98 -0
- package/node_modules/@earendil-works/pi-schema/dist/checks.js +447 -0
- package/node_modules/@earendil-works/pi-schema/dist/coerce.js +585 -0
- package/node_modules/@earendil-works/pi-schema/dist/compiler.js +532 -0
- package/node_modules/@earendil-works/pi-schema/dist/explain.js +381 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/index.js +51 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/date.js +47 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/date_time.js +39 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/duration.js +36 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/email.js +36 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/hostname.js +38 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idn_email.js +36 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idn_hostname.js +39 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/format/bidi.js +132 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/format/puny.js +172 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/hostname.js +43 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/idn-hostname.js +71 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/index.js +30 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/label/ascii.js +37 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/label/puny.js +56 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/label/unicode.js +134 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/pattern/pattern.js +98 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/ipv4.js +36 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/ipv6.js +36 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/iri.js +63 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/iri_reference.js +40 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/json_pointer.js +37 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/json_pointer_uri_fragment.js +37 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/regex.js +41 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/relative_json_pointer.js +37 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/time.js +60 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/uri.js +36 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/uri_reference.js +36 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/uri_template.js +37 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/url.js +36 -0
- package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/uuid.js +37 -0
- package/node_modules/@earendil-works/pi-schema/dist/index.js +5 -0
- package/node_modules/@earendil-works/pi-schema/dist/resolver.js +202 -0
- package/node_modules/@earendil-works/pi-schema/dist/shared.js +33 -0
- package/node_modules/@earendil-works/pi-schema/dist/typebox-static.js +5 -0
- package/node_modules/@earendil-works/pi-schema/dist/types.js +3 -0
- package/node_modules/@earendil-works/pi-schema/dist/validator.js +71 -0
- package/node_modules/@earendil-works/pi-schema/package.json +53 -0
- package/node_modules/@earendil-works/pi-telemetry/package.json +4 -2
- package/node_modules/@shikijs/core/dist/index.mjs +57 -43
- package/node_modules/@shikijs/core/package.json +5 -5
- package/node_modules/@shikijs/engine-javascript/dist/engine-compile.mjs +2 -3
- package/node_modules/@shikijs/engine-javascript/dist/engine-raw.mjs +2 -3
- package/node_modules/@shikijs/engine-javascript/dist/index.mjs +1 -1
- package/node_modules/@shikijs/engine-javascript/dist/string-CFc1qfdw.mjs +113 -0
- package/node_modules/@shikijs/engine-javascript/package.json +3 -3
- package/node_modules/@shikijs/engine-oniguruma/dist/index.mjs +1 -1
- package/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.mjs +6 -4
- package/node_modules/@shikijs/engine-oniguruma/package.json +3 -3
- package/node_modules/@shikijs/langs/package.json +2 -2
- package/node_modules/@shikijs/primitive/dist/index.mjs +30 -33
- package/node_modules/@shikijs/primitive/package.json +3 -3
- package/node_modules/@shikijs/themes/package.json +2 -2
- package/node_modules/@shikijs/types/dist/index.mjs +1 -2
- package/node_modules/@shikijs/types/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +10 -4
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js +10 -4
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +3 -2
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +3 -2
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/http2-wrapper/package.json +2 -23
- package/node_modules/http2-wrapper/source/agent.js +70 -4
- package/node_modules/jose/dist/webapi/jwks/remote.js +3 -1
- package/node_modules/jose/dist/webapi/lib/deflate.js +2 -1
- package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +2 -1
- package/node_modules/jose/package.json +1 -1
- package/node_modules/semver/classes/range.js +2 -2
- package/node_modules/semver/internal/constants.js +30 -0
- package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
- package/node_modules/semver/package.json +1 -1
- package/node_modules/shiki/dist/bundle-full.mjs +4 -5
- package/node_modules/shiki/dist/bundle-web.mjs +4 -6
- package/node_modules/shiki/dist/core-unwasm.mjs +1 -2
- package/node_modules/shiki/dist/core.mjs +1 -1
- package/node_modules/shiki/dist/engine-oniguruma-XLVxwJtN.mjs +6 -0
- package/node_modules/shiki/dist/engine-oniguruma.mjs +2 -7
- package/node_modules/shiki/dist/index.mjs +2 -2
- package/node_modules/shiki/dist/langs-bundle-full-CSdmXkDy.mjs +1325 -0
- package/node_modules/shiki/dist/langs.mjs +1 -2
- package/node_modules/shiki/dist/rolldown-runtime-782esTHO.mjs +26 -0
- package/node_modules/shiki/dist/themes.mjs +1 -2
- package/node_modules/shiki/dist/wasm.mjs +1 -2
- package/node_modules/shiki/package.json +8 -8
- package/node_modules/tslib/README.md +3 -8
- package/node_modules/tslib/package.json +1 -1
- package/node_modules/tslib/tslib.es6.js +10 -1
- package/node_modules/tslib/tslib.es6.mjs +10 -1
- package/node_modules/tslib/tslib.js +10 -1
- package/package.json +379 -376
- package/node_modules/@deepseek-ai/dsh/lib/dump-config-D97dwXdd.js +0 -64
- package/node_modules/@deepseek-ai/dsh/lib/dump-config-DuXZcU0e.js +0 -2
- package/node_modules/@deepseek-ai/dsh/lib/dump-config-schema-r4V15-lg.js +0 -41
- package/node_modules/@deepseek-ai/dsh/lib/plugin-DscIHF4k.js +0 -102
- package/node_modules/@deepseek-ai/dsh/lib/profile-boot-e2mS45fC.js +0 -330
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.i18n.yaml +0 -100
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.md +0 -225
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.zh.md +0 -225
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/index.js +0 -1638
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/activity.js +0 -85
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/client.js +0 -3
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/error.js +0 -23
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/index.js +0 -231
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/journal.js +0 -65
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/lifecycle.js +0 -103
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/persisted.js +0 -20
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/projection.js +0 -327
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/roster.js +0 -437
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/session-message.js +0 -23
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/task-board.js +0 -235
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/task-view.js +0 -57
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/en.json +0 -6
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/ja.json +0 -6
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/zh.json +0 -6
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +0 -68
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.i18n.yaml +0 -52
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.md +0 -118
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.zh.md +0 -118
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/cordis.patch.yml +0 -29
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/DETAIL.md +0 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/DETAIL.zh.md +0 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/preview.svg +0 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/preview.zh.svg +0 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/icon.svg +0 -12
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/de.json +0 -7
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/en.json +0 -7
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/es.json +0 -7
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/fr.json +0 -7
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/ja.json +0 -7
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/pt.json +0 -7
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/ru.json +0 -7
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/zh.json +0 -7
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +0 -54
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.i18n.yaml +0 -43
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.md +0 -102
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.zh.md +0 -102
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +0 -690
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/en.json +0 -6
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/ja.json +0 -6
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/zh.json +0 -6
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +0 -66
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/viewer-declarations-krUNq6VU.js +0 -287
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/viewer-declarations.js +0 -26
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.i18n.yaml +0 -70
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.md +0 -155
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.zh.md +0 -155
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/lib/index.js +0 -580
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/en.json +0 -6
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/ja.json +0 -6
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/zh.json +0 -6
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +0 -61
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BCbHmUSs.js +0 -197
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BUDGJY4R.css +0 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/graphql-C-Uijqkk.js +0 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/http-CLu1VCSi.js +0 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-CjQPq1Mz.js +0 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/rst-BuDKiyD7.js +0 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/ruby-ZtjE4NPI.js +0 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/svelte-Tt81icjn.js +0 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/vue-B5SDFeDA.js +0 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/vendor-7utBqO4o.js +0 -411
- package/node_modules/@deepseek-ai/dsh-web-search-exa/README.i18n.yaml +0 -61
- package/node_modules/@deepseek-ai/dsh-web-search-exa/README.md +0 -142
- package/node_modules/@deepseek-ai/dsh-web-search-exa/README.zh.md +0 -142
- package/node_modules/@deepseek-ai/dsh-web-search-exa/lib/index.js +0 -154
- package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/de.json +0 -6
- package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/en.json +0 -6
- package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/es.json +0 -6
- package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/fr.json +0 -6
- package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/ja.json +0 -6
- package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/pt.json +0 -6
- package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/ru.json +0 -6
- package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/zh.json +0 -6
- package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +0 -45
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/README.i18n.yaml +0 -82
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/README.md +0 -165
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/README.zh.md +0 -165
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/lib/index.js +0 -152
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/de.json +0 -6
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/en.json +0 -6
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/es.json +0 -6
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/fr.json +0 -6
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/ja.json +0 -6
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/pt.json +0 -6
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/ru.json +0 -6
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/zh.json +0 -6
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +0 -45
- package/node_modules/@earendil-works/pi-ai/dist/utils/typebox-helpers.js +0 -21
- package/node_modules/@shikijs/engine-javascript/dist/string-TLTPtCPs.mjs +0 -115
- package/node_modules/shiki/dist/langs-bundle-full-xQVO1Cek.mjs +0 -1326
- package/node_modules/shiki/dist/rolldown-runtime-BBjsoOtd.mjs +0 -27
- package/node_modules/typebox/build/compile/code.mjs +0 -65
- package/node_modules/typebox/build/compile/compile.mjs +0 -12
- package/node_modules/typebox/build/compile/index.mjs +0 -14
- package/node_modules/typebox/build/compile/validator.mjs +0 -91
- package/node_modules/typebox/build/error/errors.mjs +0 -18
- package/node_modules/typebox/build/error/index.mjs +0 -1
- package/node_modules/typebox/build/format/_registry.mjs +0 -96
- package/node_modules/typebox/build/format/date.mjs +0 -19
- package/node_modules/typebox/build/format/date_time.mjs +0 -11
- package/node_modules/typebox/build/format/duration.mjs +0 -8
- package/node_modules/typebox/build/format/email.mjs +0 -8
- package/node_modules/typebox/build/format/format.mjs +0 -22
- package/node_modules/typebox/build/format/hostname.mjs +0 -10
- package/node_modules/typebox/build/format/idn_email.mjs +0 -8
- package/node_modules/typebox/build/format/idn_hostname.mjs +0 -11
- package/node_modules/typebox/build/format/idna/format/bidi.mjs +0 -98
- package/node_modules/typebox/build/format/idna/format/puny.mjs +0 -144
- package/node_modules/typebox/build/format/idna/hostname.mjs +0 -16
- package/node_modules/typebox/build/format/idna/idn-hostname.mjs +0 -43
- package/node_modules/typebox/build/format/idna/index.mjs +0 -2
- package/node_modules/typebox/build/format/idna/label/ascii.mjs +0 -9
- package/node_modules/typebox/build/format/idna/label/puny.mjs +0 -28
- package/node_modules/typebox/build/format/idna/label/unicode.mjs +0 -106
- package/node_modules/typebox/build/format/idna/pattern/pattern.mjs +0 -70
- package/node_modules/typebox/build/format/index.mjs +0 -4
- package/node_modules/typebox/build/format/ipv4.mjs +0 -8
- package/node_modules/typebox/build/format/ipv6.mjs +0 -8
- package/node_modules/typebox/build/format/iri.mjs +0 -35
- package/node_modules/typebox/build/format/iri_reference.mjs +0 -14
- package/node_modules/typebox/build/format/json_pointer.mjs +0 -9
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +0 -9
- package/node_modules/typebox/build/format/regex.mjs +0 -13
- package/node_modules/typebox/build/format/relative_json_pointer.mjs +0 -9
- package/node_modules/typebox/build/format/time.mjs +0 -32
- package/node_modules/typebox/build/format/uri.mjs +0 -8
- package/node_modules/typebox/build/format/uri_reference.mjs +0 -8
- package/node_modules/typebox/build/format/uri_template.mjs +0 -9
- package/node_modules/typebox/build/format/url.mjs +0 -8
- package/node_modules/typebox/build/format/uuid.mjs +0 -9
- package/node_modules/typebox/build/guard/emit.mjs +0 -191
- package/node_modules/typebox/build/guard/globals.mjs +0 -90
- package/node_modules/typebox/build/guard/guard.mjs +0 -221
- package/node_modules/typebox/build/guard/index.mjs +0 -6
- package/node_modules/typebox/build/guard/native.mjs +0 -60
- package/node_modules/typebox/build/guard/string.mjs +0 -168
- package/node_modules/typebox/build/index.mjs +0 -14
- package/node_modules/typebox/build/schema/build.mjs +0 -118
- package/node_modules/typebox/build/schema/check.mjs +0 -14
- package/node_modules/typebox/build/schema/compile.mjs +0 -46
- package/node_modules/typebox/build/schema/engine/_context.mjs +0 -124
- package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +0 -20
- package/node_modules/typebox/build/schema/engine/_externals.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/_functions.mjs +0 -65
- package/node_modules/typebox/build/schema/engine/_reducer.mjs +0 -45
- package/node_modules/typebox/build/schema/engine/_refine.mjs +0 -29
- package/node_modules/typebox/build/schema/engine/_regexp.mjs +0 -4
- package/node_modules/typebox/build/schema/engine/_stack.mjs +0 -209
- package/node_modules/typebox/build/schema/engine/_unique.mjs +0 -5
- package/node_modules/typebox/build/schema/engine/additionalItems.mjs +0 -60
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +0 -123
- package/node_modules/typebox/build/schema/engine/allOf.mjs +0 -47
- package/node_modules/typebox/build/schema/engine/anyOf.mjs +0 -52
- package/node_modules/typebox/build/schema/engine/boolean.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/const.mjs +0 -30
- package/node_modules/typebox/build/schema/engine/contains.mjs +0 -54
- package/node_modules/typebox/build/schema/engine/dependencies.mjs +0 -45
- package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +0 -40
- package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +0 -38
- package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/enum.mjs +0 -33
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/format.mjs +0 -26
- package/node_modules/typebox/build/schema/engine/if.mjs +0 -47
- package/node_modules/typebox/build/schema/engine/index.mjs +0 -54
- package/node_modules/typebox/build/schema/engine/items.mjs +0 -88
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +0 -42
- package/node_modules/typebox/build/schema/engine/maxItems.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/maxLength.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/maxProperties.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/maximum.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/minContains.mjs +0 -51
- package/node_modules/typebox/build/schema/engine/minItems.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/minLength.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/minProperties.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/minimum.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/multipleOf.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/not.mjs +0 -39
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +0 -59
- package/node_modules/typebox/build/schema/engine/pattern.mjs +0 -29
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +0 -45
- package/node_modules/typebox/build/schema/engine/prefixItems.mjs +0 -35
- package/node_modules/typebox/build/schema/engine/properties.mjs +0 -75
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +0 -37
- package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/ref.mjs +0 -52
- package/node_modules/typebox/build/schema/engine/required.mjs +0 -32
- package/node_modules/typebox/build/schema/engine/schema.mjs +0 -362
- package/node_modules/typebox/build/schema/engine/type.mjs +0 -70
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +0 -51
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +0 -51
- package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +0 -51
- package/node_modules/typebox/build/schema/errors.mjs +0 -18
- package/node_modules/typebox/build/schema/index.mjs +0 -9
- package/node_modules/typebox/build/schema/intern/index.mjs +0 -1
- package/node_modules/typebox/build/schema/intern/intern.mjs +0 -259
- package/node_modules/typebox/build/schema/parse.mjs +0 -32
- package/node_modules/typebox/build/schema/pointer/index.mjs +0 -2
- package/node_modules/typebox/build/schema/pointer/pointer.mjs +0 -106
- package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +0 -2
- package/node_modules/typebox/build/schema/resolve/index.mjs +0 -1
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +0 -327
- package/node_modules/typebox/build/schema/schema.mjs +0 -11
- package/node_modules/typebox/build/schema/static/_canonical.mjs +0 -2
- package/node_modules/typebox/build/schema/static/_comparer.mjs +0 -2
- package/node_modules/typebox/build/schema/static/_elements.mjs +0 -2
- package/node_modules/typebox/build/schema/static/additionalProperties.mjs +0 -3
- package/node_modules/typebox/build/schema/static/allOf.mjs +0 -2
- package/node_modules/typebox/build/schema/static/anyOf.mjs +0 -2
- package/node_modules/typebox/build/schema/static/const.mjs +0 -2
- package/node_modules/typebox/build/schema/static/enum.mjs +0 -2
- package/node_modules/typebox/build/schema/static/if.mjs +0 -2
- package/node_modules/typebox/build/schema/static/items.mjs +0 -2
- package/node_modules/typebox/build/schema/static/oneOf.mjs +0 -2
- package/node_modules/typebox/build/schema/static/patternProperties.mjs +0 -2
- package/node_modules/typebox/build/schema/static/prefixItems.mjs +0 -2
- package/node_modules/typebox/build/schema/static/properties.mjs +0 -2
- package/node_modules/typebox/build/schema/static/propertyNames.mjs +0 -3
- package/node_modules/typebox/build/schema/static/ref.mjs +0 -3
- package/node_modules/typebox/build/schema/static/required.mjs +0 -3
- package/node_modules/typebox/build/schema/static/schema.mjs +0 -2
- package/node_modules/typebox/build/schema/static/static.mjs +0 -3
- package/node_modules/typebox/build/schema/static/type.mjs +0 -3
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +0 -3
- package/node_modules/typebox/build/schema/types/_refine.mjs +0 -18
- package/node_modules/typebox/build/schema/types/additionalItems.mjs +0 -14
- package/node_modules/typebox/build/schema/types/additionalProperties.mjs +0 -14
- package/node_modules/typebox/build/schema/types/allOf.mjs +0 -15
- package/node_modules/typebox/build/schema/types/anchor.mjs +0 -12
- package/node_modules/typebox/build/schema/types/anyOf.mjs +0 -15
- package/node_modules/typebox/build/schema/types/const.mjs +0 -12
- package/node_modules/typebox/build/schema/types/contains.mjs +0 -14
- package/node_modules/typebox/build/schema/types/default.mjs +0 -12
- package/node_modules/typebox/build/schema/types/defs.mjs +0 -12
- package/node_modules/typebox/build/schema/types/dependencies.mjs +0 -16
- package/node_modules/typebox/build/schema/types/dependentRequired.mjs +0 -15
- package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +0 -15
- package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +0 -12
- package/node_modules/typebox/build/schema/types/dynamicRef.mjs +0 -12
- package/node_modules/typebox/build/schema/types/else.mjs +0 -14
- package/node_modules/typebox/build/schema/types/enum.mjs +0 -13
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +0 -13
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +0 -13
- package/node_modules/typebox/build/schema/types/format.mjs +0 -13
- package/node_modules/typebox/build/schema/types/id.mjs +0 -13
- package/node_modules/typebox/build/schema/types/if.mjs +0 -14
- package/node_modules/typebox/build/schema/types/index.mjs +0 -57
- package/node_modules/typebox/build/schema/types/items.mjs +0 -26
- package/node_modules/typebox/build/schema/types/maxContains.mjs +0 -13
- package/node_modules/typebox/build/schema/types/maxItems.mjs +0 -13
- package/node_modules/typebox/build/schema/types/maxLength.mjs +0 -13
- package/node_modules/typebox/build/schema/types/maxProperties.mjs +0 -13
- package/node_modules/typebox/build/schema/types/maximum.mjs +0 -13
- package/node_modules/typebox/build/schema/types/minContains.mjs +0 -13
- package/node_modules/typebox/build/schema/types/minItems.mjs +0 -13
- package/node_modules/typebox/build/schema/types/minLength.mjs +0 -13
- package/node_modules/typebox/build/schema/types/minProperties.mjs +0 -13
- package/node_modules/typebox/build/schema/types/minimum.mjs +0 -13
- package/node_modules/typebox/build/schema/types/multipleOf.mjs +0 -13
- package/node_modules/typebox/build/schema/types/not.mjs +0 -14
- package/node_modules/typebox/build/schema/types/oneOf.mjs +0 -15
- package/node_modules/typebox/build/schema/types/pattern.mjs +0 -14
- package/node_modules/typebox/build/schema/types/patternProperties.mjs +0 -15
- package/node_modules/typebox/build/schema/types/prefixItems.mjs +0 -14
- package/node_modules/typebox/build/schema/types/properties.mjs +0 -15
- package/node_modules/typebox/build/schema/types/propertyNames.mjs +0 -15
- package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +0 -19
- package/node_modules/typebox/build/schema/types/recursiveRef.mjs +0 -12
- package/node_modules/typebox/build/schema/types/ref.mjs +0 -13
- package/node_modules/typebox/build/schema/types/required.mjs +0 -14
- package/node_modules/typebox/build/schema/types/schema.mjs +0 -14
- package/node_modules/typebox/build/schema/types/then.mjs +0 -14
- package/node_modules/typebox/build/schema/types/type.mjs +0 -15
- package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +0 -14
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +0 -14
- package/node_modules/typebox/build/schema/types/uniqueItems.mjs +0 -13
- package/node_modules/typebox/build/system/arguments/arguments.mjs +0 -9
- package/node_modules/typebox/build/system/arguments/index.mjs +0 -1
- package/node_modules/typebox/build/system/environment/environment.mjs +0 -1
- package/node_modules/typebox/build/system/environment/evaluate.mjs +0 -37
- package/node_modules/typebox/build/system/environment/index.mjs +0 -1
- package/node_modules/typebox/build/system/hashing/hash.mjs +0 -232
- package/node_modules/typebox/build/system/hashing/index.mjs +0 -1
- package/node_modules/typebox/build/system/index.mjs +0 -4
- package/node_modules/typebox/build/system/locale/_config.mjs +0 -15
- package/node_modules/typebox/build/system/locale/_locale.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ar_001.mjs +0 -40
- package/node_modules/typebox/build/system/locale/bn_BD.mjs +0 -40
- package/node_modules/typebox/build/system/locale/cs_CZ.mjs +0 -40
- package/node_modules/typebox/build/system/locale/de_DE.mjs +0 -40
- package/node_modules/typebox/build/system/locale/el_GR.mjs +0 -40
- package/node_modules/typebox/build/system/locale/en_US.mjs +0 -39
- package/node_modules/typebox/build/system/locale/es_419.mjs +0 -40
- package/node_modules/typebox/build/system/locale/es_AR.mjs +0 -40
- package/node_modules/typebox/build/system/locale/es_ES.mjs +0 -40
- package/node_modules/typebox/build/system/locale/es_MX.mjs +0 -40
- package/node_modules/typebox/build/system/locale/fa_IR.mjs +0 -40
- package/node_modules/typebox/build/system/locale/fil_PH.mjs +0 -40
- package/node_modules/typebox/build/system/locale/fr_CA.mjs +0 -40
- package/node_modules/typebox/build/system/locale/fr_FR.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ha_NG.mjs +0 -40
- package/node_modules/typebox/build/system/locale/hi_IN.mjs +0 -40
- package/node_modules/typebox/build/system/locale/hu_HU.mjs +0 -40
- package/node_modules/typebox/build/system/locale/id_ID.mjs +0 -40
- package/node_modules/typebox/build/system/locale/index.mjs +0 -1
- package/node_modules/typebox/build/system/locale/it_IT.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ja_JP.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ko_KR.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ms_MY.mjs +0 -40
- package/node_modules/typebox/build/system/locale/nl_NL.mjs +0 -40
- package/node_modules/typebox/build/system/locale/pl_PL.mjs +0 -40
- package/node_modules/typebox/build/system/locale/pt_BR.mjs +0 -40
- package/node_modules/typebox/build/system/locale/pt_PT.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ro_RO.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ru_RU.mjs +0 -40
- package/node_modules/typebox/build/system/locale/sv_SE.mjs +0 -40
- package/node_modules/typebox/build/system/locale/sw_TZ.mjs +0 -40
- package/node_modules/typebox/build/system/locale/th_TH.mjs +0 -40
- package/node_modules/typebox/build/system/locale/tr_TR.mjs +0 -40
- package/node_modules/typebox/build/system/locale/uk_UA.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ur_PK.mjs +0 -40
- package/node_modules/typebox/build/system/locale/vi_VN.mjs +0 -40
- package/node_modules/typebox/build/system/locale/yo_NG.mjs +0 -40
- package/node_modules/typebox/build/system/locale/zh_Hans.mjs +0 -40
- package/node_modules/typebox/build/system/locale/zh_Hant.mjs +0 -40
- package/node_modules/typebox/build/system/memory/assign.mjs +0 -12
- package/node_modules/typebox/build/system/memory/clone.mjs +0 -113
- package/node_modules/typebox/build/system/memory/create.mjs +0 -29
- package/node_modules/typebox/build/system/memory/discard.mjs +0 -18
- package/node_modules/typebox/build/system/memory/freeze.mjs +0 -6
- package/node_modules/typebox/build/system/memory/index.mjs +0 -1
- package/node_modules/typebox/build/system/memory/memory.mjs +0 -7
- package/node_modules/typebox/build/system/memory/metrics.mjs +0 -8
- package/node_modules/typebox/build/system/memory/update.mjs +0 -33
- package/node_modules/typebox/build/system/settings/index.mjs +0 -1
- package/node_modules/typebox/build/system/settings/settings.mjs +0 -36
- package/node_modules/typebox/build/system/system.mjs +0 -6
- package/node_modules/typebox/build/system/unreachable/index.mjs +0 -1
- package/node_modules/typebox/build/system/unreachable/unreachable.mjs +0 -6
- package/node_modules/typebox/build/type/action/_add_immutable.mjs +0 -11
- package/node_modules/typebox/build/type/action/_add_optional.mjs +0 -11
- package/node_modules/typebox/build/type/action/_add_readonly.mjs +0 -11
- package/node_modules/typebox/build/type/action/_remove_immutable.mjs +0 -11
- package/node_modules/typebox/build/type/action/_remove_optional.mjs +0 -11
- package/node_modules/typebox/build/type/action/_remove_readonly.mjs +0 -11
- package/node_modules/typebox/build/type/action/capitalize.mjs +0 -11
- package/node_modules/typebox/build/type/action/conditional.mjs +0 -13
- package/node_modules/typebox/build/type/action/constructor_parameters.mjs +0 -11
- package/node_modules/typebox/build/type/action/evaluate.mjs +0 -11
- package/node_modules/typebox/build/type/action/exclude.mjs +0 -11
- package/node_modules/typebox/build/type/action/extract.mjs +0 -11
- package/node_modules/typebox/build/type/action/index.mjs +0 -30
- package/node_modules/typebox/build/type/action/indexed.mjs +0 -14
- package/node_modules/typebox/build/type/action/instance_type.mjs +0 -11
- package/node_modules/typebox/build/type/action/interface.mjs +0 -22
- package/node_modules/typebox/build/type/action/keyof.mjs +0 -11
- package/node_modules/typebox/build/type/action/lowercase.mjs +0 -11
- package/node_modules/typebox/build/type/action/mapped.mjs +0 -13
- package/node_modules/typebox/build/type/action/module.mjs +0 -13
- package/node_modules/typebox/build/type/action/non_nullable.mjs +0 -11
- package/node_modules/typebox/build/type/action/omit.mjs +0 -14
- package/node_modules/typebox/build/type/action/parameters.mjs +0 -11
- package/node_modules/typebox/build/type/action/partial.mjs +0 -11
- package/node_modules/typebox/build/type/action/pick.mjs +0 -14
- package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -19
- package/node_modules/typebox/build/type/action/required.mjs +0 -11
- package/node_modules/typebox/build/type/action/return_type.mjs +0 -11
- package/node_modules/typebox/build/type/action/uncapitalize.mjs +0 -11
- package/node_modules/typebox/build/type/action/uppercase.mjs +0 -11
- package/node_modules/typebox/build/type/action/with.mjs +0 -11
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +0 -66
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +0 -79
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +0 -33
- package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +0 -27
- package/node_modules/typebox/build/type/engine/conditional/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +0 -23
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +0 -25
- package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +0 -16
- package/node_modules/typebox/build/type/engine/cyclic/check.mjs +0 -45
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +0 -47
- package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +0 -47
- package/node_modules/typebox/build/type/engine/cyclic/index.mjs +0 -6
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +0 -31
- package/node_modules/typebox/build/type/engine/cyclic/target.mjs +0 -16
- package/node_modules/typebox/build/type/engine/enum/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +0 -9
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +0 -37
- package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +0 -18
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +0 -60
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +0 -33
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +0 -56
- package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +0 -10
- package/node_modules/typebox/build/type/engine/evaluate/index.mjs +0 -8
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +0 -12
- package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +0 -31
- package/node_modules/typebox/build/type/engine/exclude/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +0 -16
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +0 -22
- package/node_modules/typebox/build/type/engine/extract/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +0 -16
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +0 -22
- package/node_modules/typebox/build/type/engine/helpers/index.mjs +0 -3
- package/node_modules/typebox/build/type/engine/helpers/keys.mjs +0 -8
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +0 -15
- package/node_modules/typebox/build/type/engine/helpers/union.mjs +0 -3
- package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +0 -14
- package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +0 -14
- package/node_modules/typebox/build/type/engine/index.mjs +0 -37
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +0 -8
- package/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs +0 -8
- package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +0 -8
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +0 -5
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +0 -8
- package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +0 -25
- package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +0 -7
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +0 -14
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +0 -12
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +0 -18
- package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +0 -35
- package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +0 -40
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +0 -35
- package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +0 -14
- package/node_modules/typebox/build/type/engine/indexed/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +0 -28
- package/node_modules/typebox/build/type/engine/instance_type/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +0 -21
- package/node_modules/typebox/build/type/engine/instantiate.mjs +0 -158
- package/node_modules/typebox/build/type/engine/interface/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +0 -23
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +0 -9
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +0 -8
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +0 -13
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +0 -7
- package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +0 -52
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +0 -4
- package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +0 -8
- package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +0 -5
- package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +0 -20
- package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +0 -5
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +0 -7
- package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +0 -23
- package/node_modules/typebox/build/type/engine/keyof/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +0 -29
- package/node_modules/typebox/build/type/engine/mapped/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +0 -15
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +0 -42
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +0 -39
- package/node_modules/typebox/build/type/engine/module/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/module/instantiate.mjs +0 -36
- package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +0 -22
- package/node_modules/typebox/build/type/engine/object/collapse.mjs +0 -14
- package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +0 -8
- package/node_modules/typebox/build/type/engine/object/from_dependent.mjs +0 -8
- package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +0 -22
- package/node_modules/typebox/build/type/engine/object/from_object.mjs +0 -4
- package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +0 -9
- package/node_modules/typebox/build/type/engine/object/from_type.mjs +0 -23
- package/node_modules/typebox/build/type/engine/object/from_union.mjs +0 -19
- package/node_modules/typebox/build/type/engine/object/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/omit/from_type.mjs +0 -18
- package/node_modules/typebox/build/type/engine/omit/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +0 -16
- package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +0 -14
- package/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +0 -14
- package/node_modules/typebox/build/type/engine/parameters/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +0 -25
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +0 -11
- package/node_modules/typebox/build/type/engine/partial/from_dependent.mjs +0 -8
- package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/type/engine/partial/from_object.mjs +0 -11
- package/node_modules/typebox/build/type/engine/partial/from_type.mjs +0 -20
- package/node_modules/typebox/build/type/engine/partial/from_union.mjs +0 -7
- package/node_modules/typebox/build/type/engine/partial/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +0 -15
- package/node_modules/typebox/build/type/engine/patterns/index.mjs +0 -2
- package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +0 -11
- package/node_modules/typebox/build/type/engine/patterns/template.mjs +0 -20
- package/node_modules/typebox/build/type/engine/pick/from_type.mjs +0 -20
- package/node_modules/typebox/build/type/engine/pick/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +0 -16
- package/node_modules/typebox/build/type/engine/priority/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/priority/priority.mjs +0 -27
- package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +0 -14
- package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +0 -14
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +0 -7
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +0 -11
- package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs +0 -8
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +0 -11
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +0 -7
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +0 -25
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +0 -7
- package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +0 -15
- package/node_modules/typebox/build/type/engine/record/from_key.mjs +0 -40
- package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +0 -6
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +0 -5
- package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +0 -8
- package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +0 -7
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +0 -8
- package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +0 -10
- package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +0 -7
- package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +0 -12
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +0 -12
- package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +0 -39
- package/node_modules/typebox/build/type/engine/record/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/record/instantiate.mjs +0 -17
- package/node_modules/typebox/build/type/engine/record/record_create.mjs +0 -7
- package/node_modules/typebox/build/type/engine/ref/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +0 -10
- package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +0 -11
- package/node_modules/typebox/build/type/engine/required/from_dependent.mjs +0 -8
- package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/type/engine/required/from_object.mjs +0 -11
- package/node_modules/typebox/build/type/engine/required/from_type.mjs +0 -20
- package/node_modules/typebox/build/type/engine/required/from_union.mjs +0 -7
- package/node_modules/typebox/build/type/engine/required/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/required/instantiate.mjs +0 -15
- package/node_modules/typebox/build/type/engine/rest/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/rest/spread.mjs +0 -19
- package/node_modules/typebox/build/type/engine/return_type/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +0 -21
- package/node_modules/typebox/build/type/engine/template_literal/create.mjs +0 -5
- package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +0 -81
- package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +0 -81
- package/node_modules/typebox/build/type/engine/template_literal/index.mjs +0 -6
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +0 -15
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +0 -26
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +0 -10
- package/node_modules/typebox/build/type/engine/template_literal/static.mjs +0 -2
- package/node_modules/typebox/build/type/engine/this/expand_this.mjs +0 -26
- package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +0 -14
- package/node_modules/typebox/build/type/engine/with/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/with/instantiate.mjs +0 -14
- package/node_modules/typebox/build/type/extends/any.mjs +0 -12
- package/node_modules/typebox/build/type/extends/array.mjs +0 -21
- package/node_modules/typebox/build/type/extends/bigint.mjs +0 -9
- package/node_modules/typebox/build/type/extends/boolean.mjs +0 -9
- package/node_modules/typebox/build/type/extends/constructor.mjs +0 -17
- package/node_modules/typebox/build/type/extends/dependent.mjs +0 -6
- package/node_modules/typebox/build/type/extends/enum.mjs +0 -7
- package/node_modules/typebox/build/type/extends/extends.mjs +0 -17
- package/node_modules/typebox/build/type/extends/extends_left.mjs +0 -80
- package/node_modules/typebox/build/type/extends/extends_right.mjs +0 -49
- package/node_modules/typebox/build/type/extends/function.mjs +0 -17
- package/node_modules/typebox/build/type/extends/index.mjs +0 -2
- package/node_modules/typebox/build/type/extends/inference.mjs +0 -62
- package/node_modules/typebox/build/type/extends/integer.mjs +0 -10
- package/node_modules/typebox/build/type/extends/intersect.mjs +0 -15
- package/node_modules/typebox/build/type/extends/literal.mjs +0 -44
- package/node_modules/typebox/build/type/extends/never.mjs +0 -9
- package/node_modules/typebox/build/type/extends/null.mjs +0 -9
- package/node_modules/typebox/build/type/extends/number.mjs +0 -9
- package/node_modules/typebox/build/type/extends/object.mjs +0 -109
- package/node_modules/typebox/build/type/extends/parameters.mjs +0 -28
- package/node_modules/typebox/build/type/extends/record.mjs +0 -23
- package/node_modules/typebox/build/type/extends/result.mjs +0 -36
- package/node_modules/typebox/build/type/extends/return_type.mjs +0 -9
- package/node_modules/typebox/build/type/extends/string.mjs +0 -9
- package/node_modules/typebox/build/type/extends/symbol.mjs +0 -9
- package/node_modules/typebox/build/type/extends/template_literal.mjs +0 -7
- package/node_modules/typebox/build/type/extends/tuple.mjs +0 -61
- package/node_modules/typebox/build/type/extends/undefined.mjs +0 -10
- package/node_modules/typebox/build/type/extends/union.mjs +0 -24
- package/node_modules/typebox/build/type/extends/unknown.mjs +0 -12
- package/node_modules/typebox/build/type/extends/void.mjs +0 -9
- package/node_modules/typebox/build/type/index.mjs +0 -5
- package/node_modules/typebox/build/type/script/index.mjs +0 -1
- package/node_modules/typebox/build/type/script/mapping.mjs +0 -528
- package/node_modules/typebox/build/type/script/parser.mjs +0 -140
- package/node_modules/typebox/build/type/script/script.mjs +0 -22
- package/node_modules/typebox/build/type/script/token/bigint.mjs +0 -14
- package/node_modules/typebox/build/type/script/token/const.mjs +0 -18
- package/node_modules/typebox/build/type/script/token/ident.mjs +0 -26
- package/node_modules/typebox/build/type/script/token/index.mjs +0 -12
- package/node_modules/typebox/build/type/script/token/integer.mjs +0 -19
- package/node_modules/typebox/build/type/script/token/internal/char.mjs +0 -26
- package/node_modules/typebox/build/type/script/token/internal/guard.mjs +0 -15
- package/node_modules/typebox/build/type/script/token/internal/many.mjs +0 -14
- package/node_modules/typebox/build/type/script/token/internal/match.mjs +0 -11
- package/node_modules/typebox/build/type/script/token/internal/optional.mjs +0 -9
- package/node_modules/typebox/build/type/script/token/internal/take.mjs +0 -30
- package/node_modules/typebox/build/type/script/token/internal/trim.mjs +0 -34
- package/node_modules/typebox/build/type/script/token/number.mjs +0 -19
- package/node_modules/typebox/build/type/script/token/rest.mjs +0 -9
- package/node_modules/typebox/build/type/script/token/span.mjs +0 -24
- package/node_modules/typebox/build/type/script/token/string.mjs +0 -20
- package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +0 -26
- package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +0 -38
- package/node_modules/typebox/build/type/script/token/until.mjs +0 -21
- package/node_modules/typebox/build/type/script/token/until_1.mjs +0 -12
- package/node_modules/typebox/build/type/types/_codec.mjs +0 -60
- package/node_modules/typebox/build/type/types/_immutable.mjs +0 -18
- package/node_modules/typebox/build/type/types/_optional.mjs +0 -18
- package/node_modules/typebox/build/type/types/_readonly.mjs +0 -18
- package/node_modules/typebox/build/type/types/_refine.mjs +0 -36
- package/node_modules/typebox/build/type/types/any.mjs +0 -18
- package/node_modules/typebox/build/type/types/array.mjs +0 -25
- package/node_modules/typebox/build/type/types/bigint.mjs +0 -21
- package/node_modules/typebox/build/type/types/boolean.mjs +0 -17
- package/node_modules/typebox/build/type/types/call.mjs +0 -23
- package/node_modules/typebox/build/type/types/constructor.mjs +0 -24
- package/node_modules/typebox/build/type/types/cyclic.mjs +0 -29
- package/node_modules/typebox/build/type/types/deferred.mjs +0 -16
- package/node_modules/typebox/build/type/types/dependent.mjs +0 -24
- package/node_modules/typebox/build/type/types/enum.mjs +0 -22
- package/node_modules/typebox/build/type/types/function.mjs +0 -25
- package/node_modules/typebox/build/type/types/generic.mjs +0 -17
- package/node_modules/typebox/build/type/types/identifier.mjs +0 -17
- package/node_modules/typebox/build/type/types/index.mjs +0 -51
- package/node_modules/typebox/build/type/types/infer.mjs +0 -20
- package/node_modules/typebox/build/type/types/integer.mjs +0 -21
- package/node_modules/typebox/build/type/types/intersect.mjs +0 -24
- package/node_modules/typebox/build/type/types/literal.mjs +0 -62
- package/node_modules/typebox/build/type/types/never.mjs +0 -22
- package/node_modules/typebox/build/type/types/null.mjs +0 -17
- package/node_modules/typebox/build/type/types/number.mjs +0 -21
- package/node_modules/typebox/build/type/types/object.mjs +0 -28
- package/node_modules/typebox/build/type/types/parameter.mjs +0 -21
- package/node_modules/typebox/build/type/types/properties.mjs +0 -15
- package/node_modules/typebox/build/type/types/record.mjs +0 -66
- package/node_modules/typebox/build/type/types/ref.mjs +0 -18
- package/node_modules/typebox/build/type/types/rest.mjs +0 -17
- package/node_modules/typebox/build/type/types/schema.mjs +0 -15
- package/node_modules/typebox/build/type/types/static.mjs +0 -3
- package/node_modules/typebox/build/type/types/string.mjs +0 -22
- package/node_modules/typebox/build/type/types/symbol.mjs +0 -17
- package/node_modules/typebox/build/type/types/template_literal.mjs +0 -37
- package/node_modules/typebox/build/type/types/this.mjs +0 -17
- package/node_modules/typebox/build/type/types/tuple.mjs +0 -25
- package/node_modules/typebox/build/type/types/undefined.mjs +0 -17
- package/node_modules/typebox/build/type/types/union.mjs +0 -24
- package/node_modules/typebox/build/type/types/unknown.mjs +0 -17
- package/node_modules/typebox/build/type/types/unsafe.mjs +0 -20
- package/node_modules/typebox/build/type/types/void.mjs +0 -17
- package/node_modules/typebox/build/typebox.mjs +0 -85
- package/node_modules/typebox/build/value/assert/assert.mjs +0 -28
- package/node_modules/typebox/build/value/assert/index.mjs +0 -1
- package/node_modules/typebox/build/value/check/check.mjs +0 -11
- package/node_modules/typebox/build/value/check/index.mjs +0 -1
- package/node_modules/typebox/build/value/clean/additional.mjs +0 -6
- package/node_modules/typebox/build/value/clean/clean.mjs +0 -17
- package/node_modules/typebox/build/value/clean/from_array.mjs +0 -8
- package/node_modules/typebox/build/value/clean/from_cyclic.mjs +0 -6
- package/node_modules/typebox/build/value/clean/from_intersect.mjs +0 -26
- package/node_modules/typebox/build/value/clean/from_object.mjs +0 -31
- package/node_modules/typebox/build/value/clean/from_record.mjs +0 -32
- package/node_modules/typebox/build/value/clean/from_ref.mjs +0 -8
- package/node_modules/typebox/build/value/clean/from_tuple.mjs +0 -14
- package/node_modules/typebox/build/value/clean/from_type.mjs +0 -21
- package/node_modules/typebox/build/value/clean/from_union.mjs +0 -12
- package/node_modules/typebox/build/value/clean/index.mjs +0 -1
- package/node_modules/typebox/build/value/clone/clone.mjs +0 -12
- package/node_modules/typebox/build/value/clone/index.mjs +0 -1
- package/node_modules/typebox/build/value/codec/callback.mjs +0 -25
- package/node_modules/typebox/build/value/codec/decode.mjs +0 -52
- package/node_modules/typebox/build/value/codec/encode.mjs +0 -52
- package/node_modules/typebox/build/value/codec/from_array.mjs +0 -35
- package/node_modules/typebox/build/value/codec/from_cyclic.mjs +0 -8
- package/node_modules/typebox/build/value/codec/from_intersect.mjs +0 -58
- package/node_modules/typebox/build/value/codec/from_object.mjs +0 -42
- package/node_modules/typebox/build/value/codec/from_record.mjs +0 -39
- package/node_modules/typebox/build/value/codec/from_ref.mjs +0 -31
- package/node_modules/typebox/build/value/codec/from_tuple.mjs +0 -32
- package/node_modules/typebox/build/value/codec/from_type.mjs +0 -22
- package/node_modules/typebox/build/value/codec/from_union.mjs +0 -39
- package/node_modules/typebox/build/value/codec/has.mjs +0 -93
- package/node_modules/typebox/build/value/codec/index.mjs +0 -3
- package/node_modules/typebox/build/value/convert/convert.mjs +0 -15
- package/node_modules/typebox/build/value/convert/from_additional.mjs +0 -18
- package/node_modules/typebox/build/value/convert/from_array.mjs +0 -7
- package/node_modules/typebox/build/value/convert/from_bigint.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_boolean.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_cyclic.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_enum.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_integer.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/value/convert/from_literal.mjs +0 -44
- package/node_modules/typebox/build/value/convert/from_null.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_number.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_object.mjs +0 -28
- package/node_modules/typebox/build/value/convert/from_record.mjs +0 -23
- package/node_modules/typebox/build/value/convert/from_ref.mjs +0 -8
- package/node_modules/typebox/build/value/convert/from_string.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_template_literal.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_tuple.mjs +0 -11
- package/node_modules/typebox/build/value/convert/from_type.mjs +0 -43
- package/node_modules/typebox/build/value/convert/from_undefined.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_union.mjs +0 -13
- package/node_modules/typebox/build/value/convert/from_void.mjs +0 -6
- package/node_modules/typebox/build/value/convert/index.mjs +0 -1
- package/node_modules/typebox/build/value/convert/try/index.mjs +0 -1
- package/node_modules/typebox/build/value/convert/try/try.mjs +0 -8
- package/node_modules/typebox/build/value/convert/try/try_array.mjs +0 -6
- package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +0 -45
- package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +0 -41
- package/node_modules/typebox/build/value/convert/try/try_null.mjs +0 -44
- package/node_modules/typebox/build/value/convert/try/try_number.mjs +0 -44
- package/node_modules/typebox/build/value/convert/try/try_result.mjs +0 -17
- package/node_modules/typebox/build/value/convert/try/try_string.mjs +0 -12
- package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +0 -44
- package/node_modules/typebox/build/value/create/create.mjs +0 -11
- package/node_modules/typebox/build/value/create/error.mjs +0 -7
- package/node_modules/typebox/build/value/create/from_array.mjs +0 -10
- package/node_modules/typebox/build/value/create/from_bigint.mjs +0 -7
- package/node_modules/typebox/build/value/create/from_boolean.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_constructor.mjs +0 -10
- package/node_modules/typebox/build/value/create/from_cyclic.mjs +0 -6
- package/node_modules/typebox/build/value/create/from_default.mjs +0 -10
- package/node_modules/typebox/build/value/create/from_enum.mjs +0 -6
- package/node_modules/typebox/build/value/create/from_function.mjs +0 -6
- package/node_modules/typebox/build/value/create/from_integer.mjs +0 -8
- package/node_modules/typebox/build/value/create/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/value/create/from_literal.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_never.mjs +0 -5
- package/node_modules/typebox/build/value/create/from_null.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_number.mjs +0 -8
- package/node_modules/typebox/build/value/create/from_object.mjs +0 -9
- package/node_modules/typebox/build/value/create/from_record.mjs +0 -8
- package/node_modules/typebox/build/value/create/from_ref.mjs +0 -9
- package/node_modules/typebox/build/value/create/from_string.mjs +0 -9
- package/node_modules/typebox/build/value/create/from_symbol.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_template_literal.mjs +0 -11
- package/node_modules/typebox/build/value/create/from_tuple.mjs +0 -5
- package/node_modules/typebox/build/value/create/from_type.mjs +0 -61
- package/node_modules/typebox/build/value/create/from_undefined.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_union.mjs +0 -9
- package/node_modules/typebox/build/value/create/from_void.mjs +0 -4
- package/node_modules/typebox/build/value/create/index.mjs +0 -2
- package/node_modules/typebox/build/value/default/default.mjs +0 -15
- package/node_modules/typebox/build/value/default/from_array.mjs +0 -12
- package/node_modules/typebox/build/value/default/from_cyclic.mjs +0 -7
- package/node_modules/typebox/build/value/default/from_default.mjs +0 -13
- package/node_modules/typebox/build/value/default/from_intersect.mjs +0 -9
- package/node_modules/typebox/build/value/default/from_object.mjs +0 -32
- package/node_modules/typebox/build/value/default/from_record.mjs +0 -26
- package/node_modules/typebox/build/value/default/from_ref.mjs +0 -9
- package/node_modules/typebox/build/value/default/from_tuple.mjs +0 -14
- package/node_modules/typebox/build/value/default/from_type.mjs +0 -25
- package/node_modules/typebox/build/value/default/from_union.mjs +0 -14
- package/node_modules/typebox/build/value/default/index.mjs +0 -1
- package/node_modules/typebox/build/value/delta/diff.mjs +0 -135
- package/node_modules/typebox/build/value/delta/edit.mjs +0 -17
- package/node_modules/typebox/build/value/delta/index.mjs +0 -3
- package/node_modules/typebox/build/value/delta/patch.mjs +0 -42
- package/node_modules/typebox/build/value/equal/equal.mjs +0 -6
- package/node_modules/typebox/build/value/equal/index.mjs +0 -1
- package/node_modules/typebox/build/value/errors/errors.mjs +0 -12
- package/node_modules/typebox/build/value/errors/index.mjs +0 -1
- package/node_modules/typebox/build/value/hash/hash.mjs +0 -10
- package/node_modules/typebox/build/value/hash/index.mjs +0 -1
- package/node_modules/typebox/build/value/index.mjs +0 -29
- package/node_modules/typebox/build/value/parse/index.mjs +0 -1
- package/node_modules/typebox/build/value/parse/parse.mjs +0 -47
- package/node_modules/typebox/build/value/pipeline/index.mjs +0 -1
- package/node_modules/typebox/build/value/pipeline/pipeline.mjs +0 -15
- package/node_modules/typebox/build/value/pointer/index.mjs +0 -1
- package/node_modules/typebox/build/value/repair/error.mjs +0 -8
- package/node_modules/typebox/build/value/repair/from_array.mjs +0 -39
- package/node_modules/typebox/build/value/repair/from_enum.mjs +0 -6
- package/node_modules/typebox/build/value/repair/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/value/repair/from_object.mjs +0 -33
- package/node_modules/typebox/build/value/repair/from_record.mjs +0 -33
- package/node_modules/typebox/build/value/repair/from_ref.mjs +0 -9
- package/node_modules/typebox/build/value/repair/from_template_literal.mjs +0 -7
- package/node_modules/typebox/build/value/repair/from_tuple.mjs +0 -12
- package/node_modules/typebox/build/value/repair/from_type.mjs +0 -88
- package/node_modules/typebox/build/value/repair/from_union.mjs +0 -24
- package/node_modules/typebox/build/value/repair/from_unknown.mjs +0 -12
- package/node_modules/typebox/build/value/repair/index.mjs +0 -1
- package/node_modules/typebox/build/value/repair/repair.mjs +0 -20
- package/node_modules/typebox/build/value/shared/index.mjs +0 -4
- package/node_modules/typebox/build/value/shared/optional_undefined.mjs +0 -15
- package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +0 -72
- package/node_modules/typebox/build/value/shared/union_score_select.mjs +0 -51
- package/node_modules/typebox/build/value/value.mjs +0 -15
- package/node_modules/typebox/package.json +0 -87
- package/node_modules/typebox/readme.md +0 -371
- /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/lib/types/task-graph.js +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/lib/types/types.js +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/lib/types/validation.js +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/de.json +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/es.json +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/fr.json +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/pt.json +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/ru.json +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/lib/index.js +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/de.json +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/es.json +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/fr.json +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/pt.json +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/ru.json +0 -0
- /package/node_modules/{typebox/build/schema/static/index.mjs → @deepseek-ai/dsh-cua/lib/remote-types.js} +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team-profile → dsh-cua-bundle}/lib/index.js +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/de.json +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/es.json +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/fr.json +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/pt.json +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/ru.json +0 -0
- /package/node_modules/{typebox/license → @earendil-works/pi-schema/LICENSES/typebox-LICENSE} +0 -0
|
@@ -0,0 +1,1803 @@
|
|
|
1
|
+
window.__ModuleLoader__.load({
|
|
2
|
+
id: "@deepseek-ai/dsh-cua",
|
|
3
|
+
factory: (require) => {
|
|
4
|
+
var module = { exports: {} };
|
|
5
|
+
var exports = module.exports;
|
|
6
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
7
|
+
let zod = require("zod");
|
|
8
|
+
let _deepseek_ai_dsh_client_store = require("@deepseek-ai/dsh-client-store");
|
|
9
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
|
+
let react = require("react");
|
|
11
|
+
let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
12
|
+
//#region ../../typert/protocol/lib/types/remote-info.js
|
|
13
|
+
/** Lazy assembly of generated Remote definitions using caller-supplied Zod; no runtime imports. */
|
|
14
|
+
/**
|
|
15
|
+
* Retain one generated definition per endpoint without constructing parsers or projections.
|
|
16
|
+
* The class instance builds its shared descriptor/method index on first access;
|
|
17
|
+
* input schemas and JSON Schema projections are cached only when requested.
|
|
18
|
+
* @param spec - compiler-produced method facts and Zod factories.
|
|
19
|
+
* @param zod - the generated artifact's Zod runtime for named-input parsers.
|
|
20
|
+
* @returns a lazy, mountable info instance with no registration or transport effects.
|
|
21
|
+
*/
|
|
22
|
+
function createTypertRemoteInfo(spec, zod) {
|
|
23
|
+
return new RemoteInfo(spec, zod);
|
|
24
|
+
}
|
|
25
|
+
var RemoteInfo = class {
|
|
26
|
+
spec;
|
|
27
|
+
zod;
|
|
28
|
+
index;
|
|
29
|
+
constructor(spec, zod) {
|
|
30
|
+
this.spec = spec;
|
|
31
|
+
this.zod = zod;
|
|
32
|
+
}
|
|
33
|
+
get package() {
|
|
34
|
+
return this.spec.package;
|
|
35
|
+
}
|
|
36
|
+
get descriptors() {
|
|
37
|
+
return this.resolve().descriptors;
|
|
38
|
+
}
|
|
39
|
+
get methods() {
|
|
40
|
+
return this.resolve().methods;
|
|
41
|
+
}
|
|
42
|
+
resolve() {
|
|
43
|
+
if (this.index !== void 0) return this.index;
|
|
44
|
+
const zod = this.zod;
|
|
45
|
+
const descriptors = [];
|
|
46
|
+
const methods = Object.create(null);
|
|
47
|
+
for (const [endpoint, definition] of Object.entries(this.spec.methods)) {
|
|
48
|
+
const separator = endpoint.indexOf("/");
|
|
49
|
+
const namespace = endpoint.slice(0, separator);
|
|
50
|
+
const method = endpoint.slice(separator + 1);
|
|
51
|
+
const parameters = definition.parameters.map((parameter) => ({
|
|
52
|
+
...parameter,
|
|
53
|
+
wire: parameter.wire ?? parameter.name
|
|
54
|
+
}));
|
|
55
|
+
const descriptor = {
|
|
56
|
+
...definition,
|
|
57
|
+
id: `${this.spec.package}#${endpoint}`,
|
|
58
|
+
namespace,
|
|
59
|
+
method,
|
|
60
|
+
parameters,
|
|
61
|
+
result: definition.result.description === void 0 ? definition.result : new ResultValue(definition.result)
|
|
62
|
+
};
|
|
63
|
+
if (definition.invocation.kind === "direct") {
|
|
64
|
+
const inputs = [];
|
|
65
|
+
methods[endpoint] = Object.assign(descriptor, {
|
|
66
|
+
input(options) {
|
|
67
|
+
const strict = options?.strict === true;
|
|
68
|
+
return inputs[strict ? 1 : 0] ??= new NamedInput(parameters, strict, zod);
|
|
69
|
+
},
|
|
70
|
+
invoke(remote, input, signal) {
|
|
71
|
+
const named = input;
|
|
72
|
+
const values = parameters.map((parameter) => named[parameter.wire]);
|
|
73
|
+
if (definition.cancellation !== void 0) values.push(signal);
|
|
74
|
+
const receiver = Reflect.get(remote, namespace);
|
|
75
|
+
return Reflect.get(receiver, method).apply(receiver, values);
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
descriptors.push(descriptor);
|
|
80
|
+
}
|
|
81
|
+
return this.index = {
|
|
82
|
+
descriptors,
|
|
83
|
+
methods
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
function optional(parameter) {
|
|
88
|
+
return parameter.source === "json" && parameter.acceptsUndefined === true;
|
|
89
|
+
}
|
|
90
|
+
var NamedInput = class {
|
|
91
|
+
parameters;
|
|
92
|
+
strict;
|
|
93
|
+
zod;
|
|
94
|
+
schema;
|
|
95
|
+
projection;
|
|
96
|
+
constructor(parameters, strict, zod) {
|
|
97
|
+
this.parameters = parameters;
|
|
98
|
+
this.strict = strict;
|
|
99
|
+
this.zod = zod;
|
|
100
|
+
}
|
|
101
|
+
codec(parameter) {
|
|
102
|
+
return this.strict ? parameter.strictCodec : parameter.codec;
|
|
103
|
+
}
|
|
104
|
+
create = () => this.schema ??= this.zod.strictObject(Object.fromEntries(this.parameters.map((parameter) => {
|
|
105
|
+
const value = this.codec(parameter).create();
|
|
106
|
+
return [parameter.wire, optional(parameter) ? value.optional() : value.nonoptional()];
|
|
107
|
+
})));
|
|
108
|
+
get jsonSchema() {
|
|
109
|
+
return this.project().jsonSchema;
|
|
110
|
+
}
|
|
111
|
+
get jsonSchemaError() {
|
|
112
|
+
return this.project().jsonSchemaError;
|
|
113
|
+
}
|
|
114
|
+
project() {
|
|
115
|
+
if (this.projection !== void 0) return this.projection;
|
|
116
|
+
const unavailable = this.parameters.find((parameter) => this.codec(parameter).jsonSchema === void 0);
|
|
117
|
+
if (unavailable !== void 0) return this.projection = { jsonSchemaError: this.codec(unavailable).jsonSchemaError ?? `No JSON Schema for parameter ${unavailable.wire}` };
|
|
118
|
+
return this.projection = { jsonSchema: {
|
|
119
|
+
type: "object",
|
|
120
|
+
properties: Object.fromEntries(this.parameters.map((parameter) => [parameter.wire, {
|
|
121
|
+
...this.codec(parameter).jsonSchema,
|
|
122
|
+
...parameter.description === void 0 ? {} : { description: parameter.description }
|
|
123
|
+
}])),
|
|
124
|
+
required: this.parameters.filter((parameter) => !optional(parameter)).map((parameter) => parameter.wire),
|
|
125
|
+
additionalProperties: false
|
|
126
|
+
} };
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
var ResultValue = class {
|
|
130
|
+
spec;
|
|
131
|
+
projection;
|
|
132
|
+
constructor(spec) {
|
|
133
|
+
this.spec = spec;
|
|
134
|
+
}
|
|
135
|
+
get mode() {
|
|
136
|
+
return this.spec.mode;
|
|
137
|
+
}
|
|
138
|
+
get typeSymbol() {
|
|
139
|
+
return this.spec.typeSymbol;
|
|
140
|
+
}
|
|
141
|
+
get create() {
|
|
142
|
+
return this.spec.create;
|
|
143
|
+
}
|
|
144
|
+
get decode() {
|
|
145
|
+
return this.spec.decode;
|
|
146
|
+
}
|
|
147
|
+
get encode() {
|
|
148
|
+
return this.spec.encode;
|
|
149
|
+
}
|
|
150
|
+
get description() {
|
|
151
|
+
return this.spec.description;
|
|
152
|
+
}
|
|
153
|
+
get jsonSchemaError() {
|
|
154
|
+
return this.spec.jsonSchemaError;
|
|
155
|
+
}
|
|
156
|
+
get jsonSchema() {
|
|
157
|
+
if (this.projection === void 0) {
|
|
158
|
+
const schema = this.spec.jsonSchema;
|
|
159
|
+
this.projection = { value: schema === void 0 ? void 0 : {
|
|
160
|
+
...schema,
|
|
161
|
+
description: this.spec.description
|
|
162
|
+
} };
|
|
163
|
+
}
|
|
164
|
+
return this.projection.value;
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
//#endregion
|
|
168
|
+
//#region lib/typert.remote-client.js
|
|
169
|
+
let _deepseek_ai_dsh_cua_cuaAccess_applicationIcons_result$schema$value;
|
|
170
|
+
const _deepseek_ai_dsh_cua_cuaAccess_applicationIcons_result$schema = () => _deepseek_ai_dsh_cua_cuaAccess_applicationIcons_result$schema$value ??= zod.z.record(zod.z.string(), zod.z.string());
|
|
171
|
+
let _deepseek_ai_dsh_cua_cuaAccess_applications_result$schema$value;
|
|
172
|
+
const _deepseek_ai_dsh_cua_cuaAccess_applications_result$schema = () => _deepseek_ai_dsh_cua_cuaAccess_applications_result$schema$value ??= zod.z.object({
|
|
173
|
+
"allowedApps": zod.z.array(zod.z.object({
|
|
174
|
+
"id": zod.z.string().describe("Native identity digest admitted from the helper or validated profile configuration."),
|
|
175
|
+
"name": zod.z.string().describe("Application label presented when the decision was made."),
|
|
176
|
+
"executablePath": zod.z.union([zod.z.undefined(), zod.z.string()]).optional().describe("Canonical executable path for display and icons; absent when the operating system cannot provide it.")
|
|
177
|
+
})),
|
|
178
|
+
"blockedApps": zod.z.array(zod.z.object({
|
|
179
|
+
"id": zod.z.string().describe("Native identity digest admitted from the helper or validated profile configuration."),
|
|
180
|
+
"name": zod.z.string().describe("Application label presented when the decision was made."),
|
|
181
|
+
"executablePath": zod.z.union([zod.z.undefined(), zod.z.string()]).optional().describe("Canonical executable path for display and icons; absent when the operating system cannot provide it.")
|
|
182
|
+
})).describe("Refusals from any session, excluding saved grants; other sessions may still hold session access."),
|
|
183
|
+
"persistentAvailable": zod.z.boolean()
|
|
184
|
+
});
|
|
185
|
+
let _deepseek_ai_dsh_cua_cuaAccess_enablePersistentPtc_result$schema$value;
|
|
186
|
+
const _deepseek_ai_dsh_cua_cuaAccess_enablePersistentPtc_result$schema = () => _deepseek_ai_dsh_cua_cuaAccess_enablePersistentPtc_result$schema$value ??= zod.z.void();
|
|
187
|
+
let _deepseek_ai_dsh_cua_cuaAccess_openSettings_parameter_0$schema$value;
|
|
188
|
+
const _deepseek_ai_dsh_cua_cuaAccess_openSettings_parameter_0$schema = () => _deepseek_ai_dsh_cua_cuaAccess_openSettings_parameter_0$schema$value ??= zod.z.union([zod.z.literal("accessibility"), zod.z.literal("screenRecording")]);
|
|
189
|
+
let _deepseek_ai_dsh_cua_cuaAccess_openSettings_parameter_1$schema$value;
|
|
190
|
+
const _deepseek_ai_dsh_cua_cuaAccess_openSettings_parameter_1$schema = () => _deepseek_ai_dsh_cua_cuaAccess_openSettings_parameter_1$schema$value ??= zod.z.string();
|
|
191
|
+
let _deepseek_ai_dsh_cua_cuaAccess_openSettings_result$schema$value;
|
|
192
|
+
const _deepseek_ai_dsh_cua_cuaAccess_openSettings_result$schema = () => _deepseek_ai_dsh_cua_cuaAccess_openSettings_result$schema$value ??= zod.z.void();
|
|
193
|
+
let _deepseek_ai_dsh_cua_cuaAccess_ptcConfiguration_result$schema$value;
|
|
194
|
+
const _deepseek_ai_dsh_cua_cuaAccess_ptcConfiguration_result$schema = () => _deepseek_ai_dsh_cua_cuaAccess_ptcConfiguration_result$schema$value ??= zod.z.object({
|
|
195
|
+
"persistent": zod.z.boolean(),
|
|
196
|
+
"writable": zod.z.boolean()
|
|
197
|
+
});
|
|
198
|
+
let _deepseek_ai_dsh_cua_cuaAccess_requestPermission_parameter_0$schema$value;
|
|
199
|
+
const _deepseek_ai_dsh_cua_cuaAccess_requestPermission_parameter_0$schema = () => _deepseek_ai_dsh_cua_cuaAccess_requestPermission_parameter_0$schema$value ??= zod.z.union([zod.z.literal("accessibility"), zod.z.literal("screenRecording")]);
|
|
200
|
+
let _deepseek_ai_dsh_cua_cuaAccess_requestPermission_parameter_1$schema$value;
|
|
201
|
+
const _deepseek_ai_dsh_cua_cuaAccess_requestPermission_parameter_1$schema = () => _deepseek_ai_dsh_cua_cuaAccess_requestPermission_parameter_1$schema$value ??= zod.z.string();
|
|
202
|
+
let _deepseek_ai_dsh_cua_cuaAccess_requestPermission_result$schema$value;
|
|
203
|
+
const _deepseek_ai_dsh_cua_cuaAccess_requestPermission_result$schema = () => _deepseek_ai_dsh_cua_cuaAccess_requestPermission_result$schema$value ??= zod.z.object({
|
|
204
|
+
"accessibility": zod.z.boolean(),
|
|
205
|
+
"screenRecording": zod.z.boolean(),
|
|
206
|
+
"helper": zod.z.object({
|
|
207
|
+
"pid": zod.z.number(),
|
|
208
|
+
"path": zod.z.union([zod.z.undefined(), zod.z.string()]).optional(),
|
|
209
|
+
"name": zod.z.union([zod.z.undefined(), zod.z.string()]).optional()
|
|
210
|
+
}),
|
|
211
|
+
"parent": zod.z.object({
|
|
212
|
+
"pid": zod.z.number(),
|
|
213
|
+
"path": zod.z.union([zod.z.undefined(), zod.z.string()]).optional(),
|
|
214
|
+
"name": zod.z.union([zod.z.undefined(), zod.z.string()]).optional()
|
|
215
|
+
}),
|
|
216
|
+
"launchApplication": zod.z.union([zod.z.undefined(), zod.z.object({
|
|
217
|
+
"name": zod.z.string(),
|
|
218
|
+
"path": zod.z.string(),
|
|
219
|
+
"icon": zod.z.union([zod.z.undefined(), zod.z.string()]).optional()
|
|
220
|
+
})]).optional().describe("Application macOS reports as responsible for the helper, captured at startup; absent when it cannot be identified.")
|
|
221
|
+
});
|
|
222
|
+
let _deepseek_ai_dsh_cua_cuaAccess_retryApproval_parameter_0$schema$value;
|
|
223
|
+
const _deepseek_ai_dsh_cua_cuaAccess_retryApproval_parameter_0$schema = () => _deepseek_ai_dsh_cua_cuaAccess_retryApproval_parameter_0$schema$value ??= zod.z.string();
|
|
224
|
+
let _deepseek_ai_dsh_cua_cuaAccess_retryApproval_result$schema$value;
|
|
225
|
+
const _deepseek_ai_dsh_cua_cuaAccess_retryApproval_result$schema = () => _deepseek_ai_dsh_cua_cuaAccess_retryApproval_result$schema$value ??= zod.z.void();
|
|
226
|
+
let _deepseek_ai_dsh_cua_cuaAccess_revoke_parameter_0$schema$value;
|
|
227
|
+
const _deepseek_ai_dsh_cua_cuaAccess_revoke_parameter_0$schema = () => _deepseek_ai_dsh_cua_cuaAccess_revoke_parameter_0$schema$value ??= zod.z.string();
|
|
228
|
+
let _deepseek_ai_dsh_cua_cuaAccess_revoke_result$schema$value;
|
|
229
|
+
const _deepseek_ai_dsh_cua_cuaAccess_revoke_result$schema = () => _deepseek_ai_dsh_cua_cuaAccess_revoke_result$schema$value ??= zod.z.void();
|
|
230
|
+
let _deepseek_ai_dsh_cua_cuaAccess_systemStatus_result$schema$value;
|
|
231
|
+
const _deepseek_ai_dsh_cua_cuaAccess_systemStatus_result$schema = () => _deepseek_ai_dsh_cua_cuaAccess_systemStatus_result$schema$value ??= zod.z.object({
|
|
232
|
+
"accessibility": zod.z.boolean(),
|
|
233
|
+
"screenRecording": zod.z.boolean(),
|
|
234
|
+
"helper": zod.z.object({
|
|
235
|
+
"pid": zod.z.number(),
|
|
236
|
+
"path": zod.z.union([zod.z.undefined(), zod.z.string()]).optional(),
|
|
237
|
+
"name": zod.z.union([zod.z.undefined(), zod.z.string()]).optional()
|
|
238
|
+
}),
|
|
239
|
+
"parent": zod.z.object({
|
|
240
|
+
"pid": zod.z.number(),
|
|
241
|
+
"path": zod.z.union([zod.z.undefined(), zod.z.string()]).optional(),
|
|
242
|
+
"name": zod.z.union([zod.z.undefined(), zod.z.string()]).optional()
|
|
243
|
+
}),
|
|
244
|
+
"launchApplication": zod.z.union([zod.z.undefined(), zod.z.object({
|
|
245
|
+
"name": zod.z.string(),
|
|
246
|
+
"path": zod.z.string(),
|
|
247
|
+
"icon": zod.z.union([zod.z.undefined(), zod.z.string()]).optional()
|
|
248
|
+
})]).optional().describe("Application macOS reports as responsible for the helper, captured at startup; absent when it cannot be identified.")
|
|
249
|
+
});
|
|
250
|
+
let _deepseek_ai_dsh_cua_cuaAccess_openSettings_parameter_0_strict$schema$value;
|
|
251
|
+
const _deepseek_ai_dsh_cua_cuaAccess_openSettings_parameter_0_strict$schema = () => _deepseek_ai_dsh_cua_cuaAccess_openSettings_parameter_0_strict$schema$value ??= zod.z.union([zod.z.literal("accessibility"), zod.z.literal("screenRecording")]);
|
|
252
|
+
let _deepseek_ai_dsh_cua_cuaAccess_openSettings_parameter_1_strict$schema$value;
|
|
253
|
+
const _deepseek_ai_dsh_cua_cuaAccess_openSettings_parameter_1_strict$schema = () => _deepseek_ai_dsh_cua_cuaAccess_openSettings_parameter_1_strict$schema$value ??= zod.z.string();
|
|
254
|
+
let _deepseek_ai_dsh_cua_cuaAccess_requestPermission_parameter_0_strict$schema$value;
|
|
255
|
+
const _deepseek_ai_dsh_cua_cuaAccess_requestPermission_parameter_0_strict$schema = () => _deepseek_ai_dsh_cua_cuaAccess_requestPermission_parameter_0_strict$schema$value ??= zod.z.union([zod.z.literal("accessibility"), zod.z.literal("screenRecording")]);
|
|
256
|
+
let _deepseek_ai_dsh_cua_cuaAccess_requestPermission_parameter_1_strict$schema$value;
|
|
257
|
+
const _deepseek_ai_dsh_cua_cuaAccess_requestPermission_parameter_1_strict$schema = () => _deepseek_ai_dsh_cua_cuaAccess_requestPermission_parameter_1_strict$schema$value ??= zod.z.string();
|
|
258
|
+
let _deepseek_ai_dsh_cua_cuaAccess_retryApproval_parameter_0_strict$schema$value;
|
|
259
|
+
const _deepseek_ai_dsh_cua_cuaAccess_retryApproval_parameter_0_strict$schema = () => _deepseek_ai_dsh_cua_cuaAccess_retryApproval_parameter_0_strict$schema$value ??= zod.z.string();
|
|
260
|
+
let _deepseek_ai_dsh_cua_cuaAccess_revoke_parameter_0_strict$schema$value;
|
|
261
|
+
const _deepseek_ai_dsh_cua_cuaAccess_revoke_parameter_0_strict$schema = () => _deepseek_ai_dsh_cua_cuaAccess_revoke_parameter_0_strict$schema$value ??= zod.z.string();
|
|
262
|
+
const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
263
|
+
package: "@deepseek-ai/dsh-cua",
|
|
264
|
+
methods: {
|
|
265
|
+
"cuaAccess/applicationIcons": {
|
|
266
|
+
service: "cuaAccess",
|
|
267
|
+
description: "Load presentation icons separately from application decisions.",
|
|
268
|
+
invocation: { kind: "direct" },
|
|
269
|
+
parameters: [],
|
|
270
|
+
result: {
|
|
271
|
+
mode: "strict",
|
|
272
|
+
typeSymbol: "@deepseek-ai/dsh-cua#cuaAccess/applicationIcons:result",
|
|
273
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_applicationIcons_result$schema,
|
|
274
|
+
description: "Optional native PNG icons keyed by executable path; applications without paths are skipped.",
|
|
275
|
+
jsonSchemaError: "typert tool schema: selected dictionaries require string keys and unconstrained JSON values"
|
|
276
|
+
},
|
|
277
|
+
sourceLocation: {
|
|
278
|
+
"file": "packages/experimental/cua/src/access.ts",
|
|
279
|
+
"line": 93,
|
|
280
|
+
"column": 9
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"cuaAccess/applications": {
|
|
284
|
+
service: "cuaAccess",
|
|
285
|
+
description: "Read fresh stored application decisions without issuing a native request.",
|
|
286
|
+
invocation: { kind: "direct" },
|
|
287
|
+
parameters: [],
|
|
288
|
+
result: {
|
|
289
|
+
mode: "strict",
|
|
290
|
+
typeSymbol: "@deepseek-ai/dsh-cua/types#CuaApplicationState",
|
|
291
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_applications_result$schema,
|
|
292
|
+
description: "Saved grants, refused applications and durable-storage availability.",
|
|
293
|
+
jsonSchema: {
|
|
294
|
+
"type": "object",
|
|
295
|
+
"properties": {
|
|
296
|
+
"allowedApps": {
|
|
297
|
+
"type": "array",
|
|
298
|
+
"items": {
|
|
299
|
+
"type": "object",
|
|
300
|
+
"properties": {
|
|
301
|
+
"id": {
|
|
302
|
+
"type": "string",
|
|
303
|
+
"description": "Native identity digest admitted from the helper or validated profile configuration."
|
|
304
|
+
},
|
|
305
|
+
"name": {
|
|
306
|
+
"type": "string",
|
|
307
|
+
"description": "Application label presented when the decision was made."
|
|
308
|
+
},
|
|
309
|
+
"executablePath": {
|
|
310
|
+
"type": "string",
|
|
311
|
+
"description": "Canonical executable path for display and icons; absent when the operating system cannot provide it."
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"required": ["id", "name"],
|
|
315
|
+
"additionalProperties": true
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"blockedApps": {
|
|
319
|
+
"type": "array",
|
|
320
|
+
"items": {
|
|
321
|
+
"type": "object",
|
|
322
|
+
"properties": {
|
|
323
|
+
"id": {
|
|
324
|
+
"type": "string",
|
|
325
|
+
"description": "Native identity digest admitted from the helper or validated profile configuration."
|
|
326
|
+
},
|
|
327
|
+
"name": {
|
|
328
|
+
"type": "string",
|
|
329
|
+
"description": "Application label presented when the decision was made."
|
|
330
|
+
},
|
|
331
|
+
"executablePath": {
|
|
332
|
+
"type": "string",
|
|
333
|
+
"description": "Canonical executable path for display and icons; absent when the operating system cannot provide it."
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
"required": ["id", "name"],
|
|
337
|
+
"additionalProperties": true
|
|
338
|
+
},
|
|
339
|
+
"description": "Refusals from any session, excluding saved grants; other sessions may still hold session access."
|
|
340
|
+
},
|
|
341
|
+
"persistentAvailable": { "type": "boolean" }
|
|
342
|
+
},
|
|
343
|
+
"required": [
|
|
344
|
+
"allowedApps",
|
|
345
|
+
"blockedApps",
|
|
346
|
+
"persistentAvailable"
|
|
347
|
+
],
|
|
348
|
+
"additionalProperties": true
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
sourceLocation: {
|
|
352
|
+
"file": "packages/experimental/cua/src/access.ts",
|
|
353
|
+
"line": 77,
|
|
354
|
+
"column": 3
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"cuaAccess/enablePersistentPtc": {
|
|
358
|
+
service: "cuaAccess",
|
|
359
|
+
description: "Persist in-memory PTC execution through the existing profile editor and Loader lifecycle.",
|
|
360
|
+
invocation: { kind: "direct" },
|
|
361
|
+
parameters: [],
|
|
362
|
+
result: {
|
|
363
|
+
mode: "strict",
|
|
364
|
+
typeSymbol: "@deepseek-ai/dsh-cua#cuaAccess/enablePersistentPtc:result",
|
|
365
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_enablePersistentPtc_result$schema,
|
|
366
|
+
description: "Completion after the shared runtime reload; already-persistent runtimes are left intact.",
|
|
367
|
+
jsonSchemaError: "typert tool schema: unsupported void value"
|
|
368
|
+
},
|
|
369
|
+
sourceLocation: {
|
|
370
|
+
"file": "packages/experimental/cua/src/access.ts",
|
|
371
|
+
"line": 64,
|
|
372
|
+
"column": 9
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
"cuaAccess/openSettings": {
|
|
376
|
+
service: "cuaAccess",
|
|
377
|
+
description: "Open the macOS privacy pane selected by the user.",
|
|
378
|
+
invocation: { kind: "direct" },
|
|
379
|
+
parameters: [{
|
|
380
|
+
name: "permission",
|
|
381
|
+
description: "Corresponding system privilege.",
|
|
382
|
+
source: "json",
|
|
383
|
+
codec: {
|
|
384
|
+
mode: "strict",
|
|
385
|
+
typeSymbol: "@deepseek-ai/dsh-cua/types#CuaSystemPermission",
|
|
386
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_openSettings_parameter_0$schema,
|
|
387
|
+
jsonSchema: {
|
|
388
|
+
"type": "string",
|
|
389
|
+
"enum": ["accessibility", "screenRecording"]
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
strictCodec: {
|
|
393
|
+
mode: "strict",
|
|
394
|
+
typeSymbol: "@deepseek-ai/dsh-cua/types#CuaSystemPermission",
|
|
395
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_openSettings_parameter_0_strict$schema,
|
|
396
|
+
jsonSchema: {
|
|
397
|
+
"type": "string",
|
|
398
|
+
"enum": ["accessibility", "screenRecording"]
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}, {
|
|
402
|
+
name: "locale",
|
|
403
|
+
description: "Current Client language for provider-owned recovery instructions.",
|
|
404
|
+
source: "json",
|
|
405
|
+
codec: {
|
|
406
|
+
mode: "strict",
|
|
407
|
+
typeSymbol: "@deepseek-ai/dsh-cua#cuaAccess/openSettings:locale",
|
|
408
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_openSettings_parameter_1$schema,
|
|
409
|
+
jsonSchema: { "type": "string" }
|
|
410
|
+
},
|
|
411
|
+
strictCodec: {
|
|
412
|
+
mode: "strict",
|
|
413
|
+
typeSymbol: "@deepseek-ai/dsh-cua#cuaAccess/openSettings:locale",
|
|
414
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_openSettings_parameter_1_strict$schema,
|
|
415
|
+
jsonSchema: { "type": "string" }
|
|
416
|
+
}
|
|
417
|
+
}],
|
|
418
|
+
result: {
|
|
419
|
+
mode: "strict",
|
|
420
|
+
typeSymbol: "@deepseek-ai/dsh-cua#cuaAccess/openSettings:result",
|
|
421
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_openSettings_result$schema,
|
|
422
|
+
description: "Completion after macOS accepted the open request.",
|
|
423
|
+
jsonSchemaError: "typert tool schema: unsupported void value"
|
|
424
|
+
},
|
|
425
|
+
sourceLocation: {
|
|
426
|
+
"file": "packages/experimental/cua/src/access.ts",
|
|
427
|
+
"line": 119,
|
|
428
|
+
"column": 9
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"cuaAccess/ptcConfiguration": {
|
|
432
|
+
service: "cuaAccess",
|
|
433
|
+
description: "Read PTC execution state separately from native permission checks.",
|
|
434
|
+
invocation: { kind: "direct" },
|
|
435
|
+
parameters: [],
|
|
436
|
+
result: {
|
|
437
|
+
mode: "strict",
|
|
438
|
+
typeSymbol: "@deepseek-ai/dsh-cua#cuaAccess/ptcConfiguration:result",
|
|
439
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_ptcConfiguration_result$schema,
|
|
440
|
+
description: "Whether the shared runtime retains memory and has an editable profile entry.",
|
|
441
|
+
jsonSchema: {
|
|
442
|
+
"type": "object",
|
|
443
|
+
"properties": {
|
|
444
|
+
"persistent": { "type": "boolean" },
|
|
445
|
+
"writable": { "type": "boolean" }
|
|
446
|
+
},
|
|
447
|
+
"required": ["persistent", "writable"],
|
|
448
|
+
"additionalProperties": true
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
sourceLocation: {
|
|
452
|
+
"file": "packages/experimental/cua/src/access.ts",
|
|
453
|
+
"line": 52,
|
|
454
|
+
"column": 3
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"cuaAccess/requestPermission": {
|
|
458
|
+
service: "cuaAccess",
|
|
459
|
+
description: "Request the selected system privilege through the native provider.",
|
|
460
|
+
invocation: { kind: "direct" },
|
|
461
|
+
parameters: [{
|
|
462
|
+
name: "permission",
|
|
463
|
+
description: "macOS privilege to request.",
|
|
464
|
+
source: "json",
|
|
465
|
+
codec: {
|
|
466
|
+
mode: "strict",
|
|
467
|
+
typeSymbol: "@deepseek-ai/dsh-cua/types#CuaSystemPermission",
|
|
468
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_requestPermission_parameter_0$schema,
|
|
469
|
+
jsonSchema: {
|
|
470
|
+
"type": "string",
|
|
471
|
+
"enum": ["accessibility", "screenRecording"]
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
strictCodec: {
|
|
475
|
+
mode: "strict",
|
|
476
|
+
typeSymbol: "@deepseek-ai/dsh-cua/types#CuaSystemPermission",
|
|
477
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_requestPermission_parameter_0_strict$schema,
|
|
478
|
+
jsonSchema: {
|
|
479
|
+
"type": "string",
|
|
480
|
+
"enum": ["accessibility", "screenRecording"]
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}, {
|
|
484
|
+
name: "locale",
|
|
485
|
+
description: "Current Client language for provider-owned permission UI.",
|
|
486
|
+
source: "json",
|
|
487
|
+
codec: {
|
|
488
|
+
mode: "strict",
|
|
489
|
+
typeSymbol: "@deepseek-ai/dsh-cua#cuaAccess/requestPermission:locale",
|
|
490
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_requestPermission_parameter_1$schema,
|
|
491
|
+
jsonSchema: { "type": "string" }
|
|
492
|
+
},
|
|
493
|
+
strictCodec: {
|
|
494
|
+
mode: "strict",
|
|
495
|
+
typeSymbol: "@deepseek-ai/dsh-cua#cuaAccess/requestPermission:locale",
|
|
496
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_requestPermission_parameter_1_strict$schema,
|
|
497
|
+
jsonSchema: { "type": "string" }
|
|
498
|
+
}
|
|
499
|
+
}],
|
|
500
|
+
result: {
|
|
501
|
+
mode: "strict",
|
|
502
|
+
typeSymbol: "@deepseek-ai/dsh-cua/types#CuaSystemPermissionState",
|
|
503
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_requestPermission_result$schema,
|
|
504
|
+
description: "Current permission observations; requesting does not establish consent.",
|
|
505
|
+
jsonSchema: {
|
|
506
|
+
"type": "object",
|
|
507
|
+
"properties": {
|
|
508
|
+
"accessibility": { "type": "boolean" },
|
|
509
|
+
"screenRecording": { "type": "boolean" },
|
|
510
|
+
"helper": {
|
|
511
|
+
"type": "object",
|
|
512
|
+
"properties": {
|
|
513
|
+
"pid": { "type": "number" },
|
|
514
|
+
"path": { "type": "string" },
|
|
515
|
+
"name": { "type": "string" }
|
|
516
|
+
},
|
|
517
|
+
"required": ["pid"],
|
|
518
|
+
"additionalProperties": true
|
|
519
|
+
},
|
|
520
|
+
"parent": {
|
|
521
|
+
"type": "object",
|
|
522
|
+
"properties": {
|
|
523
|
+
"pid": { "type": "number" },
|
|
524
|
+
"path": { "type": "string" },
|
|
525
|
+
"name": { "type": "string" }
|
|
526
|
+
},
|
|
527
|
+
"required": ["pid"],
|
|
528
|
+
"additionalProperties": true
|
|
529
|
+
},
|
|
530
|
+
"launchApplication": {
|
|
531
|
+
"type": "object",
|
|
532
|
+
"properties": {
|
|
533
|
+
"name": { "type": "string" },
|
|
534
|
+
"path": { "type": "string" },
|
|
535
|
+
"icon": { "type": "string" }
|
|
536
|
+
},
|
|
537
|
+
"required": ["name", "path"],
|
|
538
|
+
"additionalProperties": true,
|
|
539
|
+
"description": "Application macOS reports as responsible for the helper, captured at startup; absent when it cannot be identified."
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
"required": [
|
|
543
|
+
"accessibility",
|
|
544
|
+
"screenRecording",
|
|
545
|
+
"helper",
|
|
546
|
+
"parent"
|
|
547
|
+
],
|
|
548
|
+
"additionalProperties": true
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
sourceLocation: {
|
|
552
|
+
"file": "packages/experimental/cua/src/access.ts",
|
|
553
|
+
"line": 107,
|
|
554
|
+
"column": 9
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
"cuaAccess/retryApproval": {
|
|
558
|
+
service: "cuaAccess",
|
|
559
|
+
description: "Clear this application's refusals across sessions so each session may ask for access again.",
|
|
560
|
+
invocation: { kind: "direct" },
|
|
561
|
+
parameters: [{
|
|
562
|
+
name: "id",
|
|
563
|
+
description: "Refused or revoked application displayed on the permission page.",
|
|
564
|
+
source: "json",
|
|
565
|
+
codec: {
|
|
566
|
+
mode: "strict",
|
|
567
|
+
typeSymbol: "@deepseek-ai/dsh-cua/types#CuaApplicationId",
|
|
568
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_retryApproval_parameter_0$schema,
|
|
569
|
+
jsonSchema: { "type": "string" }
|
|
570
|
+
},
|
|
571
|
+
strictCodec: {
|
|
572
|
+
mode: "strict",
|
|
573
|
+
typeSymbol: "@deepseek-ai/dsh-cua/types#CuaApplicationId",
|
|
574
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_retryApproval_parameter_0_strict$schema,
|
|
575
|
+
jsonSchema: { "type": "string" }
|
|
576
|
+
}
|
|
577
|
+
}],
|
|
578
|
+
result: {
|
|
579
|
+
mode: "strict",
|
|
580
|
+
typeSymbol: "@deepseek-ai/dsh-cua#cuaAccess/retryApproval:result",
|
|
581
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_retryApproval_result$schema,
|
|
582
|
+
description: "Completion after clearing refusals; no permission is granted and no action is replayed.",
|
|
583
|
+
jsonSchemaError: "typert tool schema: unsupported void value"
|
|
584
|
+
},
|
|
585
|
+
sourceLocation: {
|
|
586
|
+
"file": "packages/experimental/cua/src/access.ts",
|
|
587
|
+
"line": 138,
|
|
588
|
+
"column": 9
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
"cuaAccess/revoke": {
|
|
592
|
+
service: "cuaAccess",
|
|
593
|
+
description: "Remove saved and session access and join affected operations.",
|
|
594
|
+
invocation: { kind: "direct" },
|
|
595
|
+
parameters: [{
|
|
596
|
+
name: "id",
|
|
597
|
+
description: "Application identity displayed on the permission page.",
|
|
598
|
+
source: "json",
|
|
599
|
+
codec: {
|
|
600
|
+
mode: "strict",
|
|
601
|
+
typeSymbol: "@deepseek-ai/dsh-cua/types#CuaApplicationId",
|
|
602
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_revoke_parameter_0$schema,
|
|
603
|
+
jsonSchema: { "type": "string" }
|
|
604
|
+
},
|
|
605
|
+
strictCodec: {
|
|
606
|
+
mode: "strict",
|
|
607
|
+
typeSymbol: "@deepseek-ai/dsh-cua/types#CuaApplicationId",
|
|
608
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_revoke_parameter_0_strict$schema,
|
|
609
|
+
jsonSchema: { "type": "string" }
|
|
610
|
+
}
|
|
611
|
+
}],
|
|
612
|
+
result: {
|
|
613
|
+
mode: "strict",
|
|
614
|
+
typeSymbol: "@deepseek-ai/dsh-cua#cuaAccess/revoke:result",
|
|
615
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_revoke_result$schema,
|
|
616
|
+
description: "Completion after persistence and cancellation; dispatched input cannot be undone.",
|
|
617
|
+
jsonSchemaError: "typert tool schema: unsupported void value"
|
|
618
|
+
},
|
|
619
|
+
sourceLocation: {
|
|
620
|
+
"file": "packages/experimental/cua/src/access.ts",
|
|
621
|
+
"line": 130,
|
|
622
|
+
"column": 3
|
|
623
|
+
}
|
|
624
|
+
},
|
|
625
|
+
"cuaAccess/systemStatus": {
|
|
626
|
+
service: "cuaAccess",
|
|
627
|
+
description: "Inspect system privileges independently of application decisions and icons.",
|
|
628
|
+
invocation: { kind: "direct" },
|
|
629
|
+
parameters: [],
|
|
630
|
+
result: {
|
|
631
|
+
mode: "strict",
|
|
632
|
+
typeSymbol: "@deepseek-ai/dsh-cua/types#CuaSystemPermissionState",
|
|
633
|
+
create: _deepseek_ai_dsh_cua_cuaAccess_systemStatus_result$schema,
|
|
634
|
+
description: "Fresh native preflight and launch metadata.",
|
|
635
|
+
jsonSchema: {
|
|
636
|
+
"type": "object",
|
|
637
|
+
"properties": {
|
|
638
|
+
"accessibility": { "type": "boolean" },
|
|
639
|
+
"screenRecording": { "type": "boolean" },
|
|
640
|
+
"helper": {
|
|
641
|
+
"type": "object",
|
|
642
|
+
"properties": {
|
|
643
|
+
"pid": { "type": "number" },
|
|
644
|
+
"path": { "type": "string" },
|
|
645
|
+
"name": { "type": "string" }
|
|
646
|
+
},
|
|
647
|
+
"required": ["pid"],
|
|
648
|
+
"additionalProperties": true
|
|
649
|
+
},
|
|
650
|
+
"parent": {
|
|
651
|
+
"type": "object",
|
|
652
|
+
"properties": {
|
|
653
|
+
"pid": { "type": "number" },
|
|
654
|
+
"path": { "type": "string" },
|
|
655
|
+
"name": { "type": "string" }
|
|
656
|
+
},
|
|
657
|
+
"required": ["pid"],
|
|
658
|
+
"additionalProperties": true
|
|
659
|
+
},
|
|
660
|
+
"launchApplication": {
|
|
661
|
+
"type": "object",
|
|
662
|
+
"properties": {
|
|
663
|
+
"name": { "type": "string" },
|
|
664
|
+
"path": { "type": "string" },
|
|
665
|
+
"icon": { "type": "string" }
|
|
666
|
+
},
|
|
667
|
+
"required": ["name", "path"],
|
|
668
|
+
"additionalProperties": true,
|
|
669
|
+
"description": "Application macOS reports as responsible for the helper, captured at startup; absent when it cannot be identified."
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
"required": [
|
|
673
|
+
"accessibility",
|
|
674
|
+
"screenRecording",
|
|
675
|
+
"helper",
|
|
676
|
+
"parent"
|
|
677
|
+
],
|
|
678
|
+
"additionalProperties": true
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
sourceLocation: {
|
|
682
|
+
"file": "packages/experimental/cua/src/access.ts",
|
|
683
|
+
"line": 84,
|
|
684
|
+
"column": 9
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
}, zod.z);
|
|
689
|
+
//#endregion
|
|
690
|
+
//#region lib/types/client/ApplicationApproval.js
|
|
691
|
+
/**
|
|
692
|
+
* Select only the provider's fixed application question; other interactions keep their renderer.
|
|
693
|
+
* @param pending The session's currently elected interaction.
|
|
694
|
+
* @returns Its application decision, or null for another interaction.
|
|
695
|
+
*/
|
|
696
|
+
function selectApplicationApproval(pending) {
|
|
697
|
+
if (pending?.kind !== "question" || pending.questions.length !== 1) return null;
|
|
698
|
+
const item = pending.questions[0];
|
|
699
|
+
if (item.id !== "cua-app-access" || item.intent?.kind !== "approval") return null;
|
|
700
|
+
return {
|
|
701
|
+
pending,
|
|
702
|
+
item,
|
|
703
|
+
intent: item.intent
|
|
704
|
+
};
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* Render the shared approval card without creating another request or answer lifetime.
|
|
708
|
+
* @param props The existing pending question and renderer bindings.
|
|
709
|
+
* @returns Fixed actions with the provider's original answer labels.
|
|
710
|
+
*/
|
|
711
|
+
function ApplicationApproval({ matched: { pending, item, intent }, resolveText, renderFactorySlot }) {
|
|
712
|
+
const always = intent.always;
|
|
713
|
+
const answer = (label) => pending.answer({ answers: [{
|
|
714
|
+
id: item.id,
|
|
715
|
+
selected: [label]
|
|
716
|
+
}] });
|
|
717
|
+
return renderFactorySlot("conversation.approval.card", {
|
|
718
|
+
requestKey: pending.key,
|
|
719
|
+
title: intent.display === void 0 ? item.question : resolveText(intent.display.question),
|
|
720
|
+
...item.detail === void 0 ? {} : { description: intent.display?.detail === void 0 ? item.detail : resolveText(intent.display.detail) },
|
|
721
|
+
...intent.subject === void 0 ? {} : { subject: intent.subject },
|
|
722
|
+
allowLabel: intent.display?.approve === void 0 ? intent.approve : resolveText(intent.display.approve),
|
|
723
|
+
canAnswer: () => pending.snapshot().channel !== "none" && !pending.snapshot().closed,
|
|
724
|
+
onAllow: () => answer(intent.approve),
|
|
725
|
+
onReject: () => answer(intent.reject),
|
|
726
|
+
...always === void 0 ? {} : { onAlways: () => answer(always) }
|
|
727
|
+
});
|
|
728
|
+
}
|
|
729
|
+
//#endregion
|
|
730
|
+
//#region lib/types/client/controller.js
|
|
731
|
+
/** Serializes actions, pauses reads during management operations, and drops superseded or disposed results. */
|
|
732
|
+
var PermissionController = class {
|
|
733
|
+
remote;
|
|
734
|
+
locale;
|
|
735
|
+
/** Last observed permissions and the lifetime of the current refresh/action. */
|
|
736
|
+
state = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)({
|
|
737
|
+
runtime: {
|
|
738
|
+
value: null,
|
|
739
|
+
busy: false,
|
|
740
|
+
error: null
|
|
741
|
+
},
|
|
742
|
+
system: {
|
|
743
|
+
value: null,
|
|
744
|
+
busy: false,
|
|
745
|
+
error: null
|
|
746
|
+
},
|
|
747
|
+
applications: {
|
|
748
|
+
value: null,
|
|
749
|
+
busy: false,
|
|
750
|
+
error: null
|
|
751
|
+
},
|
|
752
|
+
icons: {
|
|
753
|
+
value: null,
|
|
754
|
+
busy: false,
|
|
755
|
+
error: null
|
|
756
|
+
},
|
|
757
|
+
busy: false,
|
|
758
|
+
changing: false,
|
|
759
|
+
toast: null
|
|
760
|
+
});
|
|
761
|
+
tail = Promise.resolve();
|
|
762
|
+
reads = Promise.resolve();
|
|
763
|
+
closed = false;
|
|
764
|
+
epoch = 0;
|
|
765
|
+
sequence = 0;
|
|
766
|
+
/**
|
|
767
|
+
* @param remote Generated CUA Remote namespace; failed results follow the query and action paths.
|
|
768
|
+
* @param locale Current Client language, read when a permission action starts.
|
|
769
|
+
*/
|
|
770
|
+
constructor(remote, locale) {
|
|
771
|
+
this.remote = remote;
|
|
772
|
+
this.locale = locale;
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* Bind the permission projection to its user actions.
|
|
776
|
+
* @returns Reactive state and controls shared by the page, prompt, and toast host.
|
|
777
|
+
*/
|
|
778
|
+
face() {
|
|
779
|
+
return {
|
|
780
|
+
hooks: { cuaPermissions: this.state },
|
|
781
|
+
refresh: () => {
|
|
782
|
+
this.enqueue();
|
|
783
|
+
},
|
|
784
|
+
request: (permission) => {
|
|
785
|
+
this.enqueue(() => this.remote.requestPermission(permission, this.locale()), "requested");
|
|
786
|
+
},
|
|
787
|
+
openSettings: (permission) => {
|
|
788
|
+
this.enqueue(() => this.remote.openSettings(permission, this.locale()), "opened");
|
|
789
|
+
},
|
|
790
|
+
revoke: (id) => {
|
|
791
|
+
this.enqueue(() => this.remote.revoke(id), "revoked");
|
|
792
|
+
},
|
|
793
|
+
retryApproval: (id) => {
|
|
794
|
+
this.enqueue(() => this.remote.retryApproval(id), "retryAllowed");
|
|
795
|
+
},
|
|
796
|
+
dismissToast: () => {
|
|
797
|
+
if (!this.closed) this.state.update((state) => {
|
|
798
|
+
state.toast = null;
|
|
799
|
+
});
|
|
800
|
+
}
|
|
801
|
+
};
|
|
802
|
+
}
|
|
803
|
+
/**
|
|
804
|
+
* Update query admission from the management operation's synchronous notification.
|
|
805
|
+
* @param changing Whether a bundle or row operation is pending; settlement refreshes observations.
|
|
806
|
+
*/
|
|
807
|
+
setChanging(changing) {
|
|
808
|
+
if (this.closed || changing === this.state.getSnapshot().changing) return;
|
|
809
|
+
this.epoch++;
|
|
810
|
+
this.state.update((state) => {
|
|
811
|
+
state.changing = changing;
|
|
812
|
+
state.busy = true;
|
|
813
|
+
for (const key of [
|
|
814
|
+
"runtime",
|
|
815
|
+
"system",
|
|
816
|
+
"applications",
|
|
817
|
+
"icons"
|
|
818
|
+
]) state[key].busy = true;
|
|
819
|
+
});
|
|
820
|
+
if (!changing) this.enqueue();
|
|
821
|
+
}
|
|
822
|
+
/** Prevent publication after UI withdrawal and join the accepted Remote work. */
|
|
823
|
+
async dispose() {
|
|
824
|
+
this.closed = true;
|
|
825
|
+
await this.tail;
|
|
826
|
+
await this.reads;
|
|
827
|
+
}
|
|
828
|
+
enqueue(action, kind) {
|
|
829
|
+
if (this.closed || this.state.getSnapshot().changing) return;
|
|
830
|
+
const epoch = this.epoch;
|
|
831
|
+
const current = () => !this.closed && epoch === this.epoch;
|
|
832
|
+
const sequence = ++this.sequence;
|
|
833
|
+
this.state.update((state) => {
|
|
834
|
+
state.busy = true;
|
|
835
|
+
for (const key of [
|
|
836
|
+
"runtime",
|
|
837
|
+
"system",
|
|
838
|
+
"applications",
|
|
839
|
+
"icons"
|
|
840
|
+
]) state[key].busy = true;
|
|
841
|
+
});
|
|
842
|
+
this.tail = this.tail.then(async () => {
|
|
843
|
+
if (!current()) return;
|
|
844
|
+
try {
|
|
845
|
+
if (action) {
|
|
846
|
+
const result = await action();
|
|
847
|
+
if (!result.ok) throw result.error;
|
|
848
|
+
}
|
|
849
|
+
if (!current()) return;
|
|
850
|
+
if (kind) this.state.update((state) => {
|
|
851
|
+
state.toast = {
|
|
852
|
+
id: sequence,
|
|
853
|
+
kind
|
|
854
|
+
};
|
|
855
|
+
});
|
|
856
|
+
} catch (error) {
|
|
857
|
+
if (!current()) return;
|
|
858
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
859
|
+
this.state.update((state) => {
|
|
860
|
+
state.toast = {
|
|
861
|
+
id: sequence,
|
|
862
|
+
kind: "failed",
|
|
863
|
+
message
|
|
864
|
+
};
|
|
865
|
+
});
|
|
866
|
+
}
|
|
867
|
+
const latest = () => current() && this.sequence === sequence;
|
|
868
|
+
const refresh = Promise.all([
|
|
869
|
+
this.read("runtime", this.remote.ptcConfiguration, latest),
|
|
870
|
+
this.read("system", this.remote.systemStatus, latest),
|
|
871
|
+
this.read("applications", this.remote.applications, latest),
|
|
872
|
+
this.read("icons", this.remote.applicationIcons, latest)
|
|
873
|
+
]).then(() => {
|
|
874
|
+
if (latest()) this.state.update((state) => {
|
|
875
|
+
state.busy = false;
|
|
876
|
+
});
|
|
877
|
+
});
|
|
878
|
+
this.reads = Promise.all([this.reads, refresh]).then(() => {});
|
|
879
|
+
});
|
|
880
|
+
}
|
|
881
|
+
async read(key, read, current) {
|
|
882
|
+
if (!current()) return;
|
|
883
|
+
try {
|
|
884
|
+
const result = await read();
|
|
885
|
+
if (!current()) return;
|
|
886
|
+
if (!result.ok) throw result.error;
|
|
887
|
+
this.state.update((state) => {
|
|
888
|
+
state[key].value = result.value;
|
|
889
|
+
state[key].error = null;
|
|
890
|
+
state[key].busy = false;
|
|
891
|
+
});
|
|
892
|
+
} catch (error) {
|
|
893
|
+
if (!current()) return;
|
|
894
|
+
this.state.update((state) => {
|
|
895
|
+
state[key].error = error instanceof Error ? error.message : String(error);
|
|
896
|
+
state[key].busy = false;
|
|
897
|
+
});
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
};
|
|
901
|
+
//#endregion
|
|
902
|
+
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/experimental/cua/src/client/PermissionPanel.module.css.mjs
|
|
903
|
+
const css = ".bN2dZG_panels{gap:32px;margin:0;font-size:13px;display:grid}.bN2dZG_panel{gap:12px;min-width:0;display:grid}.bN2dZG_card{border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-md);min-width:0}.bN2dZG_card>*+*{border-top:.5px solid var(--dsw-alias-border-l3)}.bN2dZG_panel p{color:var(--dsw-alias-label-secondary);margin:0;line-height:1.6}.bN2dZG_panel h3{margin:0;font-size:14px;font-weight:500}.bN2dZG_panel h4{color:var(--dsw-alias-label-secondary);margin:0;font-size:13px;font-weight:500}.bN2dZG_permission,.bN2dZG_apps li{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.bN2dZG_permission,.bN2dZG_group,.bN2dZG_emptyState,.bN2dZG_notice{padding:16px}.bN2dZG_permission{box-sizing:border-box;min-height:80px}.bN2dZG_defaultSetting>p{margin:0 16px 16px}.bN2dZG_permission>div:first-child,.bN2dZG_apps li>div{flex:1;min-width:140px}.bN2dZG_notice{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.bN2dZG_group{gap:4px;display:grid}.bN2dZG_apps{margin:0;padding:0;list-style:none;display:grid}.bN2dZG_apps li{padding:12px 0}.bN2dZG_apps li:last-child{padding-bottom:0}.bN2dZG_panel strong{font-weight:500}.bN2dZG_panel .bN2dZG_error{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere}.bN2dZG_application{align-items:center;gap:10px;display:flex}.bN2dZG_application strong{overflow-wrap:anywhere;min-width:0}.bN2dZG_application img{object-fit:contain;flex-shrink:0}.bN2dZG_applicationBadge{border:.5px solid var(--dsw-alias-border-l1);border-radius:var(--dsw-radius-sm);max-width:100%;color:var(--dsw-alias-label-primary);vertical-align:middle;align-items:center;gap:6px;padding:2px 6px;display:inline-flex}.bN2dZG_applicationBadge img{object-fit:contain;flex-shrink:0}.bN2dZG_applicationBadge>span{overflow-wrap:anywhere;min-width:0}.bN2dZG_permissionAction,.bN2dZG_buttonPlaceholder{flex-shrink:0;width:168px}.bN2dZG_permissionAction[data-configured]:disabled{opacity:1;color:var(--dsw-alias-label-primary);cursor:default}.bN2dZG_buttonPlaceholder,.bN2dZG_appPlaceholder,.bN2dZG_appsPlaceholder{border-radius:var(--dsw-radius-xs);background:var(--dsw-alias-bg-skeleton);max-width:100%;display:inline-block}.bN2dZG_buttonPlaceholder{height:28px}.bN2dZG_appPlaceholder{width:160px;height:1.6em}.bN2dZG_appsPlaceholder{color:#0000;display:block}.bN2dZG_iconPlaceholder{flex-shrink:0;width:32px;height:32px;display:inline-block}";
|
|
904
|
+
const tagId = "@deepseek-ai/dsh-cua/PermissionPanel.module.css";
|
|
905
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
906
|
+
const tag = document.createElement("style");
|
|
907
|
+
tag.dataset.plugin = "@deepseek-ai/dsh-cua";
|
|
908
|
+
tag.dataset.pluginCss = tagId;
|
|
909
|
+
tag.textContent = css;
|
|
910
|
+
document.head.appendChild(tag);
|
|
911
|
+
}
|
|
912
|
+
var PermissionPanel_module_css_default = {
|
|
913
|
+
"appPlaceholder": "bN2dZG_appPlaceholder",
|
|
914
|
+
"application": "bN2dZG_application",
|
|
915
|
+
"applicationBadge": "bN2dZG_applicationBadge",
|
|
916
|
+
"apps": "bN2dZG_apps",
|
|
917
|
+
"appsPlaceholder": "bN2dZG_appsPlaceholder",
|
|
918
|
+
"buttonPlaceholder": "bN2dZG_buttonPlaceholder",
|
|
919
|
+
"card": "bN2dZG_card",
|
|
920
|
+
"defaultSetting": "bN2dZG_defaultSetting",
|
|
921
|
+
"emptyState": "bN2dZG_emptyState",
|
|
922
|
+
"error": "bN2dZG_error",
|
|
923
|
+
"group": "bN2dZG_group",
|
|
924
|
+
"iconPlaceholder": "bN2dZG_iconPlaceholder",
|
|
925
|
+
"notice": "bN2dZG_notice",
|
|
926
|
+
"panel": "bN2dZG_panel",
|
|
927
|
+
"panels": "bN2dZG_panels",
|
|
928
|
+
"permission": "bN2dZG_permission",
|
|
929
|
+
"permissionAction": "bN2dZG_permissionAction"
|
|
930
|
+
};
|
|
931
|
+
//#endregion
|
|
932
|
+
//#region lib/types/client/PermissionPanel.js
|
|
933
|
+
/** Native permission status and revocable application consent on the existing plugin page. */
|
|
934
|
+
function DefaultPresetSetting(props) {
|
|
935
|
+
const preset = props.useCuaDefaultPreset((value) => value);
|
|
936
|
+
const changing = props.useCuaPermissions((value) => value.changing);
|
|
937
|
+
return (0, react_jsx_runtime.jsx)(ConfigurationSetting, {
|
|
938
|
+
kind: "default",
|
|
939
|
+
status: preset.value !== void 0 && preset.status === "loading" ? "ready" : preset.status,
|
|
940
|
+
loading: preset.value === void 0 && preset.status === "loading",
|
|
941
|
+
writable: preset.writable,
|
|
942
|
+
t: props.t,
|
|
943
|
+
busy: changing,
|
|
944
|
+
save: props.setPtcDefault,
|
|
945
|
+
configured: (preset.value?.selectedDefault ?? preset.value?.default) === "ptc"
|
|
946
|
+
});
|
|
947
|
+
}
|
|
948
|
+
function PersistentPtcSetting(props) {
|
|
949
|
+
const runtime = props.useCuaPermissions((value) => value.runtime);
|
|
950
|
+
const changing = props.useCuaPermissions((value) => value.changing);
|
|
951
|
+
return (0, react_jsx_runtime.jsx)(ConfigurationSetting, {
|
|
952
|
+
kind: "persistent",
|
|
953
|
+
loading: runtime.value === null && runtime.error === null,
|
|
954
|
+
status: runtime.error !== null ? "unavailable" : runtime.value !== null ? "ready" : "loading",
|
|
955
|
+
writable: runtime.value?.writable === true,
|
|
956
|
+
t: props.t,
|
|
957
|
+
busy: changing || runtime.busy,
|
|
958
|
+
save: props.setPersistentPtc,
|
|
959
|
+
configured: runtime.value?.persistent === true
|
|
960
|
+
});
|
|
961
|
+
}
|
|
962
|
+
function ConfigurationSetting({ kind, status, loading, writable, configured, save, t, busy }) {
|
|
963
|
+
const [saving, setSaving] = (0, react.useState)(false);
|
|
964
|
+
const [error, setError] = (0, react.useState)(null);
|
|
965
|
+
const submit = async () => {
|
|
966
|
+
setSaving(true);
|
|
967
|
+
setError(null);
|
|
968
|
+
try {
|
|
969
|
+
if (!await save()) setError(t(`${kind}NotSaved`));
|
|
970
|
+
} catch (error) {
|
|
971
|
+
setError(t(`${kind}Failed`, { message: error instanceof Error ? error.message : String(error) }));
|
|
972
|
+
} finally {
|
|
973
|
+
setSaving(false);
|
|
974
|
+
}
|
|
975
|
+
};
|
|
976
|
+
return (0, react_jsx_runtime.jsxs)("div", {
|
|
977
|
+
className: PermissionPanel_module_css_default.defaultSetting,
|
|
978
|
+
role: "group",
|
|
979
|
+
"aria-label": t(`${kind}Title`),
|
|
980
|
+
children: [
|
|
981
|
+
(0, react_jsx_runtime.jsxs)("div", {
|
|
982
|
+
className: PermissionPanel_module_css_default.permission,
|
|
983
|
+
children: [(0, react_jsx_runtime.jsxs)("div", { children: [(0, react_jsx_runtime.jsx)("strong", { children: t(`${kind}Title`) }), (0, react_jsx_runtime.jsx)("p", { children: t(`${kind}Body`) })] }), loading ? (0, react_jsx_runtime.jsx)("span", {
|
|
984
|
+
className: PermissionPanel_module_css_default.buttonPlaceholder,
|
|
985
|
+
"aria-hidden": true
|
|
986
|
+
}) : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
987
|
+
size: "sm",
|
|
988
|
+
className: PermissionPanel_module_css_default.permissionAction,
|
|
989
|
+
"data-configured": configured || void 0,
|
|
990
|
+
variant: configured ? "outline" : "primary",
|
|
991
|
+
disabled: busy || saving || configured || !writable || status !== "ready",
|
|
992
|
+
onClick: () => {
|
|
993
|
+
submit();
|
|
994
|
+
},
|
|
995
|
+
children: t(configured ? `${kind}Set` : `${kind}Confirm`)
|
|
996
|
+
})]
|
|
997
|
+
}),
|
|
998
|
+
!configured && (status === "unavailable" ? (0, react_jsx_runtime.jsx)("p", {
|
|
999
|
+
className: PermissionPanel_module_css_default.error,
|
|
1000
|
+
role: "alert",
|
|
1001
|
+
children: t(`${kind}Unavailable`)
|
|
1002
|
+
}) : status === "ready" && !writable && (0, react_jsx_runtime.jsx)("p", {
|
|
1003
|
+
className: PermissionPanel_module_css_default.error,
|
|
1004
|
+
role: "alert",
|
|
1005
|
+
children: t(`${kind}ReadOnly`)
|
|
1006
|
+
})),
|
|
1007
|
+
error !== null && (0, react_jsx_runtime.jsx)("p", {
|
|
1008
|
+
className: PermissionPanel_module_css_default.error,
|
|
1009
|
+
role: "alert",
|
|
1010
|
+
children: error
|
|
1011
|
+
})
|
|
1012
|
+
]
|
|
1013
|
+
});
|
|
1014
|
+
}
|
|
1015
|
+
function Applications({ title, apps, icons, onAction, label, disabled }) {
|
|
1016
|
+
return (0, react_jsx_runtime.jsxs)("section", {
|
|
1017
|
+
className: PermissionPanel_module_css_default.group,
|
|
1018
|
+
children: [(0, react_jsx_runtime.jsx)("h4", { children: title }), (0, react_jsx_runtime.jsx)("ul", {
|
|
1019
|
+
className: PermissionPanel_module_css_default.apps,
|
|
1020
|
+
children: apps.map((app) => (0, react_jsx_runtime.jsxs)("li", { children: [(0, react_jsx_runtime.jsxs)("div", {
|
|
1021
|
+
className: PermissionPanel_module_css_default.application,
|
|
1022
|
+
title: app.executablePath,
|
|
1023
|
+
children: [app.executablePath !== void 0 && icons?.[app.executablePath] !== void 0 ? (0, react_jsx_runtime.jsx)("img", {
|
|
1024
|
+
src: icons[app.executablePath],
|
|
1025
|
+
alt: "",
|
|
1026
|
+
width: 32,
|
|
1027
|
+
height: 32,
|
|
1028
|
+
draggable: false
|
|
1029
|
+
}) : (0, react_jsx_runtime.jsx)("span", {
|
|
1030
|
+
className: PermissionPanel_module_css_default.iconPlaceholder,
|
|
1031
|
+
"aria-hidden": true
|
|
1032
|
+
}), (0, react_jsx_runtime.jsx)("strong", { children: app.name })]
|
|
1033
|
+
}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
1034
|
+
size: "sm",
|
|
1035
|
+
variant: "outline",
|
|
1036
|
+
disabled,
|
|
1037
|
+
onClick: () => {
|
|
1038
|
+
onAction(app.id);
|
|
1039
|
+
},
|
|
1040
|
+
children: label
|
|
1041
|
+
})] }, app.id))
|
|
1042
|
+
})]
|
|
1043
|
+
});
|
|
1044
|
+
}
|
|
1045
|
+
function PermissionDescription({ application, permission, loading, t }) {
|
|
1046
|
+
if (!loading && application === void 0) return (0, react_jsx_runtime.jsx)("p", { children: t(permission === "accessibility" ? "accessibilityUse" : "screenRecordingUse") });
|
|
1047
|
+
const [before, after] = t(permission === "accessibility" ? "accessibilityPermission" : "screenRecordingPermission").split("{application}");
|
|
1048
|
+
return (0, react_jsx_runtime.jsxs)("p", { children: [
|
|
1049
|
+
before,
|
|
1050
|
+
(0, react_jsx_runtime.jsx)("span", {
|
|
1051
|
+
className: PermissionPanel_module_css_default.applicationBadge,
|
|
1052
|
+
children: application === void 0 ? (0, react_jsx_runtime.jsx)("span", {
|
|
1053
|
+
className: PermissionPanel_module_css_default.appPlaceholder,
|
|
1054
|
+
"aria-hidden": true
|
|
1055
|
+
}) : (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [application.icon !== void 0 && (0, react_jsx_runtime.jsx)("img", {
|
|
1056
|
+
src: application.icon,
|
|
1057
|
+
alt: "",
|
|
1058
|
+
width: 20,
|
|
1059
|
+
height: 20,
|
|
1060
|
+
draggable: false
|
|
1061
|
+
}), (0, react_jsx_runtime.jsx)("span", { children: application.name })] })
|
|
1062
|
+
}),
|
|
1063
|
+
after
|
|
1064
|
+
] });
|
|
1065
|
+
}
|
|
1066
|
+
function PermissionAction({ permission, granted, loading, busy, request, openSettings, t }) {
|
|
1067
|
+
if (loading) return (0, react_jsx_runtime.jsx)("span", {
|
|
1068
|
+
className: PermissionPanel_module_css_default.buttonPlaceholder,
|
|
1069
|
+
"aria-hidden": true
|
|
1070
|
+
});
|
|
1071
|
+
if (granted === false) return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
1072
|
+
size: "sm",
|
|
1073
|
+
variant: "primary",
|
|
1074
|
+
className: PermissionPanel_module_css_default.permissionAction,
|
|
1075
|
+
disabled: busy,
|
|
1076
|
+
onClick: () => {
|
|
1077
|
+
request(permission);
|
|
1078
|
+
},
|
|
1079
|
+
children: t("request")
|
|
1080
|
+
});
|
|
1081
|
+
return (0, react_jsx_runtime.jsxs)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
1082
|
+
size: "sm",
|
|
1083
|
+
variant: "outline",
|
|
1084
|
+
className: PermissionPanel_module_css_default.permissionAction,
|
|
1085
|
+
disabled: busy,
|
|
1086
|
+
title: t("settings"),
|
|
1087
|
+
onClick: () => {
|
|
1088
|
+
openSettings(permission);
|
|
1089
|
+
},
|
|
1090
|
+
children: [t(granted === true ? "granted" : "unknown"), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconSettingsOutlineRegular, {
|
|
1091
|
+
size: 14,
|
|
1092
|
+
"aria-hidden": "true"
|
|
1093
|
+
})]
|
|
1094
|
+
});
|
|
1095
|
+
}
|
|
1096
|
+
/** @param props Host observation and explicit user actions. @returns Permission controls without automatic system prompts. */
|
|
1097
|
+
function PermissionPanel(props) {
|
|
1098
|
+
const { t, refresh } = props;
|
|
1099
|
+
const state = props.useCuaPermissions((value) => value);
|
|
1100
|
+
const observed = state.system.value;
|
|
1101
|
+
const apps = state.applications.value;
|
|
1102
|
+
const transitioning = state.changing;
|
|
1103
|
+
const busy = transitioning || state.system.busy;
|
|
1104
|
+
const appsBusy = transitioning || state.applications.busy;
|
|
1105
|
+
const loading = observed === null && state.system.error === null;
|
|
1106
|
+
const application = state.system.error !== null ? void 0 : observed?.launchApplication;
|
|
1107
|
+
(0, react.useEffect)(() => {
|
|
1108
|
+
refresh();
|
|
1109
|
+
window.addEventListener("focus", refresh);
|
|
1110
|
+
return () => {
|
|
1111
|
+
window.removeEventListener("focus", refresh);
|
|
1112
|
+
};
|
|
1113
|
+
}, [refresh]);
|
|
1114
|
+
return (0, react_jsx_runtime.jsxs)("div", {
|
|
1115
|
+
className: PermissionPanel_module_css_default.panels,
|
|
1116
|
+
"data-cua-settings": true,
|
|
1117
|
+
"aria-busy": transitioning || state.busy || loading,
|
|
1118
|
+
children: [(0, react_jsx_runtime.jsxs)("section", {
|
|
1119
|
+
className: PermissionPanel_module_css_default.panel,
|
|
1120
|
+
"aria-label": t("title"),
|
|
1121
|
+
children: [
|
|
1122
|
+
(0, react_jsx_runtime.jsx)("h3", { children: t("title") }),
|
|
1123
|
+
(0, react_jsx_runtime.jsxs)("div", {
|
|
1124
|
+
className: PermissionPanel_module_css_default.card,
|
|
1125
|
+
children: [
|
|
1126
|
+
(0, react_jsx_runtime.jsx)(DefaultPresetSetting, { ...props }),
|
|
1127
|
+
(0, react_jsx_runtime.jsx)(PersistentPtcSetting, { ...props }),
|
|
1128
|
+
state.system.error !== null && (0, react_jsx_runtime.jsxs)("div", {
|
|
1129
|
+
className: PermissionPanel_module_css_default.notice,
|
|
1130
|
+
role: "alert",
|
|
1131
|
+
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
1132
|
+
className: PermissionPanel_module_css_default.error,
|
|
1133
|
+
children: t("queryFailed", { message: state.system.error })
|
|
1134
|
+
}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
1135
|
+
size: "sm",
|
|
1136
|
+
variant: "outline",
|
|
1137
|
+
disabled: busy,
|
|
1138
|
+
onClick: refresh,
|
|
1139
|
+
children: t("retry")
|
|
1140
|
+
})]
|
|
1141
|
+
}),
|
|
1142
|
+
["accessibility", "screenRecording"].map((permission) => (0, react_jsx_runtime.jsxs)("div", {
|
|
1143
|
+
className: PermissionPanel_module_css_default.permission,
|
|
1144
|
+
role: "group",
|
|
1145
|
+
"aria-label": t(permission),
|
|
1146
|
+
children: [(0, react_jsx_runtime.jsxs)("div", { children: [(0, react_jsx_runtime.jsx)("strong", { children: t(permission) }), (0, react_jsx_runtime.jsx)(PermissionDescription, {
|
|
1147
|
+
application,
|
|
1148
|
+
permission,
|
|
1149
|
+
loading,
|
|
1150
|
+
t
|
|
1151
|
+
})] }), (0, react_jsx_runtime.jsx)(PermissionAction, {
|
|
1152
|
+
permission,
|
|
1153
|
+
granted: observed === null || state.system.error !== null ? null : observed[permission],
|
|
1154
|
+
loading,
|
|
1155
|
+
busy,
|
|
1156
|
+
request: props.request,
|
|
1157
|
+
openSettings: props.openSettings,
|
|
1158
|
+
t
|
|
1159
|
+
})]
|
|
1160
|
+
}, permission))
|
|
1161
|
+
]
|
|
1162
|
+
}),
|
|
1163
|
+
(0, react_jsx_runtime.jsx)("p", { children: t("permissionHint") })
|
|
1164
|
+
]
|
|
1165
|
+
}), (0, react_jsx_runtime.jsxs)("section", {
|
|
1166
|
+
className: PermissionPanel_module_css_default.panel,
|
|
1167
|
+
"aria-label": t("applicationsTitle"),
|
|
1168
|
+
children: [(0, react_jsx_runtime.jsx)("h3", { children: t("applicationsTitle") }), (0, react_jsx_runtime.jsxs)("div", {
|
|
1169
|
+
className: PermissionPanel_module_css_default.card,
|
|
1170
|
+
children: [["applications", "icons"].map((key) => state[key].error !== null && (0, react_jsx_runtime.jsxs)("div", {
|
|
1171
|
+
className: PermissionPanel_module_css_default.notice,
|
|
1172
|
+
role: "alert",
|
|
1173
|
+
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
1174
|
+
className: PermissionPanel_module_css_default.error,
|
|
1175
|
+
children: t(key === "applications" ? "applicationsFailed" : "iconsFailed", { message: state[key].error })
|
|
1176
|
+
}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
1177
|
+
size: "sm",
|
|
1178
|
+
variant: "outline",
|
|
1179
|
+
disabled: transitioning || state[key].busy,
|
|
1180
|
+
onClick: refresh,
|
|
1181
|
+
children: t("retry")
|
|
1182
|
+
})]
|
|
1183
|
+
}, key)), apps === null ? (0, react_jsx_runtime.jsx)("p", {
|
|
1184
|
+
className: PermissionPanel_module_css_default.emptyState,
|
|
1185
|
+
children: (0, react_jsx_runtime.jsx)("span", {
|
|
1186
|
+
className: PermissionPanel_module_css_default.appsPlaceholder,
|
|
1187
|
+
"aria-hidden": true,
|
|
1188
|
+
children: t("noApps")
|
|
1189
|
+
})
|
|
1190
|
+
}) : (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
1191
|
+
apps.allowedApps.length === 0 && apps.blockedApps.length === 0 && (0, react_jsx_runtime.jsx)("p", {
|
|
1192
|
+
className: PermissionPanel_module_css_default.emptyState,
|
|
1193
|
+
children: t("noApps")
|
|
1194
|
+
}),
|
|
1195
|
+
apps.allowedApps.length > 0 && (0, react_jsx_runtime.jsx)(Applications, {
|
|
1196
|
+
title: t("allowedApps"),
|
|
1197
|
+
apps: apps.allowedApps,
|
|
1198
|
+
icons: state.icons.value,
|
|
1199
|
+
onAction: props.revoke,
|
|
1200
|
+
label: t("revoke"),
|
|
1201
|
+
disabled: appsBusy || !apps.persistentAvailable
|
|
1202
|
+
}),
|
|
1203
|
+
apps.blockedApps.length > 0 && (0, react_jsx_runtime.jsx)(Applications, {
|
|
1204
|
+
title: t("blockedApps"),
|
|
1205
|
+
apps: apps.blockedApps,
|
|
1206
|
+
icons: state.icons.value,
|
|
1207
|
+
onAction: props.retryApproval,
|
|
1208
|
+
label: t("retryApproval"),
|
|
1209
|
+
disabled: appsBusy
|
|
1210
|
+
})
|
|
1211
|
+
] })]
|
|
1212
|
+
})]
|
|
1213
|
+
})]
|
|
1214
|
+
});
|
|
1215
|
+
}
|
|
1216
|
+
/**
|
|
1217
|
+
* @param props Permission observation and activation navigation callbacks.
|
|
1218
|
+
* @returns Setup guidance when system permissions need attention.
|
|
1219
|
+
*/
|
|
1220
|
+
function PermissionSetup({ t, refresh, useCuaPermissions, onDismiss, onOpenDetails }) {
|
|
1221
|
+
const state = useCuaPermissions((value) => value.system);
|
|
1222
|
+
(0, react.useEffect)(() => {
|
|
1223
|
+
refresh();
|
|
1224
|
+
}, [refresh]);
|
|
1225
|
+
const ready = state.value !== null && state.error === null && state.value.accessibility && state.value.screenRecording;
|
|
1226
|
+
(0, react.useEffect)(() => {
|
|
1227
|
+
if (ready && !state.busy) onDismiss();
|
|
1228
|
+
}, [
|
|
1229
|
+
ready,
|
|
1230
|
+
state.busy,
|
|
1231
|
+
onDismiss
|
|
1232
|
+
]);
|
|
1233
|
+
return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
1234
|
+
open: !ready && (state.value !== null || !state.busy && state.error !== null),
|
|
1235
|
+
title: t("setupTitle"),
|
|
1236
|
+
closeLabel: t("close"),
|
|
1237
|
+
onClose: onDismiss,
|
|
1238
|
+
footer: (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
1239
|
+
variant: "ghost",
|
|
1240
|
+
onClick: onDismiss,
|
|
1241
|
+
children: t("later")
|
|
1242
|
+
}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
1243
|
+
variant: "primary",
|
|
1244
|
+
"data-modal-autofocus": true,
|
|
1245
|
+
onClick: onOpenDetails,
|
|
1246
|
+
children: t("openSetup")
|
|
1247
|
+
})] }),
|
|
1248
|
+
children: (0, react_jsx_runtime.jsx)("p", { children: t(state.error === null ? "setupBody" : "setupQueryFailed") })
|
|
1249
|
+
});
|
|
1250
|
+
}
|
|
1251
|
+
/** @param props Shared operation outcome, independent of page lifetime. @returns The existing global toast presentation. */
|
|
1252
|
+
function PermissionToast(props) {
|
|
1253
|
+
const toast = props.useCuaPermissions((value) => value.toast);
|
|
1254
|
+
if (!toast) return null;
|
|
1255
|
+
return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
|
|
1256
|
+
text: toast.kind === "failed" ? props.t("failed", { message: toast.message }) : props.t(toast.kind),
|
|
1257
|
+
...toast.kind === "revoked" ? { tone: "success" } : {},
|
|
1258
|
+
onDone: props.dismissToast
|
|
1259
|
+
}, toast.id);
|
|
1260
|
+
}
|
|
1261
|
+
//#endregion
|
|
1262
|
+
//#region lib/types/client/locales.js
|
|
1263
|
+
/** Product copy for native permission onboarding and application revocation. */
|
|
1264
|
+
const NS = "cuaPermissions";
|
|
1265
|
+
/** English permission-page dictionary. */
|
|
1266
|
+
const en = {
|
|
1267
|
+
title: "Authorize computer use",
|
|
1268
|
+
applicationsTitle: "Manage applications computer use can access",
|
|
1269
|
+
setupTitle: "Set up computer use before use",
|
|
1270
|
+
setupBody: "Computer use is enabled. Before using it, switch to PTC mode and grant Accessibility and Screen Recording permissions. Open the plugin details to complete setup.",
|
|
1271
|
+
setupQueryFailed: "Computer use is enabled, but system permissions could not be checked. Open the plugin details to see the error and retry.",
|
|
1272
|
+
defaultTitle: "Default mode for new sessions",
|
|
1273
|
+
defaultBody: "Computer use is available only in PTC mode.",
|
|
1274
|
+
defaultConfirm: "Set to PTC",
|
|
1275
|
+
defaultSet: "PTC is the default",
|
|
1276
|
+
defaultUnavailable: "Could not read the default mode. Check it in Settings.",
|
|
1277
|
+
defaultReadOnly: "Default-mode settings are read-only.",
|
|
1278
|
+
defaultNotSaved: "The default mode was not saved. Try again.",
|
|
1279
|
+
defaultFailed: "Could not change the default mode: {message}",
|
|
1280
|
+
persistentTitle: "PTC execution mode",
|
|
1281
|
+
persistentBody: "Keep variables and application objects across tool calls. Switching restarts the PTC runtime.",
|
|
1282
|
+
persistentConfirm: "Use persistent mode",
|
|
1283
|
+
persistentSet: "Persistent mode enabled",
|
|
1284
|
+
persistentUnavailable: "Could not read the PTC execution mode. Check it in Settings.",
|
|
1285
|
+
persistentReadOnly: "PTC execution settings are read-only.",
|
|
1286
|
+
persistentNotSaved: "The PTC execution mode was not saved. Try again.",
|
|
1287
|
+
persistentFailed: "Could not change the PTC execution mode: {message}",
|
|
1288
|
+
openSetup: "Open settings",
|
|
1289
|
+
later: "Later",
|
|
1290
|
+
close: "Close",
|
|
1291
|
+
accessibility: "Accessibility",
|
|
1292
|
+
screenRecording: "Screen Recording",
|
|
1293
|
+
accessibilityUse: "Read interface controls, click, and type.",
|
|
1294
|
+
screenRecordingUse: "Capture the selected application window.",
|
|
1295
|
+
accessibilityPermission: "In System Settings, allow {application} to read interface controls, click, and type.",
|
|
1296
|
+
screenRecordingPermission: "In System Settings, allow {application} to capture application windows.",
|
|
1297
|
+
permissionHint: "Manage Accessibility and Screen Recording permissions in System Settings.",
|
|
1298
|
+
granted: "Allowed",
|
|
1299
|
+
unknown: "Unknown",
|
|
1300
|
+
request: "Request permission",
|
|
1301
|
+
settings: "Open System Settings",
|
|
1302
|
+
retry: "Retry",
|
|
1303
|
+
allowedApps: "Always-allowed applications",
|
|
1304
|
+
blockedApps: "Applications not allowed",
|
|
1305
|
+
retryApproval: "Allow asking again",
|
|
1306
|
+
retryAllowed: "The next application selection will ask again; access has not been granted",
|
|
1307
|
+
noApps: "No always-allowed or blocked applications.",
|
|
1308
|
+
revoke: "Revoke",
|
|
1309
|
+
revoked: "Application access revoked",
|
|
1310
|
+
requested: "Follow the guide at the bottom of System Settings",
|
|
1311
|
+
opened: "System Settings opened",
|
|
1312
|
+
applicationsFailed: "Could not load application access: {message}",
|
|
1313
|
+
iconsFailed: "Could not load application icons: {message}",
|
|
1314
|
+
failed: "Could not update permissions: {message}",
|
|
1315
|
+
queryFailed: "Could not check permissions: {message}"
|
|
1316
|
+
};
|
|
1317
|
+
/** Chinese permission-page dictionary. */
|
|
1318
|
+
const zh = {
|
|
1319
|
+
title: "给 Computer Use 授权",
|
|
1320
|
+
applicationsTitle: "管理 Computer Use 可访问的应用",
|
|
1321
|
+
setupTitle: "使用 Computer Use 前需要设置",
|
|
1322
|
+
setupBody: "Computer Use 插件已开启。使用前请切换到 PTC 模式,并授予辅助功能和屏幕录制权限。请前往插件详情页完成设置。",
|
|
1323
|
+
setupQueryFailed: "Computer Use 插件已开启,但暂时无法检测系统权限。请前往插件详情页查看原因并重试。",
|
|
1324
|
+
defaultTitle: "新会话默认模式",
|
|
1325
|
+
defaultBody: "Computer Use 仅在 PTC 模式中可用。",
|
|
1326
|
+
defaultConfirm: "设为 PTC",
|
|
1327
|
+
defaultSet: "已设为 PTC",
|
|
1328
|
+
defaultUnavailable: "无法读取默认模式,请在设置中检查",
|
|
1329
|
+
defaultReadOnly: "默认模式设置为只读",
|
|
1330
|
+
defaultNotSaved: "默认模式未保存,请重试",
|
|
1331
|
+
defaultFailed: "无法切换默认模式:{message}",
|
|
1332
|
+
persistentTitle: "PTC 执行方式",
|
|
1333
|
+
persistentBody: "跨工具调用保留变量和应用对象。切换会重启 PTC 执行器。",
|
|
1334
|
+
persistentConfirm: "设为持久化",
|
|
1335
|
+
persistentSet: "已设为持久化",
|
|
1336
|
+
persistentUnavailable: "无法读取 PTC 执行方式,请在设置中检查",
|
|
1337
|
+
persistentReadOnly: "PTC 执行方式设置为只读",
|
|
1338
|
+
persistentNotSaved: "PTC 执行方式未保存,请重试",
|
|
1339
|
+
persistentFailed: "无法切换 PTC 执行方式:{message}",
|
|
1340
|
+
openSetup: "前往设置",
|
|
1341
|
+
later: "稍后",
|
|
1342
|
+
close: "关闭",
|
|
1343
|
+
accessibility: "辅助功能",
|
|
1344
|
+
screenRecording: "屏幕录制",
|
|
1345
|
+
accessibilityUse: "读取界面控件、点击和输入文字",
|
|
1346
|
+
screenRecordingUse: "截取所选应用的窗口",
|
|
1347
|
+
accessibilityPermission: "在系统设置中允许 {application} 读取界面、点击和输入。",
|
|
1348
|
+
screenRecordingPermission: "在系统设置中允许 {application} 截取应用窗口。",
|
|
1349
|
+
permissionHint: "在系统设置中管理辅助功能和屏幕录制权限",
|
|
1350
|
+
granted: "已允许",
|
|
1351
|
+
unknown: "未确认",
|
|
1352
|
+
request: "申请权限",
|
|
1353
|
+
settings: "打开系统设置",
|
|
1354
|
+
retry: "重试",
|
|
1355
|
+
allowedApps: "始终允许的应用",
|
|
1356
|
+
blockedApps: "不允许访问的应用",
|
|
1357
|
+
retryApproval: "允许再次询问",
|
|
1358
|
+
retryAllowed: "下次选择此应用时将重新询问,当前尚未授权",
|
|
1359
|
+
noApps: "暂无始终允许或不允许访问的应用。",
|
|
1360
|
+
revoke: "撤销",
|
|
1361
|
+
revoked: "已撤销应用访问权限",
|
|
1362
|
+
requested: "请按系统设置底部的引导完成授权",
|
|
1363
|
+
opened: "已打开系统设置",
|
|
1364
|
+
applicationsFailed: "无法读取应用授权:{message}",
|
|
1365
|
+
iconsFailed: "无法读取应用图标:{message}",
|
|
1366
|
+
failed: "无法更新权限:{message}",
|
|
1367
|
+
queryFailed: "无法检测权限:{message}"
|
|
1368
|
+
};
|
|
1369
|
+
/** Japanese copy, checked against the English keys. */
|
|
1370
|
+
const ja = {
|
|
1371
|
+
"title": "コンピュータ操作を承認",
|
|
1372
|
+
"applicationsTitle": "Computer Useがアクセスできるアプリを管理",
|
|
1373
|
+
"setupTitle": "使用前にComputer Useを設定",
|
|
1374
|
+
"setupBody": "Computer Useは有効です。使用する前にPTCモードに切り替え、アクセシビリティと画面収録の権限を許可してください。セットアップを完了するにはプラグインの詳細を開いてください。",
|
|
1375
|
+
"setupQueryFailed": "Computer Useは有効ですが、システム権限を確認できませんでした。プラグインの詳細を開いてエラーを確認し、再試行してください。",
|
|
1376
|
+
"defaultTitle": "新規セッションのデフォルトモード",
|
|
1377
|
+
"defaultBody": "Computer UseはPTCモードでのみ利用できます。",
|
|
1378
|
+
"defaultConfirm": "PTCに設定",
|
|
1379
|
+
"defaultSet": "PTCがデフォルトです",
|
|
1380
|
+
"defaultUnavailable": "デフォルトモードを読み取れませんでした。設定で確認してください。",
|
|
1381
|
+
"defaultReadOnly": "デフォルトモードの設定は読み取り専用です。",
|
|
1382
|
+
"defaultNotSaved": "デフォルトモードは保存されませんでした。もう一度お試しください。",
|
|
1383
|
+
"defaultFailed": "デフォルトモードを変更できませんでした: {message}",
|
|
1384
|
+
"persistentTitle": "PTC実行モード",
|
|
1385
|
+
"persistentBody": "ツール呼び出し間で変数とアプリケーションオブジェクトを保持します。切り替えるとPTCランタイムが再起動します。",
|
|
1386
|
+
"persistentConfirm": "永続モードを使用",
|
|
1387
|
+
"persistentSet": "永続モードが有効になりました",
|
|
1388
|
+
"persistentUnavailable": "PTC実行モードを読み取れませんでした。設定で確認してください。",
|
|
1389
|
+
"persistentReadOnly": "PTC実行設定は読み取り専用です。",
|
|
1390
|
+
"persistentNotSaved": "PTC実行モードは保存されませんでした。もう一度お試しください。",
|
|
1391
|
+
"persistentFailed": "PTC実行モードを変更できませんでした: {message}",
|
|
1392
|
+
"openSetup": "設定を開く",
|
|
1393
|
+
"later": "後で",
|
|
1394
|
+
"close": "閉じる",
|
|
1395
|
+
"accessibility": "アクセシビリティ",
|
|
1396
|
+
"screenRecording": "画面収録",
|
|
1397
|
+
"accessibilityUse": "インターフェースのコントロールを読み取り、クリックし、入力します。",
|
|
1398
|
+
"screenRecordingUse": "選択したアプリケーションのウィンドウをキャプチャします。",
|
|
1399
|
+
"accessibilityPermission": "システム設定で、{application}にインターフェースのコントロールの読み取り、クリック、入力を許可してください。",
|
|
1400
|
+
"screenRecordingPermission": "システム設定で、{application}にアプリケーションウィンドウのキャプチャを許可してください。",
|
|
1401
|
+
"permissionHint": "システム設定でアクセシビリティと画面収録の権限を管理してください。",
|
|
1402
|
+
"granted": "許可済み",
|
|
1403
|
+
"unknown": "不明",
|
|
1404
|
+
"request": "権限をリクエスト",
|
|
1405
|
+
"settings": "システム設定を開く",
|
|
1406
|
+
"retry": "再試行",
|
|
1407
|
+
"allowedApps": "常に許可するアプリケーション",
|
|
1408
|
+
"blockedApps": "許可されていないアプリケーション",
|
|
1409
|
+
"retryApproval": "再度確認を許可",
|
|
1410
|
+
"retryAllowed": "次回アプリケーションを選択するときに再度確認します。アクセスは許可されていません",
|
|
1411
|
+
"noApps": "常に許可またはブロックされたアプリケーションはありません。",
|
|
1412
|
+
"revoke": "取り消し",
|
|
1413
|
+
"revoked": "アプリケーションのアクセスを取り消しました",
|
|
1414
|
+
"requested": "システム設定の下部にあるガイドに従ってください。",
|
|
1415
|
+
"opened": "システム設定を開きました",
|
|
1416
|
+
"applicationsFailed": "アプリケーションのアクセスを読み込めませんでした: {message}",
|
|
1417
|
+
"iconsFailed": "アプリケーションのアイコンを読み込めませんでした: {message}",
|
|
1418
|
+
"failed": "権限を更新できませんでした: {message}",
|
|
1419
|
+
"queryFailed": "権限を確認できませんでした: {message}"
|
|
1420
|
+
};
|
|
1421
|
+
/** Spanish dictionary, checked against the English keys. */
|
|
1422
|
+
const es = {
|
|
1423
|
+
title: "Autorizar el uso de la computadora",
|
|
1424
|
+
applicationsTitle: "Administrar aplicaciones a las que puede acceder el uso de la computadora",
|
|
1425
|
+
setupTitle: "Configurar el uso de la computadora antes de usarla",
|
|
1426
|
+
setupBody: "El uso de la computadora está habilitado. Antes de usarlo, cambie al modo PTC y otorgue permisos de Accesibilidad y Grabación de pantalla. Abra los detalles del complemento para completar la configuración.",
|
|
1427
|
+
setupQueryFailed: "El uso de la computadora está habilitado, pero no se pudieron verificar los permisos del sistema. Abra los detalles del complemento para ver el error y vuelva a intentarlo.",
|
|
1428
|
+
defaultTitle: "Modo predeterminado para nuevas sesiones",
|
|
1429
|
+
defaultBody: "El uso de la computadora está disponible solo en el modo PTC.",
|
|
1430
|
+
defaultConfirm: "Establecer en PTC",
|
|
1431
|
+
defaultSet: "PTC es el valor predeterminado",
|
|
1432
|
+
defaultUnavailable: "No se pudo leer el modo predeterminado. Compruébalo en Configuración.",
|
|
1433
|
+
defaultReadOnly: "La configuración del modo predeterminado es de sólo lectura.",
|
|
1434
|
+
defaultNotSaved: "El modo predeterminado no se guardó. Intentar otra vez.",
|
|
1435
|
+
defaultFailed: "No se pudo cambiar el modo predeterminado: {message}",
|
|
1436
|
+
persistentTitle: "Modo de ejecución PTC",
|
|
1437
|
+
persistentBody: "Mantenga variables y objetos de aplicación en todas las llamadas a herramientas. El cambio reinicia el tiempo de ejecución PTC.",
|
|
1438
|
+
persistentConfirm: "Usar modo persistente",
|
|
1439
|
+
persistentSet: "Modo persistente habilitado",
|
|
1440
|
+
persistentUnavailable: "No se pudo leer el modo de ejecución PTC. Compruébalo en Configuración.",
|
|
1441
|
+
persistentReadOnly: "La configuración de ejecución de PTC es de solo lectura.",
|
|
1442
|
+
persistentNotSaved: "El modo de ejecución PTC no se guardó. Intentar otra vez.",
|
|
1443
|
+
persistentFailed: "No se pudo cambiar el modo de ejecución de PTC: {message}",
|
|
1444
|
+
openSetup: "Abrir configuración",
|
|
1445
|
+
later: "Más tarde",
|
|
1446
|
+
close: "Cerrar",
|
|
1447
|
+
accessibility: "Accesibilidad",
|
|
1448
|
+
screenRecording: "Grabación de pantalla",
|
|
1449
|
+
accessibilityUse: "Lea los controles de la interfaz, haga clic y escriba.",
|
|
1450
|
+
screenRecordingUse: "Capture la ventana de la aplicación seleccionada.",
|
|
1451
|
+
accessibilityPermission: "En Configuración del sistema, permita que {application} lea los controles de la interfaz, haga clic y escriba.",
|
|
1452
|
+
screenRecordingPermission: "En Configuración del sistema, permita que {application} capture ventanas de aplicaciones.",
|
|
1453
|
+
permissionHint: "Administre los permisos de accesibilidad y grabación de pantalla en Configuración del sistema.",
|
|
1454
|
+
granted: "Permitido",
|
|
1455
|
+
unknown: "Desconocido",
|
|
1456
|
+
request: "Solicitar permiso",
|
|
1457
|
+
settings: "Abrir configuración del sistema",
|
|
1458
|
+
retry: "Reintentar",
|
|
1459
|
+
allowedApps: "Aplicaciones siempre permitidas",
|
|
1460
|
+
blockedApps: "Aplicaciones no permitidas",
|
|
1461
|
+
retryApproval: "Permitir preguntar de nuevo",
|
|
1462
|
+
retryAllowed: "La siguiente selección de aplicación le preguntará nuevamente; el acceso no ha sido concedido",
|
|
1463
|
+
noApps: "No hay aplicaciones siempre permitidas o bloqueadas.",
|
|
1464
|
+
revoke: "Revocar",
|
|
1465
|
+
revoked: "Acceso a la aplicación revocado",
|
|
1466
|
+
requested: "Siga la guía en la parte inferior de Configuración del sistema",
|
|
1467
|
+
opened: "Configuración del sistema abierta",
|
|
1468
|
+
applicationsFailed: "No se pudo cargar el acceso a la aplicación: {message}",
|
|
1469
|
+
iconsFailed: "No se pudieron cargar los íconos de la aplicación: {message}",
|
|
1470
|
+
failed: "No se pudieron actualizar los permisos: {message}",
|
|
1471
|
+
queryFailed: "No se pudieron verificar los permisos: {message}"
|
|
1472
|
+
};
|
|
1473
|
+
/** French dictionary, checked against the English keys. */
|
|
1474
|
+
const fr = {
|
|
1475
|
+
title: "Autoriser l'utilisation de l'ordinateur",
|
|
1476
|
+
applicationsTitle: "Gérer les applications auxquelles l'ordinateur peut accéder",
|
|
1477
|
+
setupTitle: "Configurer l'utilisation de l'ordinateur avant utilisation",
|
|
1478
|
+
setupBody: "L'utilisation de l'ordinateur est autorisée. Avant de l'utiliser, passez en mode PTC et accordez les autorisations d'accessibilité et d'enregistrement d'écran. Ouvrez les détails du plugin pour terminer la configuration.",
|
|
1479
|
+
setupQueryFailed: "L'utilisation de l'ordinateur est activée, mais les autorisations système n'ont pas pu être vérifiées. Ouvrez les détails du plugin pour voir l'erreur et réessayez.",
|
|
1480
|
+
defaultTitle: "Mode par défaut pour les nouvelles sessions",
|
|
1481
|
+
defaultBody: "L'utilisation de l'ordinateur est disponible uniquement en mode PTC.",
|
|
1482
|
+
defaultConfirm: "Réglé sur PTC",
|
|
1483
|
+
defaultSet: "PTC est la valeur par défaut",
|
|
1484
|
+
defaultUnavailable: "Impossible de lire le mode par défaut. Vérifiez-le dans Paramètres.",
|
|
1485
|
+
defaultReadOnly: "Les paramètres du mode par défaut sont en lecture seule.",
|
|
1486
|
+
defaultNotSaved: "Le mode par défaut n'a pas été enregistré. Essayer à nouveau.",
|
|
1487
|
+
defaultFailed: "Impossible de modifier le mode par défaut\xA0: {message}",
|
|
1488
|
+
persistentTitle: "Mode d'exécution PTC",
|
|
1489
|
+
persistentBody: "Conservez les variables et les objets d’application lors des appels d’outils. La commutation redémarre le runtime PTC.",
|
|
1490
|
+
persistentConfirm: "Utiliser le mode persistant",
|
|
1491
|
+
persistentSet: "Mode persistant activé",
|
|
1492
|
+
persistentUnavailable: "Impossible de lire le mode d'exécution PTC. Vérifiez-le dans Paramètres.",
|
|
1493
|
+
persistentReadOnly: "Les paramètres d'exécution PTC sont en lecture seule.",
|
|
1494
|
+
persistentNotSaved: "Le mode d'exécution PTC n'a pas été enregistré. Essayer à nouveau.",
|
|
1495
|
+
persistentFailed: "Impossible de modifier le mode d'exécution de PTC\xA0: {message}",
|
|
1496
|
+
openSetup: "Ouvrir les paramètres",
|
|
1497
|
+
later: "Plus tard",
|
|
1498
|
+
close: "Fermer",
|
|
1499
|
+
accessibility: "Accessibilité",
|
|
1500
|
+
screenRecording: "Enregistrement d'écran",
|
|
1501
|
+
accessibilityUse: "Lisez les commandes de l’interface, cliquez et tapez.",
|
|
1502
|
+
screenRecordingUse: "Capturez la fenêtre de l'application sélectionnée.",
|
|
1503
|
+
accessibilityPermission: "Dans Paramètres système, autorisez {application} à lire les commandes de l'interface, à cliquer et à taper.",
|
|
1504
|
+
screenRecordingPermission: "Dans Paramètres système, autorisez {application} à capturer les fenêtres d'application.",
|
|
1505
|
+
permissionHint: "Gérez les autorisations d’accessibilité et d’enregistrement de l’écran dans les réglages système.",
|
|
1506
|
+
granted: "Autorisé",
|
|
1507
|
+
unknown: "Inconnu",
|
|
1508
|
+
request: "Demander l'autorisation",
|
|
1509
|
+
settings: "Ouvrir les paramètres système",
|
|
1510
|
+
retry: "Réessayer",
|
|
1511
|
+
allowedApps: "Applications toujours autorisées",
|
|
1512
|
+
blockedApps: "Applications non autorisées",
|
|
1513
|
+
retryApproval: "Autoriser la demande à nouveau",
|
|
1514
|
+
retryAllowed: "La prochaine sélection de candidatures demandera à nouveau\xA0; l'accès n'a pas été accordé",
|
|
1515
|
+
noApps: "Aucune application toujours autorisée ou bloquée.",
|
|
1516
|
+
revoke: "Révoquer",
|
|
1517
|
+
revoked: "Accès à l'application révoqué",
|
|
1518
|
+
requested: "Suivez le guide en bas des réglages système.",
|
|
1519
|
+
opened: "Paramètres système ouverts",
|
|
1520
|
+
applicationsFailed: "Impossible de charger l'accès à l'application\xA0: {message}",
|
|
1521
|
+
iconsFailed: "Impossible de charger les icônes d'application\xA0: {message}",
|
|
1522
|
+
failed: "Impossible de mettre à jour les autorisations\xA0: {message}",
|
|
1523
|
+
queryFailed: "Impossible de vérifier les autorisations\xA0: {message}"
|
|
1524
|
+
};
|
|
1525
|
+
/** German dictionary, checked against the English keys. */
|
|
1526
|
+
const de = {
|
|
1527
|
+
title: "Autorisieren Sie die Computernutzung",
|
|
1528
|
+
applicationsTitle: "Verwalten Sie Anwendungen, auf die der Computer zugreifen kann",
|
|
1529
|
+
setupTitle: "Richten Sie die Computernutzung vor der Nutzung ein",
|
|
1530
|
+
setupBody: "Die Computernutzung ist aktiviert. Wechseln Sie vor der Verwendung in den PTC-Modus und erteilen Sie die Berechtigungen für Barrierefreiheit und Bildschirmaufzeichnung. Öffnen Sie die Plugin-Details, um die Einrichtung abzuschließen.",
|
|
1531
|
+
setupQueryFailed: "Die Computernutzung ist aktiviert, aber die Systemberechtigungen konnten nicht überprüft werden. Öffnen Sie die Plugin-Details, um den Fehler anzuzeigen, und versuchen Sie es erneut.",
|
|
1532
|
+
defaultTitle: "Standardmodus für neue Sitzungen",
|
|
1533
|
+
defaultBody: "Die Computernutzung ist nur im PTC-Modus verfügbar.",
|
|
1534
|
+
defaultConfirm: "Auf PTC setzen",
|
|
1535
|
+
defaultSet: "PTC ist die Standardeinstellung",
|
|
1536
|
+
defaultUnavailable: "Der Standardmodus konnte nicht gelesen werden. Überprüfen Sie es in den Einstellungen.",
|
|
1537
|
+
defaultReadOnly: "Die Standardmoduseinstellungen sind schreibgeschützt.",
|
|
1538
|
+
defaultNotSaved: "Der Standardmodus wurde nicht gespeichert. Versuchen Sie es erneut.",
|
|
1539
|
+
defaultFailed: "Der Standardmodus konnte nicht geändert werden: {message}",
|
|
1540
|
+
persistentTitle: "PTC Ausführungsmodus",
|
|
1541
|
+
persistentBody: "Behalten Sie Variablen und Anwendungsobjekte über Werkzeugaufrufe hinweg bei. Durch den Wechsel wird die PTC-Laufzeit neu gestartet.",
|
|
1542
|
+
persistentConfirm: "Verwenden Sie den persistenten Modus",
|
|
1543
|
+
persistentSet: "Persistenter Modus aktiviert",
|
|
1544
|
+
persistentUnavailable: "Der PTC-Ausführungsmodus konnte nicht gelesen werden. Überprüfen Sie es in den Einstellungen.",
|
|
1545
|
+
persistentReadOnly: "Die Ausführungseinstellungen von PTC sind schreibgeschützt.",
|
|
1546
|
+
persistentNotSaved: "Der PTC-Ausführungsmodus wurde nicht gespeichert. Versuchen Sie es erneut.",
|
|
1547
|
+
persistentFailed: "Der PTC-Ausführungsmodus konnte nicht geändert werden: {message}",
|
|
1548
|
+
openSetup: "Einstellungen öffnen",
|
|
1549
|
+
later: "Später",
|
|
1550
|
+
close: "Schließen",
|
|
1551
|
+
accessibility: "Barrierefreiheit",
|
|
1552
|
+
screenRecording: "Bildschirmaufzeichnung",
|
|
1553
|
+
accessibilityUse: "Lesen Sie die Steuerelemente der Benutzeroberfläche, klicken Sie und geben Sie ein.",
|
|
1554
|
+
screenRecordingUse: "Erfassen Sie das ausgewählte Anwendungsfenster.",
|
|
1555
|
+
accessibilityPermission: "Erlauben Sie {application} in den Systemeinstellungen, Schnittstellensteuerelemente zu lesen, zu klicken und zu tippen.",
|
|
1556
|
+
screenRecordingPermission: "Erlauben Sie {application} in den Systemeinstellungen, Anwendungsfenster zu erfassen.",
|
|
1557
|
+
permissionHint: "Verwalten Sie die Berechtigungen für Bedienungshilfen und Bildschirmaufnahme in den Systemeinstellungen.",
|
|
1558
|
+
granted: "Erlaubt",
|
|
1559
|
+
unknown: "Unbekannt",
|
|
1560
|
+
request: "Bitte um Erlaubnis",
|
|
1561
|
+
settings: "Öffnen Sie die Systemeinstellungen",
|
|
1562
|
+
retry: "Erneut versuchen",
|
|
1563
|
+
allowedApps: "Immer zulässige Anwendungen",
|
|
1564
|
+
blockedApps: "Nicht erlaubte Anwendungen",
|
|
1565
|
+
retryApproval: "Erlaube noch einmal nachzufragen",
|
|
1566
|
+
retryAllowed: "Bei der nächsten Anwendungsauswahl werden Sie erneut gefragt; Der Zugriff wurde nicht gewährt",
|
|
1567
|
+
noApps: "Keine immer erlaubten oder blockierten Anwendungen.",
|
|
1568
|
+
revoke: "Widerrufen",
|
|
1569
|
+
revoked: "Anwendungszugriff widerrufen",
|
|
1570
|
+
requested: "Folgen Sie der Anleitung unten in den Systemeinstellungen",
|
|
1571
|
+
opened: "Systemeinstellungen geöffnet",
|
|
1572
|
+
applicationsFailed: "Anwendungszugriff konnte nicht geladen werden: {message}",
|
|
1573
|
+
iconsFailed: "Anwendungssymbole konnten nicht geladen werden: {message}",
|
|
1574
|
+
failed: "Berechtigungen konnten nicht aktualisiert werden: {message}",
|
|
1575
|
+
queryFailed: "Berechtigungen konnten nicht überprüft werden: {message}"
|
|
1576
|
+
};
|
|
1577
|
+
/** Russian dictionary, checked against the English keys. */
|
|
1578
|
+
const ru = {
|
|
1579
|
+
title: "Разрешить использование компьютера",
|
|
1580
|
+
applicationsTitle: "Управление приложениями, к которым может иметь доступ компьютер",
|
|
1581
|
+
setupTitle: "Настройте использование компьютера перед использованием",
|
|
1582
|
+
setupBody: "Использование компьютера разрешено. Прежде чем использовать его, переключитесь в режим PTC и предоставьте разрешения на доступность и запись экрана. Откройте сведения о плагине, чтобы завершить настройку.",
|
|
1583
|
+
setupQueryFailed: "Использование компьютера разрешено, но системные разрешения проверить не удалось. Откройте сведения о плагине, чтобы увидеть ошибку, и повторите попытку.",
|
|
1584
|
+
defaultTitle: "Режим по умолчанию для новых сеансов",
|
|
1585
|
+
defaultBody: "Использование компьютера доступно только в режиме PTC.",
|
|
1586
|
+
defaultConfirm: "Установить на PTC",
|
|
1587
|
+
defaultSet: "PTC — значение по умолчанию.",
|
|
1588
|
+
defaultUnavailable: "Не удалось прочитать режим по умолчанию. Проверьте это в настройках.",
|
|
1589
|
+
defaultReadOnly: "Настройки режима по умолчанию доступны только для чтения.",
|
|
1590
|
+
defaultNotSaved: "Режим по умолчанию не сохранился. Попробуйте еще раз.",
|
|
1591
|
+
defaultFailed: "Не удалось изменить режим по умолчанию: {message}.",
|
|
1592
|
+
persistentTitle: "Режим выполнения PTC",
|
|
1593
|
+
persistentBody: "Сохраняйте переменные и объекты приложения при вызовах инструментов. Переключение перезапускает среду выполнения PTC.",
|
|
1594
|
+
persistentConfirm: "Использовать постоянный режим",
|
|
1595
|
+
persistentSet: "Постоянный режим включен",
|
|
1596
|
+
persistentUnavailable: "Не удалось прочитать режим выполнения PTC. Проверьте это в настройках.",
|
|
1597
|
+
persistentReadOnly: "Настройки выполнения PTC доступны только для чтения.",
|
|
1598
|
+
persistentNotSaved: "Режим выполнения PTC не был сохранен. Попробуйте еще раз.",
|
|
1599
|
+
persistentFailed: "Не удалось изменить режим выполнения PTC: {message}.",
|
|
1600
|
+
openSetup: "Открыть настройки",
|
|
1601
|
+
later: "Позже",
|
|
1602
|
+
close: "Закрыть",
|
|
1603
|
+
accessibility: "Доступность",
|
|
1604
|
+
screenRecording: "Запись экрана",
|
|
1605
|
+
accessibilityUse: "Прочтите элементы управления интерфейсом, щелкните и введите текст.",
|
|
1606
|
+
screenRecordingUse: "Захват выбранного окна приложения.",
|
|
1607
|
+
accessibilityPermission: "В настройках системы разрешите {application} читать элементы управления интерфейсом, щелкать и печатать.",
|
|
1608
|
+
screenRecordingPermission: "В настройках системы разрешите {application} захватывать окна приложений.",
|
|
1609
|
+
permissionHint: "Управляйте разрешениями на универсальный доступ и запись экрана в системных настройках.",
|
|
1610
|
+
granted: "Разрешено",
|
|
1611
|
+
unknown: "Неизвестно",
|
|
1612
|
+
request: "Запросить разрешение",
|
|
1613
|
+
settings: "Открыть настройки системы",
|
|
1614
|
+
retry: "Повторить",
|
|
1615
|
+
allowedApps: "Всегда разрешенные приложения",
|
|
1616
|
+
blockedApps: "Приложения не разрешены",
|
|
1617
|
+
retryApproval: "Разрешить спросить еще раз",
|
|
1618
|
+
retryAllowed: "При следующем выборе приложения запрос будет повторен; доступ не предоставлен",
|
|
1619
|
+
noApps: "Никаких всегда разрешенных или заблокированных приложений.",
|
|
1620
|
+
revoke: "Отозвать",
|
|
1621
|
+
revoked: "Доступ к приложению отозван",
|
|
1622
|
+
requested: "Следуйте инструкциям внизу окна «Системные настройки».",
|
|
1623
|
+
opened: "Системные настройки открыты",
|
|
1624
|
+
applicationsFailed: "Не удалось загрузить доступ к приложению: {message}.",
|
|
1625
|
+
iconsFailed: "Не удалось загрузить значки приложений: {message}.",
|
|
1626
|
+
failed: "Не удалось обновить разрешения: {message}.",
|
|
1627
|
+
queryFailed: "Не удалось проверить разрешения: {message}"
|
|
1628
|
+
};
|
|
1629
|
+
/** Portuguese dictionary, checked against the English keys. */
|
|
1630
|
+
const pt = {
|
|
1631
|
+
title: "Autorizar o uso do computador",
|
|
1632
|
+
applicationsTitle: "Gerenciar aplicativos que o computador pode acessar",
|
|
1633
|
+
setupTitle: "Configure o uso do computador antes de usar",
|
|
1634
|
+
setupBody: "O uso do computador está habilitado. Antes de usá-lo, alterne para o modo PTC e conceda permissões de acessibilidade e gravação de tela. Abra os detalhes do plugin para concluir a configuração.",
|
|
1635
|
+
setupQueryFailed: "O uso do computador está ativado, mas não foi possível verificar as permissões do sistema. Abra os detalhes do plugin para ver o erro e tente novamente.",
|
|
1636
|
+
defaultTitle: "Modo padrão para novas sessões",
|
|
1637
|
+
defaultBody: "O uso do computador está disponível somente no modo PTC.",
|
|
1638
|
+
defaultConfirm: "Definir como PTC",
|
|
1639
|
+
defaultSet: "PTC é o padrão",
|
|
1640
|
+
defaultUnavailable: "Não foi possível ler o modo padrão. Verifique em Configurações.",
|
|
1641
|
+
defaultReadOnly: "As configurações do modo padrão são somente leitura.",
|
|
1642
|
+
defaultNotSaved: "O modo padrão não foi salvo. Tente novamente.",
|
|
1643
|
+
defaultFailed: "Não foi possível alterar o modo padrão: {message}",
|
|
1644
|
+
persistentTitle: "PTC modo de execução",
|
|
1645
|
+
persistentBody: "Mantenha variáveis e objetos de aplicação em todas as chamadas de ferramenta. A alternância reinicia o tempo de execução PTC.",
|
|
1646
|
+
persistentConfirm: "Usar modo persistente",
|
|
1647
|
+
persistentSet: "Modo persistente ativado",
|
|
1648
|
+
persistentUnavailable: "Não foi possível ler o modo de execução PTC. Verifique em Configurações.",
|
|
1649
|
+
persistentReadOnly: "PTC configurações de execução são somente leitura.",
|
|
1650
|
+
persistentNotSaved: "O modo de execução PTC não foi salvo. Tente novamente.",
|
|
1651
|
+
persistentFailed: "Não foi possível alterar o modo de execução PTC: {message}",
|
|
1652
|
+
openSetup: "Abrir configurações",
|
|
1653
|
+
later: "Mais tarde",
|
|
1654
|
+
close: "Fechar",
|
|
1655
|
+
accessibility: "Acessibilidade",
|
|
1656
|
+
screenRecording: "Gravação de tela",
|
|
1657
|
+
accessibilityUse: "Leia os controles da interface, clique e digite.",
|
|
1658
|
+
screenRecordingUse: "Capture a janela do aplicativo selecionado.",
|
|
1659
|
+
accessibilityPermission: "Nas configurações do sistema, permita que {application} leia os controles da interface, clique e digite.",
|
|
1660
|
+
screenRecordingPermission: "Nas configurações do sistema, permita que {application} capture janelas de aplicativos.",
|
|
1661
|
+
permissionHint: "Gerencie as permissões de acessibilidade e gravação de tela nas Configurações do sistema.",
|
|
1662
|
+
granted: "Permitido",
|
|
1663
|
+
unknown: "Desconhecido",
|
|
1664
|
+
request: "Solicitar permissão",
|
|
1665
|
+
settings: "Abra as configurações do sistema",
|
|
1666
|
+
retry: "Tentar novamente",
|
|
1667
|
+
allowedApps: "Aplicativos sempre permitidos",
|
|
1668
|
+
blockedApps: "Aplicativos não permitidos",
|
|
1669
|
+
retryApproval: "Permitir perguntar novamente",
|
|
1670
|
+
retryAllowed: "A próxima seleção de aplicativos perguntará novamente; o acesso não foi concedido",
|
|
1671
|
+
noApps: "Nenhum aplicativo sempre permitido ou bloqueado.",
|
|
1672
|
+
revoke: "Revogar",
|
|
1673
|
+
revoked: "Acesso ao aplicativo revogado",
|
|
1674
|
+
requested: "Siga o guia na parte inferior das Configurações do sistema",
|
|
1675
|
+
opened: "Configurações do sistema abertas",
|
|
1676
|
+
applicationsFailed: "Não foi possível carregar o acesso ao aplicativo: {message}",
|
|
1677
|
+
iconsFailed: "Não foi possível carregar os ícones do aplicativo: {message}",
|
|
1678
|
+
failed: "Não foi possível atualizar as permissões: {message}",
|
|
1679
|
+
queryFailed: "Não foi possível verificar as permissões: {message}"
|
|
1680
|
+
};
|
|
1681
|
+
//#endregion
|
|
1682
|
+
//#region lib/types/client/mount.js
|
|
1683
|
+
/** Existing browser registries needed by the optional permission UI. */
|
|
1684
|
+
const inject = [
|
|
1685
|
+
"remote",
|
|
1686
|
+
"slots",
|
|
1687
|
+
"locale",
|
|
1688
|
+
"configForms"
|
|
1689
|
+
];
|
|
1690
|
+
/**
|
|
1691
|
+
* Mount the optional permission Remote and its browser controls.
|
|
1692
|
+
* @param ctx Browser plugin context.
|
|
1693
|
+
* @param contribution Generated permission Remote definitions.
|
|
1694
|
+
* @returns Cleanup for the optional Remote and UI registrations.
|
|
1695
|
+
*/
|
|
1696
|
+
async function mountCuaPermissions(ctx, contribution) {
|
|
1697
|
+
const transport = ctx.plugin(async (owner) => {
|
|
1698
|
+
await owner.remote.$mount(contribution);
|
|
1699
|
+
});
|
|
1700
|
+
const ui = ctx.inject([
|
|
1701
|
+
"remote.cuaAccess",
|
|
1702
|
+
"slots",
|
|
1703
|
+
"locale"
|
|
1704
|
+
], (ctx) => {
|
|
1705
|
+
ctx.effect(() => ctx.locale.register(NS, {
|
|
1706
|
+
en,
|
|
1707
|
+
zh,
|
|
1708
|
+
ja,
|
|
1709
|
+
es,
|
|
1710
|
+
fr,
|
|
1711
|
+
de,
|
|
1712
|
+
ru,
|
|
1713
|
+
pt
|
|
1714
|
+
}));
|
|
1715
|
+
const controller = new PermissionController(ctx.remote.cuaAccess, () => ctx.locale.getSnapshot().active);
|
|
1716
|
+
const face = controller.face();
|
|
1717
|
+
ctx.slots.inject("conversation.composer", () => ctx.slots.register({
|
|
1718
|
+
name: "conversation.composer",
|
|
1719
|
+
priority: -1,
|
|
1720
|
+
locale: NS,
|
|
1721
|
+
select: ({ pendingInteraction }) => selectApplicationApproval(pendingInteraction),
|
|
1722
|
+
inject: () => ({ resolveText: (text) => ctx.locale.resolveText(text) })
|
|
1723
|
+
}, ApplicationApproval));
|
|
1724
|
+
ctx.inject(["pluginChanges"], (scope) => {
|
|
1725
|
+
const changes = scope.pluginChanges.bundle("@deepseek-ai/dsh-cua-bundle");
|
|
1726
|
+
const synchronize = () => {
|
|
1727
|
+
controller.setChanging(changes.getSnapshot());
|
|
1728
|
+
};
|
|
1729
|
+
synchronize();
|
|
1730
|
+
scope.effect(() => {
|
|
1731
|
+
const unsubscribe = changes.subscribe(synchronize);
|
|
1732
|
+
return () => {
|
|
1733
|
+
unsubscribe();
|
|
1734
|
+
controller.setChanging(false);
|
|
1735
|
+
};
|
|
1736
|
+
});
|
|
1737
|
+
});
|
|
1738
|
+
const preset = ctx.configForms.get("agent-preset-registry");
|
|
1739
|
+
const settings = {
|
|
1740
|
+
...face,
|
|
1741
|
+
hooks: {
|
|
1742
|
+
...face.hooks,
|
|
1743
|
+
cuaDefaultPreset: preset
|
|
1744
|
+
},
|
|
1745
|
+
setPtcDefault: () => preset.set("selectedDefault", "ptc"),
|
|
1746
|
+
setPersistentPtc: async () => {
|
|
1747
|
+
const result = await ctx.remote.cuaAccess.enablePersistentPtc();
|
|
1748
|
+
if (!result.ok) throw result.error;
|
|
1749
|
+
face.refresh();
|
|
1750
|
+
return true;
|
|
1751
|
+
}
|
|
1752
|
+
};
|
|
1753
|
+
ctx.effect(() => () => controller.dispose());
|
|
1754
|
+
ctx.on("connection/reset", face.refresh);
|
|
1755
|
+
ctx.slots.inject("plugins.bundle.config", () => ctx.slots.register({
|
|
1756
|
+
name: "plugins.bundle.config",
|
|
1757
|
+
key: "@deepseek-ai/dsh-cua-bundle",
|
|
1758
|
+
locale: NS,
|
|
1759
|
+
inject: () => settings
|
|
1760
|
+
}, PermissionPanel));
|
|
1761
|
+
ctx.slots.inject("plugins.bundle.activation", () => ctx.slots.register({
|
|
1762
|
+
name: "plugins.bundle.activation",
|
|
1763
|
+
key: "@deepseek-ai/dsh-cua-bundle",
|
|
1764
|
+
locale: NS,
|
|
1765
|
+
inject: () => face
|
|
1766
|
+
}, PermissionSetup));
|
|
1767
|
+
ctx.slots.inject("shell.overlay", () => ctx.slots.register({
|
|
1768
|
+
name: "shell.overlay",
|
|
1769
|
+
id: "cua-permission-outcome",
|
|
1770
|
+
locale: NS,
|
|
1771
|
+
inject: () => face
|
|
1772
|
+
}, PermissionToast));
|
|
1773
|
+
});
|
|
1774
|
+
const dispose = ctx.effect(function* () {
|
|
1775
|
+
yield transport.dispose;
|
|
1776
|
+
yield ui.dispose;
|
|
1777
|
+
}, "cua-permissions.mount");
|
|
1778
|
+
try {
|
|
1779
|
+
await Promise.all([transport, ui]);
|
|
1780
|
+
} catch (error) {
|
|
1781
|
+
await dispose();
|
|
1782
|
+
throw error;
|
|
1783
|
+
}
|
|
1784
|
+
return dispose;
|
|
1785
|
+
}
|
|
1786
|
+
//#endregion
|
|
1787
|
+
//#region lib/types/client/index.js
|
|
1788
|
+
/**
|
|
1789
|
+
* Activate the optional Computer Use permission controls.
|
|
1790
|
+
* @param ctx Browser plugin context.
|
|
1791
|
+
* @returns Cleanup of the UI and Remote contribution.
|
|
1792
|
+
*/
|
|
1793
|
+
async function apply(ctx) {
|
|
1794
|
+
return mountCuaPermissions(ctx, TYPERT_REMOTE);
|
|
1795
|
+
}
|
|
1796
|
+
//#endregion
|
|
1797
|
+
exports.apply = apply;
|
|
1798
|
+
exports.inject = inject;
|
|
1799
|
+
return module.exports;
|
|
1800
|
+
}
|
|
1801
|
+
});
|
|
1802
|
+
|
|
1803
|
+
//# sourceMappingURL=client.js.map
|