@songtonyli/dsh-cli 0.1.12 → 0.1.14
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/@deepseek-ai/cordis/lib/index.js +3 -2
- package/node_modules/@deepseek-ai/cordis/src/logger.ts +3 -2
- package/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/entry.ts +1 -1
- package/node_modules/@deepseek-ai/dsh/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh/README.md +6 -4
- package/node_modules/@deepseek-ai/dsh/README.zh.md +6 -4
- package/node_modules/@deepseek-ai/dsh/lib/bin.js +118 -54
- package/node_modules/@deepseek-ai/dsh/lib/{dump-config-CpQgpJa2.js → dump-config-Bb5YvFIX.js} +1 -1
- package/node_modules/@deepseek-ai/dsh/lib/plugin-DJ-rVHUS.js +31 -0
- package/node_modules/@deepseek-ai/dsh/lib/{profile-boot-CuwbWsnH.js → profile-boot-BNu17Y9U.js} +82 -135
- package/node_modules/@deepseek-ai/dsh/lib/profile-boot.js +2 -0
- package/node_modules/@deepseek-ai/dsh/package.json +117 -102
- package/node_modules/@deepseek-ai/dsh-acp/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-acp-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-acp-app/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-acp-app/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-acp-app/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-acp-app/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-agent/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +21 -21
- 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 +2 -3
- package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-agent-presets/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/agent.cordis.yml +23 -13
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/preset.yml +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/skills/cordis-plugin-development/SKILL.md +73 -385
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/skills/editing-cordis-compositions/SKILL.md +9 -72
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/ptc/agent.cordis.yml +4 -0
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/standard/agent.cordis.yml +4 -0
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.md +9 -5
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.zh.md +9 -5
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.js +41 -51
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/index.js +4 -17
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/remote-events.js +33 -38
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/stream-client.js +2 -1
- package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +754 -76
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +12 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +5 -4
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +3 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +37 -35
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +15 -3
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +15 -3
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +428 -471
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +16 -47
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +11 -32
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +0 -21
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.js +8 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/index.js +16 -5
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/scope.js +15 -22
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/lineage.js +1 -3
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/manager.js +75 -174
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/projection-store.js +6 -14
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/service.js +259 -244
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js +29 -33
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +10 -4
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/control.js +1 -41
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +66 -66
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.md +14 -5
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.zh.md +14 -5
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/client.js +249 -19
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/index.js +258 -50
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +67 -11
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.remote-client.js +54 -9
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/bindings.js +71 -0
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/index.js +83 -8
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/model.js +20 -7
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/retention.js +77 -0
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/index.js +49 -43
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/retention.js +153 -0
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/terminal.js +35 -0
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/index.js +6 -11
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.host.js +4 -4
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.remote-client.js +4 -4
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/index.js +6 -7
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +11 -10
- package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-app-boot/README.md +18 -8
- package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +17 -7
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +360 -202
- package/node_modules/@deepseek-ai/dsh-app-boot/package.json +9 -17
- package/node_modules/@deepseek-ai/dsh-atomic-write/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-atomic-write/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-atomic-write/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-atomic-write/lib/index.js +8 -3
- package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-authorization/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +12 -5
- package/node_modules/@deepseek-ai/dsh-base/package.json +89 -88
- package/node_modules/@deepseek-ai/dsh-bash-local/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-brand/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-connection/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-connection/README.md +4 -0
- package/node_modules/@deepseek-ai/dsh-client-connection/README.zh.md +4 -0
- package/node_modules/@deepseek-ai/dsh-client-connection/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-connection/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-hmr/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-hmr/README.md +11 -11
- package/node_modules/@deepseek-ai/dsh-client-hmr/README.zh.md +11 -11
- package/node_modules/@deepseek-ai/dsh-client-hmr/lib/client.js +10 -59
- package/node_modules/@deepseek-ai/dsh-client-hmr/lib/index.js +15 -7
- package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-locale/package.json +8 -6
- package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-modules/README.md +14 -4
- package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +14 -4
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +407 -26
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +62 -10
- package/node_modules/@deepseek-ai/dsh-client-modules/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-client-resources/package.json +4 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +140 -48
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +15 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +12 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +24 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +9 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +4 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +49 -34
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +33 -29
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +107 -34
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +14 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +13 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +13 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +520 -384
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +30 -26
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.md +9 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.zh.md +9 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +3 -35
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +25 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +25 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +1364 -160
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/index.js +164 -41
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +27 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +7 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/README.md +8 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/README.zh.md +7 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/lib/client.js +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +14 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +112 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +11 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +8 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +27 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +7 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +15 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +5 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +5 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +152 -33
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +14 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +10 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +14 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.md +9 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.zh.md +9 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +564 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +26 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +129 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +129 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +2550 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +65 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/LICENSE +21 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +172 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +172 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Button.module.css +79 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Checkbox.module.css +28 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ConnectionIndicator.module.css +123 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DiffBlock.module.css +109 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DisclosureRow.module.css +84 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/FileTypeIcon.module.css +50 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/HoverCard.module.css +54 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Input.module.css +38 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/JsonTree.module.css +345 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Menu.module.css +261 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Modal.module.css +103 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/OnboardingSurface.module.css +29 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Pill.module.css +27 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ReadBlock.module.css +111 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/RiskConfirmation.module.css +73 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SearchBlock.module.css +112 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/StateDot.module.css +73 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Switch.module.css +50 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tag.module.css +57 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TerminalBlock.module.css +205 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Toast.module.css +72 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tooltip.module.css +42 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/WebBlock.module.css +141 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +8666 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/CodeBlock.module.css +130 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/JsonBlock.module.css +32 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css +462 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/BrandWordmark.d.ts +15 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Button.d.ts +18 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Checkbox.d.ts +20 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CodeFileIcon.d.ts +12 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ConnectionIndicator.d.ts +26 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DiffBlock.d.ts +52 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DisclosureRow.d.ts +29 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FileTypeIcon.d.ts +43 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FishLogo.d.ts +16 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FoldToggle.d.ts +20 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCard.d.ts +24 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Input.d.ts +11 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/JsonTree.d.ts +59 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/LinkIcon.d.ts +49 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Menu.d.ts +90 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Modal.d.ts +36 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/OnboardingSurface.d.ts +11 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Pill.d.ts +13 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReadBlock.d.ts +47 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReferenceIcon.d.ts +16 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/RiskConfirmation.d.ts +20 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SearchBlock.d.ts +72 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SiteGlyph.d.ts +25 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/StateDot.d.ts +18 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Switch.d.ts +20 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tag.d.ts +32 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TerminalBlock.d.ts +66 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Toast.d.ts +32 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tooltip.d.ts +34 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/WebBlock.d.ts +61 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ansi.d.ts +17 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/clipboard.d.ts +9 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-file-icon-artwork.d.ts +54 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-file-types.d.ts +30 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/darwin-desktop.d.ts +9 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/file-size.d.ts +8 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/head-tail-cap.d.ts +23 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/index.d.ts +200 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/props.d.ts +9 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +70 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/CodeBlock.d.ts +30 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/JsonBlock.d.ts +8 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/MarkdownDelegate.d.ts +36 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/MarkdownText.d.ts +49 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/cjkFriendlyStrong.d.ts +9 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/file-link.d.ts +13 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/highlight.d.ts +142 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/incremental.d.ts +80 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/katex.d.ts +27 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/mathCompatibility.d.ts +11 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/parse.d.ts +25 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/plain-text.d.ts +22 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/render.d.ts +138 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/useViewportHighlighting.d.ts +11 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/pointer-grace.d.ts +22 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/rank-by-name.d.ts +22 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/relative-time.d.ts +23 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/use-copy-feedback.d.ts +14 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredMaxHeight.d.ts +11 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredPosition.d.ts +34 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useDismissOnOutsidePointer.d.ts +11 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/user-text.d.ts +37 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/user-text.module.css +43 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +60 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/client.js +19 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +13 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.md +4 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.zh.md +4 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/lib/client.js +463 -57
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +10 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-session/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-session/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-session/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-session/lib/client.js +232 -72
- package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +8 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +5 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +293 -27
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +11 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +244 -227
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +8 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.md +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.zh.md +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +52 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +12 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/README.md +24 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/README.zh.md +23 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +649 -509
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +10 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +7 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/package.json +11 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +8 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +8 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +105 -25
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +11 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.md +117 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.zh.md +117 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/lib/client.js +821 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +60 -0
- 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 +39 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +39 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +1821 -25130
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.pdf.js +32609 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/index.js +26 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +25 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +11 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.md +9 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.zh.md +9 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +4538 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +13 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.md +8 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.zh.md +8 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.js +42 -13423
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.terminal.js +13494 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +14 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +13 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/LICENSE +21 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.md +111 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.zh.md +111 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/index.js +577 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/index.d.ts +951 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/renderer.d.ts +263 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/store.d.ts +3 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +37 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +212 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +22 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +10 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +1 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +21 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.md +5 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.zh.md +5 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +132 -66
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +15 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.md +6 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.zh.md +6 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +71 -74
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +18 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +12 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +15 -11
- 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 +10 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +10 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +403 -217
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +18 -15
- package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-compact/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-command-goal/package.json +11 -11
- 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/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.md +7 -7
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.zh.md +7 -7
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +736 -219
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.md +7 -7
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.zh.md +7 -7
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/index.js +5 -5
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/index.js +5 -8
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/lifecycle.js +2 -2
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-credentials/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-deque/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.md +220 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.zh.md +220 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/index.js +1894 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/invariant.js +361 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/typert.host.js +879 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/typert.remote-client.js +218 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/activity.js +85 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/client.js +3 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/error.js +23 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/index.js +313 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/invariant.js +26 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/journal.js +63 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/lifecycle.js +85 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/mailbox.js +293 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/persisted.js +20 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/projection.js +260 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/roster.js +448 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/session-message.js +23 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/task-board.js +275 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/task-graph.js +62 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/types.js +26 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/validation.js +33 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +87 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.md +107 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.zh.md +107 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/cordis.patch.yml +30 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +48 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/README.md +98 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/README.zh.md +98 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/cordis.patch.yml +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/package.json +47 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.md +98 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.zh.md +98 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +4979 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +81 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.md +159 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.zh.md +159 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/lib/index.js +550 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +59 -0
- package/node_modules/@deepseek-ai/dsh-file-reference/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-fs/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-goal/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-headless/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-headless/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-hmr/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-hmr/README.md +95 -0
- package/node_modules/@deepseek-ai/dsh-hmr/README.zh.md +95 -0
- package/node_modules/@deepseek-ai/dsh-hmr/lib/index.js +672 -0
- package/node_modules/@deepseek-ai/{cordis-plugin-hmr → dsh-hmr}/package.json +18 -21
- package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-hook-protocol/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-hooks-claude-code/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-hooks-codex/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/index.js +40 -24
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.host.js +2 -1
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.remote-client.js +2 -1
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/types/index.js +36 -24
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-invariants/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-jobs/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +1 -1
- 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 +2 -1
- package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +3 -2
- package/node_modules/@deepseek-ai/dsh-llm/lib/typert.remote-client.js +2 -1
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-llm/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +33 -37
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +37 -37
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +3 -2
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +3 -2
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +47 -3
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-native-command/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.md +105 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.zh.md +105 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/index.js +659 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/typert.host.js +193 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/typert.remote-client.js +94 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/types/errors.js +15 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/types/identity.js +23 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/types/index.js +287 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/types/output.js +47 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/types/queue.js +246 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +64 -0
- package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-persona/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-plan-mode/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-plan-mode/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-plan-mode/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-plan-mode/lib/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-plan-mode/lib/types/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +133 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +133 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +1174 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +604 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +393 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/build-approval.js +56 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/failure.js +8 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +623 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/install-failure.js +33 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/install-spec.js +73 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +177 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/patch.js +50 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +74 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +102 -0
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-sandbox/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-sandbox/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-sandbox/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-sandbox/lib/index.js +6 -9
- package/node_modules/@deepseek-ai/dsh-sandbox/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-scope/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session/lib/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-session/lib/types/known-event-types.js +1 -0
- package/node_modules/@deepseek-ai/dsh-session/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-session-format/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +19 -17
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +7 -4
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-projection/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-query/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-reference/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-reference/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-reference/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/index.js +20 -16
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +4 -3
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.remote-client.js +2 -1
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/types/index.js +30 -23
- package/node_modules/@deepseek-ai/dsh-session-reference/package.json +34 -32
- package/node_modules/@deepseek-ai/dsh-session-stats/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-session-title/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-settings/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-settings-file/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-shell-env/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-skill/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-spill/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent/README.md +12 -0
- package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +12 -0
- package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +116 -50
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +11 -4
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.remote-client.js +3 -3
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/continuation-activation.js +41 -4
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/continuation.js +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/control.js +1 -0
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +29 -3
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +54 -48
- package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-subprocess/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-subprocess/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-subprocess/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-subprocess/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-subprocess-local/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-subprocess-local/README.md +7 -0
- package/node_modules/@deepseek-ai/dsh-subprocess-local/README.zh.md +7 -0
- package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/index.js +267 -20
- package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-DGV26RBf.js +1525 -0
- package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner.js +1 -1
- package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-terminal/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-time-context/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-token-meter/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +29 -29
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-tool-cordis/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-cordis/README.md +11 -131
- package/node_modules/@deepseek-ai/dsh-tool-cordis/README.zh.md +15 -135
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/index.js +688 -743
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +10 -16
- package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +10 -6
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-tool-present/README.i18n.yaml +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-present/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +3 -3
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-tool-web/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-tools/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tui-app/README.md +13 -12
- package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +13 -12
- package/node_modules/@deepseek-ai/dsh-tui-app/cordis.patch.yml +9 -0
- package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +928 -130
- package/node_modules/@deepseek-ai/dsh-tui-app/package.json +68 -62
- package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-typert-protocol/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-typert-protocol/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-typert-protocol/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/index.js +32 -1
- package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/owned-value.js +32 -0
- package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-user-approval/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-user-questions/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-user-questions/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-user-questions/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/types/plan-review.js +5 -1
- package/node_modules/@deepseek-ai/dsh-user-questions/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-time/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-values/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-util-values/README.md +6 -3
- package/node_modules/@deepseek-ai/dsh-util-values/README.zh.md +6 -3
- package/node_modules/@deepseek-ai/dsh-util-values/lib/index.js +62 -1
- package/node_modules/@deepseek-ai/dsh-util-values/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-web-app/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +35 -12
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +98 -86
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-8VXBH-f-.js +127 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-lP1BfJ4l.css +1 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +9 -6
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-webhook/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-webhook-github/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-win32-process/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-win32-process/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-win32-process/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-win32-process/lib/index.js +7 -4
- package/node_modules/@deepseek-ai/dsh-win32-process/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +33 -33
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-workspace-changes/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/README.md +108 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/README.zh.md +108 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/index.js +1106 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/capture.js +107 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/compare.js +56 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/git.js +224 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/index.js +139 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/numstat.js +45 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/paths.js +106 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/recorder.js +333 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +56 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/LICENSE +373 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/NOTICE +26 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/README.md +73 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/README.zh.md +73 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/lib/index.js +924 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/lib/worker.js +800 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/CHANGELOG.md +115 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/LICENSE +21 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/README.md +558 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/esm/browser.js +2665 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/esm/index.mjs +2679 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/lib/browser.cjs +2688 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/lib/index.cjs +2668 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/lib/node-worker.cjs +32 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/lib/node.cjs +2700 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/lib/worker.cjs +20 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/package.json +127 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/umd/index.js +1 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/package.json +39 -0
- package/node_modules/@sec-ant/readable-stream/LICENSE +21 -0
- package/node_modules/@sec-ant/readable-stream/README.md +230 -0
- package/node_modules/@sec-ant/readable-stream/dist/index/asyncIterator.js +5 -0
- package/node_modules/@sec-ant/readable-stream/dist/index/fromAnyIterable.js +5 -0
- package/node_modules/@sec-ant/readable-stream/dist/index/index.js +8 -0
- package/node_modules/@sec-ant/readable-stream/dist/polyfill/asyncIterator.js +3 -0
- package/node_modules/@sec-ant/readable-stream/dist/polyfill/fromAnyIterable.js +2 -0
- package/node_modules/@sec-ant/readable-stream/dist/polyfill/index.js +4 -0
- package/node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.js +89 -0
- package/node_modules/@sec-ant/readable-stream/dist/ponyfill/fromAnyIterable.js +34 -0
- package/node_modules/@sec-ant/readable-stream/dist/ponyfill/index.js +6 -0
- package/node_modules/@sec-ant/readable-stream/package.json +73 -0
- package/node_modules/@sindresorhus/merge-streams/index.js +265 -0
- package/node_modules/@sindresorhus/merge-streams/license +9 -0
- package/node_modules/@sindresorhus/merge-streams/package.json +46 -0
- package/node_modules/@sindresorhus/merge-streams/readme.md +53 -0
- package/node_modules/@swc/helpers/LICENSE +201 -0
- package/node_modules/@swc/helpers/_/_apply_decorated_descriptor/package.json +4 -0
- package/node_modules/@swc/helpers/_/_apply_decs_2203_r/package.json +4 -0
- package/node_modules/@swc/helpers/_/_apply_decs_2311/package.json +4 -0
- package/node_modules/@swc/helpers/_/_array_like_to_array/package.json +4 -0
- package/node_modules/@swc/helpers/_/_array_with_holes/package.json +4 -0
- package/node_modules/@swc/helpers/_/_array_without_holes/package.json +4 -0
- package/node_modules/@swc/helpers/_/_assert_this_initialized/package.json +4 -0
- package/node_modules/@swc/helpers/_/_async_generator/package.json +4 -0
- package/node_modules/@swc/helpers/_/_async_generator_delegate/package.json +4 -0
- package/node_modules/@swc/helpers/_/_async_iterator/package.json +4 -0
- package/node_modules/@swc/helpers/_/_async_to_generator/package.json +4 -0
- package/node_modules/@swc/helpers/_/_await_async_generator/package.json +4 -0
- package/node_modules/@swc/helpers/_/_await_value/package.json +4 -0
- package/node_modules/@swc/helpers/_/_call_super/package.json +4 -0
- package/node_modules/@swc/helpers/_/_check_private_redeclaration/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_apply_descriptor_destructure/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_apply_descriptor_get/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_apply_descriptor_set/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_apply_descriptor_update/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_call_check/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_check_private_static_access/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_check_private_static_field_descriptor/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_extract_field_descriptor/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_name_tdz_error/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_field_destructure/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_field_get/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_field_init/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_field_loose_base/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_field_loose_key/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_field_set/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_field_update/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_method_get/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_method_init/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_private_method_set/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_static_private_field_destructure/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_static_private_field_spec_get/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_static_private_field_spec_set/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_static_private_field_update/package.json +4 -0
- package/node_modules/@swc/helpers/_/_class_static_private_method_get/package.json +4 -0
- package/node_modules/@swc/helpers/_/_construct/package.json +4 -0
- package/node_modules/@swc/helpers/_/_create_class/package.json +4 -0
- package/node_modules/@swc/helpers/_/_create_for_of_iterator_helper_loose/package.json +4 -0
- package/node_modules/@swc/helpers/_/_create_super/package.json +4 -0
- package/node_modules/@swc/helpers/_/_decorate/package.json +4 -0
- package/node_modules/@swc/helpers/_/_defaults/package.json +4 -0
- package/node_modules/@swc/helpers/_/_define_enumerable_properties/package.json +4 -0
- package/node_modules/@swc/helpers/_/_define_property/package.json +4 -0
- package/node_modules/@swc/helpers/_/_dispose/package.json +4 -0
- package/node_modules/@swc/helpers/_/_export_star/package.json +4 -0
- package/node_modules/@swc/helpers/_/_extends/package.json +4 -0
- package/node_modules/@swc/helpers/_/_get/package.json +4 -0
- package/node_modules/@swc/helpers/_/_get_prototype_of/package.json +4 -0
- package/node_modules/@swc/helpers/_/_identity/package.json +4 -0
- package/node_modules/@swc/helpers/_/_inherits/package.json +4 -0
- package/node_modules/@swc/helpers/_/_inherits_loose/package.json +4 -0
- package/node_modules/@swc/helpers/_/_initializer_define_property/package.json +4 -0
- package/node_modules/@swc/helpers/_/_initializer_warning_helper/package.json +4 -0
- package/node_modules/@swc/helpers/_/_instanceof/package.json +4 -0
- package/node_modules/@swc/helpers/_/_interop_require_default/package.json +4 -0
- package/node_modules/@swc/helpers/_/_interop_require_wildcard/package.json +4 -0
- package/node_modules/@swc/helpers/_/_is_native_function/package.json +4 -0
- package/node_modules/@swc/helpers/_/_is_native_reflect_construct/package.json +4 -0
- package/node_modules/@swc/helpers/_/_iterable_to_array/package.json +4 -0
- package/node_modules/@swc/helpers/_/_iterable_to_array_limit/package.json +4 -0
- package/node_modules/@swc/helpers/_/_iterable_to_array_limit_loose/package.json +4 -0
- package/node_modules/@swc/helpers/_/_jsx/package.json +4 -0
- package/node_modules/@swc/helpers/_/_new_arrow_check/package.json +4 -0
- package/node_modules/@swc/helpers/_/_non_iterable_rest/package.json +4 -0
- package/node_modules/@swc/helpers/_/_non_iterable_spread/package.json +4 -0
- package/node_modules/@swc/helpers/_/_object_destructuring_empty/package.json +4 -0
- package/node_modules/@swc/helpers/_/_object_spread/package.json +4 -0
- package/node_modules/@swc/helpers/_/_object_spread_props/package.json +4 -0
- package/node_modules/@swc/helpers/_/_object_without_properties/package.json +4 -0
- package/node_modules/@swc/helpers/_/_object_without_properties_loose/package.json +4 -0
- package/node_modules/@swc/helpers/_/_overload_yield/package.json +4 -0
- package/node_modules/@swc/helpers/_/_possible_constructor_return/package.json +4 -0
- package/node_modules/@swc/helpers/_/_read_only_error/package.json +4 -0
- package/node_modules/@swc/helpers/_/_set/package.json +4 -0
- package/node_modules/@swc/helpers/_/_set_prototype_of/package.json +4 -0
- package/node_modules/@swc/helpers/_/_skip_first_generator_next/package.json +4 -0
- package/node_modules/@swc/helpers/_/_sliced_to_array/package.json +4 -0
- package/node_modules/@swc/helpers/_/_sliced_to_array_loose/package.json +4 -0
- package/node_modules/@swc/helpers/_/_super_prop_base/package.json +4 -0
- package/node_modules/@swc/helpers/_/_tagged_template_literal/package.json +4 -0
- package/node_modules/@swc/helpers/_/_tagged_template_literal_loose/package.json +4 -0
- package/node_modules/@swc/helpers/_/_throw/package.json +4 -0
- package/node_modules/@swc/helpers/_/_to_array/package.json +4 -0
- package/node_modules/@swc/helpers/_/_to_consumable_array/package.json +4 -0
- package/node_modules/@swc/helpers/_/_to_primitive/package.json +4 -0
- package/node_modules/@swc/helpers/_/_to_property_key/package.json +4 -0
- package/node_modules/@swc/helpers/_/_ts_add_disposable_resource/package.json +4 -0
- package/node_modules/@swc/helpers/_/_ts_decorate/package.json +4 -0
- package/node_modules/@swc/helpers/_/_ts_dispose_resources/package.json +4 -0
- package/node_modules/@swc/helpers/_/_ts_generator/package.json +4 -0
- package/node_modules/@swc/helpers/_/_ts_metadata/package.json +4 -0
- package/node_modules/@swc/helpers/_/_ts_param/package.json +4 -0
- package/node_modules/@swc/helpers/_/_ts_rewrite_relative_import_extension/package.json +4 -0
- package/node_modules/@swc/helpers/_/_ts_values/package.json +4 -0
- package/node_modules/@swc/helpers/_/_type_of/package.json +4 -0
- package/node_modules/@swc/helpers/_/_unsupported_iterable_to_array/package.json +4 -0
- package/node_modules/@swc/helpers/_/_update/package.json +4 -0
- package/node_modules/@swc/helpers/_/_using/package.json +4 -0
- package/node_modules/@swc/helpers/_/_using_ctx/package.json +4 -0
- package/node_modules/@swc/helpers/_/_wrap_async_generator/package.json +4 -0
- package/node_modules/@swc/helpers/_/_wrap_native_super/package.json +4 -0
- package/node_modules/@swc/helpers/_/_wrap_reg_exp/package.json +4 -0
- package/node_modules/@swc/helpers/_/_write_only_error/package.json +4 -0
- package/node_modules/@swc/helpers/_/index/package.json +4 -0
- package/node_modules/@swc/helpers/cjs/_apply_decorated_descriptor.cjs +35 -0
- package/node_modules/@swc/helpers/cjs/_apply_decs_2203_r.cjs +574 -0
- package/node_modules/@swc/helpers/cjs/_apply_decs_2311.cjs +346 -0
- package/node_modules/@swc/helpers/cjs/_array_like_to_array.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_array_with_holes.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_array_without_holes.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_assert_this_initialized.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_async_generator.cjs +76 -0
- package/node_modules/@swc/helpers/cjs/_async_generator_delegate.cjs +53 -0
- package/node_modules/@swc/helpers/cjs/_async_iterator.cjs +46 -0
- package/node_modules/@swc/helpers/cjs/_async_to_generator.cjs +33 -0
- package/node_modules/@swc/helpers/cjs/_await_async_generator.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_await_value.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_call_super.cjs +19 -0
- package/node_modules/@swc/helpers/cjs/_check_private_redeclaration.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_destructure.cjs +25 -0
- package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_get.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_set.cjs +15 -0
- package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_update.cjs +30 -0
- package/node_modules/@swc/helpers/cjs/_class_call_check.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_class_check_private_static_access.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_class_check_private_static_field_descriptor.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_class_extract_field_descriptor.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_class_name_tdz_error.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_class_private_field_destructure.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_class_private_field_get.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_class_private_field_init.cjs +9 -0
- package/node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_class_private_field_set.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_class_private_field_update.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_class_private_method_get.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_class_private_method_init.cjs +9 -0
- package/node_modules/@swc/helpers/cjs/_class_private_method_set.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_class_static_private_field_destructure.cjs +13 -0
- package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_get.cjs +13 -0
- package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_set.cjs +14 -0
- package/node_modules/@swc/helpers/cjs/_class_static_private_field_update.cjs +13 -0
- package/node_modules/@swc/helpers/cjs/_class_static_private_method_get.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_construct.cjs +22 -0
- package/node_modules/@swc/helpers/cjs/_create_class.cjs +20 -0
- package/node_modules/@swc/helpers/cjs/_create_for_of_iterator_helper_loose.cjs +24 -0
- package/node_modules/@swc/helpers/cjs/_create_super.cjs +23 -0
- package/node_modules/@swc/helpers/cjs/_decorate.cjs +270 -0
- package/node_modules/@swc/helpers/cjs/_defaults.cjs +15 -0
- package/node_modules/@swc/helpers/cjs/_define_enumerable_properties.cjs +26 -0
- package/node_modules/@swc/helpers/cjs/_define_property.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_dispose.cjs +43 -0
- package/node_modules/@swc/helpers/cjs/_export_star.cjs +17 -0
- package/node_modules/@swc/helpers/cjs/_extends.cjs +15 -0
- package/node_modules/@swc/helpers/cjs/_get.cjs +23 -0
- package/node_modules/@swc/helpers/cjs/_get_prototype_of.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_identity.cjs +7 -0
- package/node_modules/@swc/helpers/cjs/_inherits.cjs +14 -0
- package/node_modules/@swc/helpers/cjs/_inherits_loose.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_initializer_define_property.cjs +13 -0
- package/node_modules/@swc/helpers/cjs/_initializer_warning_helper.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_instanceof.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +38 -0
- package/node_modules/@swc/helpers/cjs/_is_native_function.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_is_native_reflect_construct.cjs +18 -0
- package/node_modules/@swc/helpers/cjs/_iterable_to_array.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit.cjs +31 -0
- package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit_loose.cjs +17 -0
- package/node_modules/@swc/helpers/cjs/_jsx.cjs +28 -0
- package/node_modules/@swc/helpers/cjs/_new_arrow_check.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_non_iterable_rest.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_non_iterable_spread.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_object_destructuring_empty.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_object_spread.cjs +25 -0
- package/node_modules/@swc/helpers/cjs/_object_spread_props.cjs +30 -0
- package/node_modules/@swc/helpers/cjs/_object_without_properties.cjs +35 -0
- package/node_modules/@swc/helpers/cjs/_object_without_properties_loose.cjs +16 -0
- package/node_modules/@swc/helpers/cjs/_overload_yield.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_possible_constructor_return.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_read_only_error.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_set.cjs +44 -0
- package/node_modules/@swc/helpers/cjs/_set_prototype_of.cjs +12 -0
- package/node_modules/@swc/helpers/cjs/_skip_first_generator_next.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_sliced_to_array.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_sliced_to_array_loose.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_super_prop_base.cjs +13 -0
- package/node_modules/@swc/helpers/cjs/_tagged_template_literal.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_tagged_template_literal_loose.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_throw.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/_to_array.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_to_consumable_array.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_to_primitive.cjs +18 -0
- package/node_modules/@swc/helpers/cjs/_to_property_key.cjs +11 -0
- package/node_modules/@swc/helpers/cjs/_ts_add_disposable_resource.cjs +3 -0
- package/node_modules/@swc/helpers/cjs/_ts_decorate.cjs +3 -0
- package/node_modules/@swc/helpers/cjs/_ts_dispose_resources.cjs +3 -0
- package/node_modules/@swc/helpers/cjs/_ts_generator.cjs +31 -0
- package/node_modules/@swc/helpers/cjs/_ts_metadata.cjs +3 -0
- package/node_modules/@swc/helpers/cjs/_ts_param.cjs +3 -0
- package/node_modules/@swc/helpers/cjs/_ts_rewrite_relative_import_extension.cjs +3 -0
- package/node_modules/@swc/helpers/cjs/_ts_values.cjs +3 -0
- package/node_modules/@swc/helpers/cjs/_type_of.cjs +8 -0
- package/node_modules/@swc/helpers/cjs/_unsupported_iterable_to_array.cjs +15 -0
- package/node_modules/@swc/helpers/cjs/_update.cjs +16 -0
- package/node_modules/@swc/helpers/cjs/_using.cjs +24 -0
- package/node_modules/@swc/helpers/cjs/_using_ctx.cjs +75 -0
- package/node_modules/@swc/helpers/cjs/_wrap_async_generator.cjs +10 -0
- package/node_modules/@swc/helpers/cjs/_wrap_native_super.cjs +28 -0
- package/node_modules/@swc/helpers/cjs/_wrap_reg_exp.cjs +84 -0
- package/node_modules/@swc/helpers/cjs/_write_only_error.cjs +6 -0
- package/node_modules/@swc/helpers/cjs/index.cjs +439 -0
- package/node_modules/@swc/helpers/esm/_apply_decorated_descriptor.js +33 -0
- package/node_modules/@swc/helpers/esm/_apply_decs_2203_r.js +572 -0
- package/node_modules/@swc/helpers/esm/_apply_decs_2311.js +344 -0
- package/node_modules/@swc/helpers/esm/_array_like_to_array.js +8 -0
- package/node_modules/@swc/helpers/esm/_array_with_holes.js +4 -0
- package/node_modules/@swc/helpers/esm/_array_without_holes.js +6 -0
- package/node_modules/@swc/helpers/esm/_assert_this_initialized.js +6 -0
- package/node_modules/@swc/helpers/esm/_async_generator.js +74 -0
- package/node_modules/@swc/helpers/esm/_async_generator_delegate.js +51 -0
- package/node_modules/@swc/helpers/esm/_async_iterator.js +44 -0
- package/node_modules/@swc/helpers/esm/_async_to_generator.js +31 -0
- package/node_modules/@swc/helpers/esm/_await_async_generator.js +6 -0
- package/node_modules/@swc/helpers/esm/_await_value.js +4 -0
- package/node_modules/@swc/helpers/esm/_call_super.js +17 -0
- package/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +6 -0
- package/node_modules/@swc/helpers/esm/_class_apply_descriptor_destructure.js +23 -0
- package/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.js +6 -0
- package/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.js +13 -0
- package/node_modules/@swc/helpers/esm/_class_apply_descriptor_update.js +28 -0
- package/node_modules/@swc/helpers/esm/_class_call_check.js +4 -0
- package/node_modules/@swc/helpers/esm/_class_check_private_static_access.js +4 -0
- package/node_modules/@swc/helpers/esm/_class_check_private_static_field_descriptor.js +6 -0
- package/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.js +6 -0
- package/node_modules/@swc/helpers/esm/_class_name_tdz_error.js +4 -0
- package/node_modules/@swc/helpers/esm/_class_private_field_destructure.js +8 -0
- package/node_modules/@swc/helpers/esm/_class_private_field_get.js +8 -0
- package/node_modules/@swc/helpers/esm/_class_private_field_init.js +7 -0
- package/node_modules/@swc/helpers/esm/_class_private_field_loose_base.js +8 -0
- package/node_modules/@swc/helpers/esm/_class_private_field_loose_key.js +6 -0
- package/node_modules/@swc/helpers/esm/_class_private_field_set.js +9 -0
- package/node_modules/@swc/helpers/esm/_class_private_field_update.js +8 -0
- package/node_modules/@swc/helpers/esm/_class_private_method_get.js +6 -0
- package/node_modules/@swc/helpers/esm/_class_private_method_init.js +7 -0
- package/node_modules/@swc/helpers/esm/_class_private_method_set.js +4 -0
- package/node_modules/@swc/helpers/esm/_class_static_private_field_destructure.js +11 -0
- package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_get.js +11 -0
- package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_set.js +12 -0
- package/node_modules/@swc/helpers/esm/_class_static_private_field_update.js +11 -0
- package/node_modules/@swc/helpers/esm/_class_static_private_method_get.js +8 -0
- package/node_modules/@swc/helpers/esm/_construct.js +20 -0
- package/node_modules/@swc/helpers/esm/_create_class.js +18 -0
- package/node_modules/@swc/helpers/esm/_create_for_of_iterator_helper_loose.js +22 -0
- package/node_modules/@swc/helpers/esm/_create_super.js +21 -0
- package/node_modules/@swc/helpers/esm/_decorate.js +268 -0
- package/node_modules/@swc/helpers/esm/_defaults.js +13 -0
- package/node_modules/@swc/helpers/esm/_define_enumerable_properties.js +24 -0
- package/node_modules/@swc/helpers/esm/_define_property.js +8 -0
- package/node_modules/@swc/helpers/esm/_dispose.js +41 -0
- package/node_modules/@swc/helpers/esm/_export_star.js +15 -0
- package/node_modules/@swc/helpers/esm/_extends.js +13 -0
- package/node_modules/@swc/helpers/esm/_get.js +21 -0
- package/node_modules/@swc/helpers/esm/_get_prototype_of.js +8 -0
- package/node_modules/@swc/helpers/esm/_identity.js +5 -0
- package/node_modules/@swc/helpers/esm/_inherits.js +12 -0
- package/node_modules/@swc/helpers/esm/_inherits_loose.js +6 -0
- package/node_modules/@swc/helpers/esm/_initializer_define_property.js +11 -0
- package/node_modules/@swc/helpers/esm/_initializer_warning_helper.js +9 -0
- package/node_modules/@swc/helpers/esm/_instanceof.js +8 -0
- package/node_modules/@swc/helpers/esm/_interop_require_default.js +4 -0
- package/node_modules/@swc/helpers/esm/_interop_require_wildcard.js +36 -0
- package/node_modules/@swc/helpers/esm/_is_native_function.js +4 -0
- package/node_modules/@swc/helpers/esm/_is_native_reflect_construct.js +16 -0
- package/node_modules/@swc/helpers/esm/_iterable_to_array.js +6 -0
- package/node_modules/@swc/helpers/esm/_iterable_to_array_limit.js +29 -0
- package/node_modules/@swc/helpers/esm/_iterable_to_array_limit_loose.js +15 -0
- package/node_modules/@swc/helpers/esm/_jsx.js +26 -0
- package/node_modules/@swc/helpers/esm/_new_arrow_check.js +4 -0
- package/node_modules/@swc/helpers/esm/_non_iterable_rest.js +4 -0
- package/node_modules/@swc/helpers/esm/_non_iterable_spread.js +4 -0
- package/node_modules/@swc/helpers/esm/_object_destructuring_empty.js +6 -0
- package/node_modules/@swc/helpers/esm/_object_spread.js +23 -0
- package/node_modules/@swc/helpers/esm/_object_spread_props.js +28 -0
- package/node_modules/@swc/helpers/esm/_object_without_properties.js +33 -0
- package/node_modules/@swc/helpers/esm/_object_without_properties_loose.js +14 -0
- package/node_modules/@swc/helpers/esm/_overload_yield.js +6 -0
- package/node_modules/@swc/helpers/esm/_possible_constructor_return.js +9 -0
- package/node_modules/@swc/helpers/esm/_read_only_error.js +4 -0
- package/node_modules/@swc/helpers/esm/_set.js +42 -0
- package/node_modules/@swc/helpers/esm/_set_prototype_of.js +10 -0
- package/node_modules/@swc/helpers/esm/_skip_first_generator_next.js +9 -0
- package/node_modules/@swc/helpers/esm/_sliced_to_array.js +9 -0
- package/node_modules/@swc/helpers/esm/_sliced_to_array_loose.js +9 -0
- package/node_modules/@swc/helpers/esm/_super_prop_base.js +11 -0
- package/node_modules/@swc/helpers/esm/_tagged_template_literal.js +6 -0
- package/node_modules/@swc/helpers/esm/_tagged_template_literal_loose.js +8 -0
- package/node_modules/@swc/helpers/esm/_throw.js +4 -0
- package/node_modules/@swc/helpers/esm/_to_array.js +9 -0
- package/node_modules/@swc/helpers/esm/_to_consumable_array.js +9 -0
- package/node_modules/@swc/helpers/esm/_to_primitive.js +16 -0
- package/node_modules/@swc/helpers/esm/_to_property_key.js +9 -0
- package/node_modules/@swc/helpers/esm/_ts_add_disposable_resource.js +1 -0
- package/node_modules/@swc/helpers/esm/_ts_decorate.js +1 -0
- package/node_modules/@swc/helpers/esm/_ts_dispose_resources.js +1 -0
- package/node_modules/@swc/helpers/esm/_ts_generator.js +29 -0
- package/node_modules/@swc/helpers/esm/_ts_metadata.js +1 -0
- package/node_modules/@swc/helpers/esm/_ts_param.js +1 -0
- package/node_modules/@swc/helpers/esm/_ts_rewrite_relative_import_extension.js +1 -0
- package/node_modules/@swc/helpers/esm/_ts_values.js +1 -0
- package/node_modules/@swc/helpers/esm/_type_of.js +6 -0
- package/node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js +13 -0
- package/node_modules/@swc/helpers/esm/_update.js +14 -0
- package/node_modules/@swc/helpers/esm/_using.js +22 -0
- package/node_modules/@swc/helpers/esm/_using_ctx.js +73 -0
- package/node_modules/@swc/helpers/esm/_wrap_async_generator.js +8 -0
- package/node_modules/@swc/helpers/esm/_wrap_native_super.js +26 -0
- package/node_modules/@swc/helpers/esm/_wrap_reg_exp.js +82 -0
- package/node_modules/@swc/helpers/esm/_write_only_error.js +4 -0
- package/node_modules/@swc/helpers/esm/index.js +110 -0
- package/node_modules/@swc/helpers/package.json +702 -0
- package/node_modules/@swc/helpers/scripts/ast_grep.js +218 -0
- package/node_modules/@swc/helpers/scripts/build.js +133 -0
- package/node_modules/@swc/helpers/scripts/errors.js +1 -0
- package/node_modules/@swc/helpers/scripts/utils.js +3 -0
- package/node_modules/@swc/helpers/src/_apply_decorated_descriptor.mjs +1 -0
- package/node_modules/@swc/helpers/src/_apply_decs_2203_r.mjs +1 -0
- package/node_modules/@swc/helpers/src/_apply_decs_2311.mjs +1 -0
- package/node_modules/@swc/helpers/src/_array_like_to_array.mjs +1 -0
- package/node_modules/@swc/helpers/src/_array_with_holes.mjs +1 -0
- package/node_modules/@swc/helpers/src/_array_without_holes.mjs +1 -0
- package/node_modules/@swc/helpers/src/_assert_this_initialized.mjs +1 -0
- package/node_modules/@swc/helpers/src/_async_generator.mjs +1 -0
- package/node_modules/@swc/helpers/src/_async_generator_delegate.mjs +1 -0
- package/node_modules/@swc/helpers/src/_async_iterator.mjs +1 -0
- package/node_modules/@swc/helpers/src/_async_to_generator.mjs +1 -0
- package/node_modules/@swc/helpers/src/_await_async_generator.mjs +1 -0
- package/node_modules/@swc/helpers/src/_await_value.mjs +1 -0
- package/node_modules/@swc/helpers/src/_call_super.mjs +1 -0
- package/node_modules/@swc/helpers/src/_check_private_redeclaration.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_apply_descriptor_destructure.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_apply_descriptor_get.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_apply_descriptor_set.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_apply_descriptor_update.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_call_check.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_check_private_static_access.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_check_private_static_field_descriptor.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_extract_field_descriptor.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_name_tdz_error.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_field_destructure.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_field_get.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_field_init.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_field_loose_base.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_field_loose_key.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_field_set.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_field_update.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_method_get.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_method_init.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_private_method_set.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_static_private_field_destructure.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_static_private_field_spec_get.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_static_private_field_spec_set.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_static_private_field_update.mjs +1 -0
- package/node_modules/@swc/helpers/src/_class_static_private_method_get.mjs +1 -0
- package/node_modules/@swc/helpers/src/_construct.mjs +1 -0
- package/node_modules/@swc/helpers/src/_create_class.mjs +1 -0
- package/node_modules/@swc/helpers/src/_create_for_of_iterator_helper_loose.mjs +1 -0
- package/node_modules/@swc/helpers/src/_create_super.mjs +1 -0
- package/node_modules/@swc/helpers/src/_decorate.mjs +1 -0
- package/node_modules/@swc/helpers/src/_defaults.mjs +1 -0
- package/node_modules/@swc/helpers/src/_define_enumerable_properties.mjs +1 -0
- package/node_modules/@swc/helpers/src/_define_property.mjs +1 -0
- package/node_modules/@swc/helpers/src/_dispose.mjs +1 -0
- package/node_modules/@swc/helpers/src/_export_star.mjs +1 -0
- package/node_modules/@swc/helpers/src/_extends.mjs +1 -0
- package/node_modules/@swc/helpers/src/_get.mjs +1 -0
- package/node_modules/@swc/helpers/src/_get_prototype_of.mjs +1 -0
- package/node_modules/@swc/helpers/src/_identity.mjs +1 -0
- package/node_modules/@swc/helpers/src/_inherits.mjs +1 -0
- package/node_modules/@swc/helpers/src/_inherits_loose.mjs +1 -0
- package/node_modules/@swc/helpers/src/_initializer_define_property.mjs +1 -0
- package/node_modules/@swc/helpers/src/_initializer_warning_helper.mjs +1 -0
- package/node_modules/@swc/helpers/src/_instanceof.mjs +1 -0
- package/node_modules/@swc/helpers/src/_interop_require_default.mjs +1 -0
- package/node_modules/@swc/helpers/src/_interop_require_wildcard.mjs +1 -0
- package/node_modules/@swc/helpers/src/_is_native_function.mjs +1 -0
- package/node_modules/@swc/helpers/src/_is_native_reflect_construct.mjs +1 -0
- package/node_modules/@swc/helpers/src/_iterable_to_array.mjs +1 -0
- package/node_modules/@swc/helpers/src/_iterable_to_array_limit.mjs +1 -0
- package/node_modules/@swc/helpers/src/_iterable_to_array_limit_loose.mjs +1 -0
- package/node_modules/@swc/helpers/src/_jsx.mjs +1 -0
- package/node_modules/@swc/helpers/src/_new_arrow_check.mjs +1 -0
- package/node_modules/@swc/helpers/src/_non_iterable_rest.mjs +1 -0
- package/node_modules/@swc/helpers/src/_non_iterable_spread.mjs +1 -0
- package/node_modules/@swc/helpers/src/_object_destructuring_empty.mjs +1 -0
- package/node_modules/@swc/helpers/src/_object_spread.mjs +1 -0
- package/node_modules/@swc/helpers/src/_object_spread_props.mjs +1 -0
- package/node_modules/@swc/helpers/src/_object_without_properties.mjs +1 -0
- package/node_modules/@swc/helpers/src/_object_without_properties_loose.mjs +1 -0
- package/node_modules/@swc/helpers/src/_overload_yield.mjs +1 -0
- package/node_modules/@swc/helpers/src/_possible_constructor_return.mjs +1 -0
- package/node_modules/@swc/helpers/src/_read_only_error.mjs +1 -0
- package/node_modules/@swc/helpers/src/_set.mjs +1 -0
- package/node_modules/@swc/helpers/src/_set_prototype_of.mjs +1 -0
- package/node_modules/@swc/helpers/src/_skip_first_generator_next.mjs +1 -0
- package/node_modules/@swc/helpers/src/_sliced_to_array.mjs +1 -0
- package/node_modules/@swc/helpers/src/_sliced_to_array_loose.mjs +1 -0
- package/node_modules/@swc/helpers/src/_super_prop_base.mjs +1 -0
- package/node_modules/@swc/helpers/src/_tagged_template_literal.mjs +1 -0
- package/node_modules/@swc/helpers/src/_tagged_template_literal_loose.mjs +1 -0
- package/node_modules/@swc/helpers/src/_throw.mjs +1 -0
- package/node_modules/@swc/helpers/src/_to_array.mjs +1 -0
- package/node_modules/@swc/helpers/src/_to_consumable_array.mjs +1 -0
- package/node_modules/@swc/helpers/src/_to_primitive.mjs +1 -0
- package/node_modules/@swc/helpers/src/_to_property_key.mjs +1 -0
- package/node_modules/@swc/helpers/src/_ts_add_disposable_resource.mjs +1 -0
- package/node_modules/@swc/helpers/src/_ts_decorate.mjs +1 -0
- package/node_modules/@swc/helpers/src/_ts_dispose_resources.mjs +1 -0
- package/node_modules/@swc/helpers/src/_ts_generator.mjs +1 -0
- package/node_modules/@swc/helpers/src/_ts_metadata.mjs +1 -0
- package/node_modules/@swc/helpers/src/_ts_param.mjs +1 -0
- package/node_modules/@swc/helpers/src/_ts_rewrite_relative_import_extension.mjs +1 -0
- package/node_modules/@swc/helpers/src/_ts_values.mjs +1 -0
- package/node_modules/@swc/helpers/src/_type_of.mjs +1 -0
- package/node_modules/@swc/helpers/src/_unsupported_iterable_to_array.mjs +1 -0
- package/node_modules/@swc/helpers/src/_update.mjs +1 -0
- package/node_modules/@swc/helpers/src/_using.mjs +1 -0
- package/node_modules/@swc/helpers/src/_using_ctx.mjs +1 -0
- package/node_modules/@swc/helpers/src/_wrap_async_generator.mjs +1 -0
- package/node_modules/@swc/helpers/src/_wrap_native_super.mjs +1 -0
- package/node_modules/@swc/helpers/src/_wrap_reg_exp.mjs +1 -0
- package/node_modules/@swc/helpers/src/_write_only_error.mjs +1 -0
- package/node_modules/@swc/helpers/src/index.mjs +1 -0
- package/node_modules/brotli/build/encode.js +57 -0
- package/node_modules/brotli/build/mem.js +1 -0
- package/node_modules/brotli/compress.js +43 -0
- package/node_modules/brotli/dec/bit_reader.js +124 -0
- package/node_modules/brotli/dec/context.js +250 -0
- package/node_modules/brotli/dec/decode.js +938 -0
- package/node_modules/brotli/dec/dictionary-browser.js +14 -0
- package/node_modules/brotli/dec/dictionary-data.js +9469 -0
- package/node_modules/brotli/dec/dictionary.bin.js +1 -0
- package/node_modules/brotli/dec/dictionary.js +36 -0
- package/node_modules/brotli/dec/huffman.js +123 -0
- package/node_modules/brotli/dec/prefix.js +60 -0
- package/node_modules/brotli/dec/streams.js +34 -0
- package/node_modules/brotli/dec/transform.js +247 -0
- package/node_modules/brotli/decompress.js +1 -0
- package/node_modules/brotli/enc/pre.js +7 -0
- package/node_modules/brotli/index.js +2 -0
- package/node_modules/brotli/package.json +31 -0
- package/node_modules/brotli/readme.md +61 -0
- package/node_modules/clone/.npmignore +4 -0
- package/node_modules/clone/LICENSE +18 -0
- package/node_modules/clone/README.md +194 -0
- package/node_modules/clone/clone.iml +10 -0
- package/node_modules/clone/clone.js +257 -0
- package/node_modules/clone/package.json +53 -0
- package/node_modules/dfa/README.md +83 -0
- package/node_modules/dfa/compile.js +1834 -0
- package/node_modules/dfa/index.js +91 -0
- package/node_modules/dfa/package.json +38 -0
- package/node_modules/execa/index.js +25 -0
- package/node_modules/execa/lib/arguments/command-file.js +201 -0
- package/node_modules/execa/lib/arguments/command.js +20 -0
- package/node_modules/execa/lib/arguments/cwd.js +39 -0
- package/node_modules/execa/lib/arguments/encoding-option.js +50 -0
- package/node_modules/execa/lib/arguments/escape.js +88 -0
- package/node_modules/execa/lib/arguments/fd-options.js +109 -0
- package/node_modules/execa/lib/arguments/file-url.js +25 -0
- package/node_modules/execa/lib/arguments/options.js +105 -0
- package/node_modules/execa/lib/arguments/shell.js +11 -0
- package/node_modules/execa/lib/arguments/specific.js +112 -0
- package/node_modules/execa/lib/convert/add.js +19 -0
- package/node_modules/execa/lib/convert/concurrent.js +33 -0
- package/node_modules/execa/lib/convert/duplex.js +69 -0
- package/node_modules/execa/lib/convert/iterable.js +34 -0
- package/node_modules/execa/lib/convert/readable.js +129 -0
- package/node_modules/execa/lib/convert/shared.js +46 -0
- package/node_modules/execa/lib/convert/web.js +7 -0
- package/node_modules/execa/lib/convert/writable.js +111 -0
- package/node_modules/execa/lib/io/contents.js +116 -0
- package/node_modules/execa/lib/io/input-sync.js +44 -0
- package/node_modules/execa/lib/io/iterate.js +110 -0
- package/node_modules/execa/lib/io/max-buffer.js +89 -0
- package/node_modules/execa/lib/io/output-async.js +82 -0
- package/node_modules/execa/lib/io/output-sync.js +136 -0
- package/node_modules/execa/lib/io/pipeline.js +48 -0
- package/node_modules/execa/lib/io/strip-newline.js +12 -0
- package/node_modules/execa/lib/ipc/array.js +4 -0
- package/node_modules/execa/lib/ipc/buffer-messages.js +47 -0
- package/node_modules/execa/lib/ipc/forward.js +56 -0
- package/node_modules/execa/lib/ipc/get-each.js +113 -0
- package/node_modules/execa/lib/ipc/get-one.js +92 -0
- package/node_modules/execa/lib/ipc/graceful.js +72 -0
- package/node_modules/execa/lib/ipc/incoming.js +79 -0
- package/node_modules/execa/lib/ipc/ipc-input.js +50 -0
- package/node_modules/execa/lib/ipc/methods.js +50 -0
- package/node_modules/execa/lib/ipc/outgoing.js +53 -0
- package/node_modules/execa/lib/ipc/reference.js +48 -0
- package/node_modules/execa/lib/ipc/send.js +91 -0
- package/node_modules/execa/lib/ipc/strict.js +113 -0
- package/node_modules/execa/lib/ipc/validation.js +111 -0
- package/node_modules/execa/lib/methods/bind.js +23 -0
- package/node_modules/execa/lib/methods/command.js +27 -0
- package/node_modules/execa/lib/methods/create.js +63 -0
- package/node_modules/execa/lib/methods/main-async.js +235 -0
- package/node_modules/execa/lib/methods/main-sync.js +167 -0
- package/node_modules/execa/lib/methods/node.js +63 -0
- package/node_modules/execa/lib/methods/parameters.js +32 -0
- package/node_modules/execa/lib/methods/promise.js +2 -0
- package/node_modules/execa/lib/methods/script.js +22 -0
- package/node_modules/execa/lib/methods/template.js +153 -0
- package/node_modules/execa/lib/pipe/abort.js +20 -0
- package/node_modules/execa/lib/pipe/pipe-arguments.js +91 -0
- package/node_modules/execa/lib/pipe/sequence.js +24 -0
- package/node_modules/execa/lib/pipe/setup.js +230 -0
- package/node_modules/execa/lib/pipe/streaming.js +51 -0
- package/node_modules/execa/lib/pipe/throw.js +58 -0
- package/node_modules/execa/lib/resolve/all-async.js +46 -0
- package/node_modules/execa/lib/resolve/all-sync.js +33 -0
- package/node_modules/execa/lib/resolve/exit-async.js +54 -0
- package/node_modules/execa/lib/resolve/exit-sync.js +25 -0
- package/node_modules/execa/lib/resolve/stdio.js +47 -0
- package/node_modules/execa/lib/resolve/wait-stream.js +97 -0
- package/node_modules/execa/lib/resolve/wait-subprocess.js +150 -0
- package/node_modules/execa/lib/return/duration.js +8 -0
- package/node_modules/execa/lib/return/early-error.js +77 -0
- package/node_modules/execa/lib/return/final-error.js +44 -0
- package/node_modules/execa/lib/return/message.js +157 -0
- package/node_modules/execa/lib/return/reject.js +13 -0
- package/node_modules/execa/lib/return/result.js +186 -0
- package/node_modules/execa/lib/stdio/direction.js +89 -0
- package/node_modules/execa/lib/stdio/duplicate.js +119 -0
- package/node_modules/execa/lib/stdio/handle-async.js +52 -0
- package/node_modules/execa/lib/stdio/handle-sync.js +68 -0
- package/node_modules/execa/lib/stdio/handle.js +243 -0
- package/node_modules/execa/lib/stdio/input-option.js +54 -0
- package/node_modules/execa/lib/stdio/native.js +106 -0
- package/node_modules/execa/lib/stdio/stdio-option.js +95 -0
- package/node_modules/execa/lib/stdio/type.js +181 -0
- package/node_modules/execa/lib/terminate/cancel.js +20 -0
- package/node_modules/execa/lib/terminate/cleanup.js +16 -0
- package/node_modules/execa/lib/terminate/graceful.js +73 -0
- package/node_modules/execa/lib/terminate/kill-descendants.js +79 -0
- package/node_modules/execa/lib/terminate/kill.js +93 -0
- package/node_modules/execa/lib/terminate/signal.js +70 -0
- package/node_modules/execa/lib/terminate/timeout.js +21 -0
- package/node_modules/execa/lib/transform/encoding-transform.js +51 -0
- package/node_modules/execa/lib/transform/generator.js +107 -0
- package/node_modules/execa/lib/transform/normalize.js +106 -0
- package/node_modules/execa/lib/transform/object-mode.js +41 -0
- package/node_modules/execa/lib/transform/run-async.js +60 -0
- package/node_modules/execa/lib/transform/run-sync.js +50 -0
- package/node_modules/execa/lib/transform/split.js +112 -0
- package/node_modules/execa/lib/transform/validate.js +43 -0
- package/node_modules/execa/lib/utils/abort-signal.js +8 -0
- package/node_modules/execa/lib/utils/deferred.js +7 -0
- package/node_modules/execa/lib/utils/max-listeners.js +14 -0
- package/node_modules/execa/lib/utils/standard-stream.js +6 -0
- package/node_modules/execa/lib/utils/uint-array.js +69 -0
- package/node_modules/execa/lib/verbose/complete.js +24 -0
- package/node_modules/execa/lib/verbose/custom.js +26 -0
- package/node_modules/execa/lib/verbose/default.js +54 -0
- package/node_modules/execa/lib/verbose/error.js +13 -0
- package/node_modules/execa/lib/verbose/info.js +39 -0
- package/node_modules/execa/lib/verbose/ipc.js +15 -0
- package/node_modules/execa/lib/verbose/log.js +54 -0
- package/node_modules/execa/lib/verbose/output.js +60 -0
- package/node_modules/execa/lib/verbose/start.js +15 -0
- package/node_modules/execa/lib/verbose/values.js +33 -0
- package/node_modules/execa/license +9 -0
- package/node_modules/execa/package.json +124 -0
- package/node_modules/execa/readme.md +461 -0
- package/node_modules/fast-deep-equal/LICENSE +21 -0
- package/node_modules/fast-deep-equal/README.md +96 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.js +46 -0
- package/node_modules/fast-deep-equal/package.json +51 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/figures/index.js +292 -0
- package/node_modules/figures/license +9 -0
- package/node_modules/figures/package.json +46 -0
- package/node_modules/figures/readme.md +337 -0
- package/node_modules/fontkit/README.md +266 -0
- package/node_modules/fontkit/dist/browser-module.mjs +13316 -0
- package/node_modules/fontkit/dist/browser.cjs +13333 -0
- package/node_modules/fontkit/dist/main.cjs +13355 -0
- package/node_modules/fontkit/dist/module.mjs +13337 -0
- package/node_modules/fontkit/package.json +87 -0
- package/node_modules/fontkit/src/CmapProcessor.js +286 -0
- package/node_modules/fontkit/src/DFont.js +117 -0
- package/node_modules/fontkit/src/TTFFont.js +554 -0
- package/node_modules/fontkit/src/TrueTypeCollection.js +67 -0
- package/node_modules/fontkit/src/WOFF2Font.js +216 -0
- package/node_modules/fontkit/src/WOFFFont.js +36 -0
- package/node_modules/fontkit/src/aat/AATFeatureMap.js +543 -0
- package/node_modules/fontkit/src/aat/AATLayoutEngine.js +49 -0
- package/node_modules/fontkit/src/aat/AATLookupTable.js +125 -0
- package/node_modules/fontkit/src/aat/AATMorxProcessor.js +430 -0
- package/node_modules/fontkit/src/aat/AATStateMachine.js +96 -0
- package/node_modules/fontkit/src/base.js +29 -0
- package/node_modules/fontkit/src/cff/CFFCharsets.js +99 -0
- package/node_modules/fontkit/src/cff/CFFDict.js +167 -0
- package/node_modules/fontkit/src/cff/CFFEncodings.js +48 -0
- package/node_modules/fontkit/src/cff/CFFFont.js +159 -0
- package/node_modules/fontkit/src/cff/CFFIndex.js +150 -0
- package/node_modules/fontkit/src/cff/CFFOperand.js +134 -0
- package/node_modules/fontkit/src/cff/CFFPointer.js +50 -0
- package/node_modules/fontkit/src/cff/CFFPrivateDict.js +39 -0
- package/node_modules/fontkit/src/cff/CFFStandardStrings.js +71 -0
- package/node_modules/fontkit/src/cff/CFFTop.js +237 -0
- package/node_modules/fontkit/src/decorators.js +36 -0
- package/node_modules/fontkit/src/encodings.js +219 -0
- package/node_modules/fontkit/src/fs.js +17 -0
- package/node_modules/fontkit/src/glyph/BBox.js +72 -0
- package/node_modules/fontkit/src/glyph/CFFGlyph.js +604 -0
- package/node_modules/fontkit/src/glyph/COLRGlyph.js +90 -0
- package/node_modules/fontkit/src/glyph/Glyph.js +212 -0
- package/node_modules/fontkit/src/glyph/GlyphVariationProcessor.js +486 -0
- package/node_modules/fontkit/src/glyph/Path.js +244 -0
- package/node_modules/fontkit/src/glyph/SBIXGlyph.js +54 -0
- package/node_modules/fontkit/src/glyph/StandardNames.js +27 -0
- package/node_modules/fontkit/src/glyph/TTFGlyph.js +393 -0
- package/node_modules/fontkit/src/glyph/TTFGlyphEncoder.js +158 -0
- package/node_modules/fontkit/src/glyph/WOFF2Glyph.js +17 -0
- package/node_modules/fontkit/src/index.js +15 -0
- package/node_modules/fontkit/src/layout/GlyphPosition.js +30 -0
- package/node_modules/fontkit/src/layout/GlyphRun.js +108 -0
- package/node_modules/fontkit/src/layout/KernProcessor.js +94 -0
- package/node_modules/fontkit/src/layout/LayoutEngine.js +189 -0
- package/node_modules/fontkit/src/layout/Script.js +231 -0
- package/node_modules/fontkit/src/layout/UnicodeLayoutEngine.js +250 -0
- package/node_modules/fontkit/src/node.js +17 -0
- package/node_modules/fontkit/src/opentype/GPOSProcessor.js +353 -0
- package/node_modules/fontkit/src/opentype/GSUBProcessor.js +192 -0
- package/node_modules/fontkit/src/opentype/GlyphInfo.js +57 -0
- package/node_modules/fontkit/src/opentype/GlyphIterator.js +70 -0
- package/node_modules/fontkit/src/opentype/OTLayoutEngine.js +113 -0
- package/node_modules/fontkit/src/opentype/OTProcessor.js +438 -0
- package/node_modules/fontkit/src/opentype/ShapingPlan.js +118 -0
- package/node_modules/fontkit/src/opentype/shapers/ArabicShaper.js +123 -0
- package/node_modules/fontkit/src/opentype/shapers/DefaultShaper.js +72 -0
- package/node_modules/fontkit/src/opentype/shapers/HangulShaper.js +285 -0
- package/node_modules/fontkit/src/opentype/shapers/IndicShaper.js +911 -0
- package/node_modules/fontkit/src/opentype/shapers/UniversalShaper.js +185 -0
- package/node_modules/fontkit/src/opentype/shapers/data.trie +0 -0
- package/node_modules/fontkit/src/opentype/shapers/gen-indic.js +208 -0
- package/node_modules/fontkit/src/opentype/shapers/gen-use.js +287 -0
- package/node_modules/fontkit/src/opentype/shapers/generate-data.js +33 -0
- package/node_modules/fontkit/src/opentype/shapers/index.js +102 -0
- package/node_modules/fontkit/src/opentype/shapers/indic-data.js +175 -0
- package/node_modules/fontkit/src/opentype/shapers/indic.json +1 -0
- package/node_modules/fontkit/src/opentype/shapers/indic.machine +31 -0
- package/node_modules/fontkit/src/opentype/shapers/indic.trie +0 -0
- package/node_modules/fontkit/src/opentype/shapers/use.json +1 -0
- package/node_modules/fontkit/src/opentype/shapers/use.machine +44 -0
- package/node_modules/fontkit/src/opentype/shapers/use.trie +0 -0
- package/node_modules/fontkit/src/subset/CFFSubset.js +171 -0
- package/node_modules/fontkit/src/subset/Subset.js +27 -0
- package/node_modules/fontkit/src/subset/TTFSubset.js +131 -0
- package/node_modules/fontkit/src/tables/BASE.js +78 -0
- package/node_modules/fontkit/src/tables/COLR.js +25 -0
- package/node_modules/fontkit/src/tables/CPAL.js +24 -0
- package/node_modules/fontkit/src/tables/DSIG.js +21 -0
- package/node_modules/fontkit/src/tables/EBDT.js +91 -0
- package/node_modules/fontkit/src/tables/EBLC.js +80 -0
- package/node_modules/fontkit/src/tables/GDEF.js +57 -0
- package/node_modules/fontkit/src/tables/GPOS.js +209 -0
- package/node_modules/fontkit/src/tables/GSUB.js +84 -0
- package/node_modules/fontkit/src/tables/HVAR.js +44 -0
- package/node_modules/fontkit/src/tables/JSTF.js +43 -0
- package/node_modules/fontkit/src/tables/LTSH.js +10 -0
- package/node_modules/fontkit/src/tables/OS2.js +84 -0
- package/node_modules/fontkit/src/tables/PCLT.js +21 -0
- package/node_modules/fontkit/src/tables/VDMX.js +33 -0
- package/node_modules/fontkit/src/tables/VORG.js +14 -0
- package/node_modules/fontkit/src/tables/WOFF2Directory.js +74 -0
- package/node_modules/fontkit/src/tables/WOFFDirectory.js +38 -0
- package/node_modules/fontkit/src/tables/aat.js +157 -0
- package/node_modules/fontkit/src/tables/avar.js +19 -0
- package/node_modules/fontkit/src/tables/bsln.js +31 -0
- package/node_modules/fontkit/src/tables/cmap.js +127 -0
- package/node_modules/fontkit/src/tables/cvt.js +6 -0
- package/node_modules/fontkit/src/tables/directory.js +58 -0
- package/node_modules/fontkit/src/tables/feat.js +28 -0
- package/node_modules/fontkit/src/tables/fpgm.js +8 -0
- package/node_modules/fontkit/src/tables/fvar.js +31 -0
- package/node_modules/fontkit/src/tables/gasp.js +15 -0
- package/node_modules/fontkit/src/tables/glyf.js +4 -0
- package/node_modules/fontkit/src/tables/gvar.js +27 -0
- package/node_modules/fontkit/src/tables/hdmx.js +15 -0
- package/node_modules/fontkit/src/tables/head.js +25 -0
- package/node_modules/fontkit/src/tables/hhea.js +19 -0
- package/node_modules/fontkit/src/tables/hmtx.js +11 -0
- package/node_modules/fontkit/src/tables/index.js +117 -0
- package/node_modules/fontkit/src/tables/just.js +81 -0
- package/node_modules/fontkit/src/tables/kern.js +91 -0
- package/node_modules/fontkit/src/tables/loca.js +30 -0
- package/node_modules/fontkit/src/tables/maxp.js +20 -0
- package/node_modules/fontkit/src/tables/morx.js +79 -0
- package/node_modules/fontkit/src/tables/name.js +130 -0
- package/node_modules/fontkit/src/tables/opbd.js +15 -0
- package/node_modules/fontkit/src/tables/opentype.js +217 -0
- package/node_modules/fontkit/src/tables/post.js +34 -0
- package/node_modules/fontkit/src/tables/prep.js +6 -0
- package/node_modules/fontkit/src/tables/sbix.js +17 -0
- package/node_modules/fontkit/src/tables/variations.js +81 -0
- package/node_modules/fontkit/src/tables/vhea.js +19 -0
- package/node_modules/fontkit/src/tables/vmtx.js +12 -0
- package/node_modules/fontkit/src/utils.js +62 -0
- package/node_modules/get-stream/license +9 -0
- package/node_modules/get-stream/package.json +56 -0
- package/node_modules/get-stream/readme.md +303 -0
- package/node_modules/get-stream/source/array-buffer.js +84 -0
- package/node_modules/get-stream/source/array.js +32 -0
- package/node_modules/get-stream/source/buffer.js +19 -0
- package/node_modules/get-stream/source/contents.js +121 -0
- package/node_modules/get-stream/source/exports.js +5 -0
- package/node_modules/get-stream/source/index.js +13 -0
- package/node_modules/get-stream/source/stream.js +65 -0
- package/node_modules/get-stream/source/string.js +41 -0
- package/node_modules/get-stream/source/utils.js +11 -0
- package/node_modules/human-signals/LICENSE +201 -0
- package/node_modules/human-signals/README.md +171 -0
- package/node_modules/human-signals/build/src/core.js +273 -0
- package/node_modules/human-signals/build/src/main.js +70 -0
- package/node_modules/human-signals/build/src/realtime.js +16 -0
- package/node_modules/human-signals/build/src/signals.js +34 -0
- package/node_modules/human-signals/package.json +63 -0
- package/node_modules/is-plain-obj/index.js +8 -0
- package/node_modules/is-plain-obj/license +9 -0
- package/node_modules/is-plain-obj/package.json +38 -0
- package/node_modules/is-plain-obj/readme.md +58 -0
- package/node_modules/is-stream/index.js +37 -0
- package/node_modules/is-stream/license +9 -0
- package/node_modules/is-stream/package.json +45 -0
- package/node_modules/is-stream/readme.md +57 -0
- package/node_modules/is-unicode-supported/index.js +21 -0
- package/node_modules/is-unicode-supported/license +9 -0
- package/node_modules/is-unicode-supported/package.json +44 -0
- package/node_modules/is-unicode-supported/readme.md +35 -0
- package/node_modules/npm-run-path/index.js +55 -0
- package/node_modules/npm-run-path/license +9 -0
- package/node_modules/npm-run-path/node_modules/path-key/index.js +12 -0
- package/node_modules/npm-run-path/node_modules/path-key/license +9 -0
- package/node_modules/npm-run-path/node_modules/path-key/package.json +41 -0
- package/node_modules/npm-run-path/node_modules/path-key/readme.md +57 -0
- package/node_modules/npm-run-path/package.json +49 -0
- package/node_modules/npm-run-path/readme.md +104 -0
- package/node_modules/pako/LICENSE +21 -0
- package/node_modules/pako/README.md +176 -0
- package/node_modules/pako/dist/pako.js +6606 -0
- package/node_modules/pako/dist/pako.min.js +3 -0
- package/node_modules/pako/dist/pako_deflate.js +3879 -0
- package/node_modules/pako/dist/pako_deflate.min.js +2 -0
- package/node_modules/pako/dist/pako_inflate.js +3127 -0
- package/node_modules/pako/dist/pako_inflate.min.js +2 -0
- package/node_modules/pako/index.js +14 -0
- package/node_modules/pako/lib/deflate.js +400 -0
- package/node_modules/pako/lib/inflate.js +418 -0
- package/node_modules/pako/lib/utils/common.js +102 -0
- package/node_modules/pako/lib/utils/strings.js +185 -0
- package/node_modules/pako/lib/zlib/adler32.js +32 -0
- package/node_modules/pako/lib/zlib/constants.js +50 -0
- package/node_modules/pako/lib/zlib/crc32.js +41 -0
- package/node_modules/pako/lib/zlib/deflate.js +1855 -0
- package/node_modules/pako/lib/zlib/gzheader.js +40 -0
- package/node_modules/pako/lib/zlib/inffast.js +326 -0
- package/node_modules/pako/lib/zlib/inflate.js +1538 -0
- package/node_modules/pako/lib/zlib/inftrees.js +327 -0
- package/node_modules/pako/lib/zlib/messages.js +13 -0
- package/node_modules/pako/lib/zlib/trees.js +1202 -0
- package/node_modules/pako/lib/zlib/zstream.js +29 -0
- package/node_modules/pako/package.json +40 -0
- package/node_modules/parse-ms/index.js +45 -0
- package/node_modules/parse-ms/license +9 -0
- package/node_modules/parse-ms/package.json +44 -0
- package/node_modules/parse-ms/readme.md +46 -0
- package/node_modules/pretty-ms/index.js +150 -0
- package/node_modules/pretty-ms/license +9 -0
- package/node_modules/pretty-ms/package.json +52 -0
- package/node_modules/pretty-ms/readme.md +198 -0
- package/node_modules/restructure/LICENSE +21 -0
- package/node_modules/restructure/README.md +300 -0
- package/node_modules/restructure/dist/main.cjs +1019 -0
- package/node_modules/restructure/index.js +17 -0
- package/node_modules/restructure/package.json +36 -0
- package/node_modules/restructure/src/Array.js +106 -0
- package/node_modules/restructure/src/Base.js +17 -0
- package/node_modules/restructure/src/Bitfield.js +39 -0
- package/node_modules/restructure/src/Boolean.js +22 -0
- package/node_modules/restructure/src/Buffer.js +38 -0
- package/node_modules/restructure/src/DecodeStream.js +85 -0
- package/node_modules/restructure/src/EncodeStream.js +129 -0
- package/node_modules/restructure/src/Enum.js +27 -0
- package/node_modules/restructure/src/LazyArray.js +74 -0
- package/node_modules/restructure/src/Number.js +77 -0
- package/node_modules/restructure/src/Optional.js +44 -0
- package/node_modules/restructure/src/Pointer.js +167 -0
- package/node_modules/restructure/src/Reserved.js +23 -0
- package/node_modules/restructure/src/String.js +155 -0
- package/node_modules/restructure/src/Struct.js +113 -0
- package/node_modules/restructure/src/VersionedStruct.js +139 -0
- package/node_modules/restructure/src/utils.js +35 -0
- package/node_modules/restructure/test/Array.js +103 -0
- package/node_modules/restructure/test/Bitfield.js +29 -0
- package/node_modules/restructure/test/Boolean.js +39 -0
- package/node_modules/restructure/test/Buffer.js +45 -0
- package/node_modules/restructure/test/DecodeStream.js +101 -0
- package/node_modules/restructure/test/EncodeStream.js +104 -0
- package/node_modules/restructure/test/Enum.js +24 -0
- package/node_modules/restructure/test/LazyArray.js +59 -0
- package/node_modules/restructure/test/Number.js +356 -0
- package/node_modules/restructure/test/Optional.js +100 -0
- package/node_modules/restructure/test/Pointer.js +289 -0
- package/node_modules/restructure/test/Reserved.js +26 -0
- package/node_modules/restructure/test/String.js +151 -0
- package/node_modules/restructure/test/Struct.js +146 -0
- package/node_modules/restructure/test/VersionedStruct.js +495 -0
- package/node_modules/saxes/README.md +323 -0
- package/node_modules/saxes/package.json +55 -0
- package/node_modules/saxes/saxes.js +2053 -0
- package/node_modules/signal-exit/LICENSE.txt +16 -0
- package/node_modules/signal-exit/README.md +74 -0
- package/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/node_modules/signal-exit/package.json +93 -0
- package/node_modules/strip-final-newline/index.js +26 -0
- package/node_modules/strip-final-newline/license +9 -0
- package/node_modules/strip-final-newline/package.json +46 -0
- package/node_modules/strip-final-newline/readme.md +34 -0
- package/node_modules/tiny-inflate/LICENSE +21 -0
- package/node_modules/tiny-inflate/index.js +375 -0
- package/node_modules/tiny-inflate/package.json +25 -0
- package/node_modules/tiny-inflate/readme.md +31 -0
- package/node_modules/tiny-inflate/test/index.js +75 -0
- package/node_modules/tiny-inflate/test/lorem.txt +199 -0
- package/node_modules/unicode-properties/LICENSE +8 -0
- package/node_modules/unicode-properties/dist/main.cjs +150 -0
- package/node_modules/unicode-properties/dist/module.mjs +127 -0
- package/node_modules/unicode-properties/package.json +44 -0
- package/node_modules/unicode-properties/readme.md +78 -0
- package/node_modules/unicode-trie/LICENSE +8 -0
- package/node_modules/unicode-trie/README.md +77 -0
- package/node_modules/unicode-trie/builder.js +966 -0
- package/node_modules/unicode-trie/index.js +136 -0
- package/node_modules/unicode-trie/package.json +23 -0
- package/node_modules/unicode-trie/swap.js +25 -0
- package/node_modules/unicode-trie/test/mocha.opts +1 -0
- package/node_modules/unicode-trie/test/test.js +243 -0
- package/node_modules/unicorn-magic/default.js +14 -0
- package/node_modules/unicorn-magic/license +9 -0
- package/node_modules/unicorn-magic/node.js +49 -0
- package/node_modules/unicorn-magic/package.json +59 -0
- package/node_modules/unicorn-magic/readme.md +25 -0
- package/node_modules/which-command/cli.js +74 -0
- package/node_modules/which-command/index.js +170 -0
- package/node_modules/which-command/license +9 -0
- package/node_modules/which-command/package.json +46 -0
- package/node_modules/which-command/readme.md +121 -0
- package/node_modules/xmlchars/LICENSE +18 -0
- package/node_modules/xmlchars/README.md +33 -0
- package/node_modules/xmlchars/package.json +34 -0
- package/node_modules/xmlchars/xml/1.0/ed4.js +44 -0
- package/node_modules/xmlchars/xml/1.0/ed5.js +105 -0
- package/node_modules/xmlchars/xml/1.1/ed2.js +145 -0
- package/node_modules/xmlchars/xmlchars.js +191 -0
- package/node_modules/xmlchars/xmlns/1.0/ed3.js +65 -0
- package/node_modules/yoctocolors/base.js +118 -0
- package/node_modules/yoctocolors/index.js +2 -0
- package/node_modules/yoctocolors/license +9 -0
- package/node_modules/yoctocolors/package.json +66 -0
- package/node_modules/yoctocolors/readme.md +163 -0
- package/package.json +337 -246
- package/node_modules/@deepseek-ai/cordis-plugin-hmr/README.md +0 -51
- package/node_modules/@deepseek-ai/cordis-plugin-hmr/lib/index.js +0 -401
- package/node_modules/@deepseek-ai/cordis-plugin-hmr/src/error.ts +0 -36
- package/node_modules/@deepseek-ai/cordis-plugin-hmr/src/index.ts +0 -427
- package/node_modules/@deepseek-ai/dsh/lib/plugin-Bk_PbPwP.js +0 -130
- package/node_modules/@deepseek-ai/dsh/lib/profile-boot-DB8eVKBx.js +0 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BRtJ62WN.css +0 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Ly7KS3xS.js +0 -127
- /package/node_modules/@deepseek-ai/{cordis-plugin-hmr → dsh-hmr}/LICENSE +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { randomUUID } from "node:crypto";
|
|
2
|
-
import { CURSOR_MARKER, Container, Editor, Input, Loader, Markdown, ProcessTerminal, SelectList, Text, TuiMainScreen, decodeKittyPrintable, fuzzyFilter, matchesKey, sliceByColumn, stripTerminalSequences, visibleWidth, wrapTextWithAnsi } from "@earendil-works/pi-tui";
|
|
2
|
+
import { CURSOR_MARKER, Container, Editor, Input, Loader, Markdown, ProcessTerminal, SelectList, Text, TuiMainScreen, decodeKittyPrintable, fuzzyFilter, matchesKey, sliceByColumn, stripTerminalSequences, truncateToWidth, visibleWidth, wrapTextWithAnsi } from "@earendil-works/pi-tui";
|
|
3
3
|
import z from "@deepseek-ai/schemastery";
|
|
4
4
|
import { brandString } from "@deepseek-ai/dsh-brand";
|
|
5
5
|
import { installModelSelection } from "@deepseek-ai/dsh-agent";
|
|
@@ -444,9 +444,11 @@ function previewLines(lines, previewLines, expanded) {
|
|
|
444
444
|
//#region lib/types/catalog.js
|
|
445
445
|
/**
|
|
446
446
|
* Terminal rows for the browser's settings, plugins, subagents, deliverables,
|
|
447
|
-
* and turn-outline pages
|
|
448
|
-
*
|
|
449
|
-
* `
|
|
447
|
+
* changed-files, and turn-outline pages, and the plugin-management verbs the
|
|
448
|
+
* browser's Plugins page offers. Each reader resolves its service through
|
|
449
|
+
* `ctx.get` and throws an `Error` naming the absent service; the app prints
|
|
450
|
+
* the message. `subagentDetail` is the exception: it returns that message as a
|
|
451
|
+
* row.
|
|
450
452
|
* @module @deepseek-ai/dsh-tui-app/catalog
|
|
451
453
|
*/
|
|
452
454
|
var __addDisposableResource$1 = function(env, value, async) {
|
|
@@ -797,6 +799,191 @@ function sessionOutline(ctx, session) {
|
|
|
797
799
|
if (outline === void 0) throw new Error("the turnOutline projection is not registered in this profile");
|
|
798
800
|
return outline.flatMap(outlineRows);
|
|
799
801
|
}
|
|
802
|
+
/** The workspace-changes service, or a printable error naming its absence. */
|
|
803
|
+
function requireWorkspaceChanges(ctx) {
|
|
804
|
+
const changes = ctx.get("workspaceChanges");
|
|
805
|
+
if (changes === void 0) throw new Error("workspace changes are not recorded in this profile");
|
|
806
|
+
return changes;
|
|
807
|
+
}
|
|
808
|
+
/** `N file` or `N files`. */
|
|
809
|
+
function fileCount(total) {
|
|
810
|
+
return `${String(total)} file${total === 1 ? "" : "s"}`;
|
|
811
|
+
}
|
|
812
|
+
/**
|
|
813
|
+
* The files one turn changed, as `/changes` picker rows: the latest
|
|
814
|
+
* `workspace/changes` announcement of `turn`, or of the newest announced turn
|
|
815
|
+
* when `turn` is undefined, resolved through the Host's summary.
|
|
816
|
+
* @param ctx - plugin context carrying the optional workspace-changes service and session query engine.
|
|
817
|
+
* @param sessionId - the session whose log is read.
|
|
818
|
+
* @param turn - the turn to list, or undefined for the latest announced one.
|
|
819
|
+
* @param signal - cancels a cold log read.
|
|
820
|
+
* @returns the rows under the turn's totals, or undefined when no such turn was announced.
|
|
821
|
+
* @throws {Error} when either service is not mounted, or when the Host no longer holds the announced summary.
|
|
822
|
+
*/
|
|
823
|
+
async function listTurnChanges(ctx, sessionId, turn, signal) {
|
|
824
|
+
const env_3 = {
|
|
825
|
+
stack: [],
|
|
826
|
+
error: void 0,
|
|
827
|
+
hasError: false
|
|
828
|
+
};
|
|
829
|
+
try {
|
|
830
|
+
const changes = requireWorkspaceChanges(ctx);
|
|
831
|
+
const query = ctx.get("sessionQuery");
|
|
832
|
+
if (query === void 0) throw new Error("the session query engine is not mounted in this profile");
|
|
833
|
+
const observation = __addDisposableResource$1(env_3, await query.observeSession(sessionId, {
|
|
834
|
+
signal,
|
|
835
|
+
projectionMode: "none"
|
|
836
|
+
}), false);
|
|
837
|
+
let announced;
|
|
838
|
+
for (const event of observation.events) {
|
|
839
|
+
if (event.type !== "workspace/changes") continue;
|
|
840
|
+
if (turn !== void 0 && event.data.turn !== turn) continue;
|
|
841
|
+
announced = {
|
|
842
|
+
seq: event.seq,
|
|
843
|
+
turn: event.data.turn
|
|
844
|
+
};
|
|
845
|
+
}
|
|
846
|
+
if (announced === void 0) return void 0;
|
|
847
|
+
const summary = changes.summary(sessionId, announced.seq);
|
|
848
|
+
if (summary === void 0) throw new Error(`the changed files of turn ${String(announced.turn)} are no longer held by this host`);
|
|
849
|
+
const listed = summary.files.length === summary.total ? "" : ` (${String(summary.files.length)} listed)`;
|
|
850
|
+
return {
|
|
851
|
+
heading: `turn ${String(summary.turn)} · ${fileCount(summary.total)}${listed} · +${String(summary.added)} −${String(summary.deleted)}`,
|
|
852
|
+
choices: summary.files.map((file, index) => ({
|
|
853
|
+
index,
|
|
854
|
+
seq: announced.seq,
|
|
855
|
+
label: file.display,
|
|
856
|
+
description: file.binary === true ? "binary" : file.oversized === true ? "oversized" : `+${String(file.added)} −${String(file.deleted)}`
|
|
857
|
+
}))
|
|
858
|
+
};
|
|
859
|
+
} catch (e_3) {
|
|
860
|
+
env_3.error = e_3;
|
|
861
|
+
env_3.hasError = true;
|
|
862
|
+
} finally {
|
|
863
|
+
__disposeResources$1(env_3);
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
/**
|
|
867
|
+
* The one-row notice a `workspace/changes` event prints once its summary is read.
|
|
868
|
+
* @param summary - the announced turn's summary.
|
|
869
|
+
* @returns the turn's file and line totals, naming `/changes` for the files.
|
|
870
|
+
*/
|
|
871
|
+
function changesNotice(summary) {
|
|
872
|
+
return `turn ${String(summary.turn)} changed ${fileCount(summary.total)} (+${String(summary.added)} −${String(summary.deleted)}) · /changes`;
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* The comparison one `/changes` row opens: the file's turn-start and turn-end
|
|
876
|
+
* contents as unified hunks in the tool cards' diff row form, `@@` headers
|
|
877
|
+
* between them and `…` where hunks are apart.
|
|
878
|
+
* @param ctx - plugin context carrying the optional workspace-changes service.
|
|
879
|
+
* @param sessionId - the session the summary belongs to.
|
|
880
|
+
* @param choice - the entered picker row.
|
|
881
|
+
* @param signal - cancels the snapshot reads.
|
|
882
|
+
* @returns the rows; explanatory rows when no lines can be shown.
|
|
883
|
+
* @throws {Error} when the service is not mounted or a snapshot read fails.
|
|
884
|
+
*/
|
|
885
|
+
async function changeDiffRows(ctx, sessionId, choice, signal) {
|
|
886
|
+
const diff = await requireWorkspaceChanges(ctx).diff(sessionId, choice.seq, choice.index, signal);
|
|
887
|
+
if (diff === void 0) return [`${choice.label}: the comparison is no longer held by this host`];
|
|
888
|
+
switch (diff.kind) {
|
|
889
|
+
case "binary": return [`${diff.display}: binary content, no line comparison`];
|
|
890
|
+
case "oversized": return [`${diff.display}: larger than the comparison limit, no line comparison`];
|
|
891
|
+
case "text": {
|
|
892
|
+
const rows = [];
|
|
893
|
+
if (!diff.before) rows.push("new file");
|
|
894
|
+
if (!diff.after) rows.push("deleted");
|
|
895
|
+
if (diff.coarse) rows.push("comparison timed out: every line is shown as replaced");
|
|
896
|
+
if (diff.hunks.length === 0) rows.push("no line changes");
|
|
897
|
+
diff.hunks.forEach((hunk, index) => {
|
|
898
|
+
if (index > 0) rows.push(" …");
|
|
899
|
+
rows.push(`@@ -${String(hunk.oldStart)},${String(hunk.oldLines)} +${String(hunk.newStart)},${String(hunk.newLines)} @@`);
|
|
900
|
+
for (const line of hunk.lines) rows.push(`${line.slice(0, 1)} ${line.slice(1)}`);
|
|
901
|
+
});
|
|
902
|
+
return rows;
|
|
903
|
+
}
|
|
904
|
+
/* v8 ignore next -- closed-union exhaustiveness guard */
|
|
905
|
+
default: return assertNever(diff, "tui workspace file diff");
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
/** The plugin manager, or a printable error naming its absence. */
|
|
909
|
+
function requirePluginManager(ctx) {
|
|
910
|
+
const manager = ctx.get("pluginManager");
|
|
911
|
+
if (manager === void 0) throw new Error("plugin management is not mounted in this profile");
|
|
912
|
+
return manager;
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* One row per bundle the profile can manage: name, version, enablement, how
|
|
916
|
+
* the profile holds it, whether it can be removed, and its management error.
|
|
917
|
+
* @param ctx - plugin context carrying the optional plugin manager.
|
|
918
|
+
* @returns the rows in the manager's order.
|
|
919
|
+
* @throws {Error} when no plugin manager is mounted.
|
|
920
|
+
*/
|
|
921
|
+
async function listBundles(ctx) {
|
|
922
|
+
return (await requirePluginManager(ctx).listBundles()).map(bundleRow);
|
|
923
|
+
}
|
|
924
|
+
/** One bundle's facts, two spaces apart. */
|
|
925
|
+
function bundleRow(bundle) {
|
|
926
|
+
const held = bundle.installed ? "installed" : bundle.optional ? "optional" : "shipped";
|
|
927
|
+
const facts = [
|
|
928
|
+
bundle.name,
|
|
929
|
+
bundle.version ?? "-",
|
|
930
|
+
bundle.enabled ? "enabled" : "disabled",
|
|
931
|
+
held
|
|
932
|
+
];
|
|
933
|
+
if (bundle.removable) facts.push("removable");
|
|
934
|
+
if (bundle.readOnlyReason !== void 0) facts.push(`read-only (${bundle.readOnlyReason})`);
|
|
935
|
+
if (bundle.error !== void 0) facts.push(`error ${bundle.error.code}`);
|
|
936
|
+
return facts.join(" ");
|
|
937
|
+
}
|
|
938
|
+
/**
|
|
939
|
+
* Switch one plugin entry or one bundle on or off in the profile's persistent
|
|
940
|
+
* composition. A target naming a plugin entry id changes that entry;
|
|
941
|
+
* otherwise it names a bundle.
|
|
942
|
+
* @param ctx - plugin context carrying the optional plugin manager.
|
|
943
|
+
* @param target - a plugin entry id or a bundle name.
|
|
944
|
+
* @param enabled - the wanted state.
|
|
945
|
+
* @returns a confirmation row: the persisted change and how it applied.
|
|
946
|
+
* @throws {Error} when no plugin manager is mounted, when `target` names neither, or when the change failed.
|
|
947
|
+
*/
|
|
948
|
+
async function setPluginEnabled(ctx, target, enabled) {
|
|
949
|
+
const manager = requirePluginManager(ctx);
|
|
950
|
+
const plugin = (await manager.listPlugins()).find((candidate) => candidate.entryId === target);
|
|
951
|
+
if (plugin !== void 0) return reportChange(await manager.setPluginEnabled(plugin.entryId, enabled));
|
|
952
|
+
const bundle = (await manager.listBundles()).find((candidate) => candidate.name === target);
|
|
953
|
+
if (bundle !== void 0) return reportChange(await manager.setBundleEnabled(bundle.name, enabled));
|
|
954
|
+
throw new Error(`"${target}" is neither a plugin entry nor a bundle of this profile`);
|
|
955
|
+
}
|
|
956
|
+
/**
|
|
957
|
+
* Install one bundle into the profile and enable it.
|
|
958
|
+
* @param ctx - plugin context carrying the optional plugin manager.
|
|
959
|
+
* @param spec - what pnpm should add: a registry name, a path, a git address, or a tarball.
|
|
960
|
+
* @returns a confirmation row: the installation and how it applied.
|
|
961
|
+
* @throws {Error} when no plugin manager is mounted or the installation failed.
|
|
962
|
+
*/
|
|
963
|
+
async function installBundle(ctx, spec) {
|
|
964
|
+
return reportChange(await requirePluginManager(ctx).installBundle(spec));
|
|
965
|
+
}
|
|
966
|
+
/**
|
|
967
|
+
* Remove one installed bundle from the profile.
|
|
968
|
+
* @param ctx - plugin context carrying the optional plugin manager.
|
|
969
|
+
* @param name - the bundle's package name.
|
|
970
|
+
* @returns a confirmation row: the removal and how it applied.
|
|
971
|
+
* @throws {Error} when no plugin manager is mounted or the removal failed.
|
|
972
|
+
*/
|
|
973
|
+
async function removeBundle(ctx, name) {
|
|
974
|
+
return reportChange(await requirePluginManager(ctx).removeBundle(name));
|
|
975
|
+
}
|
|
976
|
+
/** One row over a change result; a failed change is thrown so the surface prints the row as an error. */
|
|
977
|
+
function reportChange(result) {
|
|
978
|
+
const facts = [`${result.stage} ${result.target}: ${result.changed ? result.application : `unchanged, ${result.application}`}`];
|
|
979
|
+
if (result.bundle !== void 0 && result.bundle !== result.target) facts.push(`bundle ${result.bundle}`);
|
|
980
|
+
if (result.error !== void 0) facts.push(result.error.diagnostic === void 0 ? result.error.code : `${result.error.code}: ${result.error.diagnostic}`);
|
|
981
|
+
if (result.pendingBuilds !== void 0 && result.pendingBuilds.length > 0) facts.push(`scripts awaiting approval: ${result.pendingBuilds.join(", ")}`);
|
|
982
|
+
if (result.warnings !== void 0) facts.push(...result.warnings);
|
|
983
|
+
const text = facts.join(" · ");
|
|
984
|
+
if (result.application === "failed") throw new Error(text);
|
|
985
|
+
return text;
|
|
986
|
+
}
|
|
800
987
|
/** Control Sequence Introducer. */
|
|
801
988
|
const CSI = "\x1B[";
|
|
802
989
|
/**
|
|
@@ -827,6 +1014,10 @@ const LUMINANCE = {
|
|
|
827
1014
|
};
|
|
828
1015
|
/** Largest value one color channel encodes. */
|
|
829
1016
|
const CHANNEL_MAX = 255;
|
|
1017
|
+
/** Channel scale SGR faint applies when a float-out reads a dim run. */
|
|
1018
|
+
const DIM_CHANNEL = .5;
|
|
1019
|
+
/** How far a float-out lifts a color that is already brighter than `fg` toward white. */
|
|
1020
|
+
const LIFT_TOWARD_WHITE = .5;
|
|
830
1021
|
/** Encoded sRGB value below which the transfer function is the linear segment. */
|
|
831
1022
|
const SRGB_LINEAR_CUT = .04045;
|
|
832
1023
|
/** Linear intensity below which the sRGB transfer function is the linear segment. */
|
|
@@ -906,6 +1097,34 @@ function mix(from, to, ratio) {
|
|
|
906
1097
|
return toSrgb(linear + (toLinear(to) - linear) * ratio);
|
|
907
1098
|
}
|
|
908
1099
|
/**
|
|
1100
|
+
* Mix `from` toward `to` with the same smoothstep-in-linear-light interpolation
|
|
1101
|
+
* {@link buildFadeRamp} uses. Positions at or below 0 and at or above 1 return
|
|
1102
|
+
* that endpoint's bytes, so a float-out's last computed mix can match the
|
|
1103
|
+
* settled color it recedes toward.
|
|
1104
|
+
* @param from - the color at t = 0.
|
|
1105
|
+
* @param to - the color at t = 1.
|
|
1106
|
+
* @param t - position along the mix; values outside 0..1 clamp to an endpoint.
|
|
1107
|
+
* @returns the mixed sRGB color.
|
|
1108
|
+
*/
|
|
1109
|
+
function mixFadeColor(from, to, t) {
|
|
1110
|
+
if (t <= 0) return {
|
|
1111
|
+
r: from.r,
|
|
1112
|
+
g: from.g,
|
|
1113
|
+
b: from.b
|
|
1114
|
+
};
|
|
1115
|
+
if (t >= 1) return {
|
|
1116
|
+
r: to.r,
|
|
1117
|
+
g: to.g,
|
|
1118
|
+
b: to.b
|
|
1119
|
+
};
|
|
1120
|
+
const eased = t * t * (3 - 2 * t);
|
|
1121
|
+
return {
|
|
1122
|
+
r: mix(from.r, to.r, eased),
|
|
1123
|
+
g: mix(from.g, to.g, eased),
|
|
1124
|
+
b: mix(from.b, to.b, eased)
|
|
1125
|
+
};
|
|
1126
|
+
}
|
|
1127
|
+
/**
|
|
909
1128
|
* Decode one sRGB channel to linear light, by the sRGB transfer function.
|
|
910
1129
|
* @param value - the channel byte.
|
|
911
1130
|
* @returns the linear intensity in 0..1.
|
|
@@ -934,7 +1153,7 @@ function toSrgb(value) {
|
|
|
934
1153
|
function fadeSgr(style, age) {
|
|
935
1154
|
if (style.capability === "none") return "";
|
|
936
1155
|
if (style.capability === "dim") return age < DIM_AGES ? DIM : "";
|
|
937
|
-
const level = style.ramp[Math.max(0, Math.min(age, style.ramp.length - 1))];
|
|
1156
|
+
const level = style.ramp[Math.max(0, Math.min(Math.floor(age), style.ramp.length - 1))];
|
|
938
1157
|
if (level === void 0) return "";
|
|
939
1158
|
return style.capability === "truecolor" ? truecolorSgr(level) : grayscaleSgr(level);
|
|
940
1159
|
}
|
|
@@ -976,31 +1195,340 @@ function restoreFor(capability) {
|
|
|
976
1195
|
/** Every SGR sequence, the sequences a block's own palette styling writes. */
|
|
977
1196
|
const SGR_SEQUENCE = /\u001b\[[0-9;]*m/g;
|
|
978
1197
|
/**
|
|
979
|
-
* Draw whole rendered lines
|
|
980
|
-
*
|
|
1198
|
+
* Draw whole rendered lines as a float-out: each SGR run starts at a lifted
|
|
1199
|
+
* mix toward the assumed foreground and recedes to the run's own settled
|
|
1200
|
+
* color. At `age >= ramp.length` the lines come back byte-identical, so the
|
|
1201
|
+
* palette sequences win without a snap. The two-level mode overlays faint for
|
|
1202
|
+
* the whole flight; the caller stops invoking this once the clock settles.
|
|
981
1203
|
*
|
|
982
|
-
* The
|
|
983
|
-
* the
|
|
984
|
-
*
|
|
985
|
-
*
|
|
986
|
-
*
|
|
987
|
-
* its normal intensity in the two-level mode - so the level never leaks past
|
|
988
|
-
* the line it was applied to. Empty lines come back byte-identical, so
|
|
989
|
-
* the renderer leaves the blank rows around a card alone.
|
|
1204
|
+
* The mix is opened after every SGR the line already carries, so the status
|
|
1205
|
+
* glyph, the dim body rule, and the bold tool name each recede toward their
|
|
1206
|
+
* own color. Each line ends with the sequence that undoes the overlay, so the
|
|
1207
|
+
* mix never leaks past the line it was applied to. Empty lines come back
|
|
1208
|
+
* byte-identical, so the renderer leaves the blank rows around a card alone.
|
|
990
1209
|
* @param lines - the rendered lines of the block.
|
|
991
|
-
* @param age -
|
|
992
|
-
* @param style - the capability and the ramp.
|
|
993
|
-
* @param from - first line the
|
|
1210
|
+
* @param age - elapsed time in units of `stepMs`; `ramp.length` is t = 1.
|
|
1211
|
+
* @param style - the capability and the ramp whose last level is the assumed foreground.
|
|
1212
|
+
* @param from - first line the mix is applied to; the lines before it come
|
|
994
1213
|
* back byte-identical, which is how a caller keeps rows the renderer can no
|
|
995
1214
|
* longer repaint out of the fade.
|
|
996
|
-
* @returns the lines at that
|
|
997
|
-
*
|
|
1215
|
+
* @returns the lines at that mix; copies when the style writes no sequence,
|
|
1216
|
+
* which is what the `none` capability and a settled age yield.
|
|
998
1217
|
*/
|
|
999
1218
|
function recolorLines(lines, age, style, from = 0) {
|
|
1000
|
-
const
|
|
1001
|
-
if (
|
|
1002
|
-
|
|
1003
|
-
|
|
1219
|
+
const capability = style.capability;
|
|
1220
|
+
if (capability === "none") return [...lines];
|
|
1221
|
+
if (capability === "dim") return lines.map((line, index) => index < from || line === "" ? line : `${DIM}${line}${RESET_INTENSITY}`);
|
|
1222
|
+
const steps = style.ramp.length;
|
|
1223
|
+
const fg = style.ramp[steps - 1];
|
|
1224
|
+
if (fg === void 0 || age >= steps) return [...lines];
|
|
1225
|
+
const t = age / steps;
|
|
1226
|
+
return lines.map((line, index) => index < from || line === "" ? line : floatOutLine(line, t, capability, fg));
|
|
1227
|
+
}
|
|
1228
|
+
/** Assumed terminal white, used only to lift a settled color that is already brighter than `fg`. */
|
|
1229
|
+
const WHITE_RGB = {
|
|
1230
|
+
r: CHANNEL_MAX,
|
|
1231
|
+
g: CHANNEL_MAX,
|
|
1232
|
+
b: CHANNEL_MAX
|
|
1233
|
+
};
|
|
1234
|
+
/** xterm 16-color palette, indices 0..15. */
|
|
1235
|
+
const ANSI16 = [
|
|
1236
|
+
{
|
|
1237
|
+
r: 0,
|
|
1238
|
+
g: 0,
|
|
1239
|
+
b: 0
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
r: 205,
|
|
1243
|
+
g: 0,
|
|
1244
|
+
b: 0
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
r: 0,
|
|
1248
|
+
g: 205,
|
|
1249
|
+
b: 0
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
r: 205,
|
|
1253
|
+
g: 205,
|
|
1254
|
+
b: 0
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
r: 0,
|
|
1258
|
+
g: 0,
|
|
1259
|
+
b: 238
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
r: 205,
|
|
1263
|
+
g: 0,
|
|
1264
|
+
b: 205
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
r: 0,
|
|
1268
|
+
g: 205,
|
|
1269
|
+
b: 205
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
r: 229,
|
|
1273
|
+
g: 229,
|
|
1274
|
+
b: 229
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
r: 127,
|
|
1278
|
+
g: 127,
|
|
1279
|
+
b: 127
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
r: 255,
|
|
1283
|
+
g: 0,
|
|
1284
|
+
b: 0
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
r: 0,
|
|
1288
|
+
g: 255,
|
|
1289
|
+
b: 0
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
r: 255,
|
|
1293
|
+
g: 255,
|
|
1294
|
+
b: 0
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
r: 92,
|
|
1298
|
+
g: 92,
|
|
1299
|
+
b: 255
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
r: 255,
|
|
1303
|
+
g: 0,
|
|
1304
|
+
b: 255
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
r: 0,
|
|
1308
|
+
g: 255,
|
|
1309
|
+
b: 255
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
r: 255,
|
|
1313
|
+
g: 255,
|
|
1314
|
+
b: 255
|
|
1315
|
+
}
|
|
1316
|
+
];
|
|
1317
|
+
/**
|
|
1318
|
+
* Relative luminance of one sRGB color, using the same weights as the grayscale encoder.
|
|
1319
|
+
* @param color - the color.
|
|
1320
|
+
* @returns the weighted sum of the channels.
|
|
1321
|
+
*/
|
|
1322
|
+
function colorLuminance(color) {
|
|
1323
|
+
return LUMINANCE.r * color.r + LUMINANCE.g * color.g + LUMINANCE.b * color.b;
|
|
1324
|
+
}
|
|
1325
|
+
/**
|
|
1326
|
+
* The color a float-out starts from: the assumed foreground when that is
|
|
1327
|
+
* brighter than the settle, otherwise a mix toward white.
|
|
1328
|
+
* @param settled - the run's color at t = 1.
|
|
1329
|
+
* @param fg - the assumed terminal foreground.
|
|
1330
|
+
* @returns the lifted color at t = 0.
|
|
1331
|
+
*/
|
|
1332
|
+
function liftColor(settled, fg) {
|
|
1333
|
+
return colorLuminance(fg) >= colorLuminance(settled) ? fg : mixFadeColor(settled, WHITE_RGB, LIFT_TOWARD_WHITE);
|
|
1334
|
+
}
|
|
1335
|
+
/**
|
|
1336
|
+
* Apply SGR faint as a channel scale, matching what a dim palette run looks like.
|
|
1337
|
+
* @param color - the undimmed RGB.
|
|
1338
|
+
* @returns the dimmed RGB.
|
|
1339
|
+
*/
|
|
1340
|
+
function dimColor(color) {
|
|
1341
|
+
return {
|
|
1342
|
+
r: Math.round(color.r * DIM_CHANNEL),
|
|
1343
|
+
g: Math.round(color.g * DIM_CHANNEL),
|
|
1344
|
+
b: Math.round(color.b * DIM_CHANNEL)
|
|
1345
|
+
};
|
|
1346
|
+
}
|
|
1347
|
+
/**
|
|
1348
|
+
* The RGB a run settles at, given the SGR in force and the assumed default foreground.
|
|
1349
|
+
* @param state - the SGR foreground and dim flag.
|
|
1350
|
+
* @param fg - the assumed default foreground.
|
|
1351
|
+
* @returns the settled color the mix recedes toward.
|
|
1352
|
+
*/
|
|
1353
|
+
function settledRgb(state, fg) {
|
|
1354
|
+
const base = state.color ?? fg;
|
|
1355
|
+
return state.dim ? dimColor(base) : base;
|
|
1356
|
+
}
|
|
1357
|
+
/**
|
|
1358
|
+
* Encode one mixed color under a color capability.
|
|
1359
|
+
* @param capability - `truecolor` or `ansi256`.
|
|
1360
|
+
* @param color - the mixed RGB.
|
|
1361
|
+
* @returns the SGR sequence, or empty when the capability cannot encode a mix.
|
|
1362
|
+
*/
|
|
1363
|
+
function encodeMix(capability, color) {
|
|
1364
|
+
return capability === "truecolor" ? truecolorSgr(color) : `${CSI}38;5;${String(nearestAnsi256(color))}m`;
|
|
1365
|
+
}
|
|
1366
|
+
/**
|
|
1367
|
+
* Rebuild one card row as a per-run float-out mix.
|
|
1368
|
+
* @param line - the rendered line.
|
|
1369
|
+
* @param t - 0 at lift, 1 at settle.
|
|
1370
|
+
* @param capability - how the mix is encoded.
|
|
1371
|
+
* @param fg - the assumed default foreground.
|
|
1372
|
+
* @returns the line with each run overlaid, closed by {@link RESET_FOREGROUND}.
|
|
1373
|
+
*/
|
|
1374
|
+
function floatOutLine(line, t, capability, fg) {
|
|
1375
|
+
let out = "";
|
|
1376
|
+
let last = 0;
|
|
1377
|
+
const state = {
|
|
1378
|
+
color: void 0,
|
|
1379
|
+
dim: false
|
|
1380
|
+
};
|
|
1381
|
+
for (const match of line.matchAll(SGR_SEQUENCE)) {
|
|
1382
|
+
const start = match.index;
|
|
1383
|
+
if (start > last) out += paintSegment(line.slice(last, start), state, t, capability, fg);
|
|
1384
|
+
applySgr(state, match[0]);
|
|
1385
|
+
out += match[0];
|
|
1386
|
+
last = start + match[0].length;
|
|
1387
|
+
}
|
|
1388
|
+
if (last < line.length) out += paintSegment(line.slice(last), state, t, capability, fg);
|
|
1389
|
+
return `${out}${RESET_FOREGROUND}`;
|
|
1390
|
+
}
|
|
1391
|
+
/**
|
|
1392
|
+
* Overlay one text run with the float-out mix for the SGR in force.
|
|
1393
|
+
* @param text - the run's characters, with no SGR.
|
|
1394
|
+
* @param state - the SGR in force.
|
|
1395
|
+
* @param t - 0 at lift, 1 at settle.
|
|
1396
|
+
* @param capability - how the mix is encoded.
|
|
1397
|
+
* @param fg - the assumed default foreground.
|
|
1398
|
+
* @returns the run prefixed by intensity-reset and the mixed color.
|
|
1399
|
+
*/
|
|
1400
|
+
function paintSegment(text, state, t, capability, fg) {
|
|
1401
|
+
const settled = settledRgb(state, fg);
|
|
1402
|
+
return `${RESET_INTENSITY}${encodeMix(capability, mixFadeColor(liftColor(settled, fg), settled, t))}${text}`;
|
|
1403
|
+
}
|
|
1404
|
+
/**
|
|
1405
|
+
* The float-out sequence one reasoning span draws under, toward dimmed `fg`.
|
|
1406
|
+
* @param style - the capability and the ramp.
|
|
1407
|
+
* @param age - elapsed time in units of `stepMs`.
|
|
1408
|
+
* @returns the sequence, or empty once `age` reaches the ramp length.
|
|
1409
|
+
*/
|
|
1410
|
+
function floatOutSpanSgr(style, age) {
|
|
1411
|
+
if (style.capability === "dim") return DIM;
|
|
1412
|
+
if (style.capability !== "truecolor" && style.capability !== "ansi256") return "";
|
|
1413
|
+
const steps = style.ramp.length;
|
|
1414
|
+
const fg = style.ramp[steps - 1];
|
|
1415
|
+
if (fg === void 0 || age >= steps) return "";
|
|
1416
|
+
const settled = dimColor(fg);
|
|
1417
|
+
const mixed = mixFadeColor(liftColor(settled, fg), settled, age / steps);
|
|
1418
|
+
return `${RESET_INTENSITY}${encodeMix(style.capability, mixed)}`;
|
|
1419
|
+
}
|
|
1420
|
+
/**
|
|
1421
|
+
* Apply one SGR sequence to the float-out foreground state.
|
|
1422
|
+
* @param state - the state to update.
|
|
1423
|
+
* @param sequence - a CSI SGR including the trailing `m`.
|
|
1424
|
+
*/
|
|
1425
|
+
function applySgr(state, sequence) {
|
|
1426
|
+
const body = sequence.slice(2, -1);
|
|
1427
|
+
const parts = body === "" ? [0] : body.split(";").map((part) => part === "" ? 0 : Number(part));
|
|
1428
|
+
for (let index = 0; index < parts.length; index += 1) {
|
|
1429
|
+
const code = colorParam(parts, index);
|
|
1430
|
+
if (code === 0) {
|
|
1431
|
+
state.color = void 0;
|
|
1432
|
+
state.dim = false;
|
|
1433
|
+
} else if (code === 2) state.dim = true;
|
|
1434
|
+
else if (code === 22) state.dim = false;
|
|
1435
|
+
else if (code === 39) state.color = void 0;
|
|
1436
|
+
else if (code >= 30 && code <= 37) state.color = ANSI16[code - 30];
|
|
1437
|
+
else if (code >= 90 && code <= 97) state.color = ANSI16[code - 90 + 8];
|
|
1438
|
+
else if (code === 38) {
|
|
1439
|
+
const read = readExtendedColor(parts, index);
|
|
1440
|
+
state.color = read.color;
|
|
1441
|
+
index += read.skip;
|
|
1442
|
+
} else if (code === 48) index += readExtendedColor(parts, index).skip;
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
/**
|
|
1446
|
+
* Consume an ITU T.416 extended color (`38`/`48` plus `2;R;G;B` or `5;N`).
|
|
1447
|
+
* @param parts - the SGR parameter list.
|
|
1448
|
+
* @param index - index of the `38` or `48` code.
|
|
1449
|
+
* @returns the RGB for a foreground read, and how many following parameters were consumed.
|
|
1450
|
+
*/
|
|
1451
|
+
function readExtendedColor(parts, index) {
|
|
1452
|
+
const mode = parts[index + 1];
|
|
1453
|
+
if (mode === 2) return {
|
|
1454
|
+
color: {
|
|
1455
|
+
r: channel(colorParam(parts, index + 2)),
|
|
1456
|
+
g: channel(colorParam(parts, index + 3)),
|
|
1457
|
+
b: channel(colorParam(parts, index + 4))
|
|
1458
|
+
},
|
|
1459
|
+
skip: 4
|
|
1460
|
+
};
|
|
1461
|
+
if (mode === 5) return {
|
|
1462
|
+
color: ansi256Rgb(colorParam(parts, index + 2)),
|
|
1463
|
+
skip: 2
|
|
1464
|
+
};
|
|
1465
|
+
return {
|
|
1466
|
+
color: void 0,
|
|
1467
|
+
skip: mode === void 0 ? 0 : 1
|
|
1468
|
+
};
|
|
1469
|
+
}
|
|
1470
|
+
/**
|
|
1471
|
+
* Read one SGR numeric parameter, defaulting a missing slot to 0.
|
|
1472
|
+
* @param parts - the SGR parameter list.
|
|
1473
|
+
* @param index - the slot to read.
|
|
1474
|
+
* @returns the parameter, or 0 when it is absent.
|
|
1475
|
+
*/
|
|
1476
|
+
function colorParam(parts, index) {
|
|
1477
|
+
return parts[index] ?? 0;
|
|
1478
|
+
}
|
|
1479
|
+
/**
|
|
1480
|
+
* RGB for one xterm 256-color index.
|
|
1481
|
+
* @param index - 0..255.
|
|
1482
|
+
* @returns the palette color, clamped onto the table.
|
|
1483
|
+
*/
|
|
1484
|
+
function ansi256Rgb(index) {
|
|
1485
|
+
const n = Math.max(0, Math.min(255, Math.floor(index)));
|
|
1486
|
+
if (n < 16) {
|
|
1487
|
+
const color = ANSI16[n];
|
|
1488
|
+
/* v8 ignore next -- ANSI16 has 16 entries and n is already clamped to 0..15 */
|
|
1489
|
+
if (color === void 0) return {
|
|
1490
|
+
r: 0,
|
|
1491
|
+
g: 0,
|
|
1492
|
+
b: 0
|
|
1493
|
+
};
|
|
1494
|
+
return color;
|
|
1495
|
+
}
|
|
1496
|
+
if (n >= GRAY_FIRST_INDEX) {
|
|
1497
|
+
const value = GRAY_FIRST_VALUE + (n - GRAY_FIRST_INDEX) * GRAY_VALUE_STEP;
|
|
1498
|
+
return {
|
|
1499
|
+
r: value,
|
|
1500
|
+
g: value,
|
|
1501
|
+
b: value
|
|
1502
|
+
};
|
|
1503
|
+
}
|
|
1504
|
+
const cube = n - 16;
|
|
1505
|
+
const r = Math.floor(cube / 36);
|
|
1506
|
+
const g = Math.floor(cube % 36 / 6);
|
|
1507
|
+
const b = cube % 6;
|
|
1508
|
+
const level = (step) => step === 0 ? 0 : 55 + step * 40;
|
|
1509
|
+
return {
|
|
1510
|
+
r: level(r),
|
|
1511
|
+
g: level(g),
|
|
1512
|
+
b: level(b)
|
|
1513
|
+
};
|
|
1514
|
+
}
|
|
1515
|
+
/**
|
|
1516
|
+
* Nearest xterm 256-color index to one RGB, by squared channel distance.
|
|
1517
|
+
* @param color - the mixed RGB.
|
|
1518
|
+
* @returns an index in 0..255.
|
|
1519
|
+
*/
|
|
1520
|
+
function nearestAnsi256(color) {
|
|
1521
|
+
let best = 0;
|
|
1522
|
+
let bestDist = Infinity;
|
|
1523
|
+
for (let n = 0; n < 256; n += 1) {
|
|
1524
|
+
const candidate = ansi256Rgb(n);
|
|
1525
|
+
const dist = (candidate.r - color.r) ** 2 + (candidate.g - color.g) ** 2 + (candidate.b - color.b) ** 2;
|
|
1526
|
+
if (dist < bestDist) {
|
|
1527
|
+
bestDist = dist;
|
|
1528
|
+
best = n;
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
return best;
|
|
1004
1532
|
}
|
|
1005
1533
|
/**
|
|
1006
1534
|
* The tail of one streaming region - the visible text or the reasoning of one
|
|
@@ -1015,8 +1543,8 @@ function recolorLines(lines, age, style, from = 0) {
|
|
|
1015
1543
|
* Ages are read, never counted. A chunk's age is the elapsed time since it
|
|
1016
1544
|
* became visible divided by `stepMs`, computed at the moment a render asks for
|
|
1017
1545
|
* it, so a render triggered by a delta between two fade periods draws every
|
|
1018
|
-
* word at its own
|
|
1019
|
-
*
|
|
1546
|
+
* word at its own mix and words do not move in lockstep. Fade-in floors that
|
|
1547
|
+
* age onto a ramp slot; float-out uses the fractional value.
|
|
1020
1548
|
*
|
|
1021
1549
|
* Arrival rate changes the tail's length, never its depth: whatever the rate,
|
|
1022
1550
|
* a chunk is at the foreground `steps * stepMs` after it appeared, so a fast
|
|
@@ -1065,7 +1593,7 @@ var FadeTracker = class {
|
|
|
1065
1593
|
* Drop the chunks that reached the step count, which the application runs
|
|
1066
1594
|
* once per fade period so a settled chunk stops being matched against the
|
|
1067
1595
|
* rendered lines.
|
|
1068
|
-
* @returns whether a chunk still
|
|
1596
|
+
* @returns whether a chunk is still younger than `steps * stepMs`, and
|
|
1069
1597
|
* so whether the tail keeps moving after this period.
|
|
1070
1598
|
*/
|
|
1071
1599
|
tick() {
|
|
@@ -1076,11 +1604,10 @@ var FadeTracker = class {
|
|
|
1076
1604
|
}
|
|
1077
1605
|
/**
|
|
1078
1606
|
* Whether the current frame still differs from the settled rendering.
|
|
1079
|
-
* @returns true while a tracked chunk
|
|
1080
|
-
* is the only reason to keep ticking.
|
|
1607
|
+
* @returns true while a tracked chunk is younger than `steps * stepMs`.
|
|
1081
1608
|
*/
|
|
1082
1609
|
needsRepaint() {
|
|
1083
|
-
return this.chunks.some((chunk) => this.ageOf(chunk) < this.steps
|
|
1610
|
+
return this.chunks.some((chunk) => this.ageOf(chunk) < this.steps);
|
|
1084
1611
|
}
|
|
1085
1612
|
/**
|
|
1086
1613
|
* The tail {@link recolorTail} recolors.
|
|
@@ -1103,21 +1630,22 @@ var FadeTracker = class {
|
|
|
1103
1630
|
this.openChunk = void 0;
|
|
1104
1631
|
}
|
|
1105
1632
|
/**
|
|
1106
|
-
* The brightness
|
|
1633
|
+
* The brightness age one chunk draws at right now.
|
|
1107
1634
|
* @param chunk - the tracked chunk.
|
|
1108
|
-
* @returns
|
|
1635
|
+
* @returns elapsed time since it became visible, in units of `stepMs`.
|
|
1109
1636
|
*/
|
|
1110
1637
|
ageOf(chunk) {
|
|
1111
|
-
return
|
|
1638
|
+
return (this.now() - chunk.bornAt) / this.stepMs;
|
|
1112
1639
|
}
|
|
1113
1640
|
};
|
|
1114
1641
|
/**
|
|
1115
|
-
* The age of one whole block that
|
|
1642
|
+
* The age of one whole block that floats out as a unit - a tool card's rows,
|
|
1116
1643
|
* which arrive complete rather than word by word.
|
|
1117
1644
|
*
|
|
1118
|
-
*
|
|
1119
|
-
*
|
|
1120
|
-
* the
|
|
1645
|
+
* Progress is `elapsed / (steps * stepMs)`, eased by the same smoothstep the
|
|
1646
|
+
* ramp uses. {@link BlockFadeClock.age} stays defined until that progress
|
|
1647
|
+
* reaches 1, so the last overlay frame can sit near the settled colors and
|
|
1648
|
+
* the next frame is the component's own bytes.
|
|
1121
1649
|
*/
|
|
1122
1650
|
var BlockFadeClock = class {
|
|
1123
1651
|
options;
|
|
@@ -1125,18 +1653,25 @@ var BlockFadeClock = class {
|
|
|
1125
1653
|
this.options = options;
|
|
1126
1654
|
}
|
|
1127
1655
|
/**
|
|
1128
|
-
*
|
|
1129
|
-
* @returns
|
|
1130
|
-
* level and renders in the colors the component itself produced.
|
|
1656
|
+
* How far through the float-out this block is.
|
|
1657
|
+
* @returns 0 at birth, 1 at or after `steps * stepMs`.
|
|
1131
1658
|
*/
|
|
1132
|
-
|
|
1659
|
+
progress() {
|
|
1133
1660
|
const { bornAt, stepMs, steps, now } = this.options;
|
|
1134
|
-
|
|
1135
|
-
return age < steps - 1 ? age : void 0;
|
|
1661
|
+
return Math.min(1, Math.max(0, (now() - bornAt) / (steps * stepMs)));
|
|
1136
1662
|
}
|
|
1137
1663
|
/**
|
|
1138
|
-
*
|
|
1139
|
-
* @returns
|
|
1664
|
+
* The fractional age the block draws at right now, in units of `stepMs`.
|
|
1665
|
+
* @returns `progress * steps`, or undefined once progress has reached 1 and
|
|
1666
|
+
* the block renders in the colors the component itself produced.
|
|
1667
|
+
*/
|
|
1668
|
+
age() {
|
|
1669
|
+
const t = this.progress();
|
|
1670
|
+
return t >= 1 ? void 0 : t * this.options.steps;
|
|
1671
|
+
}
|
|
1672
|
+
/**
|
|
1673
|
+
* Whether this block still draws below the settled colors.
|
|
1674
|
+
* @returns true while {@link BlockFadeClock.age} yields a value.
|
|
1140
1675
|
*/
|
|
1141
1676
|
needsRepaint() {
|
|
1142
1677
|
return this.age() !== void 0;
|
|
@@ -1189,27 +1724,32 @@ var FadeRegistry = class {
|
|
|
1189
1724
|
*
|
|
1190
1725
|
* Styling inside a recolored run survives. The run reasserts the sequences in
|
|
1191
1726
|
* force at its start, so an enclosing bold or italic continues across it; an
|
|
1192
|
-
* enclosing foreground color reasserted there wins over the ramp, and
|
|
1193
|
-
* simply does not fade. Each recolored line ends with `ESC[39m` (or
|
|
1194
|
-
* in the two-level mode, which also ends bold) after the line's own
|
|
1195
|
-
* sequences, so the recolor never leaks past the line it was applied
|
|
1727
|
+
* enclosing foreground color reasserted there wins over the fade-in ramp, and
|
|
1728
|
+
* that run simply does not fade. Each recolored line ends with `ESC[39m` (or
|
|
1729
|
+
* `ESC[22m` in the two-level mode, which also ends bold) after the line's own
|
|
1730
|
+
* closing sequences, so the recolor never leaks past the line it was applied
|
|
1731
|
+
* to. Float-out resets intensity before the mixed color so a dim wrapper does
|
|
1732
|
+
* not stack on the overlay, and at t >= 1 the original lines come back
|
|
1733
|
+
* unchanged.
|
|
1196
1734
|
* @param lines - the rendered lines of the streaming block, newest text last.
|
|
1197
1735
|
* @param spans - the tail from {@link FadeTracker.spans}, oldest first.
|
|
1198
1736
|
* @param style - the capability and the ramp.
|
|
1199
1737
|
* @param from - first line the tail may recolor; the lines before it come back
|
|
1200
1738
|
* byte-identical, which is how a caller keeps rows the renderer can no longer
|
|
1201
1739
|
* repaint out of the fade.
|
|
1740
|
+
* @param mode - `in` climbs {@link buildFadeRamp}; `out` recedes toward the
|
|
1741
|
+
* dim foreground reasoning settles in. Defaults to `in`.
|
|
1202
1742
|
* @returns the lines with the tail recolored; lines the tail does not cover
|
|
1203
1743
|
* are returned byte-identical, so the renderer leaves them alone.
|
|
1204
1744
|
*/
|
|
1205
|
-
function recolorTail(lines, spans, style, from = 0) {
|
|
1206
|
-
if (
|
|
1745
|
+
function recolorTail(lines, spans, style, from = 0, mode = "in") {
|
|
1746
|
+
if (spans.length === 0 || lines.length === 0) return [...lines];
|
|
1207
1747
|
const cells = cellsFromEnd(lines);
|
|
1208
1748
|
const runs = [];
|
|
1209
1749
|
for (const span of [...spans].reverse()) {
|
|
1210
1750
|
const covered = consumeSpan(cells, span.text);
|
|
1211
1751
|
if (covered === void 0) break;
|
|
1212
|
-
const sgr = fadeSgr(style, span.age);
|
|
1752
|
+
const sgr = mode === "out" ? floatOutSpanSgr(style, span.age) : fadeSgr(style, span.age);
|
|
1213
1753
|
if (sgr !== "") collectRuns(runs, covered, sgr);
|
|
1214
1754
|
}
|
|
1215
1755
|
const byLine = /* @__PURE__ */ new Map();
|
|
@@ -1513,8 +2053,9 @@ var NoticeBlock = class {
|
|
|
1513
2053
|
* durable `assistant/message` replaces both with the committed content.
|
|
1514
2054
|
*
|
|
1515
2055
|
* A block that is streaming right now can carry a {@link FadeRender} for its
|
|
1516
|
-
* text and another for its reasoning
|
|
1517
|
-
*
|
|
2056
|
+
* text and another for its reasoning. Visible text draws newest words dimmed
|
|
2057
|
+
* and brightening; reasoning floats out from a lifted color toward the dim
|
|
2058
|
+
* italic it settles in. A block rebuilt from history carries neither, and
|
|
1518
2059
|
* {@link AssistantBlock.commit} drops the ones a streaming block had, so
|
|
1519
2060
|
* settled text is never recolored.
|
|
1520
2061
|
*/
|
|
@@ -1596,7 +2137,7 @@ var AssistantBlock = class {
|
|
|
1596
2137
|
setRepaintFloor(floor) {
|
|
1597
2138
|
if (floor <= this.repaintFloor) return false;
|
|
1598
2139
|
this.repaintFloor = floor;
|
|
1599
|
-
return
|
|
2140
|
+
return this.fade !== void 0 && fadingInSpans(this.fade).length > 0 || this.reasoningFade !== void 0 && floatingOutSpans(this.reasoningFade).length > 0;
|
|
1600
2141
|
}
|
|
1601
2142
|
/**
|
|
1602
2143
|
* Append streamed visible text.
|
|
@@ -1662,13 +2203,11 @@ var AssistantBlock = class {
|
|
|
1662
2203
|
return withGutter(this.theme.palette, lines, (index) => index >= section.from && index < section.to);
|
|
1663
2204
|
}
|
|
1664
2205
|
/**
|
|
1665
|
-
* The reasoning lines, with the streaming tail
|
|
2206
|
+
* The reasoning lines, with the streaming tail floated out toward dim italic.
|
|
1666
2207
|
*
|
|
1667
|
-
* The
|
|
1668
|
-
*
|
|
1669
|
-
*
|
|
1670
|
-
* tail therefore arrives at the dim foreground the settled reasoning carries,
|
|
1671
|
-
* not at the plain one.
|
|
2208
|
+
* The mix starts at a lifted color and recedes to the faint foreground the
|
|
2209
|
+
* settled reasoning already carries. At full age the original dim italic
|
|
2210
|
+
* bytes come back unchanged.
|
|
1672
2211
|
* @param width - the width the reasoning lays out in.
|
|
1673
2212
|
* @param at - index of the region's first line in this block's render.
|
|
1674
2213
|
* @returns the lines to draw.
|
|
@@ -1679,7 +2218,7 @@ var AssistantBlock = class {
|
|
|
1679
2218
|
if (fade === void 0) return lines;
|
|
1680
2219
|
if (this.reasoningFadeWidth !== void 0 && this.reasoningFadeWidth !== width) fade.flush();
|
|
1681
2220
|
this.reasoningFadeWidth = width;
|
|
1682
|
-
return recolorTail(lines,
|
|
2221
|
+
return recolorTail(lines, floatingOutSpans(fade), fade.style(), this.repaintFloor - at, "out");
|
|
1683
2222
|
}
|
|
1684
2223
|
/**
|
|
1685
2224
|
* The Markdown lines, with the streaming tail recolored.
|
|
@@ -1698,14 +2237,14 @@ var AssistantBlock = class {
|
|
|
1698
2237
|
if (fade === void 0) return lines;
|
|
1699
2238
|
if (this.fadeWidth !== void 0 && this.fadeWidth !== width) fade.flush();
|
|
1700
2239
|
this.fadeWidth = width;
|
|
1701
|
-
return recolorTail(lines,
|
|
2240
|
+
return recolorTail(lines, fadingInSpans(fade), fade.style(), this.repaintFloor - at);
|
|
1702
2241
|
}
|
|
1703
2242
|
};
|
|
1704
2243
|
/**
|
|
1705
2244
|
* A tool call card: status glyph, tool name, headline, then a foldable body.
|
|
1706
2245
|
*
|
|
1707
|
-
* The card arrives in two pieces, and each
|
|
1708
|
-
* the call rows when the call is logged, the result rows when the tool
|
|
2246
|
+
* The card arrives in two pieces, and each floats out on its own: the header
|
|
2247
|
+
* and the call rows when the call is logged, the result rows when the tool
|
|
1709
2248
|
* answers. A card rebuilt from history carries neither fade.
|
|
1710
2249
|
*/
|
|
1711
2250
|
var ToolBlock = class {
|
|
@@ -1774,7 +2313,7 @@ var ToolBlock = class {
|
|
|
1774
2313
|
}
|
|
1775
2314
|
/**
|
|
1776
2315
|
* Hand the rows the renderer can no longer repaint back to the colors this
|
|
1777
|
-
* card drew them in, so a fade that is still
|
|
2316
|
+
* card drew them in, so a fade that is still moving never rewrites them.
|
|
1778
2317
|
* @param floor - this card's own first repaintable line; the application
|
|
1779
2318
|
* raises it as the frame grows and never lowers it.
|
|
1780
2319
|
* @returns whether the floor took rows away from a fade that is drawing
|
|
@@ -1835,11 +2374,11 @@ var ToolBlock = class {
|
|
|
1835
2374
|
}
|
|
1836
2375
|
};
|
|
1837
2376
|
/**
|
|
1838
|
-
* Draw one group of a card's rows at the
|
|
2377
|
+
* Draw one group of a card's rows at the mix its fade reports.
|
|
1839
2378
|
* @param lines - the group's final rendered lines.
|
|
1840
2379
|
* @param fade - the group's fade; absent for a card that never faded.
|
|
1841
2380
|
* @param from - first line of the group the fade may recolor.
|
|
1842
|
-
* @returns the lines at that
|
|
2381
|
+
* @returns the lines at that mix, or the lines themselves once the fade
|
|
1843
2382
|
* settled or was never attached.
|
|
1844
2383
|
*/
|
|
1845
2384
|
function faded(lines, fade, from) {
|
|
@@ -1848,18 +2387,30 @@ function faded(lines, fade, from) {
|
|
|
1848
2387
|
return age === void 0 ? lines : recolorLines(lines, age, fade.style(), from);
|
|
1849
2388
|
}
|
|
1850
2389
|
/**
|
|
1851
|
-
* The tail chunks one streaming
|
|
2390
|
+
* The tail chunks one streaming reply still draws below the terminal's own
|
|
1852
2391
|
* foreground.
|
|
1853
2392
|
*
|
|
1854
2393
|
* The last ramp level is an assumed foreground - pi-tui reports the terminal
|
|
1855
2394
|
* background but not its foreground - so a chunk that reached it is left to
|
|
1856
2395
|
* draw in the terminal's own foreground, which is also what it draws in once it
|
|
1857
2396
|
* leaves the tail. No chunk can therefore jump color as it settles.
|
|
1858
|
-
* @param fade - the region's fade
|
|
2397
|
+
* @param fade - the region's fade.
|
|
1859
2398
|
* @returns the spans to recolor, oldest first.
|
|
1860
2399
|
*/
|
|
1861
|
-
function
|
|
1862
|
-
return fade
|
|
2400
|
+
function fadingInSpans(fade) {
|
|
2401
|
+
return fade.spans().filter((span) => span.age < fade.steps - 1);
|
|
2402
|
+
}
|
|
2403
|
+
/**
|
|
2404
|
+
* The tail chunks one streaming reasoning region still floats out.
|
|
2405
|
+
*
|
|
2406
|
+
* Overlay continues until `age >= steps`, which is `steps * stepMs` after the
|
|
2407
|
+
* word appeared. The last overlay sits near the dim settle; the next frame is
|
|
2408
|
+
* the original dim italic bytes.
|
|
2409
|
+
* @param fade - the region's fade.
|
|
2410
|
+
* @returns the spans to recolor, oldest first.
|
|
2411
|
+
*/
|
|
2412
|
+
function floatingOutSpans(fade) {
|
|
2413
|
+
return fade.spans().filter((span) => span.age < fade.steps);
|
|
1863
2414
|
}
|
|
1864
2415
|
//#endregion
|
|
1865
2416
|
//#region lib/types/completion.js
|
|
@@ -2116,22 +2667,40 @@ const STRIP_ENDS = ["‹ ", " ›"];
|
|
|
2116
2667
|
const OFF_SCREEN = " · off screen";
|
|
2117
2668
|
/** The keys the inspector answers, drawn dim under its rows. */
|
|
2118
2669
|
const HINT = "↑ ↓ blocks · ← → parts · Enter page · Esc back";
|
|
2670
|
+
/** What ends a line the width cut short; one column, so the mark itself fits. */
|
|
2671
|
+
const ELLIPSIS$1 = "…";
|
|
2119
2672
|
/**
|
|
2120
2673
|
* Draw the focused section.
|
|
2121
2674
|
* @param view - the section to show.
|
|
2122
2675
|
* @param render - the palette, the row budget, and the width.
|
|
2123
|
-
* @returns the inspector's lines
|
|
2124
|
-
* strip when the block has more than one part, the
|
|
2676
|
+
* @returns the inspector's lines, none wider than `width`: a blank separator,
|
|
2677
|
+
* the heading, the parts strip when the block has more than one part, the
|
|
2678
|
+
* folded rows, and the hints.
|
|
2125
2679
|
*/
|
|
2126
2680
|
function renderInspector(view, render) {
|
|
2127
|
-
const { palette
|
|
2128
|
-
const
|
|
2129
|
-
const lines = ["",
|
|
2681
|
+
const { palette } = render;
|
|
2682
|
+
const width = Math.max(1, render.width);
|
|
2683
|
+
const lines = ["", heading(view, palette, width)];
|
|
2130
2684
|
if (view.parts.length > 1) lines.push(partsStrip(view.parts, palette));
|
|
2131
|
-
const wrapped = view.rows.flatMap((row) => wrapTextWithAnsi(row,
|
|
2685
|
+
const wrapped = view.rows.flatMap((row) => wrapTextWithAnsi(row, width));
|
|
2132
2686
|
lines.push(...foldRows(wrapped, render.previewLines, (hidden) => palette.dim(`… ${String(hidden)} more row${hidden === 1 ? "" : "s"} · Enter opens the page`)));
|
|
2133
2687
|
lines.push(palette.dim(HINT));
|
|
2134
|
-
return lines;
|
|
2688
|
+
return lines.map((line) => truncateToWidth(line, width, ELLIPSIS$1));
|
|
2689
|
+
}
|
|
2690
|
+
/**
|
|
2691
|
+
* The heading line. A tool title can run past any terminal, so the subject is
|
|
2692
|
+
* cut first and the off-screen mark stays whole: where the marked block went
|
|
2693
|
+
* must never be what the width hides.
|
|
2694
|
+
* @param view - the section to show.
|
|
2695
|
+
* @param palette - the palette the heading is styled with.
|
|
2696
|
+
* @param width - the width the line must fit; at least 1.
|
|
2697
|
+
* @returns the heading, with the mark when the block is not on screen.
|
|
2698
|
+
*/
|
|
2699
|
+
function heading(view, palette, width) {
|
|
2700
|
+
const subject = palette.bold(palette.accent(view.heading));
|
|
2701
|
+
if (view.highlighted) return subject;
|
|
2702
|
+
const suffix = palette.dim(OFF_SCREEN);
|
|
2703
|
+
return `${truncateToWidth(subject, Math.max(1, width - visibleWidth(suffix)), ELLIPSIS$1)}${suffix}`;
|
|
2135
2704
|
}
|
|
2136
2705
|
/**
|
|
2137
2706
|
* Draw the parts of the focused block as one row of choices.
|
|
@@ -2738,10 +3307,11 @@ function plural(count, noun) {
|
|
|
2738
3307
|
* The status bar under the editor: plain session facts become an ordered list
|
|
2739
3308
|
* of segments, each with a stable id, the short label the bar draws, and what
|
|
2740
3309
|
* `Enter` on it does — the rows the app prints, or the app's own navigable
|
|
2741
|
-
* page; a second function renders
|
|
2742
|
-
*
|
|
2743
|
-
* the
|
|
2744
|
-
* terminal, and no clock: elapsed values arrive already formatted
|
|
3310
|
+
* page; a second function renders those segments as one unfocused line of key
|
|
3311
|
+
* facts, or as two focused lines whose first is a sliding window that always
|
|
3312
|
+
* includes the selected segment. Everything here is pure — no Context, no
|
|
3313
|
+
* services, no terminal, and no clock: elapsed values arrive already formatted,
|
|
3314
|
+
* and the terminal width arrives as an input so every line fits it.
|
|
2745
3315
|
* @module @deepseek-ai/dsh-tui-app/footer
|
|
2746
3316
|
*/
|
|
2747
3317
|
/** The segment focus enters the bar on; `buildFooterSegments` always emits it first. */
|
|
@@ -2757,10 +3327,20 @@ const SEPARATOR$1 = " · ";
|
|
|
2757
3327
|
const WORKSPACE_LABEL_WIDTH = 24;
|
|
2758
3328
|
/** The last two segments of a path, with the separators that precede them. */
|
|
2759
3329
|
const PATH_TAIL = /[/\\][^/\\]+[/\\][^/\\]+$/u;
|
|
2760
|
-
/** The keys the focused bar answers,
|
|
3330
|
+
/** The keys the focused bar answers, drawn on the expansion line. */
|
|
2761
3331
|
const FOCUS_HINTS$1 = `← → select${SEPARATOR$1}↑ ↓ regions${SEPARATOR$1}Enter details${SEPARATOR$1}Esc back`;
|
|
2762
|
-
/**
|
|
2763
|
-
const ENTRY_HINT =
|
|
3332
|
+
/** The one entry key the unfocused line keeps, trailing the facts. */
|
|
3333
|
+
const ENTRY_HINT = "Shift+↓";
|
|
3334
|
+
/** What ends a line the width cut short; one column, so the mark itself fits. */
|
|
3335
|
+
const ELLIPSIS = "…";
|
|
3336
|
+
/** Facts the unfocused line keeps; every other present segment folds into `+N`. */
|
|
3337
|
+
const KEY_SEGMENT_IDS = new Set([
|
|
3338
|
+
"model",
|
|
3339
|
+
"effort",
|
|
3340
|
+
"turn",
|
|
3341
|
+
"context",
|
|
3342
|
+
"workspace"
|
|
3343
|
+
]);
|
|
2764
3344
|
/** The command that prints every projection section at once. */
|
|
2765
3345
|
const STATUS_COMMAND_ROW = "/status prints all of these sections";
|
|
2766
3346
|
/**
|
|
@@ -2811,10 +3391,24 @@ function startsWithDirectory(path, directory) {
|
|
|
2811
3391
|
return next === "" || next === "/" || next === "\\";
|
|
2812
3392
|
}
|
|
2813
3393
|
/**
|
|
3394
|
+
* The effort segment: always present, labelled `effort default` when the
|
|
3395
|
+
* selection leaves reasoning effort to the model.
|
|
3396
|
+
* @param effort - the selection's reasoning effort; absent is the model's own default.
|
|
3397
|
+
* @returns the segment.
|
|
3398
|
+
*/
|
|
3399
|
+
function effortSegment(effort) {
|
|
3400
|
+
const unset = effort === void 0;
|
|
3401
|
+
return {
|
|
3402
|
+
id: "effort",
|
|
3403
|
+
label: unset ? "effort default" : `effort ${effort}`,
|
|
3404
|
+
detail: printed([unset ? "reasoning effort: the model's own default" : `reasoning effort: ${effort}`, `Shift+Tab cycles it${SEPARATOR$1}/effort picks one`])
|
|
3405
|
+
};
|
|
3406
|
+
}
|
|
3407
|
+
/**
|
|
2814
3408
|
* Build the status bar's segments in the order it draws them: model, effort,
|
|
2815
|
-
* permission, turn, usage, the projection facts, workspace, attachments.
|
|
2816
|
-
*
|
|
2817
|
-
* needs its fact.
|
|
3409
|
+
* permission, turn, usage, the projection facts, workspace, attachments. The
|
|
3410
|
+
* model, effort, and workspace segments are always present; every other
|
|
3411
|
+
* segment needs its fact.
|
|
2818
3412
|
* @param inputs - the facts the app read for the bound session.
|
|
2819
3413
|
* @returns the segments, the model segment first.
|
|
2820
3414
|
*/
|
|
@@ -2830,12 +3424,7 @@ function buildFooterSegments(inputs) {
|
|
|
2830
3424
|
effort === void 0 ? "reasoning effort: the model's own default" : `reasoning effort: ${effort}`,
|
|
2831
3425
|
"/model picks the provider and model for the next request"
|
|
2832
3426
|
])
|
|
2833
|
-
}];
|
|
2834
|
-
if (effort !== void 0) segments.push({
|
|
2835
|
-
id: "effort",
|
|
2836
|
-
label: `effort ${effort}`,
|
|
2837
|
-
detail: printed([`reasoning effort: ${effort}`, `Shift+Tab cycles it${SEPARATOR$1}/effort picks one`])
|
|
2838
|
-
});
|
|
3427
|
+
}, effortSegment(effort)];
|
|
2839
3428
|
if (inputs.permission !== void 0) {
|
|
2840
3429
|
const projected = permissionLines(facts);
|
|
2841
3430
|
segments.push({
|
|
@@ -2894,20 +3483,142 @@ function footerSelectionIndex(segments, selected) {
|
|
|
2894
3483
|
return index === -1 ? 0 : index;
|
|
2895
3484
|
}
|
|
2896
3485
|
/**
|
|
2897
|
-
*
|
|
2898
|
-
*
|
|
2899
|
-
*
|
|
2900
|
-
*
|
|
3486
|
+
* Inclusive span of `widths` that contains `selected` and fits `budget`.
|
|
3487
|
+
* @param widths - visible width of each part, in order.
|
|
3488
|
+
* @param selected - the index that must stay in the span.
|
|
3489
|
+
* @param budget - maximum visible width of the joined span.
|
|
3490
|
+
* @param sep - visible width of the separator between two parts.
|
|
3491
|
+
* @returns start and end indices, inclusive.
|
|
3492
|
+
*/
|
|
3493
|
+
function windowSpan(widths, selected, budget, sep) {
|
|
3494
|
+
let start = selected;
|
|
3495
|
+
let end = selected;
|
|
3496
|
+
let used = widths[selected];
|
|
3497
|
+
if (used >= budget) return {
|
|
3498
|
+
start,
|
|
3499
|
+
end
|
|
3500
|
+
};
|
|
3501
|
+
while (end + 1 < widths.length) {
|
|
3502
|
+
const next = used + sep + widths[end + 1];
|
|
3503
|
+
if (next > budget) break;
|
|
3504
|
+
end += 1;
|
|
3505
|
+
used = next;
|
|
3506
|
+
}
|
|
3507
|
+
while (start > 0) {
|
|
3508
|
+
const next = used + sep + widths[start - 1];
|
|
3509
|
+
if (next > budget) break;
|
|
3510
|
+
start -= 1;
|
|
3511
|
+
used = next;
|
|
3512
|
+
}
|
|
3513
|
+
return {
|
|
3514
|
+
start,
|
|
3515
|
+
end
|
|
3516
|
+
};
|
|
3517
|
+
}
|
|
3518
|
+
/**
|
|
3519
|
+
* Cut `line` to `width` columns.
|
|
3520
|
+
* @param line - the already-styled line.
|
|
3521
|
+
* @param width - terminal columns the line must fit; at least 1.
|
|
3522
|
+
* @returns the line, ellipsized when it was wider.
|
|
3523
|
+
*/
|
|
3524
|
+
function fitLine(line, width) {
|
|
3525
|
+
return truncateToWidth(line, Math.max(1, width), ELLIPSIS);
|
|
3526
|
+
}
|
|
3527
|
+
/**
|
|
3528
|
+
* The unfocused line: key facts, a `+N` token for the rest, and the entry key.
|
|
2901
3529
|
* @param segments - the segments in bar order.
|
|
2902
|
-
* @param
|
|
2903
|
-
* @
|
|
3530
|
+
* @param palette - the palette the line is dimmed with.
|
|
3531
|
+
* @param width - terminal columns the line must fit.
|
|
3532
|
+
* @returns one dim line.
|
|
3533
|
+
*/
|
|
3534
|
+
function unfocusedLine(segments, palette, width) {
|
|
3535
|
+
const key = segments.filter((segment) => KEY_SEGMENT_IDS.has(segment.id)).map((segment) => segment.label);
|
|
3536
|
+
const folded = segments.length - key.length;
|
|
3537
|
+
if (folded > 0) key.push(`+${String(folded)}`);
|
|
3538
|
+
key.push(ENTRY_HINT);
|
|
3539
|
+
return fitLine(palette.dim(key.join(SEPARATOR$1)), width);
|
|
3540
|
+
}
|
|
3541
|
+
/**
|
|
3542
|
+
* The first detail row of a printed segment, or the label of a page segment.
|
|
3543
|
+
* @param segment - the selected segment; absent when the bar has none.
|
|
3544
|
+
* @returns the expansion body.
|
|
3545
|
+
*/
|
|
3546
|
+
function expansionBody(segment) {
|
|
3547
|
+
if (segment === void 0) return "";
|
|
3548
|
+
if (segment.detail.kind === "page") return segment.label;
|
|
3549
|
+
return segment.detail.rows[0];
|
|
3550
|
+
}
|
|
3551
|
+
/**
|
|
3552
|
+
* The focused second line: the selected segment's summary plus the navigation keys.
|
|
3553
|
+
* @param segment - the selected segment.
|
|
3554
|
+
* @param palette - the palette the line is dimmed with.
|
|
3555
|
+
* @param width - terminal columns the line must fit.
|
|
3556
|
+
* @returns one dim line that keeps the hints when they fit.
|
|
3557
|
+
*/
|
|
3558
|
+
function expansionLine(segment, palette, width) {
|
|
3559
|
+
const body = expansionBody(segment);
|
|
3560
|
+
const suffix = palette.dim(body === "" ? FOCUS_HINTS$1 : `${SEPARATOR$1}${FOCUS_HINTS$1}`);
|
|
3561
|
+
const prefix = palette.dim(body);
|
|
3562
|
+
const rest = width - visibleWidth(suffix);
|
|
3563
|
+
if (rest < 1) return fitLine(`${prefix}${suffix}`, width);
|
|
3564
|
+
return `${truncateToWidth(prefix, rest, ELLIPSIS)}${suffix}`;
|
|
3565
|
+
}
|
|
3566
|
+
/**
|
|
3567
|
+
* The focused bar: a sliding window of segment labels, then the expansion line.
|
|
3568
|
+
* @param segments - the segments in bar order.
|
|
3569
|
+
* @param selected - index of the held segment.
|
|
3570
|
+
* @param palette - the palette the labels and hints are styled with.
|
|
3571
|
+
* @param width - terminal columns each line must fit.
|
|
3572
|
+
* @returns two lines, the selected label always in the first.
|
|
3573
|
+
*/
|
|
3574
|
+
function focusedLines(segments, selected, palette, width) {
|
|
3575
|
+
const held = Math.min(Math.max(0, selected), Math.max(0, segments.length - 1));
|
|
3576
|
+
const styled = segments.map((segment, index) => index === held ? palette.bold(palette.accent(segment.label)) : palette.dim(segment.label));
|
|
3577
|
+
const sep = palette.dim(SEPARATOR$1);
|
|
3578
|
+
const { start, end } = windowSpan(styled.map(visibleWidth), held, width, visibleWidth(sep));
|
|
3579
|
+
return [fitLine(styled.slice(start, end + 1).join(sep), width), expansionLine(segments[held], palette, width)];
|
|
3580
|
+
}
|
|
3581
|
+
/**
|
|
3582
|
+
* Render the footer. Unfocused it is one dim line of key facts with a trailing
|
|
3583
|
+
* `Shift+↓`; focused it is the navigable segments (windowed to `width` so the
|
|
3584
|
+
* selected one is never dropped) and an expansion of that segment plus the
|
|
3585
|
+
* navigation keys. Every returned line fits `width`.
|
|
3586
|
+
* @param segments - the segments in bar order.
|
|
3587
|
+
* @param render - the palette, optional selected index, and terminal width.
|
|
3588
|
+
* @returns the footer lines, one when unfocused and two when focused.
|
|
2904
3589
|
*/
|
|
2905
3590
|
function renderFooter(segments, render) {
|
|
2906
|
-
const
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
return `${labels.map((label, index) => index === selected ? palette.bold(palette.accent(label)) : palette.dim(label)).join(palette.dim(SEPARATOR$1))}\n${palette.dim(FOCUS_HINTS$1)}`;
|
|
3591
|
+
const width = Math.max(1, render.width);
|
|
3592
|
+
if (render.selected === void 0) return [unfocusedLine(segments, render.palette, width)];
|
|
3593
|
+
return focusedLines(segments, render.selected, render.palette, width);
|
|
2910
3594
|
}
|
|
3595
|
+
/**
|
|
3596
|
+
* The status bar as a mounted component. The view is read once per render
|
|
3597
|
+
* rather than pushed in, so the terminal width of that frame windows and
|
|
3598
|
+
* truncates the lines.
|
|
3599
|
+
*/
|
|
3600
|
+
var FooterBar = class {
|
|
3601
|
+
view;
|
|
3602
|
+
/**
|
|
3603
|
+
* @param view - reads the segments and selection the bar draws.
|
|
3604
|
+
*/
|
|
3605
|
+
constructor(view) {
|
|
3606
|
+
this.view = view;
|
|
3607
|
+
}
|
|
3608
|
+
invalidate() {}
|
|
3609
|
+
/**
|
|
3610
|
+
* Draw the status bar at `width`.
|
|
3611
|
+
* @param width - the total width the bar lays out in.
|
|
3612
|
+
* @returns the footer lines, each no wider than `width`.
|
|
3613
|
+
*/
|
|
3614
|
+
render(width) {
|
|
3615
|
+
const { segments, render } = this.view();
|
|
3616
|
+
return renderFooter(segments, {
|
|
3617
|
+
...render,
|
|
3618
|
+
width
|
|
3619
|
+
});
|
|
3620
|
+
}
|
|
3621
|
+
};
|
|
2911
3622
|
//#endregion
|
|
2912
3623
|
//#region lib/types/prompts.js
|
|
2913
3624
|
/**
|
|
@@ -3630,18 +4341,25 @@ function subagentPanelView(inputs) {
|
|
|
3630
4341
|
};
|
|
3631
4342
|
}
|
|
3632
4343
|
/**
|
|
3633
|
-
* Render the panel
|
|
3634
|
-
*
|
|
3635
|
-
*
|
|
3636
|
-
* while the panel holds
|
|
4344
|
+
* Render the panel. Unfocused it is one dim summary line — the listed count
|
|
4345
|
+
* and the first child's key label. Focused it is the heading with navigation
|
|
4346
|
+
* keys, one line per drawn row, the overflow count, and the last listing
|
|
4347
|
+
* failure. The selected row is accented while the panel holds the keyboard.
|
|
3637
4348
|
* @param view - the rows one draw produced.
|
|
3638
4349
|
* @param render - the palette, the selected row, and the listing failure.
|
|
3639
|
-
* @returns the panel text, one line per row.
|
|
4350
|
+
* @returns the panel text, one line when unfocused and one line per row when focused.
|
|
3640
4351
|
*/
|
|
3641
4352
|
function renderSubagentPanel(view, render) {
|
|
3642
4353
|
const { palette, selected } = render;
|
|
3643
4354
|
const total = view.rows.length + view.hidden;
|
|
3644
|
-
|
|
4355
|
+
if (selected === void 0) {
|
|
4356
|
+
const first = view.rows[0]?.text.trimStart().split(SEPARATOR)[0];
|
|
4357
|
+
const parts = [`subagents${SEPARATOR}${String(total)} listed`];
|
|
4358
|
+
if (first) parts.push(first);
|
|
4359
|
+
if (render.failure !== void 0) parts.push(`listing failed: ${render.failure}`);
|
|
4360
|
+
return palette.dim(parts.join(SEPARATOR));
|
|
4361
|
+
}
|
|
4362
|
+
const heading = `subagents${SEPARATOR}${String(total)} listed${SEPARATOR}${FOCUS_HINTS}`;
|
|
3645
4363
|
const lines = [palette.dim(heading)];
|
|
3646
4364
|
for (const [index, row] of view.rows.entries()) lines.push(index === selected ? palette.bold(palette.accent(row.text)) : palette.dim(row.text));
|
|
3647
4365
|
if (view.hidden > 0) lines.push(palette.dim(`+${String(view.hidden)} more${SEPARATOR}/subagents lists them all`));
|
|
@@ -3658,8 +4376,8 @@ function renderSubagentPanel(view, render) {
|
|
|
3658
4376
|
* the editor it keeps two docked regions the keyboard can take over — the
|
|
3659
4377
|
* subagent panel and the status bar — and one repeating tick advances their
|
|
3660
4378
|
* elapsed counters and re-reads a stale subagent listing. A second tick, at
|
|
3661
|
-
* its own period, brightens
|
|
3662
|
-
*
|
|
4379
|
+
* its own period, brightens streamed reply text and floats out reasoning and
|
|
4380
|
+
* tool cards that just landed, each only as far up the frame as the
|
|
3663
4381
|
* renderer repaints without discarding the terminal's scrollback
|
|
3664
4382
|
* (`./screen.ts`).
|
|
3665
4383
|
* @module @deepseek-ai/dsh-tui-app/app
|
|
@@ -3797,6 +4515,10 @@ const LOCAL_COMMANDS = [
|
|
|
3797
4515
|
name: "deliverables",
|
|
3798
4516
|
description: "List the files the agent presented in this session"
|
|
3799
4517
|
},
|
|
4518
|
+
{
|
|
4519
|
+
name: "changes",
|
|
4520
|
+
description: "Browse the files the last turn changed (/changes <turn> for an earlier one; Enter shows a file's diff)"
|
|
4521
|
+
},
|
|
3800
4522
|
{
|
|
3801
4523
|
name: "subagents",
|
|
3802
4524
|
description: "Browse the subagent sessions under this session (Enter shows one session's details)"
|
|
@@ -3807,7 +4529,7 @@ const LOCAL_COMMANDS = [
|
|
|
3807
4529
|
},
|
|
3808
4530
|
{
|
|
3809
4531
|
name: "plugins",
|
|
3810
|
-
description: "List the composed plugins
|
|
4532
|
+
description: "List the composed plugins (/plugins bundles, /plugins enable|disable <id>, /plugins add <spec>, /plugins remove <name>)"
|
|
3811
4533
|
},
|
|
3812
4534
|
{
|
|
3813
4535
|
name: "tools",
|
|
@@ -3940,7 +4662,13 @@ var TuiApp = class {
|
|
|
3940
4662
|
this.onSubmit(text);
|
|
3941
4663
|
};
|
|
3942
4664
|
this.panel = new Text("", 0, 0);
|
|
3943
|
-
this.footer = new
|
|
4665
|
+
this.footer = new FooterBar(() => ({
|
|
4666
|
+
segments: this.segments,
|
|
4667
|
+
render: {
|
|
4668
|
+
palette: this.deps.palette,
|
|
4669
|
+
...this.focus === "bar" ? { selected: footerSelectionIndex(this.segments, this.barSelection) } : {}
|
|
4670
|
+
}
|
|
4671
|
+
}));
|
|
3944
4672
|
this.modals = new ModalQueue({
|
|
3945
4673
|
tui: this.tui,
|
|
3946
4674
|
slot: this.modalSlot,
|
|
@@ -4184,7 +4912,6 @@ var TuiApp = class {
|
|
|
4184
4912
|
this.tui.requestRender();
|
|
4185
4913
|
}
|
|
4186
4914
|
refreshFooter() {
|
|
4187
|
-
const palette = this.deps.palette;
|
|
4188
4915
|
const permission = this.deps.ctx.get("permissionPresets")?.current(this.agent.session);
|
|
4189
4916
|
const started = this.turnStartedAt;
|
|
4190
4917
|
const inbox = this.agent.inbox;
|
|
@@ -4207,12 +4934,6 @@ var TuiApp = class {
|
|
|
4207
4934
|
kind: attachment.block.type
|
|
4208
4935
|
}))
|
|
4209
4936
|
});
|
|
4210
|
-
const hints = this.agent.status === "running" ? "Enter queues for the next turn · Ctrl+S steers this turn · Esc stops it · Ctrl+O tool output · Ctrl+C twice quits" : "Enter sends · Esc stops the turn · Ctrl+O tool output · Ctrl+C twice quits";
|
|
4211
|
-
this.footer.setText(renderFooter(this.segments, {
|
|
4212
|
-
palette,
|
|
4213
|
-
...this.focus === "bar" ? { selected: footerSelectionIndex(this.segments, this.barSelection) } : {},
|
|
4214
|
-
hints
|
|
4215
|
-
}));
|
|
4216
4937
|
this.tui.requestRender();
|
|
4217
4938
|
}
|
|
4218
4939
|
/**
|
|
@@ -4464,6 +5185,67 @@ var TuiApp = class {
|
|
|
4464
5185
|
})), TODO_ROW_LAYOUT);
|
|
4465
5186
|
}
|
|
4466
5187
|
/**
|
|
5188
|
+
* Walk the files one turn changed: one row per file with its line counts,
|
|
5189
|
+
* and entering a row shows the file's turn-start to turn-end comparison.
|
|
5190
|
+
* @param turn - the turn to browse; the latest announced one when undefined.
|
|
5191
|
+
*/
|
|
5192
|
+
async browseChanges(turn) {
|
|
5193
|
+
const sessionId = this.agent.session.id;
|
|
5194
|
+
const signal = new AbortController().signal;
|
|
5195
|
+
const changes = await listTurnChanges(this.deps.ctx, sessionId, turn, signal);
|
|
5196
|
+
if (changes === void 0) {
|
|
5197
|
+
this.notice(turn === void 0 ? "no changed files recorded yet" : `no changed files recorded for turn ${String(turn)}`);
|
|
5198
|
+
return;
|
|
5199
|
+
}
|
|
5200
|
+
if (changes.choices.length === 0) {
|
|
5201
|
+
this.notice(`${changes.heading}: no file listed`);
|
|
5202
|
+
return;
|
|
5203
|
+
}
|
|
5204
|
+
await this.browse(changes.heading, changes.choices.map((choice) => ({
|
|
5205
|
+
item: {
|
|
5206
|
+
value: String(choice.index),
|
|
5207
|
+
label: choice.label,
|
|
5208
|
+
description: choice.description
|
|
5209
|
+
},
|
|
5210
|
+
heading: choice.label,
|
|
5211
|
+
detail: () => changeDiffRows(this.deps.ctx, sessionId, choice, signal)
|
|
5212
|
+
})));
|
|
5213
|
+
}
|
|
5214
|
+
/**
|
|
5215
|
+
* `/plugins` and its management verbs over the profile's plugin manager:
|
|
5216
|
+
* the composed plugins alone, the bundles, a switch of one entry or bundle,
|
|
5217
|
+
* an installation, or a removal.
|
|
5218
|
+
* @param argument - the verb and its operand; empty lists the composed plugins.
|
|
5219
|
+
*/
|
|
5220
|
+
async plugins(argument) {
|
|
5221
|
+
const [verb = "", ...rest] = argument.split(/\s+/).filter((word) => word !== "");
|
|
5222
|
+
const operand = rest.join(" ");
|
|
5223
|
+
switch (verb) {
|
|
5224
|
+
case "":
|
|
5225
|
+
this.showRows(listPlugins(this.deps.ctx), "no plugins are listed");
|
|
5226
|
+
return;
|
|
5227
|
+
case "bundles":
|
|
5228
|
+
this.showRows(await listBundles(this.deps.ctx), "no bundles are listed");
|
|
5229
|
+
return;
|
|
5230
|
+
case "enable":
|
|
5231
|
+
case "disable":
|
|
5232
|
+
if (operand === "") break;
|
|
5233
|
+
this.notice(await setPluginEnabled(this.deps.ctx, operand, verb === "enable"), "success");
|
|
5234
|
+
return;
|
|
5235
|
+
case "add":
|
|
5236
|
+
if (operand === "") break;
|
|
5237
|
+
this.notice(`installing ${operand}…`);
|
|
5238
|
+
this.notice(await installBundle(this.deps.ctx, operand), "success");
|
|
5239
|
+
return;
|
|
5240
|
+
case "remove":
|
|
5241
|
+
if (operand === "") break;
|
|
5242
|
+
this.notice(await removeBundle(this.deps.ctx, operand), "success");
|
|
5243
|
+
return;
|
|
5244
|
+
default: break;
|
|
5245
|
+
}
|
|
5246
|
+
this.notice("usage: /plugins · /plugins bundles · /plugins enable|disable <entry id or bundle> · /plugins add <spec> · /plugins remove <bundle>", "error");
|
|
5247
|
+
}
|
|
5248
|
+
/**
|
|
4467
5249
|
* The browsable entry behind one subagent row: the same detail page the
|
|
4468
5250
|
* `/subagents` list and the live panel open.
|
|
4469
5251
|
* @param choice - the listing row.
|
|
@@ -4616,7 +5398,8 @@ var TuiApp = class {
|
|
|
4616
5398
|
}
|
|
4617
5399
|
/**
|
|
4618
5400
|
* Answer one key while the status bar holds focus. Every key is consumed
|
|
4619
|
-
* here, so nothing typed at the bar reaches the editor.
|
|
5401
|
+
* here, so nothing typed at the bar reaches the editor. `Shift+Left` and
|
|
5402
|
+
* `Shift+Right` move between segments the same way as `Left` and `Right`.
|
|
4620
5403
|
* @param data - the raw key bytes.
|
|
4621
5404
|
* @returns the consume marker the input listener returns.
|
|
4622
5405
|
*/
|
|
@@ -4628,11 +5411,11 @@ var TuiApp = class {
|
|
|
4628
5411
|
else this.focusTranscript();
|
|
4629
5412
|
return { consume: true };
|
|
4630
5413
|
}
|
|
4631
|
-
if (matchesKey(data, "left") || matchesKey(data, "shift+tab")) {
|
|
5414
|
+
if (matchesKey(data, "left") || matchesKey(data, "shift+left") || matchesKey(data, "shift+tab")) {
|
|
4632
5415
|
this.moveStatusBar(-1);
|
|
4633
5416
|
return { consume: true };
|
|
4634
5417
|
}
|
|
4635
|
-
if (matchesKey(data, "right") || matchesKey(data, "tab")) {
|
|
5418
|
+
if (matchesKey(data, "right") || matchesKey(data, "shift+right") || matchesKey(data, "tab")) {
|
|
4636
5419
|
this.moveStatusBar(1);
|
|
4637
5420
|
return { consume: true };
|
|
4638
5421
|
}
|
|
@@ -4990,6 +5773,15 @@ var TuiApp = class {
|
|
|
4990
5773
|
case "deliverables":
|
|
4991
5774
|
this.showRows(await listDeliverables(this.deps.ctx, this.agent.session.id, new AbortController().signal), "nothing presented yet");
|
|
4992
5775
|
return;
|
|
5776
|
+
case "changes": {
|
|
5777
|
+
const turn = argument === "" ? void 0 : Number(argument);
|
|
5778
|
+
if (turn !== void 0 && !(Number.isSafeInteger(turn) && turn > 0)) {
|
|
5779
|
+
this.notice("usage: /changes · /changes <turn>", "error");
|
|
5780
|
+
return;
|
|
5781
|
+
}
|
|
5782
|
+
await this.browseChanges(turn);
|
|
5783
|
+
return;
|
|
5784
|
+
}
|
|
4993
5785
|
case "subagents": {
|
|
4994
5786
|
const choices = await listSubagentChoices(this.deps.ctx, this.agent.session.id, new AbortController().signal);
|
|
4995
5787
|
if (choices.length === 0) {
|
|
@@ -5003,7 +5795,7 @@ var TuiApp = class {
|
|
|
5003
5795
|
await this.settings(argument);
|
|
5004
5796
|
return;
|
|
5005
5797
|
case "plugins":
|
|
5006
|
-
this.
|
|
5798
|
+
await this.plugins(argument);
|
|
5007
5799
|
return;
|
|
5008
5800
|
default: await this.runSharedCommand(line, name);
|
|
5009
5801
|
}
|
|
@@ -5018,7 +5810,7 @@ var TuiApp = class {
|
|
|
5018
5810
|
"Esc stops the running turn · Ctrl+O expands or collapses tool output",
|
|
5019
5811
|
"Shift+Tab cycles the current model's reasoning effort for the next request",
|
|
5020
5812
|
"Shift+Up focuses the transcript, Shift+Down the subagent panel or the status bar",
|
|
5021
|
-
"Then ↑ ↓ move between blocks, panel rows, and the bar; ← → move between a block's parts or the bar's segments",
|
|
5813
|
+
"Then ↑ ↓ move between blocks, panel rows, and the bar; ← → move between a block's parts or the bar's segments (Shift+← → also move the bar)",
|
|
5022
5814
|
"Enter opens the focused section or segment, Esc returns to the input",
|
|
5023
5815
|
"Ctrl+C clears the input (twice quits) · Ctrl+D on an empty input quits"
|
|
5024
5816
|
];
|
|
@@ -5483,9 +6275,9 @@ var TuiApp = class {
|
|
|
5483
6275
|
this.updateFadeTicker();
|
|
5484
6276
|
}
|
|
5485
6277
|
/**
|
|
5486
|
-
* Take one reasoning delta, which
|
|
5487
|
-
* and the visible text of one message stream at different times and each
|
|
5488
|
-
*
|
|
6278
|
+
* Take one reasoning delta, which floats out on its own tail: the reasoning
|
|
6279
|
+
* and the visible text of one message stream at different times, and each
|
|
6280
|
+
* ages from the moment its own words appeared.
|
|
5489
6281
|
* @param delta - the streamed reasoning delta.
|
|
5490
6282
|
*/
|
|
5491
6283
|
appendStreamedReasoning(delta) {
|
|
@@ -5760,6 +6552,12 @@ var TuiApp = class {
|
|
|
5760
6552
|
case "compaction/summary":
|
|
5761
6553
|
this.notice(compactionNotice(event.data));
|
|
5762
6554
|
break;
|
|
6555
|
+
case "workspace/changes": {
|
|
6556
|
+
const summary = this.deps.ctx.get("workspaceChanges")?.summary(session.id, event.seq);
|
|
6557
|
+
if (summary === void 0) return;
|
|
6558
|
+
this.notice(changesNotice(summary));
|
|
6559
|
+
break;
|
|
6560
|
+
}
|
|
5763
6561
|
case "llm/retry":
|
|
5764
6562
|
this.loader.setMessage(retryMessage(event.data));
|
|
5765
6563
|
break;
|