@songtonyli/dsh-cli 0.1.31 → 0.1.33
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/README.md +4 -0
- package/node_modules/@deepseek-ai/cordis/package.json +4 -4
- package/node_modules/@deepseek-ai/cordis/src/index.ts +2 -0
- package/node_modules/@deepseek-ai/cordis-plugin-group/package.json +3 -3
- package/node_modules/@deepseek-ai/cordis-plugin-include/package.json +4 -4
- package/node_modules/@deepseek-ai/cordis-plugin-loader/README.md +4 -0
- package/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js +87 -7
- package/node_modules/@deepseek-ai/cordis-plugin-loader/package.json +4 -3
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/diff.ts +45 -0
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/entry.ts +53 -7
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/index.ts +13 -1
- package/node_modules/@deepseek-ai/cordis-plugin-timer/package.json +3 -3
- package/node_modules/@deepseek-ai/cosmokit/README.md +6 -0
- package/node_modules/@deepseek-ai/cosmokit/lib/index.js +112 -19
- package/node_modules/@deepseek-ai/cosmokit/package.json +1 -1
- package/node_modules/@deepseek-ai/cosmokit/src/index.ts +2 -0
- package/node_modules/@deepseek-ai/cosmokit/src/types.ts +49 -23
- package/node_modules/@deepseek-ai/cosmokit/src/volatile.ts +86 -0
- package/node_modules/@deepseek-ai/dsh/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh/lib/bin.js +21 -5
- package/node_modules/@deepseek-ai/dsh/lib/{dump-config-Bb5YvFIX.js → dump-config-C-0P1h0W.js} +14 -3
- package/node_modules/@deepseek-ai/dsh/lib/dump-config-DaAE0NHG.js +2 -0
- package/node_modules/@deepseek-ai/dsh/lib/dump-config-schema-BgEU7VYz.js +41 -0
- package/node_modules/@deepseek-ai/dsh/lib/{plugin-DJ-rVHUS.js → plugin-CnNK4cws.js} +1 -1
- package/node_modules/@deepseek-ai/dsh/lib/{profile-boot-BNu17Y9U.js → profile-boot-DIiro1p-.js} +8 -15
- package/node_modules/@deepseek-ai/dsh/lib/profile-boot.js +1 -1
- package/node_modules/@deepseek-ai/dsh/package.json +113 -119
- package/node_modules/@deepseek-ai/dsh-acp/lib/index.js +7 -6
- package/node_modules/@deepseek-ai/dsh-acp/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-acp-app/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-agent/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-agent/README.md +3 -0
- package/node_modules/@deepseek-ai/dsh-agent/README.zh.md +3 -0
- package/node_modules/@deepseek-ai/dsh-agent/lib/index.js +40 -6
- package/node_modules/@deepseek-ai/dsh-agent/lib/types/archive-admission.js +35 -0
- package/node_modules/@deepseek-ai/dsh-agent/lib/types/consumed-work.js +5 -4
- package/node_modules/@deepseek-ai/dsh-agent/lib/types/index.js +4 -0
- package/node_modules/@deepseek-ai/dsh-agent/lib/types/model-selection.js +1 -2
- package/node_modules/@deepseek-ai/dsh-agent/package.json +27 -20
- package/node_modules/@deepseek-ai/dsh-agent-default-model/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-default-model/README.md +9 -9
- package/node_modules/@deepseek-ai/dsh-agent-default-model/README.zh.md +9 -9
- package/node_modules/@deepseek-ai/dsh-agent-default-model/lib/index.js +26 -39
- package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-agent-instructions/lib/index.js +3 -2
- package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +39 -49
- package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +26 -28
- package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset}/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-agent-preset/README.md +94 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/README.zh.md +94 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/lib/index.js +29 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +49 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/SKILL.md +29 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +506 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/SKILL.md +38 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/host-plugin.md +60 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/mcp-bundle.md +5 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/ui-plugin.md +13 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/verification.md +5 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/client.js +22 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/index.js +2 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/package.json +15 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/mcp/cordis.patch.yml +8 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/mcp/package.json +7 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/editing-cordis-compositions/SKILL.md +84 -0
- package/node_modules/@deepseek-ai/{dsh-api-authorization-controller → dsh-agent-preset-registry}/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.md +107 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.zh.md +107 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/index.js +781 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/invariant.js +806 -0
- package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/typert.host.js +118 -270
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.remote-client.js +84 -0
- package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/types/composition-inventory.js +9 -36
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/definition.js +29 -0
- package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/types/display.js +12 -3
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/index.js +371 -0
- package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/types/invariant.js +7 -19
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/mount.js +243 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/preset.js +2 -0
- package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/types/session.js +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +96 -0
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +7 -7
- package/node_modules/@deepseek-ai/{dsh-settings-file → dsh-api-account-controller}/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-api-account-controller/README.md +53 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/README.zh.md +53 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/index.js +209 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.host.js +273 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.remote-client.js +267 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/types/index.js +116 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/{dsh-api-authorization-controller → dsh-api-account-controller}/package.json +13 -20
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.md +9 -4
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.zh.md +9 -4
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.js +294 -51
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/index.js +516 -92
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/index.js +104 -14
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/remote-events.js +2 -2
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/stream-client.js +164 -11
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/index.js +322 -33
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/stream-protocol.js +10 -46
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/stream-server.js +210 -23
- package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +18 -13
- package/node_modules/@deepseek-ai/dsh-api-job-controller/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/README.md +69 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/README.zh.md +69 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/client.js +367 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/index.js +377 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/typert.host.js +273 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/typert.remote-client.js +181 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/client/index.js +23 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/client/model.js +164 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/client/service.js +182 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/index.js +150 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/observe.js +107 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/rows.js +43 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/types.js +8 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/wake.js +59 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +82 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +1751 -1017
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +7 -3
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +40 -39
- 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 +31 -8
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +31 -8
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +603 -515
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +299 -137
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +373 -183
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +216 -124
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/archived-session-gate.js +52 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/lineage.js +2 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/manager.js +249 -277
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/projection-store.js +45 -13
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/service.js +35 -47
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js +112 -50
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +72 -36
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/control.js +2 -44
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history.js +1 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +117 -13
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/list.js +24 -15
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/skill-catalog.js +60 -50
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/types.js +0 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +68 -72
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/README.md +1 -2
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/README.zh.md +1 -2
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/index.js +6 -78
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.host.js +33 -99
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.remote-client.js +32 -80
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/types/index.js +6 -61
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +50 -22
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.remote-client.js +4 -4
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +20 -19
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.md +16 -2
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.zh.md +16 -2
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/client.js +98 -6
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/index.js +202 -15
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.host.js +161 -11
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.remote-client.js +121 -8
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/index.js +4 -1
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/model.js +70 -2
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/service.js +33 -3
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/commands.js +45 -7
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/default-directory.js +65 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/feed.js +9 -1
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/index.js +62 -5
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +21 -18
- 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 +26 -25
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.zh.md +26 -25
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/client.js +41 -35
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/index.js +129 -121
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.host.js +72 -141
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.remote-client.js +61 -120
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/changes.js +106 -46
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/client/change-feed.js +34 -27
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/client/provider.js +13 -6
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/index.js +32 -53
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +15 -14
- package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-app-boot/README.md +33 -15
- package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +33 -15
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +1647 -681
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/worker/profile-resolution-bootstrap.js +255 -357
- package/node_modules/@deepseek-ai/dsh-app-boot/package.json +20 -18
- package/node_modules/@deepseek-ai/dsh-atomic-write/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-atomic-write/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-atomic-write/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-authorization/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-authorization/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-authorization/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-authorization/lib/index.js +16 -4
- package/node_modules/@deepseek-ai/dsh-authorization/lib/types/index.js +19 -4
- package/node_modules/@deepseek-ai/dsh-authorization/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-base/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-base/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +20 -26
- package/node_modules/@deepseek-ai/dsh-base/package.json +94 -93
- package/node_modules/@deepseek-ai/dsh-bash-local/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-bash-local/README.md +7 -6
- package/node_modules/@deepseek-ai/dsh-bash-local/README.zh.md +7 -6
- package/node_modules/@deepseek-ai/dsh-bash-local/lib/index.js +153 -202
- package/node_modules/@deepseek-ai/dsh-bash-local/package.json +11 -13
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/lib/index.js +58 -63
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-brand/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-connection/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-connection/README.md +7 -3
- package/node_modules/@deepseek-ai/dsh-client-connection/README.zh.md +7 -3
- package/node_modules/@deepseek-ai/dsh-client-connection/lib/client.js +169 -28
- package/node_modules/@deepseek-ai/dsh-client-connection/lib/index.js +98 -36
- package/node_modules/@deepseek-ai/dsh-client-connection/package.json +13 -10
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/client.js +8 -12
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +46 -18
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/types/client/runtime.js +5 -12
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/types/protocol.js +5 -0
- package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-hmr/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-hmr/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-hmr/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-hmr/lib/client.js +6 -4
- package/node_modules/@deepseek-ai/dsh-client-hmr/lib/index.js +8 -5
- package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-locale/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-locale/README.md +9 -1
- package/node_modules/@deepseek-ai/dsh-client-locale/README.zh.md +9 -1
- package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +225 -75
- package/node_modules/@deepseek-ai/dsh-client-locale/lib/index.js +9 -8
- package/node_modules/@deepseek-ai/dsh-client-locale/package.json +13 -11
- package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-modules/README.md +2 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +2 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +57 -36
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/invariant.js +2 -2
- package/node_modules/@deepseek-ai/dsh-client-modules/package.json +8 -7
- package/node_modules/@deepseek-ai/dsh-client-resources/package.json +7 -6
- package/node_modules/@deepseek-ai/dsh-client-store/LICENSE +21 -0
- package/node_modules/@deepseek-ai/{dsh-client-ui-settings-unarchive-sessions → dsh-client-store}/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-client-store/README.md +48 -0
- package/node_modules/@deepseek-ai/dsh-client-store/README.zh.md +48 -0
- package/node_modules/@deepseek-ai/dsh-client-store/lib/index.js +180 -0
- package/node_modules/@deepseek-ai/dsh-client-store/lib/types/contract.d.ts +121 -0
- package/node_modules/@deepseek-ai/dsh-client-store/lib/types/index.d.ts +92 -0
- package/node_modules/@deepseek-ai/dsh-client-store/package.json +37 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.md +13 -31
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.zh.md +22 -40
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +865 -1033
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +21 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/client.js +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +14 -14
- 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 +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +28 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +6 -6
- 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 +62 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +60 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +4808 -1393
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/index.js +37 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +41 -37
- 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 +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +20 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +17 -16
- 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 +19 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +19 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +1321 -349
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/index.js +9 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +34 -32
- 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 +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +28 -25
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +14 -14
- 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 +14 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +14 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +628 -497
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/index.js +17 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +31 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +18 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +13 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +14 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.md +25 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.zh.md +29 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +413 -63
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/index.js +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +26 -23
- 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 +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.zh.md +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +75 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +10 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +15 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +18 -17
- 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 +4 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +4 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +12 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +17 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.md +20 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.zh.md +20 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +530 -195
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +25 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +39 -100
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +17 -16
- 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 +7 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.zh.md +8 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +73 -60
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +22 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +29 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +29 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +1095 -381
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +16 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +25 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +25 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ConnectionIndicator.module.css +1 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/HoverCard.module.css +27 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Menu.module.css +68 -48
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Modal.module.css +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/OnboardingSurface.module.css +1 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/PathLabel.module.css +28 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/RiskConfirmation.module.css +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedControl.module.css +76 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedTabs.module.css +55 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/StateDot.module.css +64 -37
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TerminalBlock.module.css +13 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TextShimmer.module.css +27 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Toast.module.css +31 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tooltip.module.css +12 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +5418 -2739
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/SettingsForm.module.css +53 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/fields.module.css +145 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ConfigField.d.ts +33 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DisclosureRow.d.ts +4 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCard.d.ts +14 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/LinkIcon.d.ts +15 -30
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Menu.d.ts +50 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/PathLabel.d.ts +13 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/PermissionIcon.d.ts +39 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReferenceIcon.d.ts +12 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SegmentedControl.d.ts +35 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SegmentedTabs.d.ts +26 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SiteGlyph.d.ts +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/StateDot.d.ts +6 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TerminalBlock.d.ts +15 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TextShimmer.d.ts +13 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Toast.d.ts +19 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tooltip.d.ts +12 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-file-types.d.ts +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-highlighting.d.ts +19 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/index.d.ts +376 -195
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/props.d.ts +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/shared-artwork.d.ts +36 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +21 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/overlay-top-margin.d.ts +14 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/plugin-artwork.d.ts +17 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/SettingsForm.d.ts +46 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/fields.d.ts +69 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/form-model.d.ts +214 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredMaxHeight.d.ts +4 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredPosition.d.ts +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +5 -3
- 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 +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/client.js +12 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/lib/client.js +7 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +7 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +12 -12
- 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 +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-session/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-session/lib/client.js +2 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +10 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.md +20 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.zh.md +20 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/client.js +281 -117
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/index.js +18 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +13 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +75 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +75 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2383 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/index.js +28 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +69 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/README.md +78 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/README.zh.md +78 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/lib/client.js +175 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/lib/index.js +12 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +60 -0
- 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 +17 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +17 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +166 -36
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/index.js +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +19 -15
- 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 +14 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +25 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +1246 -180
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/index.js +24 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +15 -10
- 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 +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +116 -61
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +14 -12
- 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 +11 -46
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/README.zh.md +15 -50
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +15 -1753
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +10 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/README.md +78 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/README.zh.md +78 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/lib/client.js +199 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/lib/index.js +12 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +60 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +9 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/README.md +82 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/README.zh.md +82 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/lib/client.js +857 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/lib/index.js +13 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +61 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.md +79 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.zh.md +79 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/lib/client.js +324 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/lib/index.js +13 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +61 -0
- 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 +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +35 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +12 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.md +13 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.zh.md +13 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/lib/client.js +1191 -429
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +16 -9
- 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 +46 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +46 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.excel.js +133782 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +3766 -789
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.pdf.js +37 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/index.js +13 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +34 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.md +11 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.zh.md +11 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/client.js +316 -106
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +15 -13
- 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 +10 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.zh.md +10 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +323 -111
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +15 -14
- 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 +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.js +24 -141
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.terminal.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +16 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +25 -24
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +4 -4
- 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 +13 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +13 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +168 -260
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +6 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +6 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +172 -70
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/index.js +14 -27
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/styles/Montserrat-OFL.txt +93 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/styles/brand-font.css +24 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/styles/montserrat-light.woff2 +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/styles/montserrat-medium.woff2 +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/styles/montserrat-regular.woff2 +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +17 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +10 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +10 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +1887 -204
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +24 -23
- 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 +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +32 -44
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +18 -17
- 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 +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +19 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +20 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +9 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +16 -15
- 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 +102 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +102 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +2182 -1015
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +26 -22
- package/node_modules/@deepseek-ai/dsh-cmdline/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-command-compact/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-command-goal/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +46 -18
- package/node_modules/@deepseek-ai/dsh-commands/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-compaction/lib/index.js +2 -5
- package/node_modules/@deepseek-ai/dsh-compaction/lib/invariant.js +4 -22
- package/node_modules/@deepseek-ai/dsh-compaction/lib/types/checkpoint.js +2 -2
- package/node_modules/@deepseek-ai/dsh-compaction/lib/types/invariant.js +2 -3
- package/node_modules/@deepseek-ai/dsh-compaction/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.md +9 -8
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.zh.md +9 -8
- package/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +50 -19
- package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/lib/index.js +1 -7
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/lib/types/image-offload.js +0 -3
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/lib/types/project-message.js +0 -5
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/lib/index.js +3 -7
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-config-editor/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-config-editor/README.md +79 -0
- package/node_modules/@deepseek-ai/dsh-config-editor/README.zh.md +79 -0
- package/node_modules/@deepseek-ai/dsh-config-editor/lib/index.js +132 -0
- package/node_modules/@deepseek-ai/dsh-config-editor/package.json +54 -0
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +878 -170
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/index.js +6 -68
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +107 -51
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.remote-client.js +15 -15
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/index.js +5 -6
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/sandbox.js +0 -27
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-credentials/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-deepseek-account/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account/README.md +63 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account/README.zh.md +63 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/index.js +35 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/types/index.js +36 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +42 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.md +96 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.zh.md +96 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/index.js +891 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/details.js +55 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/index.js +488 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/logout.js +34 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/protocol.js +210 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +52 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-deque/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.md +8 -4
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.zh.md +8 -4
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/index.js +14 -74
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/invariant.js +6 -8
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/typert.host.js +51 -189
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/typert.remote-client.js +3 -151
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/index.js +0 -41
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/projection.js +10 -10
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/roster.js +8 -4
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +28 -26
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.md +16 -4
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.zh.md +16 -4
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/icon.svg +12 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +12 -7
- package/node_modules/@deepseek-ai/{dsh-experimental-agent-team-web-profile → dsh-experimental-api-speech-to-text}/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/README.md +78 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/README.zh.md +78 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/index.js +218 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.host.js +432 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.remote-client.js +311 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/types/index.js +142 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +60 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.md +11 -9
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.zh.md +11 -9
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +127 -562
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +30 -27
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.md +76 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.zh.md +76 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/client.js +5714 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +92 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.md +80 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.zh.md +80 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/index.js +200 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/types/index.js +181 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/types/wave.js +24 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +57 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.md +82 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.zh.md +82 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/index.js +818 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/worker.js +219 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +53 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/runtime/assets.json +28 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/lib/index.js +23 -24
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +27 -25
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/README.md +77 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/README.zh.md +77 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/cordis.patch.yml +13 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/icon.svg +9 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +54 -0
- package/node_modules/@deepseek-ai/dsh-file-reference/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-file-reference/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-file-reference/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-file-reference/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-file-reference-local/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-file-reference-local/README.md +3 -4
- package/node_modules/@deepseek-ai/dsh-file-reference-local/README.zh.md +3 -4
- package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-fs/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-fs/README.md +7 -5
- package/node_modules/@deepseek-ai/dsh-fs/README.zh.md +7 -5
- package/node_modules/@deepseek-ai/dsh-fs/lib/index.js +12 -0
- package/node_modules/@deepseek-ai/dsh-fs/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-fs-local/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-fs-local/README.md +6 -3
- package/node_modules/@deepseek-ai/dsh-fs-local/README.zh.md +6 -3
- package/node_modules/@deepseek-ai/dsh-fs-local/lib/index.js +27 -0
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +8 -7
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +46 -18
- package/node_modules/@deepseek-ai/dsh-goal/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/lib/index.js +2 -3
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-headless/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-headless/lib/{json-stream-Bh4BGGk9.js → json-stream-BA-F3lfb.js} +4 -4
- package/node_modules/@deepseek-ai/dsh-headless/lib/startup.js +1 -1
- package/node_modules/@deepseek-ai/dsh-headless/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-hmr/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-hmr/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-hmr/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-hmr/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-home-paths/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-hook-protocol/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-hook-protocol/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-hooks-claude-code/lib/index.js +4 -7
- package/node_modules/@deepseek-ai/dsh-hooks-claude-code/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-hooks-codex/lib/index.js +3 -6
- package/node_modules/@deepseek-ai/dsh-hooks-codex/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/index.js +28 -81
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/types/icons.js +4 -49
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/types/index.js +8 -8
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/types/resolver.js +8 -27
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/types/shared.js +16 -7
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/README.md +8 -4
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/README.zh.md +8 -4
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/index.js +19 -11
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.host.js +23 -4
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.remote-client.js +23 -4
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/types/index.js +18 -10
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +14 -12
- package/node_modules/@deepseek-ai/dsh-host-webserver/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-host-webserver/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-host-webserver/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-host-webserver/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-invariants/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-invariants/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-invariants/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-invariants/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-jobs/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-jobs/README.md +18 -11
- package/node_modules/@deepseek-ai/dsh-jobs/README.zh.md +18 -11
- package/node_modules/@deepseek-ai/dsh-jobs/lib/index.js +74 -16
- package/node_modules/@deepseek-ai/dsh-jobs/lib/invariant.js +67 -17
- package/node_modules/@deepseek-ai/dsh-jobs/lib/types/archive-admission.js +43 -0
- package/node_modules/@deepseek-ai/dsh-jobs/lib/types/index.js +34 -16
- package/node_modules/@deepseek-ai/dsh-jobs/lib/types/invariant.js +90 -27
- package/node_modules/@deepseek-ai/dsh-jobs/lib/types/types.js +3 -2
- package/node_modules/@deepseek-ai/dsh-jobs/lib/types/view.js +9 -0
- package/node_modules/@deepseek-ai/dsh-jobs/package.json +22 -11
- package/node_modules/@deepseek-ai/dsh-jobs-local/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-jobs-local/README.md +18 -11
- package/node_modules/@deepseek-ai/dsh-jobs-local/README.zh.md +17 -10
- package/node_modules/@deepseek-ai/dsh-jobs-local/lib/index.js +566 -193
- package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm/README.md +11 -8
- package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +11 -8
- package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +41 -97
- package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +69 -13
- package/node_modules/@deepseek-ai/dsh-llm/lib/typert.remote-client.js +3 -3
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/assembler.js +4 -4
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/content.js +12 -64
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +3 -1
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/message.js +21 -16
- package/node_modules/@deepseek-ai/dsh-llm/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-llm-cursor/lib/index.js +13 -50
- package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +25 -26
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +35 -49
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +36 -50
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +1132 -2048
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +53 -43
- 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 +12 -9
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +11 -8
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +84 -184
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +30 -24
- package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-native-command/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-native-command/README.md +8 -9
- package/node_modules/@deepseek-ai/dsh-native-command/README.zh.md +8 -9
- package/node_modules/@deepseek-ai/dsh-native-command/lib/index.js +612 -3
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/desktop-entry.js +79 -0
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/file-applications-linux.js +70 -0
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/file-applications-windows.js +228 -0
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/file-applications.js +191 -0
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/index.js +10 -0
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/path-opener.js +230 -0
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/runner.js +27 -0
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/types.js +25 -0
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/url-opener.js +88 -0
- package/node_modules/@deepseek-ai/dsh-native-command/package.json +10 -5
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/lib/index.js +33 -57
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/index.js +4 -4
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/typert.host.js +41 -3
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/typert.remote-client.js +39 -1
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/types/index.js +4 -3
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-output-retention/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-package-manifest/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-package-manifest/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-package-manifest/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-permission-presets/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-permission-presets/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/index.js +16 -35
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +54 -20
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.remote-client.js +7 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/types/index.js +14 -38
- package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +23 -24
- package/node_modules/@deepseek-ai/dsh-persona/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-persona/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-persona/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-persona/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-plan-mode/lib/index.js +1 -2
- package/node_modules/@deepseek-ai/dsh-plan-mode/lib/types/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +12 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +12 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +371 -74
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +203 -29
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +155 -15
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +210 -70
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/install-failure.js +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/install-spec.js +16 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +35 -5
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/registry.js +95 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +5 -1
- package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +37 -32
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/lib/types/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-pwsh-local/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-pwsh-local/README.md +6 -5
- package/node_modules/@deepseek-ai/dsh-pwsh-local/README.zh.md +6 -5
- package/node_modules/@deepseek-ai/dsh-pwsh-local/lib/index.js +161 -196
- package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +11 -13
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/README.md +5 -5
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/README.zh.md +5 -5
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/lib/index.js +58 -63
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +36 -60
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-sandbox/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-sandbox-local/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-sandbox-local/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-sandbox-local/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-sandbox-local/lib/index.js +3 -2
- package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.md +19 -15
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.zh.md +17 -13
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/runner.js +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/{types-CutH1Lgc.js → types-DxezulnA.js} +267 -78
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-schedule/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-schedule/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-schedule/README.zh.md +4 -1
- package/node_modules/@deepseek-ai/dsh-schedule/lib/index.js +104 -37
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/index.js +61 -5
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/runtime.js +11 -1
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +25 -23
- package/node_modules/@deepseek-ai/dsh-scope/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +15 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +10 -8
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session/README.md +11 -9
- package/node_modules/@deepseek-ai/dsh-session/README.zh.md +12 -8
- package/node_modules/@deepseek-ai/dsh-session/lib/index.js +215 -125
- package/node_modules/@deepseek-ai/dsh-session/lib/invariant.js +4 -1
- package/node_modules/@deepseek-ai/dsh-session/lib/types/fork.js +28 -0
- package/node_modules/@deepseek-ai/dsh-session/lib/types/index.js +56 -61
- package/node_modules/@deepseek-ai/dsh-session/lib/types/invariant.js +5 -1
- package/node_modules/@deepseek-ai/dsh-session/lib/types/known-event-types.js +1 -0
- package/node_modules/@deepseek-ai/dsh-session/lib/types/repair.js +52 -23
- package/node_modules/@deepseek-ai/dsh-session/lib/types/surface.js +73 -17
- package/node_modules/@deepseek-ai/dsh-session/lib/types/types.js +1 -1
- package/node_modules/@deepseek-ai/dsh-session/package.json +15 -11
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-session-format/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/README.md +5 -1
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/README.zh.md +5 -1
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/lib/index.js +55 -10
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/lib/types/children.js +17 -0
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/lib/types/generated.js +25 -11
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/lib/types/historical.js +20 -0
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/lib/types/index.js +2 -0
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +11 -10
- package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.md +350 -0
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.zh.md +350 -0
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/lib/index.js +1552 -0
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +51 -0
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/types/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.md +6 -2
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.zh.md +6 -2
- package/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +43 -20
- package/node_modules/@deepseek-ai/dsh-session-log-export/lib/index.js +48 -17
- package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +25 -23
- package/node_modules/@deepseek-ai/dsh-session-persistence/lib/index.js +2 -0
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.md +6 -2
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.zh.md +6 -2
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/index.js +210 -45
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +1456 -313
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-session-projection/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/lib/index.js +71 -51
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-query/lib/index.js +4 -5
- package/node_modules/@deepseek-ai/dsh-session-query/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/index.js +5 -5
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +47 -19
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.remote-client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/types/index.js +3 -7
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/types/projection.js +1 -0
- package/node_modules/@deepseek-ai/dsh-session-reference/package.json +39 -39
- package/node_modules/@deepseek-ai/dsh-session-stats/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-telemetry/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-telemetry/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-telemetry/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-telemetry/lib/index.js +6 -5
- package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-session-title/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-session-title-llm/lib/index.js +1 -4
- package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-settings/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-settings/README.md +19 -96
- package/node_modules/@deepseek-ai/dsh-settings/README.zh.md +25 -102
- package/node_modules/@deepseek-ai/dsh-settings/lib/index.js +360 -426
- package/node_modules/@deepseek-ai/dsh-settings/lib/types/index.js +271 -512
- package/node_modules/@deepseek-ai/dsh-settings/lib/types/redact.js +14 -8
- package/node_modules/@deepseek-ai/dsh-settings/lib/types/schema.js +85 -0
- package/node_modules/@deepseek-ai/dsh-settings/lib/types/types.js +1 -9
- package/node_modules/@deepseek-ai/dsh-settings/package.json +21 -17
- package/node_modules/@deepseek-ai/dsh-shell/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-shell/README.md +17 -10
- package/node_modules/@deepseek-ai/dsh-shell/README.zh.md +17 -10
- package/node_modules/@deepseek-ai/dsh-shell/lib/index.js +19 -21
- package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -9
- package/node_modules/@deepseek-ai/dsh-shell-env/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-shell-env/README.md +5 -5
- package/node_modules/@deepseek-ai/dsh-shell-env/README.zh.md +5 -5
- package/node_modules/@deepseek-ai/dsh-shell-env/lib/index.js +10 -1
- package/node_modules/@deepseek-ai/dsh-shell-env/package.json +14 -12
- package/node_modules/@deepseek-ai/dsh-skill/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-skill-office/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/README.md +100 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/README.zh.md +100 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-docx/SKILL.md +46 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-pptx/SKILL.md +70 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-xlsx/SKILL.md +56 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/assets/scripts/check_office.py +279 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/lib/index.js +80 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/package.json +43 -0
- package/node_modules/@deepseek-ai/dsh-spill/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-storage/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent/README.md +9 -6
- package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +9 -6
- package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +301 -239
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +60 -89
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.remote-client.js +2 -56
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/archive-admission.js +151 -0
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/catalog.js +12 -6
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/control-types.js +2 -3
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/control.js +2 -40
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +29 -91
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/lifecycle.js +14 -19
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/list-children.js +45 -49
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/projection.js +10 -4
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/run-settlement.js +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +57 -54
- package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-subprocess/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-system-prompt/lib/index.js +3 -3
- package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-terminal/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-time-context/lib/index.js +2 -3
- package/node_modules/@deepseek-ai/dsh-time-context/lib/invariant.js +4 -4
- package/node_modules/@deepseek-ai/dsh-time-context/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-timeout/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +35 -57
- package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-token-meter/lib/index.js +0 -7
- package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/estimate.js +0 -3
- package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/surface-fold.js +0 -5
- package/node_modules/@deepseek-ai/dsh-token-meter/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.md +16 -10
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.zh.md +16 -10
- package/node_modules/@deepseek-ai/dsh-tool-bash/lib/index.js +421 -183
- package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +32 -32
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/lib/index.js +9 -3
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-tool-cordis/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-cordis/README.md +6 -5
- package/node_modules/@deepseek-ai/dsh-tool-cordis/README.zh.md +6 -5
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/index.js +4 -9980
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +7809 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/config.js +93 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/host.js +17 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/index.js +57 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/present.js +16 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/providers.js +85 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +21 -12
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +30 -30
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-tool-goal/lib/index.js +1 -2
- package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-jobs/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-jobs/README.md +9 -8
- package/node_modules/@deepseek-ai/dsh-tool-jobs/README.zh.md +10 -9
- package/node_modules/@deepseek-ai/dsh-tool-jobs/lib/index.js +110 -51
- package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-tool-present/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-present/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-present/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-present/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-present/lib/types/index.js +5 -4
- package/node_modules/@deepseek-ai/dsh-tool-present/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.md +10 -5
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.zh.md +10 -5
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/index.js +440 -207
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/lib/index.js +9 -3
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/model-selection-settings.js +12 -38
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +30 -32
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/list-agents.js +10 -20
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-web/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-tool-workflow/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-workflow/README.md +21 -8
- package/node_modules/@deepseek-ai/dsh-tool-workflow/README.zh.md +21 -8
- package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/index.js +179 -11
- package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/types/index.js +147 -14
- package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/types/record.js +43 -0
- package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +25 -21
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/README.md +128 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/README.zh.md +128 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/lib/index.js +252 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +44 -0
- package/node_modules/@deepseek-ai/dsh-tools/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tools/README.md +4 -0
- package/node_modules/@deepseek-ai/dsh-tools/README.zh.md +4 -0
- package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +5 -6
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/ptc.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/schema.js +1 -0
- package/node_modules/@deepseek-ai/dsh-tools/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tui-app/README.md +15 -15
- package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +15 -15
- package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +554 -131
- package/node_modules/@deepseek-ai/dsh-tui-app/package.json +75 -75
- package/node_modules/@deepseek-ai/dsh-typert-loader/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-typert-protocol/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-typert-protocol/README.md +7 -2
- package/node_modules/@deepseek-ai/dsh-typert-protocol/README.zh.md +7 -2
- package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/index.js +66 -3
- package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/index.js +20 -2
- package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/json-value.js +61 -0
- package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +6 -3
- package/node_modules/@deepseek-ai/dsh-typert-registry/lib/client.js +3 -0
- package/node_modules/@deepseek-ai/dsh-typert-registry/lib/index.js +3 -0
- package/node_modules/@deepseek-ai/dsh-typert-registry/lib/types/service.js +6 -0
- package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-user-approval/lib/index.js +1 -4
- package/node_modules/@deepseek-ai/dsh-user-approval/lib/invariant.js +1 -4
- package/node_modules/@deepseek-ai/dsh-user-approval/lib/types/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-user-approval/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-user-questions/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-web/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-web-app/README.md +9 -6
- package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +9 -6
- package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +51 -29
- package/node_modules/@deepseek-ai/dsh-web-app/lib/index.js +293 -1
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +150 -102
- package/node_modules/@deepseek-ai/dsh-web-app/presets/cordis.patch.yml +154 -0
- package/node_modules/@deepseek-ai/dsh-web-app/presets/minimal.patch.yml +61 -0
- package/node_modules/@deepseek-ai/dsh-web-app/presets/ptc.patch.yml +152 -0
- package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +146 -0
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DU8FBaxM.js +127 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Uv-aF9RH.css +1 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/favicon-dark.svg +3 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/favicon.svg +0 -5
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +4 -3
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/manifest.webmanifest +3 -4
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +15 -10
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/lib/index.js +21 -29
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +16 -18
- package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-webhook/lib/index.js +121 -50
- package/node_modules/@deepseek-ai/dsh-webhook/lib/types/session.js +111 -46
- package/node_modules/@deepseek-ai/dsh-webhook/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-webhook-github/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-workflow/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +36 -36
- package/node_modules/@deepseek-ai/dsh-workspace/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-workspace/README.md +16 -4
- package/node_modules/@deepseek-ai/dsh-workspace/README.zh.md +17 -4
- package/node_modules/@deepseek-ai/dsh-workspace/lib/index.js +166 -25
- package/node_modules/@deepseek-ai/dsh-workspace/lib/invariant.js +8 -3
- package/node_modules/@deepseek-ai/dsh-workspace/lib/types/index.js +185 -21
- package/node_modules/@deepseek-ai/dsh-workspace/lib/types/spec.js +11 -4
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +16 -16
- package/node_modules/@deepseek-ai/schemastery/README.md +4 -0
- package/node_modules/@deepseek-ai/schemastery/lib/index.cjs +40 -1
- package/node_modules/@deepseek-ai/schemastery/lib/index.mjs +41 -2
- package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
- package/node_modules/@deepseek-ai/schemastery/src/index.ts +93 -33
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js +0 -2
- package/node_modules/@eslint-community/regexpp/LICENSE +21 -0
- package/node_modules/@eslint-community/regexpp/README.md +177 -0
- package/node_modules/@eslint-community/regexpp/index.js +3042 -0
- package/node_modules/@eslint-community/regexpp/index.mjs +3032 -0
- package/node_modules/@eslint-community/regexpp/package.json +71 -0
- package/node_modules/ajv/.runkit_example.js +23 -0
- package/node_modules/ajv/LICENSE +22 -0
- package/node_modules/ajv/README.md +207 -0
- package/node_modules/ajv/dist/2019.js +61 -0
- package/node_modules/ajv/dist/2020.js +55 -0
- package/node_modules/ajv/dist/ajv.js +50 -0
- package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/ajv/dist/compile/index.js +242 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
- package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/ajv/dist/core.js +618 -0
- package/node_modules/ajv/dist/jtd.js +72 -0
- package/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/ajv/dist/standalone/index.js +90 -0
- package/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/ajv/lib/2019.ts +81 -0
- package/node_modules/ajv/lib/2020.ts +75 -0
- package/node_modules/ajv/lib/ajv.ts +70 -0
- package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/node_modules/ajv/lib/compile/index.ts +324 -0
- package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
- package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/node_modules/ajv/lib/compile/names.ts +27 -0
- package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/node_modules/ajv/lib/compile/util.ts +213 -0
- package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/node_modules/ajv/lib/core.ts +892 -0
- package/node_modules/ajv/lib/jtd.ts +132 -0
- package/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/node_modules/ajv/lib/types/index.ts +244 -0
- package/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/node_modules/ajv/package.json +104 -0
- package/node_modules/fast-uri/.gitattributes +2 -0
- package/node_modules/fast-uri/.github/dependabot.yml +13 -0
- package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
- package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
- package/node_modules/fast-uri/LICENSE +30 -0
- package/node_modules/fast-uri/README.md +152 -0
- package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
- package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
- package/node_modules/fast-uri/benchmark/package.json +17 -0
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
- package/node_modules/fast-uri/eslint.config.js +6 -0
- package/node_modules/fast-uri/index.js +631 -0
- package/node_modules/fast-uri/lib/schemes.js +272 -0
- package/node_modules/fast-uri/lib/utils.js +747 -0
- package/node_modules/fast-uri/package.json +56 -0
- package/node_modules/fast-uri/test/ajv.test.js +43 -0
- package/node_modules/fast-uri/test/component-safe-serialization.test.js +163 -0
- package/node_modules/fast-uri/test/equal.test.js +145 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +503 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
- package/node_modules/fast-uri/test/ipv6-canonical.test.js +34 -0
- package/node_modules/fast-uri/test/ipv6-validation.test.js +124 -0
- package/node_modules/fast-uri/test/malformed-percent.test.js +77 -0
- package/node_modules/fast-uri/test/malformed-urn.test.js +61 -0
- package/node_modules/fast-uri/test/parse.test.js +327 -0
- package/node_modules/fast-uri/test/query-fragment-normalization.test.js +33 -0
- package/node_modules/fast-uri/test/reserved-path-normalization.test.js +109 -0
- package/node_modules/fast-uri/test/resolve.test.js +87 -0
- package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
- package/node_modules/fast-uri/test/scheme-validation.test.js +124 -0
- package/node_modules/fast-uri/test/security-normalization.test.js +178 -0
- package/node_modules/fast-uri/test/security.test.js +431 -0
- package/node_modules/fast-uri/test/serialize.test.js +151 -0
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
- package/node_modules/fast-uri/test/uri-js.test.js +912 -0
- package/node_modules/fast-uri/test/urn-full-input.test.js +29 -0
- package/node_modules/fast-uri/test/util.test.js +38 -0
- package/node_modules/fast-uri/test/websocket-query-preservation.test.js +24 -0
- package/node_modules/fast-uri/tsconfig.json +9 -0
- package/node_modules/fast-uri/types/index.test-d.ts +17 -0
- package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- package/node_modules/json-schema-traverse/LICENSE +21 -0
- package/node_modules/json-schema-traverse/README.md +95 -0
- package/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/json-schema-traverse/package.json +38 -0
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +25 -0
- package/node_modules/require-from-string/readme.md +56 -0
- package/node_modules/sherpa-onnx-node/README.md +11 -0
- package/node_modules/sherpa-onnx-node/addon-static-import.js +70 -0
- package/node_modules/sherpa-onnx-node/addon.js +98 -0
- package/node_modules/sherpa-onnx-node/audio-tagg.js +45 -0
- package/node_modules/sherpa-onnx-node/keyword-spotter.js +68 -0
- package/node_modules/sherpa-onnx-node/non-streaming-asr.js +158 -0
- package/node_modules/sherpa-onnx-node/non-streaming-speaker-diarization.js +38 -0
- package/node_modules/sherpa-onnx-node/non-streaming-speech-denoiser.js +32 -0
- package/node_modules/sherpa-onnx-node/non-streaming-tts.js +116 -0
- package/node_modules/sherpa-onnx-node/online-speech-denoiser.js +46 -0
- package/node_modules/sherpa-onnx-node/package.json +56 -0
- package/node_modules/sherpa-onnx-node/punctuation.js +43 -0
- package/node_modules/sherpa-onnx-node/resampler.js +80 -0
- package/node_modules/sherpa-onnx-node/sherpa-onnx.js +49 -0
- package/node_modules/sherpa-onnx-node/speaker-identification.js +152 -0
- package/node_modules/sherpa-onnx-node/spoken-language-identification.js +38 -0
- package/node_modules/sherpa-onnx-node/streaming-asr.js +181 -0
- package/node_modules/sherpa-onnx-node/types.js +788 -0
- package/node_modules/sherpa-onnx-node/vad.js +134 -0
- package/package.json +318 -268
- package/node_modules/@deepseek-ai/dsh-agent-presets/README.md +0 -195
- package/node_modules/@deepseek-ai/dsh-agent-presets/README.zh.md +0 -195
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/index.js +0 -1820
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/invariant.js +0 -1838
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/typert.remote-client.js +0 -207
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/authoring.js +0 -176
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/discovery.js +0 -316
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/index.js +0 -799
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/metadata.js +0 -92
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/mount.js +0 -386
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/preset.js +0 -11
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/specifier.js +0 -41
- package/node_modules/@deepseek-ai/dsh-agent-presets/package.json +0 -98
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/agent.cordis.yml +0 -283
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/preset.yml +0 -3
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/skills/cordis-plugin-development/SKILL.md +0 -108
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/skills/editing-cordis-compositions/SKILL.md +0 -102
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/minimal/agent.cordis.yml +0 -69
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/minimal/preset.yml +0 -3
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/ptc/agent.cordis.yml +0 -287
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/ptc/preset.yml +0 -3
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/standard/agent.cordis.yml +0 -266
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/standard/preset.yml +0 -3
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/README.md +0 -138
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/README.zh.md +0 -138
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/index.js +0 -501
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/typert.host.js +0 -350
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/typert.remote-client.js +0 -249
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/types/index.js +0 -424
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/types/types.js +0 -12
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/queue-mirror.js +0 -61
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/README.md +0 -112
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/README.zh.md +0 -112
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/lib/client.js +0 -216
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/lib/index.js +0 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/package.json +0 -66
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/README.md +0 -98
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/README.zh.md +0 -98
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/cordis.patch.yml +0 -6
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/package.json +0 -47
- package/node_modules/@deepseek-ai/dsh-settings/lib/invariant.js +0 -35
- package/node_modules/@deepseek-ai/dsh-settings/lib/types/invariant.js +0 -41
- package/node_modules/@deepseek-ai/dsh-settings-file/README.md +0 -150
- package/node_modules/@deepseek-ai/dsh-settings-file/README.zh.md +0 -150
- package/node_modules/@deepseek-ai/dsh-settings-file/lib/index.js +0 -285
- package/node_modules/@deepseek-ai/dsh-settings-file/package.json +0 -47
- package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-UEJ3Ntqn.js +0 -1511
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-8VXBH-f-.js +0 -127
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-lP1BfJ4l.css +0 -1
- /package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/types/types.js +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team-web-profile → dsh-experimental-voice-input-bundle}/lib/index.js +0 -0
|
@@ -15,6 +15,15 @@ window.__ModuleLoader__.load({
|
|
|
15
15
|
const CHANGES_DIFF_PATH = "/api/changes.diff";
|
|
16
16
|
/** Authenticated POST route for opening a changed file on the Host desktop. */
|
|
17
17
|
const CHANGES_OPEN_PATH = "/api/changes.open";
|
|
18
|
+
/**
|
|
19
|
+
* Browser-relative form of {@link CHANGED_FILES_PATH}; see
|
|
20
|
+
* .agents/notes/implemented/architecture/2026-09-14-web-document-relative-app-routes.md.
|
|
21
|
+
*/
|
|
22
|
+
const CHANGED_FILES_ROUTE = CHANGED_FILES_PATH.slice(1);
|
|
23
|
+
/** Browser-relative form of {@link CHANGES_DIFF_PATH}. */
|
|
24
|
+
const CHANGES_DIFF_ROUTE = CHANGES_DIFF_PATH.slice(1);
|
|
25
|
+
/** Browser-relative form of {@link CHANGES_OPEN_PATH}. */
|
|
26
|
+
const CHANGES_OPEN_ROUTE = CHANGES_OPEN_PATH.slice(1);
|
|
18
27
|
/** Resource-address prefix of a turn's review tab in the right Sidebar. */
|
|
19
28
|
const CHANGES_REVIEW_ADDRESS = "dsh-resource://changes-review/session/";
|
|
20
29
|
function isRecord$1(value) {
|
|
@@ -76,10 +85,10 @@ window.__ModuleLoader__.load({
|
|
|
76
85
|
* Build authenticated coordinates for the summary one `workspace/changes` event announced.
|
|
77
86
|
* @param sessionId - owning Session.
|
|
78
87
|
* @param seq - event sequence.
|
|
79
|
-
* @returns
|
|
88
|
+
* @returns document-relative summary route.
|
|
80
89
|
*/
|
|
81
90
|
function changesSummaryUrl(sessionId, seq) {
|
|
82
|
-
return `${
|
|
91
|
+
return `${CHANGED_FILES_ROUTE}?${new URLSearchParams({
|
|
83
92
|
sessionId,
|
|
84
93
|
seq: String(seq)
|
|
85
94
|
})}`;
|
|
@@ -89,10 +98,10 @@ window.__ModuleLoader__.load({
|
|
|
89
98
|
* @param sessionId - owning Session.
|
|
90
99
|
* @param seq - workspace/changes event sequence.
|
|
91
100
|
* @param index - original index in the summary's files array.
|
|
92
|
-
* @returns
|
|
101
|
+
* @returns document-relative comparison route.
|
|
93
102
|
*/
|
|
94
103
|
function changesDiffUrl(sessionId, seq, index) {
|
|
95
|
-
return `${
|
|
104
|
+
return `${CHANGES_DIFF_ROUTE}?${new URLSearchParams({
|
|
96
105
|
sessionId,
|
|
97
106
|
seq: String(seq),
|
|
98
107
|
index: String(index)
|
|
@@ -103,10 +112,10 @@ window.__ModuleLoader__.load({
|
|
|
103
112
|
* @param sessionId - owning Session.
|
|
104
113
|
* @param seq - workspace/changes event sequence.
|
|
105
114
|
* @param index - original index in the summary's files array.
|
|
106
|
-
* @returns
|
|
115
|
+
* @returns document-relative action route.
|
|
107
116
|
*/
|
|
108
117
|
function changedFileUrl(sessionId, seq, index) {
|
|
109
|
-
return `${
|
|
118
|
+
return `${CHANGES_OPEN_ROUTE}?${new URLSearchParams({
|
|
110
119
|
sessionId,
|
|
111
120
|
seq: String(seq),
|
|
112
121
|
index: String(index)
|
|
@@ -266,6 +275,13 @@ window.__ModuleLoader__.load({
|
|
|
266
275
|
/** Authenticated desktop availability and destination metadata. */
|
|
267
276
|
const PRESENT_HOST_PATH = "/api/present.host";
|
|
268
277
|
/**
|
|
278
|
+
* Browser-relative form of {@link PRESENT_OPEN_PATH}; see
|
|
279
|
+
* .agents/notes/implemented/architecture/2026-09-14-web-document-relative-app-routes.md.
|
|
280
|
+
*/
|
|
281
|
+
const PRESENT_OPEN_ROUTE = PRESENT_OPEN_PATH.slice(1);
|
|
282
|
+
/** Browser-relative form of {@link PRESENT_HOST_PATH}. */
|
|
283
|
+
const PRESENT_HOST_ROUTE = PRESENT_HOST_PATH.slice(1);
|
|
284
|
+
/**
|
|
269
285
|
* Validate desktop metadata received over HTTP.
|
|
270
286
|
* @param value - decoded response.
|
|
271
287
|
* @returns whether all displayed and actionable fields are supported.
|
|
@@ -290,10 +306,10 @@ window.__ModuleLoader__.load({
|
|
|
290
306
|
* @param sessionId - owning Session.
|
|
291
307
|
* @param seq - deliverables/presented event sequence.
|
|
292
308
|
* @param index - original index in the event's files array.
|
|
293
|
-
* @returns
|
|
309
|
+
* @returns document-relative file action route.
|
|
294
310
|
*/
|
|
295
311
|
function presentedFileUrl(sessionId, seq, index) {
|
|
296
|
-
return `${
|
|
312
|
+
return `${PRESENT_OPEN_ROUTE}?${new URLSearchParams({
|
|
297
313
|
sessionId,
|
|
298
314
|
seq: String(seq),
|
|
299
315
|
index: String(index)
|
|
@@ -321,12 +337,15 @@ window.__ModuleLoader__.load({
|
|
|
321
337
|
//#endregion
|
|
322
338
|
//#region lib/types/client/present-open.js
|
|
323
339
|
/** Shared native-open status for delivery cards, the changed-files card, and closing-message file mentions. */
|
|
340
|
+
/** Success feedback remains fully visible for five seconds before fading. */
|
|
341
|
+
const PRESENTED_SUCCESS_HOLD_MS = 5e3;
|
|
324
342
|
/** One browser plugin's file-open requests, cancelled when that plugin is disposed. */
|
|
325
343
|
var PresentedOpenController = class {
|
|
326
344
|
/** File action URLs key the state across Sessions, turns, and both clickable surfaces. */
|
|
327
345
|
state = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)({});
|
|
328
346
|
/** Native destination metadata, or a retryable read failure. */
|
|
329
347
|
host = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(null);
|
|
348
|
+
expiry = /* @__PURE__ */ new Map();
|
|
330
349
|
loading;
|
|
331
350
|
metadata = new AbortController();
|
|
332
351
|
lifetime = new AbortController();
|
|
@@ -338,31 +357,35 @@ window.__ModuleLoader__.load({
|
|
|
338
357
|
* @param seq - durable delivery event sequence.
|
|
339
358
|
* @param index - original file index within that event.
|
|
340
359
|
* @param action - default application open or file-manager reveal.
|
|
341
|
-
* @
|
|
360
|
+
* @param application - registered handler identifier for an explicit application choice.
|
|
361
|
+
* @returns null after a successful handoff, or the failure to announce after publishing card status.
|
|
342
362
|
*/
|
|
343
|
-
open(sessionId, seq, index, action = "open") {
|
|
344
|
-
return this.openUrl(presentedFileUrl(sessionId, seq, index), action);
|
|
363
|
+
open(sessionId, seq, index, action = "open", application) {
|
|
364
|
+
return this.openUrl(presentedFileUrl(sessionId, seq, index), action, application);
|
|
345
365
|
}
|
|
346
366
|
/**
|
|
347
367
|
* Open one recorded changed file in the Host's default application.
|
|
348
368
|
* @param sessionId - viewed Session.
|
|
349
369
|
* @param seq - durable workspace/changes event sequence.
|
|
350
370
|
* @param index - original file index within that event.
|
|
351
|
-
* @
|
|
371
|
+
* @param action - application open or file-manager reveal.
|
|
372
|
+
* @param application - registered handler identifier for an explicit application choice.
|
|
373
|
+
* @returns null after a successful handoff, or the failure to announce after publishing card status.
|
|
352
374
|
*/
|
|
353
|
-
openChanged(sessionId, seq, index) {
|
|
354
|
-
return this.openUrl(changedFileUrl(sessionId, seq, index),
|
|
375
|
+
openChanged(sessionId, seq, index, action = "open", application) {
|
|
376
|
+
return this.openUrl(changedFileUrl(sessionId, seq, index), action, application);
|
|
355
377
|
}
|
|
356
|
-
async openUrl(url, action) {
|
|
378
|
+
async openUrl(url, action, application) {
|
|
357
379
|
const phase = this.state.getSnapshot()[url];
|
|
358
|
-
if (this.lifetime.signal.aborted || phase === "opening" || phase === "revealing") return;
|
|
380
|
+
if (this.lifetime.signal.aborted || phase === "opening" || phase === "revealing") return null;
|
|
381
|
+
this.clearExpiry(url);
|
|
359
382
|
this.state.update((state) => {
|
|
360
383
|
state[url] = action === "open" ? "opening" : "revealing";
|
|
361
384
|
});
|
|
362
|
-
const task = this.request(url, action);
|
|
385
|
+
const task = this.request(url, action, application);
|
|
363
386
|
this.pending.add(task);
|
|
364
387
|
try {
|
|
365
|
-
await task;
|
|
388
|
+
return await task;
|
|
366
389
|
} finally {
|
|
367
390
|
this.pending.delete(task);
|
|
368
391
|
}
|
|
@@ -397,7 +420,7 @@ window.__ModuleLoader__.load({
|
|
|
397
420
|
async readHost(signal) {
|
|
398
421
|
let host = "error";
|
|
399
422
|
try {
|
|
400
|
-
const response = await fetch(
|
|
423
|
+
const response = await fetch(PRESENT_HOST_ROUTE, { signal });
|
|
401
424
|
if (response.ok) {
|
|
402
425
|
const value = await response.json();
|
|
403
426
|
if (isPresentedHost(value)) host = value;
|
|
@@ -410,13 +433,19 @@ window.__ModuleLoader__.load({
|
|
|
410
433
|
/** Cancel outstanding requests and wait until no request can publish state. */
|
|
411
434
|
async dispose() {
|
|
412
435
|
this.lifetime.abort();
|
|
436
|
+
for (const url of this.expiry.keys()) this.clearExpiry(url);
|
|
413
437
|
await Promise.all(this.pending);
|
|
414
438
|
}
|
|
415
|
-
|
|
439
|
+
clearExpiry(url) {
|
|
440
|
+
clearTimeout(this.expiry.get(url));
|
|
441
|
+
this.expiry.delete(url);
|
|
442
|
+
}
|
|
443
|
+
async request(url, action, application) {
|
|
416
444
|
const failure = action === "open" ? "error" : "revealError";
|
|
417
445
|
let phase = action === "open" ? "opened" : "revealed";
|
|
418
446
|
try {
|
|
419
|
-
const
|
|
447
|
+
const target = action === "reveal" ? `${url}&action=reveal` : application === void 0 ? url : `${url}&application=${encodeURIComponent(application)}`;
|
|
448
|
+
const response = await fetch(target, {
|
|
420
449
|
method: "POST",
|
|
421
450
|
signal: this.lifetime.signal
|
|
422
451
|
});
|
|
@@ -424,20 +453,29 @@ window.__ModuleLoader__.load({
|
|
|
424
453
|
} catch {
|
|
425
454
|
phase = failure;
|
|
426
455
|
}
|
|
427
|
-
if (!this.lifetime.signal.aborted)
|
|
428
|
-
|
|
429
|
-
|
|
456
|
+
if (!this.lifetime.signal.aborted) {
|
|
457
|
+
if (phase === "opened" || phase === "revealed") this.expiry.set(url, setTimeout(() => {
|
|
458
|
+
this.expiry.delete(url);
|
|
459
|
+
this.state.update((state) => {
|
|
460
|
+
Reflect.deleteProperty(state, url);
|
|
461
|
+
});
|
|
462
|
+
}, 5200));
|
|
463
|
+
this.state.update((state) => {
|
|
464
|
+
state[url] = phase;
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
return phase === "opened" || phase === "revealed" ? null : action === "reveal" ? "revealError" : "openError";
|
|
430
468
|
}
|
|
431
469
|
};
|
|
432
470
|
//#endregion
|
|
433
471
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-deliverables/src/client/PresentRow.module.css.mjs
|
|
434
|
-
const css$
|
|
435
|
-
const tagId$
|
|
436
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$
|
|
472
|
+
const css$4 = "._2XWtrW_summary{min-width:0;color:var(--dsw-alias-label-secondary);align-items:center;gap:8px;margin-left:8px;font-size:12px;display:flex}._2XWtrW_summary>:first-child{flex-shrink:0}._2XWtrW_paths{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._2XWtrW_output{background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;margin:8px 0;padding:12px;font-size:12px}._2XWtrW_inspect{color:var(--dsw-alias-link);font:inherit;cursor:pointer;background:0 0;border:none;align-self:flex-start;padding:4px 0;font-size:12px}";
|
|
473
|
+
const tagId$4 = "@deepseek-ai/dsh-client-ui-deliverables/PresentRow.module.css";
|
|
474
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
|
|
437
475
|
const tag = document.createElement("style");
|
|
438
476
|
tag.dataset.plugin = "@deepseek-ai/dsh-client-ui-deliverables";
|
|
439
|
-
tag.dataset.pluginCss = tagId$
|
|
440
|
-
tag.textContent = css$
|
|
477
|
+
tag.dataset.pluginCss = tagId$4;
|
|
478
|
+
tag.textContent = css$4;
|
|
441
479
|
document.head.appendChild(tag);
|
|
442
480
|
}
|
|
443
481
|
var PresentRow_module_css_default = {
|
|
@@ -476,7 +514,7 @@ window.__ModuleLoader__.load({
|
|
|
476
514
|
"data-state": state,
|
|
477
515
|
children: (0, react_jsx_runtime.jsxs)(_deepseek_ai_dsh_client_ui_primitives.DisclosureRow, {
|
|
478
516
|
title: t("row.title"),
|
|
479
|
-
icon: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
517
|
+
icon: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconDeliverDocRegular, { size: 14 }),
|
|
480
518
|
open: expanded && details !== "",
|
|
481
519
|
expandable: details !== "",
|
|
482
520
|
expandOnRowClick: true,
|
|
@@ -578,6 +616,394 @@ window.__ModuleLoader__.load({
|
|
|
578
616
|
return sessionFileAddress(sessionId, normalized);
|
|
579
617
|
}
|
|
580
618
|
//#endregion
|
|
619
|
+
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-deliverables/src/client/FileDiff.module.css.mjs
|
|
620
|
+
const css$3 = ".Pzmo2W_root{--diff-add-fill:color-mix(in srgb, var(--dsw-alias-state-success-primary) 8%, transparent);--diff-del-fill:color-mix(in srgb, var(--dsw-alias-state-error-primary) 8%, transparent);--diff-empty-fill:color-mix(in srgb, var(--dsw-alias-interactive-bg-hover) 50%, transparent);box-sizing:border-box;width:100%;min-height:0;color:var(--dsw-alias-label-primary);flex-direction:column;display:flex}body[data-ds-dark-theme] .Pzmo2W_root{--diff-add-fill:color-mix(in srgb, var(--dsw-alias-state-success-primary) 12%, transparent);--diff-del-fill:color-mix(in srgb, var(--dsw-alias-state-error-primary) 12%, transparent)}.Pzmo2W_header{box-sizing:border-box;border-bottom:.5px solid var(--dsw-alias-border-l3);flex:none;align-items:center;gap:6px;height:38px;padding:0 6px 0 8px;display:flex}.Pzmo2W_status{color:var(--dsw-alias-label-secondary);align-items:center;gap:12px;margin:0;padding:16px;font-size:13px;display:flex}.Pzmo2W_body{min-height:0;font:var(--dsw-font-markdown-code-block);flex-direction:column;flex:auto;padding:8px 0 16px;display:flex;overflow:auto}.Pzmo2W_columns{flex:auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:0;display:grid}.Pzmo2W_column{overscroll-behavior:none;grid-template-columns:minmax(max-content,100%);align-content:start;min-width:0;display:grid;overflow-x:scroll}.Pzmo2W_column+.Pzmo2W_column{border-left:.5px solid var(--dsw-alias-border-l3)}.Pzmo2W_sideLine{box-sizing:border-box;white-space:pre;grid-template-columns:3.5em max-content;width:max-content;min-width:100%;min-height:22px;line-height:22px;display:grid}.Pzmo2W_note{font:var(--dsw-font-xs-13);color:var(--dsw-alias-label-tertiary);margin:0;padding:4px 16px 8px}.Pzmo2W_hunk{margin-bottom:8px}.Pzmo2W_hunkHeader{color:var(--dsw-alias-label-tertiary);white-space:pre;padding:4px 16px}.Pzmo2W_line{box-sizing:border-box;white-space:pre;grid-template-columns:3.5em 3.5em 1.2em minmax(0,1fr);min-height:22px;line-height:22px;display:grid}.Pzmo2W_splitLine{white-space:pre;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:22px;line-height:22px;display:grid}.Pzmo2W_cell{box-sizing:border-box;grid-template-columns:3.5em minmax(0,1fr);min-width:0;display:grid}.Pzmo2W_cell+.Pzmo2W_cell{border-left:.5px solid var(--dsw-alias-border-l3)}.Pzmo2W_number{color:var(--dsw-alias-label-tertiary);text-align:right;user-select:none;padding-right:8px}.Pzmo2W_sign{text-align:center;user-select:none}.Pzmo2W_text{padding-right:16px}.Pzmo2W_body[data-review-wrap] .Pzmo2W_line,.Pzmo2W_body[data-review-wrap] .Pzmo2W_splitLine{white-space:pre-wrap}.Pzmo2W_body[data-review-wrap] .Pzmo2W_text{overflow-wrap:anywhere}.Pzmo2W_add{background:var(--diff-add-fill);box-shadow:inset 3px 0 0 var(--dsw-alias-state-success-primary)}.Pzmo2W_add .Pzmo2W_sign,.Pzmo2W_add .Pzmo2W_text{color:var(--dsw-alias-state-success-primary)}.Pzmo2W_del{background:var(--diff-del-fill);box-shadow:inset 3px 0 0 var(--dsw-alias-state-error-primary)}.Pzmo2W_del .Pzmo2W_sign,.Pzmo2W_del .Pzmo2W_text{color:var(--dsw-alias-state-error-primary)}.Pzmo2W_context .Pzmo2W_text{color:var(--dsw-alias-label-secondary)}.Pzmo2W_empty{background:var(--diff-empty-fill)}";
|
|
621
|
+
const tagId$3 = "@deepseek-ai/dsh-client-ui-deliverables/FileDiff.module.css";
|
|
622
|
+
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$3) + "]") === null) {
|
|
623
|
+
const tag = document.createElement("style");
|
|
624
|
+
tag.dataset.plugin = "@deepseek-ai/dsh-client-ui-deliverables";
|
|
625
|
+
tag.dataset.pluginCss = tagId$3;
|
|
626
|
+
tag.textContent = css$3;
|
|
627
|
+
document.head.appendChild(tag);
|
|
628
|
+
}
|
|
629
|
+
var FileDiff_module_css_default = {
|
|
630
|
+
"add": "Pzmo2W_add",
|
|
631
|
+
"body": "Pzmo2W_body",
|
|
632
|
+
"cell": "Pzmo2W_cell",
|
|
633
|
+
"column": "Pzmo2W_column",
|
|
634
|
+
"columns": "Pzmo2W_columns",
|
|
635
|
+
"context": "Pzmo2W_context",
|
|
636
|
+
"del": "Pzmo2W_del",
|
|
637
|
+
"empty": "Pzmo2W_empty",
|
|
638
|
+
"header": "Pzmo2W_header",
|
|
639
|
+
"hunk": "Pzmo2W_hunk",
|
|
640
|
+
"hunkHeader": "Pzmo2W_hunkHeader",
|
|
641
|
+
"line": "Pzmo2W_line",
|
|
642
|
+
"note": "Pzmo2W_note",
|
|
643
|
+
"number": "Pzmo2W_number",
|
|
644
|
+
"root": "Pzmo2W_root",
|
|
645
|
+
"sideLine": "Pzmo2W_sideLine",
|
|
646
|
+
"sign": "Pzmo2W_sign",
|
|
647
|
+
"splitLine": "Pzmo2W_splitLine",
|
|
648
|
+
"status": "Pzmo2W_status",
|
|
649
|
+
"text": "Pzmo2W_text"
|
|
650
|
+
};
|
|
651
|
+
//#endregion
|
|
652
|
+
//#region lib/types/client/FileDiff.js
|
|
653
|
+
/** Shared file comparison for the turn-tail hover preview and Sidebar review. */
|
|
654
|
+
/** Maximum rendered lines per comparison. */
|
|
655
|
+
const MAX_RENDERED_LINES = 5e3;
|
|
656
|
+
function highlightedSide(rows, side, highlighter) {
|
|
657
|
+
const source = rows.flatMap((row) => {
|
|
658
|
+
const no = row[side];
|
|
659
|
+
return no === void 0 ? [] : [{
|
|
660
|
+
no,
|
|
661
|
+
text: row.text
|
|
662
|
+
}];
|
|
663
|
+
});
|
|
664
|
+
if (source.length === 0) return /* @__PURE__ */ new Map();
|
|
665
|
+
const highlighted = highlighter(source.map((line) => line.text).join("\n"));
|
|
666
|
+
if (highlighted === void 0) return void 0;
|
|
667
|
+
return new Map(source.map((line, index) => {
|
|
668
|
+
return [line.no, highlighted[index] ?? []];
|
|
669
|
+
}));
|
|
670
|
+
}
|
|
671
|
+
function hunkHighlights(hunk, highlighter) {
|
|
672
|
+
const rows = hunkRows(hunk);
|
|
673
|
+
return {
|
|
674
|
+
old: highlightedSide(rows, "old", highlighter),
|
|
675
|
+
new: highlightedSide(rows, "new", highlighter)
|
|
676
|
+
};
|
|
677
|
+
}
|
|
678
|
+
function DiffText({ text, spans }) {
|
|
679
|
+
return (0, react_jsx_runtime.jsx)("span", {
|
|
680
|
+
className: FileDiff_module_css_default.text,
|
|
681
|
+
"data-diff-code": spans === void 0 ? void 0 : "",
|
|
682
|
+
children: spans === void 0 ? text : spans.map((span, index) => (0, react_jsx_runtime.jsx)("span", {
|
|
683
|
+
style: span.style,
|
|
684
|
+
children: span.text
|
|
685
|
+
}, index))
|
|
686
|
+
});
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* Number a hunk's lines: context lines count on both sides, deletions on the
|
|
690
|
+
* old side, additions on the new side.
|
|
691
|
+
* @param hunk - a served hunk.
|
|
692
|
+
* @returns the rows in order.
|
|
693
|
+
*/
|
|
694
|
+
function hunkRows(hunk) {
|
|
695
|
+
let oldNo = hunk.oldStart;
|
|
696
|
+
let newNo = hunk.newStart;
|
|
697
|
+
return hunk.lines.map((line) => {
|
|
698
|
+
const text = line.slice(1);
|
|
699
|
+
switch (line[0]) {
|
|
700
|
+
case "+": return {
|
|
701
|
+
kind: "add",
|
|
702
|
+
old: void 0,
|
|
703
|
+
new: newNo++,
|
|
704
|
+
text
|
|
705
|
+
};
|
|
706
|
+
case "-": return {
|
|
707
|
+
kind: "del",
|
|
708
|
+
old: oldNo++,
|
|
709
|
+
new: void 0,
|
|
710
|
+
text
|
|
711
|
+
};
|
|
712
|
+
default: return {
|
|
713
|
+
kind: "context",
|
|
714
|
+
old: oldNo++,
|
|
715
|
+
new: newNo++,
|
|
716
|
+
text
|
|
717
|
+
};
|
|
718
|
+
}
|
|
719
|
+
});
|
|
720
|
+
}
|
|
721
|
+
/**
|
|
722
|
+
* Pair a hunk's lines for the side-by-side view: each run of deletions is
|
|
723
|
+
* aligned with the run of additions that follows it, row by row, and context
|
|
724
|
+
* lines sit on both sides.
|
|
725
|
+
* @param hunk - a served hunk.
|
|
726
|
+
* @returns the rows in order.
|
|
727
|
+
*/
|
|
728
|
+
function splitRows(hunk) {
|
|
729
|
+
const rows = [];
|
|
730
|
+
let dels = [];
|
|
731
|
+
let adds = [];
|
|
732
|
+
const flush = () => {
|
|
733
|
+
for (let at = 0; at < Math.max(dels.length, adds.length); at += 1) {
|
|
734
|
+
const left = dels[at];
|
|
735
|
+
const right = adds[at];
|
|
736
|
+
rows.push({
|
|
737
|
+
...left === void 0 ? {} : { left },
|
|
738
|
+
...right === void 0 ? {} : { right }
|
|
739
|
+
});
|
|
740
|
+
}
|
|
741
|
+
dels = [];
|
|
742
|
+
adds = [];
|
|
743
|
+
};
|
|
744
|
+
for (const row of hunkRows(hunk)) if (row.kind === "del") dels.push({
|
|
745
|
+
no: row.old,
|
|
746
|
+
text: row.text,
|
|
747
|
+
kind: "del"
|
|
748
|
+
});
|
|
749
|
+
else if (row.kind === "add") adds.push({
|
|
750
|
+
no: row.new,
|
|
751
|
+
text: row.text,
|
|
752
|
+
kind: "add"
|
|
753
|
+
});
|
|
754
|
+
else {
|
|
755
|
+
flush();
|
|
756
|
+
rows.push({
|
|
757
|
+
left: {
|
|
758
|
+
no: row.old,
|
|
759
|
+
text: row.text,
|
|
760
|
+
kind: "context"
|
|
761
|
+
},
|
|
762
|
+
right: {
|
|
763
|
+
no: row.new,
|
|
764
|
+
text: row.text,
|
|
765
|
+
kind: "context"
|
|
766
|
+
}
|
|
767
|
+
});
|
|
768
|
+
}
|
|
769
|
+
flush();
|
|
770
|
+
return rows;
|
|
771
|
+
}
|
|
772
|
+
/**
|
|
773
|
+
* The hunks to draw, cut at {@link MAX_RENDERED_LINES} lines in total.
|
|
774
|
+
* @param hunks - served hunks.
|
|
775
|
+
* @returns the hunks with the last one shortened as needed, and whether anything was cut.
|
|
776
|
+
*/
|
|
777
|
+
function renderedHunks(hunks) {
|
|
778
|
+
let budget = MAX_RENDERED_LINES;
|
|
779
|
+
const kept = [];
|
|
780
|
+
for (const hunk of hunks) {
|
|
781
|
+
if (budget === 0) return {
|
|
782
|
+
hunks: kept,
|
|
783
|
+
truncated: true
|
|
784
|
+
};
|
|
785
|
+
kept.push(hunk.lines.length <= budget ? hunk : {
|
|
786
|
+
...hunk,
|
|
787
|
+
lines: hunk.lines.slice(0, budget)
|
|
788
|
+
});
|
|
789
|
+
budget -= Math.min(budget, hunk.lines.length);
|
|
790
|
+
}
|
|
791
|
+
return {
|
|
792
|
+
hunks: kept,
|
|
793
|
+
truncated: hunks.some((hunk, at) => kept[at] !== hunk)
|
|
794
|
+
};
|
|
795
|
+
}
|
|
796
|
+
/** The one-line fact about a text comparison worth stating above its hunks, if any. */
|
|
797
|
+
function noteOf(diff) {
|
|
798
|
+
if (!diff.before) return "diff.created";
|
|
799
|
+
if (!diff.after) return "diff.deleted";
|
|
800
|
+
if (diff.hunks.length === 0) return "diff.unchanged";
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* Render a file comparison with the same states and highlighting in previews and review tabs.
|
|
804
|
+
* @param props - comparison state, layout choices, retry action, and localized copy.
|
|
805
|
+
* @returns the comparison or its loading, unavailable, or error state.
|
|
806
|
+
*/
|
|
807
|
+
function FileDiff({ state, split, wrap, retry, t }) {
|
|
808
|
+
if (state === void 0 || state === "loading") return (0, react_jsx_runtime.jsx)("p", {
|
|
809
|
+
className: FileDiff_module_css_default.status,
|
|
810
|
+
role: "status",
|
|
811
|
+
children: t("diff.loading")
|
|
812
|
+
});
|
|
813
|
+
if (state === "missing") return (0, react_jsx_runtime.jsx)("p", {
|
|
814
|
+
className: FileDiff_module_css_default.status,
|
|
815
|
+
children: t("diff.missing")
|
|
816
|
+
});
|
|
817
|
+
if (state === "error") return (0, react_jsx_runtime.jsxs)("div", {
|
|
818
|
+
className: FileDiff_module_css_default.status,
|
|
819
|
+
children: [(0, react_jsx_runtime.jsx)("span", { children: t("diff.error") }), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
820
|
+
size: "sm",
|
|
821
|
+
onClick: retry,
|
|
822
|
+
children: t("presented.retry")
|
|
823
|
+
})]
|
|
824
|
+
});
|
|
825
|
+
if (state.kind === "binary") return (0, react_jsx_runtime.jsx)("p", {
|
|
826
|
+
className: FileDiff_module_css_default.status,
|
|
827
|
+
children: t("diff.binary")
|
|
828
|
+
});
|
|
829
|
+
if (state.kind === "oversized") return (0, react_jsx_runtime.jsx)("p", {
|
|
830
|
+
className: FileDiff_module_css_default.status,
|
|
831
|
+
children: t("diff.oversized")
|
|
832
|
+
});
|
|
833
|
+
return (0, react_jsx_runtime.jsx)(TextDiff, {
|
|
834
|
+
diff: state,
|
|
835
|
+
split,
|
|
836
|
+
wrap,
|
|
837
|
+
t
|
|
838
|
+
});
|
|
839
|
+
}
|
|
840
|
+
/** The kind a paired row carries: a deletion or addition on either side, otherwise context. */
|
|
841
|
+
function splitRowKind(row) {
|
|
842
|
+
return row.left?.kind === "del" ? "del" : row.right?.kind === "add" ? "add" : "context";
|
|
843
|
+
}
|
|
844
|
+
function hunkHeader(hunk) {
|
|
845
|
+
return `@@ -${hunk.oldStart},${hunk.oldLines} +${hunk.newStart},${hunk.newLines} @@`;
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* The side-by-side view without wrapping: two columns that clip their long
|
|
849
|
+
* lines and scroll together on both axes, so a long line on one side never
|
|
850
|
+
* runs under the other and both sides show the same rows and columns of text.
|
|
851
|
+
* Every line is one fixed-height row, which keeps the sides aligned.
|
|
852
|
+
* The columns suppress elastic overscroll while retaining native in-range scrolling.
|
|
853
|
+
*/
|
|
854
|
+
function SplitColumns({ hunks, highlights }) {
|
|
855
|
+
const paired = (0, react.useMemo)(() => hunks.map((hunk) => ({
|
|
856
|
+
header: hunkHeader(hunk),
|
|
857
|
+
rows: splitRows(hunk)
|
|
858
|
+
})), [hunks]);
|
|
859
|
+
const columns = (0, react.useRef)({
|
|
860
|
+
left: null,
|
|
861
|
+
right: null
|
|
862
|
+
});
|
|
863
|
+
const offsets = (0, react.useRef)({
|
|
864
|
+
left: {
|
|
865
|
+
scrollLeft: 0,
|
|
866
|
+
scrollTop: 0
|
|
867
|
+
},
|
|
868
|
+
right: {
|
|
869
|
+
scrollLeft: 0,
|
|
870
|
+
scrollTop: 0
|
|
871
|
+
}
|
|
872
|
+
});
|
|
873
|
+
const follow = (side) => (event) => {
|
|
874
|
+
const peer = side === "left" ? "right" : "left";
|
|
875
|
+
const other = columns.current[peer];
|
|
876
|
+
/* v8 ignore next -- Both column refs are attached before browser scroll events can run. */
|
|
877
|
+
if (other === null) return;
|
|
878
|
+
for (const axis of ["scrollLeft", "scrollTop"]) {
|
|
879
|
+
const value = event.currentTarget[axis];
|
|
880
|
+
if (offsets.current[side][axis] === value) continue;
|
|
881
|
+
offsets.current[side][axis] = value;
|
|
882
|
+
other[axis] = value;
|
|
883
|
+
offsets.current[peer][axis] = other[axis];
|
|
884
|
+
}
|
|
885
|
+
};
|
|
886
|
+
return (0, react_jsx_runtime.jsx)("div", {
|
|
887
|
+
className: FileDiff_module_css_default.columns,
|
|
888
|
+
children: ["left", "right"].map((side) => (0, react_jsx_runtime.jsx)("div", {
|
|
889
|
+
className: FileDiff_module_css_default.column,
|
|
890
|
+
"data-diff-side": side,
|
|
891
|
+
ref: (element) => {
|
|
892
|
+
columns.current[side] = element;
|
|
893
|
+
},
|
|
894
|
+
onScroll: follow(side),
|
|
895
|
+
children: paired.map((hunk, position) => (0, react_jsx_runtime.jsxs)("section", {
|
|
896
|
+
className: FileDiff_module_css_default.hunk,
|
|
897
|
+
children: [(0, react_jsx_runtime.jsx)("div", {
|
|
898
|
+
className: FileDiff_module_css_default.hunkHeader,
|
|
899
|
+
"data-diff-hunk-header": true,
|
|
900
|
+
children: hunk.header
|
|
901
|
+
}), hunk.rows.map((row, at) => {
|
|
902
|
+
const cell = row[side];
|
|
903
|
+
const spans = cell === void 0 ? void 0 : highlights[position]?.[side === "left" ? "old" : "new"]?.get(cell.no);
|
|
904
|
+
return (0, react_jsx_runtime.jsxs)("div", {
|
|
905
|
+
className: `${FileDiff_module_css_default.sideLine} ${cell === void 0 ? FileDiff_module_css_default.empty : FileDiff_module_css_default[cell.kind]}`,
|
|
906
|
+
"data-diff-line": splitRowKind(row),
|
|
907
|
+
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
908
|
+
className: FileDiff_module_css_default.number,
|
|
909
|
+
children: cell?.no ?? ""
|
|
910
|
+
}), (0, react_jsx_runtime.jsx)(DiffText, {
|
|
911
|
+
text: cell?.text ?? "",
|
|
912
|
+
spans
|
|
913
|
+
})]
|
|
914
|
+
}, at);
|
|
915
|
+
})]
|
|
916
|
+
}, position))
|
|
917
|
+
}, side))
|
|
918
|
+
});
|
|
919
|
+
}
|
|
920
|
+
/** The hunks of a text comparison with their line numbers, unified or side by side. */
|
|
921
|
+
function TextDiff({ diff, split, wrap, t }) {
|
|
922
|
+
const note = noteOf(diff);
|
|
923
|
+
const { hunks, truncated } = (0, react.useMemo)(() => renderedHunks(diff.hunks), [diff.hunks]);
|
|
924
|
+
const highlighter = (0, _deepseek_ai_dsh_client_ui_primitives.useCodeHighlighter)((0, _deepseek_ai_dsh_client_ui_primitives.languageForPath)(diff.path));
|
|
925
|
+
const highlights = (0, react.useMemo)(() => hunks.map((hunk) => hunkHighlights(hunk, highlighter)), [hunks, highlighter]);
|
|
926
|
+
return (0, react_jsx_runtime.jsxs)("div", {
|
|
927
|
+
className: FileDiff_module_css_default.body,
|
|
928
|
+
"data-review-view": split ? "split" : "unified",
|
|
929
|
+
"data-review-wrap": wrap || void 0,
|
|
930
|
+
children: [
|
|
931
|
+
note !== void 0 && (0, react_jsx_runtime.jsx)("p", {
|
|
932
|
+
className: FileDiff_module_css_default.note,
|
|
933
|
+
"data-diff-note": hunks.length === 0 ? "empty" : "metadata",
|
|
934
|
+
children: t(note)
|
|
935
|
+
}),
|
|
936
|
+
diff.coarse && (0, react_jsx_runtime.jsx)("p", {
|
|
937
|
+
className: FileDiff_module_css_default.note,
|
|
938
|
+
"data-diff-coarse": true,
|
|
939
|
+
children: t("diff.coarse")
|
|
940
|
+
}),
|
|
941
|
+
truncated && (0, react_jsx_runtime.jsx)("p", {
|
|
942
|
+
className: FileDiff_module_css_default.note,
|
|
943
|
+
"data-diff-truncated": true,
|
|
944
|
+
children: t("diff.truncated", { count: String(5e3) })
|
|
945
|
+
}),
|
|
946
|
+
split && !wrap ? (0, react_jsx_runtime.jsx)(SplitColumns, {
|
|
947
|
+
hunks,
|
|
948
|
+
highlights
|
|
949
|
+
}) : hunks.map((hunk, position) => {
|
|
950
|
+
const highlighted = highlights[position];
|
|
951
|
+
return (0, react_jsx_runtime.jsxs)("section", {
|
|
952
|
+
className: FileDiff_module_css_default.hunk,
|
|
953
|
+
children: [(0, react_jsx_runtime.jsx)("div", {
|
|
954
|
+
className: FileDiff_module_css_default.hunkHeader,
|
|
955
|
+
"data-diff-hunk-header": true,
|
|
956
|
+
children: hunkHeader(hunk)
|
|
957
|
+
}), split ? splitRows(hunk).map((row, at) => (0, react_jsx_runtime.jsxs)("div", {
|
|
958
|
+
className: FileDiff_module_css_default.splitLine,
|
|
959
|
+
"data-diff-line": splitRowKind(row),
|
|
960
|
+
children: [(0, react_jsx_runtime.jsxs)("span", {
|
|
961
|
+
className: `${FileDiff_module_css_default.cell} ${row.left === void 0 ? FileDiff_module_css_default.empty : FileDiff_module_css_default[row.left.kind]}`,
|
|
962
|
+
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
963
|
+
className: FileDiff_module_css_default.number,
|
|
964
|
+
children: row.left?.no ?? ""
|
|
965
|
+
}), (0, react_jsx_runtime.jsx)(DiffText, {
|
|
966
|
+
text: row.left?.text ?? "",
|
|
967
|
+
spans: row.left === void 0 ? void 0 : highlighted?.old?.get(row.left.no)
|
|
968
|
+
})]
|
|
969
|
+
}), (0, react_jsx_runtime.jsxs)("span", {
|
|
970
|
+
className: `${FileDiff_module_css_default.cell} ${row.right === void 0 ? FileDiff_module_css_default.empty : FileDiff_module_css_default[row.right.kind]}`,
|
|
971
|
+
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
972
|
+
className: FileDiff_module_css_default.number,
|
|
973
|
+
children: row.right?.no ?? ""
|
|
974
|
+
}), (0, react_jsx_runtime.jsx)(DiffText, {
|
|
975
|
+
text: row.right?.text ?? "",
|
|
976
|
+
spans: row.right === void 0 ? void 0 : highlighted?.new?.get(row.right.no)
|
|
977
|
+
})]
|
|
978
|
+
})]
|
|
979
|
+
}, at)) : hunkRows(hunk).map((row, at) => (0, react_jsx_runtime.jsxs)("div", {
|
|
980
|
+
className: `${FileDiff_module_css_default.line} ${FileDiff_module_css_default[row.kind]}`,
|
|
981
|
+
"data-diff-line": row.kind,
|
|
982
|
+
children: [
|
|
983
|
+
(0, react_jsx_runtime.jsx)("span", {
|
|
984
|
+
className: FileDiff_module_css_default.number,
|
|
985
|
+
children: row.old ?? ""
|
|
986
|
+
}),
|
|
987
|
+
(0, react_jsx_runtime.jsx)("span", {
|
|
988
|
+
className: FileDiff_module_css_default.number,
|
|
989
|
+
children: row.new ?? ""
|
|
990
|
+
}),
|
|
991
|
+
(0, react_jsx_runtime.jsx)("span", {
|
|
992
|
+
className: FileDiff_module_css_default.sign,
|
|
993
|
+
children: row.kind === "add" ? "+" : row.kind === "del" ? "-" : " "
|
|
994
|
+
}),
|
|
995
|
+
(0, react_jsx_runtime.jsx)(DiffText, {
|
|
996
|
+
text: row.text,
|
|
997
|
+
spans: row.kind === "add" ? highlighted?.new?.get(row.new) : highlighted?.old?.get(row.old)
|
|
998
|
+
})
|
|
999
|
+
]
|
|
1000
|
+
}, at))]
|
|
1001
|
+
}, position);
|
|
1002
|
+
})
|
|
1003
|
+
]
|
|
1004
|
+
});
|
|
1005
|
+
}
|
|
1006
|
+
//#endregion
|
|
581
1007
|
//#region lib/types/client/icons.js
|
|
582
1008
|
/** Angle brackets, the code mark the card's header tile shows. */
|
|
583
1009
|
const IconCodeBracketsOutline16 = ({ size = 16, className }) => (0, react_jsx_runtime.jsx)("svg", {
|
|
@@ -598,7 +1024,7 @@ window.__ModuleLoader__.load({
|
|
|
598
1024
|
});
|
|
599
1025
|
//#endregion
|
|
600
1026
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-deliverables/src/client/ChangedFiles.module.css.mjs
|
|
601
|
-
const css$2 = ".yZYUSG_card{--changes-fill:var(--dsw-static-neutral-50);--changes-hover:var(--dsw-static-neutral-100);border:.5px solid var(--dsw-alias-border-
|
|
1027
|
+
const css$2 = ".yZYUSG_card{--changes-fill:var(--dsw-static-neutral-50);--changes-hover:var(--dsw-static-neutral-100);border:.5px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);min-width:0;color:var(--dsw-alias-label-primary);border-radius:18px;flex-direction:column;margin-top:4px;display:flex;overflow:hidden}body[data-ds-dark-theme] .yZYUSG_card{--changes-fill:var(--dsw-static-neutral-850);--changes-hover:var(--dsw-static-neutral-800)}.yZYUSG_header{box-sizing:border-box;background:var(--changes-fill);width:100%;min-width:0;height:60px;color:inherit;font:inherit;text-align:left;border:0;align-items:center;gap:10px;margin:0;padding:8px 10px;display:flex}button.yZYUSG_header{cursor:pointer;transition:background-color .12s}button.yZYUSG_header:hover:not(:disabled),button.yZYUSG_header:focus-visible{background:var(--changes-hover)}button.yZYUSG_header:focus-visible{box-shadow:inset 0 0 0 2px var(--dsw-alias-brand-primary);outline:none}button.yZYUSG_header:disabled{cursor:progress}.yZYUSG_tile{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l2);background:var(--changes-fill);border-radius:10px;flex:none;place-items:center;width:40px;height:40px;display:grid}.yZYUSG_tileMark{background:var(--dsw-alias-link);width:20px;height:20px;color:var(--dsw-static-neutral-00);border-radius:8px;place-items:center;display:grid}.yZYUSG_titles{flex-direction:column;flex:1;min-width:0;display:flex}.yZYUSG_title{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;line-height:20px;overflow:hidden}.yZYUSG_stat{color:var(--dsw-alias-label-tertiary);font-size:10px;line-height:16px;display:inline-flex}.yZYUSG_statCounts{font-family:var(--ds-font-family-code);gap:6px;display:inline-flex}.yZYUSG_previewHint,.yZYUSG_header:hover .yZYUSG_statCounts,.yZYUSG_header:focus-visible .yZYUSG_statCounts{display:none}.yZYUSG_header:hover .yZYUSG_previewHint,.yZYUSG_header:focus-visible .yZYUSG_previewHint{display:inline}.yZYUSG_stat[data-error=true],.yZYUSG_counts[data-error=true]{color:var(--dsw-alias-state-error-primary)}.yZYUSG_added{color:var(--dsw-alias-state-success-primary)}.yZYUSG_deleted{color:var(--dsw-alias-state-error-primary)}.yZYUSG_list{border-top:.5px solid var(--dsw-alias-border-l2);margin:0;padding:0;list-style:none}.yZYUSG_row{box-sizing:border-box;width:100%;min-width:0;min-height:24px;color:var(--dsw-alias-label-tertiary);cursor:pointer;font-family:var(--ds-font-family-code);text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;margin:0;padding:7px 18px 7px 14px;font-size:11px;line-height:18px;display:flex}.yZYUSG_row:hover:not(:disabled),.yZYUSG_row:focus-visible{background:var(--dsw-alias-interactive-bg-hover)}.yZYUSG_row:focus-visible{box-shadow:inset 0 0 0 2px var(--dsw-alias-border-l3);outline:none}.yZYUSG_row:disabled{cursor:progress}.yZYUSG_path{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;overflow:hidden}.yZYUSG_counts{white-space:nowrap;color:var(--dsw-alias-label-tertiary);flex:none;gap:6px;display:inline-flex}.yZYUSG_toggle{box-sizing:border-box;width:100%;color:var(--dsw-alias-label-tertiary);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:4px;margin:0;padding:10px 18px 10px 14px;font-size:12px;line-height:18px;display:inline-flex}.yZYUSG_toggle:hover{background:var(--dsw-alias-interactive-bg-hover)}.yZYUSG_toggle svg{flex:none;width:14px;height:14px}@media (pointer:coarse){.yZYUSG_row,.yZYUSG_toggle{min-height:44px}}.yZYUSG_preview{max-height:100%;overflow:hidden}.yZYUSG_previewPath{min-width:0;color:var(--dsw-alias-label-tertiary);font-family:var(--ds-font-family-code);white-space:nowrap;flex:auto;font-size:12px;line-height:20px;overflow:auto hidden}.yZYUSG_preview [data-diff-note=metadata],.yZYUSG_preview [data-diff-hunk-header]{display:none}";
|
|
602
1028
|
const tagId$2 = "@deepseek-ai/dsh-client-ui-deliverables/ChangedFiles.module.css";
|
|
603
1029
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
|
|
604
1030
|
const tag = document.createElement("style");
|
|
@@ -615,18 +1041,23 @@ window.__ModuleLoader__.load({
|
|
|
615
1041
|
"header": "yZYUSG_header",
|
|
616
1042
|
"list": "yZYUSG_list",
|
|
617
1043
|
"path": "yZYUSG_path",
|
|
1044
|
+
"preview": "yZYUSG_preview",
|
|
1045
|
+
"previewHint": "yZYUSG_previewHint",
|
|
1046
|
+
"previewPath": "yZYUSG_previewPath",
|
|
618
1047
|
"row": "yZYUSG_row",
|
|
619
1048
|
"stat": "yZYUSG_stat",
|
|
1049
|
+
"statCounts": "yZYUSG_statCounts",
|
|
620
1050
|
"tile": "yZYUSG_tile",
|
|
1051
|
+
"tileMark": "yZYUSG_tileMark",
|
|
621
1052
|
"title": "yZYUSG_title",
|
|
622
1053
|
"titles": "yZYUSG_titles",
|
|
623
1054
|
"toggle": "yZYUSG_toggle"
|
|
624
1055
|
};
|
|
625
1056
|
//#endregion
|
|
626
1057
|
//#region lib/types/client/ChangedFiles.js
|
|
627
|
-
/** The changed-files card: a header and per-file rows that open the turn's review, and a
|
|
1058
|
+
/** The changed-files card: a header and per-file rows that open the turn's review, and a four-row fold. */
|
|
628
1059
|
/** Rows shown before the fold; the design's summary height for a closing message. */
|
|
629
|
-
const COLLAPSED_ROWS =
|
|
1060
|
+
const COLLAPSED_ROWS = 4;
|
|
630
1061
|
const GROUPED$1 = new Intl.NumberFormat("en-US");
|
|
631
1062
|
/** Added and deleted line counts in the card's colors. */
|
|
632
1063
|
function Counts$1({ added, deleted, t }) {
|
|
@@ -640,15 +1071,19 @@ window.__ModuleLoader__.load({
|
|
|
640
1071
|
}
|
|
641
1072
|
/**
|
|
642
1073
|
* Render one turn's changed files. The header opens the turn's review in the
|
|
643
|
-
* right Sidebar on its first file; each row
|
|
1074
|
+
* right Sidebar on its first file; each row previews its comparison after a
|
|
1075
|
+
* 500ms hover and opens the review on click.
|
|
644
1076
|
* @param props - the recorded summary, the review opener, and localized copy.
|
|
645
1077
|
* @returns the card.
|
|
646
1078
|
*/
|
|
647
|
-
function ChangedFiles({ changes, cwd, openReview, t }) {
|
|
1079
|
+
function ChangedFiles({ changes, cwd, openReview, t, sessionId, useChangesDiff, loadChangesDiff }) {
|
|
1080
|
+
const cardRef = (0, react.useRef)(null);
|
|
1081
|
+
const pathDescriptionId = (0, react.useId)();
|
|
648
1082
|
const [expanded, setExpanded] = (0, react.useState)(false);
|
|
649
1083
|
const foldable = changes.files.length > COLLAPSED_ROWS;
|
|
650
1084
|
const rows = foldable && !expanded ? changes.files.slice(0, COLLAPSED_ROWS) : changes.files;
|
|
651
1085
|
return (0, react_jsx_runtime.jsxs)("div", {
|
|
1086
|
+
ref: cardRef,
|
|
652
1087
|
className: ChangedFiles_module_css_default.card,
|
|
653
1088
|
"data-changed-files": true,
|
|
654
1089
|
children: [
|
|
@@ -661,44 +1096,71 @@ window.__ModuleLoader__.load({
|
|
|
661
1096
|
},
|
|
662
1097
|
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
663
1098
|
className: ChangedFiles_module_css_default.tile,
|
|
664
|
-
children: (0, react_jsx_runtime.jsx)(
|
|
1099
|
+
children: (0, react_jsx_runtime.jsx)("span", {
|
|
1100
|
+
className: ChangedFiles_module_css_default.tileMark,
|
|
1101
|
+
children: (0, react_jsx_runtime.jsx)(IconCodeBracketsOutline16, { size: 10 })
|
|
1102
|
+
})
|
|
665
1103
|
}), (0, react_jsx_runtime.jsxs)("span", {
|
|
666
1104
|
className: ChangedFiles_module_css_default.titles,
|
|
667
1105
|
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
668
1106
|
className: ChangedFiles_module_css_default.title,
|
|
669
1107
|
children: t("changes.title", { count: String(changes.total) })
|
|
670
|
-
}), (0, react_jsx_runtime.
|
|
1108
|
+
}), (0, react_jsx_runtime.jsxs)("span", {
|
|
671
1109
|
className: ChangedFiles_module_css_default.stat,
|
|
672
|
-
children: (0, react_jsx_runtime.jsx)(
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
1110
|
+
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
1111
|
+
className: ChangedFiles_module_css_default.statCounts,
|
|
1112
|
+
children: (0, react_jsx_runtime.jsx)(Counts$1, {
|
|
1113
|
+
t,
|
|
1114
|
+
added: changes.added,
|
|
1115
|
+
deleted: changes.deleted
|
|
1116
|
+
})
|
|
1117
|
+
}), (0, react_jsx_runtime.jsx)("span", {
|
|
1118
|
+
className: ChangedFiles_module_css_default.previewHint,
|
|
1119
|
+
children: t("presented.preview")
|
|
1120
|
+
})]
|
|
677
1121
|
})]
|
|
678
1122
|
})]
|
|
679
1123
|
}),
|
|
680
1124
|
(0, react_jsx_runtime.jsx)("ul", {
|
|
681
1125
|
className: ChangedFiles_module_css_default.list,
|
|
682
|
-
children: rows.map((file, index) => (0, react_jsx_runtime.
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
|
|
1126
|
+
children: rows.map((file, index) => (0, react_jsx_runtime.jsxs)("li", { children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.HoverCard, {
|
|
1127
|
+
variant: "preview",
|
|
1128
|
+
widthAnchorRef: cardRef,
|
|
1129
|
+
openDelayMs: 500,
|
|
1130
|
+
content: (0, react_jsx_runtime.jsx)(ChangedFilePreview, {
|
|
1131
|
+
sessionId,
|
|
1132
|
+
seq: changes.seq,
|
|
1133
|
+
index,
|
|
1134
|
+
display: resolveWorkspacePath(cwd, file.path),
|
|
1135
|
+
useChangesDiff,
|
|
1136
|
+
loadChangesDiff,
|
|
1137
|
+
t
|
|
1138
|
+
}),
|
|
1139
|
+
anchor: (0, react_jsx_runtime.jsxs)("button", {
|
|
1140
|
+
type: "button",
|
|
1141
|
+
className: ChangedFiles_module_css_default.row,
|
|
1142
|
+
"aria-label": t("changes.viewDiff", { name: file.display }),
|
|
1143
|
+
"aria-describedby": `${pathDescriptionId}-${index}`,
|
|
1144
|
+
onClick: () => {
|
|
1145
|
+
openReview(index);
|
|
1146
|
+
},
|
|
1147
|
+
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
1148
|
+
className: ChangedFiles_module_css_default.path,
|
|
1149
|
+
children: file.display
|
|
1150
|
+
}), (0, react_jsx_runtime.jsx)("span", {
|
|
1151
|
+
className: ChangedFiles_module_css_default.counts,
|
|
1152
|
+
children: file.binary === true ? t("changes.binary") : file.oversized === true ? t("changes.oversized") : (0, react_jsx_runtime.jsx)(Counts$1, {
|
|
1153
|
+
t,
|
|
1154
|
+
added: file.added,
|
|
1155
|
+
deleted: file.deleted
|
|
1156
|
+
})
|
|
1157
|
+
})]
|
|
1158
|
+
})
|
|
1159
|
+
}), (0, react_jsx_runtime.jsx)("span", {
|
|
1160
|
+
id: `${pathDescriptionId}-${index}`,
|
|
1161
|
+
hidden: true,
|
|
1162
|
+
children: resolveWorkspacePath(cwd, file.path)
|
|
1163
|
+
})] }, file.display))
|
|
702
1164
|
}),
|
|
703
1165
|
foldable && (0, react_jsx_runtime.jsxs)("button", {
|
|
704
1166
|
type: "button",
|
|
@@ -708,16 +1170,50 @@ window.__ModuleLoader__.load({
|
|
|
708
1170
|
onClick: () => {
|
|
709
1171
|
setExpanded((value) => !value);
|
|
710
1172
|
},
|
|
711
|
-
children: [(0, react_jsx_runtime.jsx)("span", { children: t(expanded ? "changes.collapse" : "changes.all", { count: String(changes.files.length) }) }), expanded ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
1173
|
+
children: [(0, react_jsx_runtime.jsx)("span", { children: t(expanded ? "changes.collapse" : "changes.all", { count: String(changes.files.length) }) }), expanded ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronUpOutlineRegular, {}) : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, {})]
|
|
712
1174
|
})
|
|
713
1175
|
]
|
|
714
1176
|
});
|
|
715
1177
|
}
|
|
1178
|
+
/** Mounted only while its hover card is open, so passing over a row does not read a comparison. */
|
|
1179
|
+
function ChangedFilePreview({ sessionId, seq, index, display, useChangesDiff, loadChangesDiff, t }) {
|
|
1180
|
+
const state = useChangesDiff((value) => value[changesDiffUrl(sessionId, seq, index)]);
|
|
1181
|
+
(0, react.useEffect)(() => {
|
|
1182
|
+
if (state === void 0) loadChangesDiff(sessionId, seq, index);
|
|
1183
|
+
}, [
|
|
1184
|
+
state,
|
|
1185
|
+
sessionId,
|
|
1186
|
+
seq,
|
|
1187
|
+
index,
|
|
1188
|
+
loadChangesDiff
|
|
1189
|
+
]);
|
|
1190
|
+
return (0, react_jsx_runtime.jsxs)("div", {
|
|
1191
|
+
className: `${FileDiff_module_css_default.root} ${ChangedFiles_module_css_default.preview}`,
|
|
1192
|
+
"data-changes-hover-preview": true,
|
|
1193
|
+
children: [(0, react_jsx_runtime.jsx)("div", {
|
|
1194
|
+
className: FileDiff_module_css_default.header,
|
|
1195
|
+
children: (0, react_jsx_runtime.jsx)("span", {
|
|
1196
|
+
className: ChangedFiles_module_css_default.previewPath,
|
|
1197
|
+
"data-changes-preview-path": true,
|
|
1198
|
+
children: display
|
|
1199
|
+
})
|
|
1200
|
+
}), (0, react_jsx_runtime.jsx)(FileDiff, {
|
|
1201
|
+
state,
|
|
1202
|
+
split: false,
|
|
1203
|
+
wrap: false,
|
|
1204
|
+
t,
|
|
1205
|
+
retry: () => {
|
|
1206
|
+
loadChangesDiff(sessionId, seq, index);
|
|
1207
|
+
}
|
|
1208
|
+
})]
|
|
1209
|
+
});
|
|
1210
|
+
}
|
|
716
1211
|
//#endregion
|
|
717
1212
|
//#region ../../core/session/lib/types/surface.js
|
|
718
1213
|
/** Runtime counterpart of the message-producing event union. */
|
|
719
1214
|
const SURFACE_EVENT_TYPES = new Set([
|
|
720
1215
|
"system/message",
|
|
1216
|
+
"developer/message",
|
|
721
1217
|
"user/message",
|
|
722
1218
|
"assistant/message",
|
|
723
1219
|
"tool/result"
|
|
@@ -902,7 +1398,7 @@ window.__ModuleLoader__.load({
|
|
|
902
1398
|
};
|
|
903
1399
|
}
|
|
904
1400
|
if (match.event.type !== "tool/result") return context.state;
|
|
905
|
-
if (match.event.data.message.
|
|
1401
|
+
if (match.event.data.message.isError === true) return context.state;
|
|
906
1402
|
const callId = String(match.event.data.message.source.callId);
|
|
907
1403
|
const path = context.state.calls.get(callId);
|
|
908
1404
|
return path === null || path === void 0 ? context.state : {
|
|
@@ -976,7 +1472,7 @@ window.__ModuleLoader__.load({
|
|
|
976
1472
|
}
|
|
977
1473
|
//#endregion
|
|
978
1474
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-deliverables/src/client/Deliverables.module.css.mjs
|
|
979
|
-
const css$1 = ".udUtqW_root{--deliverable-fill:var(--dsw-static-neutral-50);--deliverable-hover:var(--dsw-static-neutral-100);flex-direction:column;gap:16px;min-width:0;margin-top:4px;display:flex;container-type:inline-size}.udUtqW_root[data-after-changes=true]{margin-top:0}body[data-ds-dark-theme] .udUtqW_root{--deliverable-fill:var(--dsw-static-neutral-850);--deliverable-hover:var(--dsw-static-neutral-800)}.udUtqW_hostStatus{color:var(--dsw-alias-label-secondary);align-items:center;gap:8px;font-size:12px;line-height:18px;display:flex}.udUtqW_presented{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;display:grid}.udUtqW_presented[data-single=true]{grid-template-columns:minmax(0,1fr)}.udUtqW_file{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l1);background:var(--deliverable-fill);min-width:0;height:60px;color:var(--dsw-alias-label-primary);border-radius:18px;align-items:center;gap:10px;padding:8px 10px;transition:background-color .12s;display:flex;position:relative;overflow:hidden}.udUtqW_file:hover{background:var(--deliverable-hover)}.udUtqW_cardPreview{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;width:100%;padding:0;position:absolute;inset:0}.udUtqW_cardPreview:focus-visible{box-shadow:inset 0 0 0 2px var(--dsw-alias-brand-primary);outline:none}.udUtqW_fileIcon{z-index:2;box-sizing:border-box;pointer-events:none;border:.5px solid var(--dsw-alias-border-l1);background:var(--deliverable-fill);width:40px;height:40px;color:var(--dsw-alias-link);border-radius:10px;flex:none;place-items:center;display:grid;position:relative;overflow:hidden}.udUtqW_fileBody{z-index:2;pointer-events:none;flex:1;justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex;position:relative}.udUtqW_details{flex-direction:column;flex:1;justify-content:center;gap:2px;min-width:0;display:flex}.udUtqW_fileName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;line-height:20px;overflow:hidden}.udUtqW_description{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:400;line-height:16px;overflow:hidden}.udUtqW_description[data-error=true]{color:var(--dsw-alias-state-error-primary)}.udUtqW_previewHint,.udUtqW_file:hover .udUtqW_secondaryText{display:none}.udUtqW_file:hover .
|
|
1475
|
+
const css$1 = ".udUtqW_root{--deliverable-fill:var(--dsw-static-neutral-50);--deliverable-hover:var(--dsw-static-neutral-100);flex-direction:column;gap:16px;min-width:0;margin-top:4px;display:flex;container-type:inline-size}.udUtqW_root[data-after-changes=true]{margin-top:0}body[data-ds-dark-theme] .udUtqW_root{--deliverable-fill:var(--dsw-static-neutral-850);--deliverable-hover:var(--dsw-static-neutral-800)}.udUtqW_hostStatus{color:var(--dsw-alias-label-secondary);align-items:center;gap:8px;font-size:12px;line-height:18px;display:flex}.udUtqW_presented{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;display:grid}.udUtqW_presented[data-single=true]{grid-template-columns:minmax(0,1fr)}.udUtqW_file{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l1);background:var(--deliverable-fill);min-width:0;height:60px;color:var(--dsw-alias-label-primary);border-radius:18px;align-items:center;gap:10px;padding:8px 10px;transition:background-color .12s;display:flex;position:relative;overflow:hidden}.udUtqW_file:hover{background:var(--deliverable-hover)}.udUtqW_cardPreview{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;width:100%;padding:0;position:absolute;inset:0}.udUtqW_cardPreview:focus-visible{box-shadow:inset 0 0 0 2px var(--dsw-alias-brand-primary);outline:none}.udUtqW_fileIcon{z-index:2;box-sizing:border-box;pointer-events:none;border:.5px solid var(--dsw-alias-border-l1);background:var(--deliverable-fill);width:40px;height:40px;color:var(--dsw-alias-link);border-radius:10px;flex:none;place-items:center;display:grid;position:relative;overflow:hidden}.udUtqW_fileBody{z-index:2;pointer-events:none;flex:1;justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex;position:relative}.udUtqW_details{flex-direction:column;flex:1;justify-content:center;gap:2px;min-width:0;display:flex}.udUtqW_fileName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;line-height:20px;overflow:hidden}.udUtqW_description{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:400;line-height:16px;overflow:hidden}.udUtqW_description[data-error=true]{color:var(--dsw-alias-state-error-primary)}.udUtqW_previewHint,.udUtqW_file:hover .udUtqW_description:not([role=status]) .udUtqW_secondaryText{display:none}.udUtqW_file:hover .udUtqW_description:not([role=status]) .udUtqW_previewHint{display:inline}.udUtqW_toggle{min-width:0;color:var(--dsw-alias-label-tertiary);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:8px;align-self:center;align-items:center;gap:4px;padding:1px 11px;font-size:12px;line-height:18px;display:inline-flex}.udUtqW_toggle:hover{background:var(--dsw-alias-interactive-bg-hover)}.udUtqW_toggle svg{flex:none;width:14px;height:14px}@container (width<=620px){.udUtqW_presented{grid-template-columns:minmax(0,1fr)}}.udUtqW_actions{pointer-events:auto;flex:none;display:inline-flex}.udUtqW_secondaryText[data-success]{animation-name:udUtqW_success-fade;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes udUtqW_success-fade{to{opacity:0}}@media (prefers-reduced-motion:reduce){.udUtqW_secondaryText[data-success]{animation-name:none}}";
|
|
980
1476
|
const tagId$1 = "@deepseek-ai/dsh-client-ui-deliverables/Deliverables.module.css";
|
|
981
1477
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
982
1478
|
const tag = document.createElement("style");
|
|
@@ -986,8 +1482,8 @@ window.__ModuleLoader__.load({
|
|
|
986
1482
|
document.head.appendChild(tag);
|
|
987
1483
|
}
|
|
988
1484
|
var Deliverables_module_css_default = {
|
|
1485
|
+
"actions": "udUtqW_actions",
|
|
989
1486
|
"cardPreview": "udUtqW_cardPreview",
|
|
990
|
-
"chevron": "udUtqW_chevron",
|
|
991
1487
|
"description": "udUtqW_description",
|
|
992
1488
|
"details": "udUtqW_details",
|
|
993
1489
|
"file": "udUtqW_file",
|
|
@@ -995,19 +1491,15 @@ window.__ModuleLoader__.load({
|
|
|
995
1491
|
"fileIcon": "udUtqW_fileIcon",
|
|
996
1492
|
"fileName": "udUtqW_fileName",
|
|
997
1493
|
"hostStatus": "udUtqW_hostStatus",
|
|
998
|
-
"menuActionIcon": "udUtqW_menuActionIcon",
|
|
999
|
-
"menuAnchor": "udUtqW_menuAnchor",
|
|
1000
|
-
"open": "udUtqW_open",
|
|
1001
1494
|
"presented": "udUtqW_presented",
|
|
1002
1495
|
"previewHint": "udUtqW_previewHint",
|
|
1003
1496
|
"root": "udUtqW_root",
|
|
1004
1497
|
"secondaryText": "udUtqW_secondaryText",
|
|
1005
|
-
"
|
|
1498
|
+
"success-fade": "udUtqW_success-fade",
|
|
1006
1499
|
"toggle": "udUtqW_toggle"
|
|
1007
1500
|
};
|
|
1008
1501
|
//#endregion
|
|
1009
1502
|
//#region lib/types/client/PresentedFileCard.js
|
|
1010
|
-
/** File identity and explicit default-app or file-manager actions for one delivery. */
|
|
1011
1503
|
function cardDescription(description, fallback) {
|
|
1012
1504
|
const trimmed = description?.replace(/\s*(?:\([^()]*\)|([^()]*))\s*$/u, "").trim();
|
|
1013
1505
|
return trimmed === void 0 || trimmed === "" ? fallback : trimmed;
|
|
@@ -1017,17 +1509,9 @@ window.__ModuleLoader__.load({
|
|
|
1017
1509
|
* @param props - durable file metadata, Sidebar preview, Host capabilities, gesture status, and localized copy.
|
|
1018
1510
|
* @returns the file card and its anchored action menu.
|
|
1019
1511
|
*/
|
|
1020
|
-
function PresentedFileCard({ file, cwd, phase, host, onPreview,
|
|
1021
|
-
const
|
|
1022
|
-
const previewRef = (0, react.useRef)(null);
|
|
1023
|
-
const menuDisabled = phase === "opening" || phase === "revealing" || host === null || !host.available;
|
|
1024
|
-
if (menuDisabled && menuOpen) setMenuOpen(false);
|
|
1512
|
+
function PresentedFileCard({ file, cwd, phase, host, onPreview, actions, t }) {
|
|
1513
|
+
const succeeded = phase === "opened" || phase === "revealed";
|
|
1025
1514
|
const reveal = host?.fileManager ?? "directory";
|
|
1026
|
-
const act = (action) => {
|
|
1027
|
-
setMenuOpen(false);
|
|
1028
|
-
previewRef.current?.focus();
|
|
1029
|
-
onAction(action);
|
|
1030
|
-
};
|
|
1031
1515
|
const name = basename(file.path);
|
|
1032
1516
|
const metadata = (0, _deepseek_ai_dsh_client_ui_primitives.fileExtension)(name).toUpperCase() || t("presented.file");
|
|
1033
1517
|
const status = phase === void 0 ? cardDescription(file.description, metadata) : t(reveal === "directory" && phase === "revealed" ? "presented.directoryOpened" : reveal === "directory" && phase === "revealing" ? "presented.directoryOpening" : reveal === "directory" && phase === "revealError" ? "presented.directoryError" : `presented.${phase}`);
|
|
@@ -1058,62 +1542,25 @@ window.__ModuleLoader__.load({
|
|
|
1058
1542
|
children: name
|
|
1059
1543
|
}), (0, react_jsx_runtime.jsxs)("span", {
|
|
1060
1544
|
className: Deliverables_module_css_default.description,
|
|
1545
|
+
"data-presented-description": true,
|
|
1061
1546
|
role: phase === void 0 ? void 0 : "status",
|
|
1062
1547
|
"data-error": phase === "error" || phase === "revealError" || phase === "nativeUnavailable" ? true : void 0,
|
|
1063
1548
|
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
1064
1549
|
className: Deliverables_module_css_default.secondaryText,
|
|
1550
|
+
"data-success": succeeded || void 0,
|
|
1551
|
+
style: succeeded ? {
|
|
1552
|
+
animationDelay: `${PRESENTED_SUCCESS_HOLD_MS}ms`,
|
|
1553
|
+
animationDuration: `200ms`
|
|
1554
|
+
} : void 0,
|
|
1065
1555
|
children: status
|
|
1066
1556
|
}), (0, react_jsx_runtime.jsx)("span", {
|
|
1067
1557
|
className: Deliverables_module_css_default.previewHint,
|
|
1068
1558
|
children: t("presented.preview")
|
|
1069
1559
|
})]
|
|
1070
1560
|
})]
|
|
1071
|
-
}), (0, react_jsx_runtime.
|
|
1072
|
-
className: Deliverables_module_css_default.
|
|
1073
|
-
children:
|
|
1074
|
-
ref: previewRef,
|
|
1075
|
-
type: "button",
|
|
1076
|
-
className: Deliverables_module_css_default.open,
|
|
1077
|
-
"aria-label": t("presented.previewButton", { name: file.path }),
|
|
1078
|
-
onClick: onPreview,
|
|
1079
|
-
children: t("presented.action")
|
|
1080
|
-
}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Menu, {
|
|
1081
|
-
className: Deliverables_module_css_default.menuAnchor,
|
|
1082
|
-
open: menuOpen && !menuDisabled,
|
|
1083
|
-
autoFocus: true,
|
|
1084
|
-
portal: true,
|
|
1085
|
-
align: "end",
|
|
1086
|
-
onClose: () => {
|
|
1087
|
-
setMenuOpen(false);
|
|
1088
|
-
},
|
|
1089
|
-
anchor: (0, react_jsx_runtime.jsx)("button", {
|
|
1090
|
-
type: "button",
|
|
1091
|
-
className: Deliverables_module_css_default.chevron,
|
|
1092
|
-
disabled: menuDisabled,
|
|
1093
|
-
"aria-haspopup": "menu",
|
|
1094
|
-
"aria-expanded": menuOpen && !menuDisabled,
|
|
1095
|
-
"aria-label": t("presented.more", { name: file.path }),
|
|
1096
|
-
onClick: () => {
|
|
1097
|
-
setMenuOpen((value) => !value);
|
|
1098
|
-
},
|
|
1099
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutline14, { size: 11 })
|
|
1100
|
-
}),
|
|
1101
|
-
items: [{
|
|
1102
|
-
id: "open",
|
|
1103
|
-
icon: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconRightUpOutline16, {
|
|
1104
|
-
size: 16,
|
|
1105
|
-
className: Deliverables_module_css_default.menuActionIcon
|
|
1106
|
-
}),
|
|
1107
|
-
label: t("presented.defaultApp")
|
|
1108
|
-
}, {
|
|
1109
|
-
id: "reveal",
|
|
1110
|
-
icon: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconFolderOpenOutline16, {}),
|
|
1111
|
-
label: t(`presented.${reveal}`)
|
|
1112
|
-
}],
|
|
1113
|
-
onSelect: (id) => {
|
|
1114
|
-
act(id === "reveal" ? "reveal" : "open");
|
|
1115
|
-
}
|
|
1116
|
-
})]
|
|
1561
|
+
}), (0, react_jsx_runtime.jsx)("div", {
|
|
1562
|
+
className: Deliverables_module_css_default.actions,
|
|
1563
|
+
children: actions
|
|
1117
1564
|
})]
|
|
1118
1565
|
})
|
|
1119
1566
|
]
|
|
@@ -1150,17 +1597,18 @@ window.__ModuleLoader__.load({
|
|
|
1150
1597
|
}
|
|
1151
1598
|
/**
|
|
1152
1599
|
* Render the changed-files card, once the Host has served the announced
|
|
1153
|
-
* summary and it lists a file, and
|
|
1600
|
+
* summary and it lists a file, and shared native opening controls for declared
|
|
1154
1601
|
* files. A summary the Host no longer serves leaves no card.
|
|
1155
1602
|
* @param props - matched announcement and files, workspace opener, and localized copy.
|
|
1156
1603
|
* @returns the closing turn's file rows.
|
|
1157
1604
|
*/
|
|
1158
|
-
function Deliverables({ matched, openFile, t, sessionId, useSessions, openPresented, openChangesReview, usePresentedOpen, usePresentedHost, useChangesSummary, reloadPresentedHost, loadChangesSummary }) {
|
|
1605
|
+
function Deliverables({ matched, openFile, t, sessionId, useSessions, openPresented, openChangesReview, usePresentedOpen, usePresentedHost, useChangesDiff, loadChangesDiff, useChangesSummary, reloadPresentedHost, loadChangesSummary, useShowCodeDiff, renderSlot }) {
|
|
1159
1606
|
const [expanded, setExpanded] = (0, react.useState)(false);
|
|
1607
|
+
const showCodeDiff = useShowCodeDiff((value) => value);
|
|
1160
1608
|
const cwd = useSessions((state) => state.byId[sessionId]?.cwd);
|
|
1161
1609
|
const states = usePresentedOpen((value) => value);
|
|
1162
1610
|
const host = usePresentedHost((value) => value);
|
|
1163
|
-
const announced = matched.changes;
|
|
1611
|
+
const announced = showCodeDiff ? matched.changes : null;
|
|
1164
1612
|
const summary = useChangesSummary((value) => announced === null ? void 0 : value[changesSummaryUrl(sessionId, announced.seq)]);
|
|
1165
1613
|
(0, react.useEffect)(() => {
|
|
1166
1614
|
if (announced !== null && summary === void 0) loadChangesSummary(sessionId, announced.seq);
|
|
@@ -1183,6 +1631,9 @@ window.__ModuleLoader__.load({
|
|
|
1183
1631
|
changes,
|
|
1184
1632
|
cwd,
|
|
1185
1633
|
t,
|
|
1634
|
+
sessionId,
|
|
1635
|
+
useChangesDiff,
|
|
1636
|
+
loadChangesDiff,
|
|
1186
1637
|
openReview: (index) => {
|
|
1187
1638
|
openChangesReview({
|
|
1188
1639
|
sessionId,
|
|
@@ -1221,9 +1672,12 @@ window.__ModuleLoader__.load({
|
|
|
1221
1672
|
onPreview: () => {
|
|
1222
1673
|
openFile(file.path);
|
|
1223
1674
|
},
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1675
|
+
actions: renderSlot("deliverables.file.actions", {
|
|
1676
|
+
actionUrl: presentedFileUrl(sessionId, file.seq, file.index),
|
|
1677
|
+
available: host !== null && host !== "error" && host.available,
|
|
1678
|
+
pending: states[presentedFileUrl(sessionId, file.seq, file.index)] === "opening" || states[presentedFileUrl(sessionId, file.seq, file.index)] === "revealing",
|
|
1679
|
+
onAction: (action, application) => openPresented(sessionId, file.seq, file.index, action, application)
|
|
1680
|
+
})
|
|
1227
1681
|
}, `${file.seq}:${file.index}`))
|
|
1228
1682
|
}),
|
|
1229
1683
|
collapsible && (0, react_jsx_runtime.jsxs)("button", {
|
|
@@ -1234,14 +1688,14 @@ window.__ModuleLoader__.load({
|
|
|
1234
1688
|
onClick: () => {
|
|
1235
1689
|
setExpanded((value) => !value);
|
|
1236
1690
|
},
|
|
1237
|
-
children: [(0, react_jsx_runtime.jsx)("span", { children: t(expanded ? "presented.collapse" : "presented.all", { count: matched.presented.length }) }), expanded ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
1691
|
+
children: [(0, react_jsx_runtime.jsx)("span", { children: t(expanded ? "presented.collapse" : "presented.all", { count: matched.presented.length }) }), expanded ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronUpOutlineRegular, {}) : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, {})]
|
|
1238
1692
|
})
|
|
1239
1693
|
]
|
|
1240
1694
|
})] });
|
|
1241
1695
|
}
|
|
1242
1696
|
//#endregion
|
|
1243
1697
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-deliverables/src/client/ReviewTab.module.css.mjs
|
|
1244
|
-
const css = "._3Oi8kG_root{
|
|
1698
|
+
const css = "._3Oi8kG_root{height:100%}._3Oi8kG_selector{flex:0 auto;min-width:0}._3Oi8kG_selectorLabel{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-size:12px;overflow:hidden}._3Oi8kG_selectorButton{box-sizing:border-box;max-width:100%;height:28px;color:var(--dsw-alias-label-primary);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:8px;align-items:center;gap:4px;padding:0 6px 0 8px;font-size:12px;line-height:20px;display:inline-flex}._3Oi8kG_selectorButton:hover,._3Oi8kG_selectorButton[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover)}._3Oi8kG_selectorButton svg{flex:none;display:block}._3Oi8kG_item{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}._3Oi8kG_itemPath{text-overflow:ellipsis;white-space:nowrap;min-width:0;line-height:20px;overflow:hidden}._3Oi8kG_itemCounts,._3Oi8kG_counts{font-family:var(--ds-font-family-code);color:var(--dsw-alias-label-tertiary);flex:none;align-items:center;gap:6px;font-size:12px;line-height:20px;display:inline-flex}._3Oi8kG_counts{min-width:0;margin-right:auto}._3Oi8kG_added{color:var(--dsw-alias-state-success-primary)}._3Oi8kG_deleted{color:var(--dsw-alias-state-error-primary)}._3Oi8kG_label{color:var(--dsw-alias-label-tertiary)}._3Oi8kG_tools{flex:none;align-items:center;gap:2px;margin-left:auto;display:inline-flex}._3Oi8kG_tool{width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;padding:6px;display:inline-flex}._3Oi8kG_tool svg{width:15px;height:15px}._3Oi8kG_tool:hover:not(:disabled){color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-hover)}._3Oi8kG_tool[aria-pressed=true] ._3Oi8kG_compareIcon{transform:rotate(90deg)}._3Oi8kG_tool:disabled{cursor:progress}._3Oi8kG_tool[data-error]{color:var(--dsw-alias-state-error-primary)}";
|
|
1245
1699
|
const tagId = "@deepseek-ai/dsh-client-ui-deliverables/ReviewTab.module.css";
|
|
1246
1700
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
1247
1701
|
const tag = document.createElement("style");
|
|
@@ -1251,37 +1705,18 @@ window.__ModuleLoader__.load({
|
|
|
1251
1705
|
document.head.appendChild(tag);
|
|
1252
1706
|
}
|
|
1253
1707
|
var ReviewTab_module_css_default = {
|
|
1254
|
-
"add": "_3Oi8kG_add",
|
|
1255
1708
|
"added": "_3Oi8kG_added",
|
|
1256
|
-
"
|
|
1257
|
-
"cell": "_3Oi8kG_cell",
|
|
1258
|
-
"column": "_3Oi8kG_column",
|
|
1259
|
-
"columns": "_3Oi8kG_columns",
|
|
1260
|
-
"context": "_3Oi8kG_context",
|
|
1709
|
+
"compareIcon": "_3Oi8kG_compareIcon",
|
|
1261
1710
|
"counts": "_3Oi8kG_counts",
|
|
1262
|
-
"del": "_3Oi8kG_del",
|
|
1263
1711
|
"deleted": "_3Oi8kG_deleted",
|
|
1264
|
-
"empty": "_3Oi8kG_empty",
|
|
1265
|
-
"header": "_3Oi8kG_header",
|
|
1266
|
-
"hunk": "_3Oi8kG_hunk",
|
|
1267
|
-
"hunkHeader": "_3Oi8kG_hunkHeader",
|
|
1268
1712
|
"item": "_3Oi8kG_item",
|
|
1269
1713
|
"itemCounts": "_3Oi8kG_itemCounts",
|
|
1270
1714
|
"itemPath": "_3Oi8kG_itemPath",
|
|
1271
1715
|
"label": "_3Oi8kG_label",
|
|
1272
|
-
"line": "_3Oi8kG_line",
|
|
1273
|
-
"note": "_3Oi8kG_note",
|
|
1274
|
-
"number": "_3Oi8kG_number",
|
|
1275
1716
|
"root": "_3Oi8kG_root",
|
|
1276
1717
|
"selector": "_3Oi8kG_selector",
|
|
1277
1718
|
"selectorButton": "_3Oi8kG_selectorButton",
|
|
1278
1719
|
"selectorLabel": "_3Oi8kG_selectorLabel",
|
|
1279
|
-
"selectorText": "_3Oi8kG_selectorText",
|
|
1280
|
-
"sideLine": "_3Oi8kG_sideLine",
|
|
1281
|
-
"sign": "_3Oi8kG_sign",
|
|
1282
|
-
"splitLine": "_3Oi8kG_splitLine",
|
|
1283
|
-
"status": "_3Oi8kG_status",
|
|
1284
|
-
"text": "_3Oi8kG_text",
|
|
1285
1720
|
"tool": "_3Oi8kG_tool",
|
|
1286
1721
|
"tools": "_3Oi8kG_tools"
|
|
1287
1722
|
};
|
|
@@ -1292,123 +1727,7 @@ window.__ModuleLoader__.load({
|
|
|
1292
1727
|
* selected file's turn-start and turn-end comparison drawn unified or side by
|
|
1293
1728
|
* side, wrapped or scrolling, and controls to open the file itself.
|
|
1294
1729
|
*/
|
|
1295
|
-
/** Lines drawn before the tab stops; a coarse comparison of a file near the byte cap would otherwise draw every line. */
|
|
1296
|
-
const MAX_RENDERED_LINES = 5e3;
|
|
1297
1730
|
const GROUPED = new Intl.NumberFormat("en-US");
|
|
1298
|
-
/**
|
|
1299
|
-
* Number a hunk's lines: context lines count on both sides, deletions on the
|
|
1300
|
-
* old side, additions on the new side.
|
|
1301
|
-
* @param hunk - a served hunk.
|
|
1302
|
-
* @returns the rows in order.
|
|
1303
|
-
*/
|
|
1304
|
-
function hunkRows(hunk) {
|
|
1305
|
-
let oldNo = hunk.oldStart;
|
|
1306
|
-
let newNo = hunk.newStart;
|
|
1307
|
-
return hunk.lines.map((line) => {
|
|
1308
|
-
const text = line.slice(1);
|
|
1309
|
-
switch (line[0]) {
|
|
1310
|
-
case "+": return {
|
|
1311
|
-
kind: "add",
|
|
1312
|
-
old: void 0,
|
|
1313
|
-
new: newNo++,
|
|
1314
|
-
text
|
|
1315
|
-
};
|
|
1316
|
-
case "-": return {
|
|
1317
|
-
kind: "del",
|
|
1318
|
-
old: oldNo++,
|
|
1319
|
-
new: void 0,
|
|
1320
|
-
text
|
|
1321
|
-
};
|
|
1322
|
-
default: return {
|
|
1323
|
-
kind: "context",
|
|
1324
|
-
old: oldNo++,
|
|
1325
|
-
new: newNo++,
|
|
1326
|
-
text
|
|
1327
|
-
};
|
|
1328
|
-
}
|
|
1329
|
-
});
|
|
1330
|
-
}
|
|
1331
|
-
/**
|
|
1332
|
-
* Pair a hunk's lines for the side-by-side view: each run of deletions is
|
|
1333
|
-
* aligned with the run of additions that follows it, row by row, and context
|
|
1334
|
-
* lines sit on both sides.
|
|
1335
|
-
* @param hunk - a served hunk.
|
|
1336
|
-
* @returns the rows in order.
|
|
1337
|
-
*/
|
|
1338
|
-
function splitRows(hunk) {
|
|
1339
|
-
const rows = [];
|
|
1340
|
-
let dels = [];
|
|
1341
|
-
let adds = [];
|
|
1342
|
-
const flush = () => {
|
|
1343
|
-
for (let at = 0; at < Math.max(dels.length, adds.length); at += 1) {
|
|
1344
|
-
const left = dels[at];
|
|
1345
|
-
const right = adds[at];
|
|
1346
|
-
rows.push({
|
|
1347
|
-
...left === void 0 ? {} : { left },
|
|
1348
|
-
...right === void 0 ? {} : { right }
|
|
1349
|
-
});
|
|
1350
|
-
}
|
|
1351
|
-
dels = [];
|
|
1352
|
-
adds = [];
|
|
1353
|
-
};
|
|
1354
|
-
for (const row of hunkRows(hunk)) if (row.kind === "del") dels.push({
|
|
1355
|
-
no: row.old,
|
|
1356
|
-
text: row.text,
|
|
1357
|
-
kind: "del"
|
|
1358
|
-
});
|
|
1359
|
-
else if (row.kind === "add") adds.push({
|
|
1360
|
-
no: row.new,
|
|
1361
|
-
text: row.text,
|
|
1362
|
-
kind: "add"
|
|
1363
|
-
});
|
|
1364
|
-
else {
|
|
1365
|
-
flush();
|
|
1366
|
-
rows.push({
|
|
1367
|
-
left: {
|
|
1368
|
-
no: row.old,
|
|
1369
|
-
text: row.text,
|
|
1370
|
-
kind: "context"
|
|
1371
|
-
},
|
|
1372
|
-
right: {
|
|
1373
|
-
no: row.new,
|
|
1374
|
-
text: row.text,
|
|
1375
|
-
kind: "context"
|
|
1376
|
-
}
|
|
1377
|
-
});
|
|
1378
|
-
}
|
|
1379
|
-
flush();
|
|
1380
|
-
return rows;
|
|
1381
|
-
}
|
|
1382
|
-
/**
|
|
1383
|
-
* The hunks to draw, cut at {@link MAX_RENDERED_LINES} lines in total.
|
|
1384
|
-
* @param hunks - served hunks.
|
|
1385
|
-
* @returns the hunks with the last one shortened as needed, and whether anything was cut.
|
|
1386
|
-
*/
|
|
1387
|
-
function renderedHunks(hunks) {
|
|
1388
|
-
let budget = MAX_RENDERED_LINES;
|
|
1389
|
-
const kept = [];
|
|
1390
|
-
for (const hunk of hunks) {
|
|
1391
|
-
if (budget === 0) return {
|
|
1392
|
-
hunks: kept,
|
|
1393
|
-
truncated: true
|
|
1394
|
-
};
|
|
1395
|
-
kept.push(hunk.lines.length <= budget ? hunk : {
|
|
1396
|
-
...hunk,
|
|
1397
|
-
lines: hunk.lines.slice(0, budget)
|
|
1398
|
-
});
|
|
1399
|
-
budget -= Math.min(budget, hunk.lines.length);
|
|
1400
|
-
}
|
|
1401
|
-
return {
|
|
1402
|
-
hunks: kept,
|
|
1403
|
-
truncated: hunks.some((hunk, at) => kept[at] !== hunk)
|
|
1404
|
-
};
|
|
1405
|
-
}
|
|
1406
|
-
/** The one-line fact about a text comparison worth stating above its hunks, if any. */
|
|
1407
|
-
function noteOf(diff) {
|
|
1408
|
-
if (!diff.before) return "diff.created";
|
|
1409
|
-
if (!diff.after) return "diff.deleted";
|
|
1410
|
-
if (diff.hunks.length === 0) return "diff.unchanged";
|
|
1411
|
-
}
|
|
1412
1731
|
/** The file index a navigation names, when it names one. */
|
|
1413
1732
|
function navigatedIndex(params) {
|
|
1414
1733
|
const index = params?.index;
|
|
@@ -1437,7 +1756,7 @@ window.__ModuleLoader__.load({
|
|
|
1437
1756
|
* @param props - composed slot props.
|
|
1438
1757
|
* @returns the selected file's comparison behind the file selector, or the state that stands in for it.
|
|
1439
1758
|
*/
|
|
1440
|
-
function ReviewTab({ useTabInfo, sessionId, useSessions, useStore, actions, useChangesSummary, useChangesDiff, usePresentedOpen, usePresentedHost, loadChangesSummary, loadChangesDiff, reloadPresentedHost, openChanged, t }) {
|
|
1759
|
+
function ReviewTab({ useTabInfo, sessionId, useSessions, useStore, actions, useChangesSummary, useChangesDiff, usePresentedOpen, usePresentedHost, loadChangesSummary, loadChangesDiff, reloadPresentedHost, openChanged, t, renderSlot }) {
|
|
1441
1760
|
const { tab } = useTabInfo();
|
|
1442
1761
|
const { navigation, signal } = tab;
|
|
1443
1762
|
const coordinates = (0, react.useMemo)(() => parseChangesReviewAddress(tab.contentId), [tab.contentId]);
|
|
@@ -1502,12 +1821,12 @@ window.__ModuleLoader__.load({
|
|
|
1502
1821
|
const native = host !== null && host !== "error" && host.available && phase !== "nativeUnavailable";
|
|
1503
1822
|
const summaryState = summary === void 0 || summary === "loading" ? "loading" : summary === "missing" ? "missing" : "ready";
|
|
1504
1823
|
return (0, react_jsx_runtime.jsxs)("div", {
|
|
1505
|
-
className: ReviewTab_module_css_default.root
|
|
1824
|
+
className: `${FileDiff_module_css_default.root} ${ReviewTab_module_css_default.root}`,
|
|
1506
1825
|
"data-changes-review": true,
|
|
1507
1826
|
"data-review-state": summaryState,
|
|
1508
1827
|
children: [
|
|
1509
1828
|
(0, react_jsx_runtime.jsxs)("div", {
|
|
1510
|
-
className:
|
|
1829
|
+
className: FileDiff_module_css_default.header,
|
|
1511
1830
|
children: [
|
|
1512
1831
|
file === void 0 ? (0, react_jsx_runtime.jsx)("span", {
|
|
1513
1832
|
className: ReviewTab_module_css_default.selectorLabel,
|
|
@@ -1533,10 +1852,7 @@ window.__ModuleLoader__.load({
|
|
|
1533
1852
|
onClick: () => {
|
|
1534
1853
|
setMenuOpen((value) => !value);
|
|
1535
1854
|
},
|
|
1536
|
-
children: [(0, react_jsx_runtime.jsx)(
|
|
1537
|
-
className: ReviewTab_module_css_default.selectorText,
|
|
1538
|
-
children: file.display
|
|
1539
|
-
}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutline14, { size: 12 })]
|
|
1855
|
+
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.PathLabel, { path: file.display }), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, { size: 12 })]
|
|
1540
1856
|
}),
|
|
1541
1857
|
items: files.map((entry, at) => ({
|
|
1542
1858
|
id: String(at),
|
|
@@ -1583,7 +1899,7 @@ window.__ModuleLoader__.load({
|
|
|
1583
1899
|
onClick: () => {
|
|
1584
1900
|
actions.toggledSplit(tab.id);
|
|
1585
1901
|
},
|
|
1586
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
1902
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconCompareSplitOutlineRegular, { className: ReviewTab_module_css_default.compareIcon })
|
|
1587
1903
|
})
|
|
1588
1904
|
}),
|
|
1589
1905
|
(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
@@ -1599,7 +1915,7 @@ window.__ModuleLoader__.load({
|
|
|
1599
1915
|
onClick: () => {
|
|
1600
1916
|
actions.toggledWrap(tab.id);
|
|
1601
1917
|
},
|
|
1602
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
1918
|
+
children: wrap ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconNowrapFillRegular, {}) : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWrapFillRegular, {})
|
|
1603
1919
|
})
|
|
1604
1920
|
}),
|
|
1605
1921
|
file !== void 0 && (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
@@ -1614,40 +1930,29 @@ window.__ModuleLoader__.load({
|
|
|
1614
1930
|
onClick: () => {
|
|
1615
1931
|
tab.actions.openResource(fileAddressFor(sessionId, cwd, file.path));
|
|
1616
1932
|
},
|
|
1617
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
1933
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconInspectOutlineRegular, {})
|
|
1618
1934
|
})
|
|
1619
1935
|
}),
|
|
1620
|
-
file !== void 0 &&
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
type: "button",
|
|
1626
|
-
className: ReviewTab_module_css_default.tool,
|
|
1627
|
-
disabled: phase === "opening",
|
|
1628
|
-
"data-review-tool": "open-native",
|
|
1629
|
-
"aria-label": t("diff.openNativeAria", { name: file.display }),
|
|
1630
|
-
"data-error": phase === "error" || void 0,
|
|
1631
|
-
onClick: () => {
|
|
1632
|
-
openChanged(sessionId, seq, index);
|
|
1633
|
-
},
|
|
1634
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconRightUpOutline16, {})
|
|
1635
|
-
})
|
|
1936
|
+
file !== void 0 && renderSlot("deliverables.review.file.actions", {
|
|
1937
|
+
actionUrl: changedFileUrl(sessionId, seq, index),
|
|
1938
|
+
available: native,
|
|
1939
|
+
pending: phase === "opening" || phase === "revealing",
|
|
1940
|
+
onAction: (action, application) => openChanged(sessionId, seq, index, action, application)
|
|
1636
1941
|
})
|
|
1637
1942
|
]
|
|
1638
1943
|
})
|
|
1639
1944
|
]
|
|
1640
1945
|
}),
|
|
1641
1946
|
summaryState === "loading" && (0, react_jsx_runtime.jsx)("p", {
|
|
1642
|
-
className:
|
|
1947
|
+
className: FileDiff_module_css_default.status,
|
|
1643
1948
|
role: "status",
|
|
1644
1949
|
children: t("diff.loading")
|
|
1645
1950
|
}),
|
|
1646
1951
|
summaryState === "missing" && (0, react_jsx_runtime.jsx)("p", {
|
|
1647
|
-
className:
|
|
1952
|
+
className: FileDiff_module_css_default.status,
|
|
1648
1953
|
children: t("diff.missing")
|
|
1649
1954
|
}),
|
|
1650
|
-
file !== void 0 && (0, react_jsx_runtime.jsx)(
|
|
1955
|
+
file !== void 0 && (0, react_jsx_runtime.jsx)(FileDiff, {
|
|
1651
1956
|
state: diffState,
|
|
1652
1957
|
split,
|
|
1653
1958
|
wrap,
|
|
@@ -1659,174 +1964,6 @@ window.__ModuleLoader__.load({
|
|
|
1659
1964
|
]
|
|
1660
1965
|
});
|
|
1661
1966
|
}
|
|
1662
|
-
/** The selected file's comparison, or the state that stands in for it. */
|
|
1663
|
-
function FileBody({ state, split, wrap, retry, t }) {
|
|
1664
|
-
if (state === void 0 || state === "loading") return (0, react_jsx_runtime.jsx)("p", {
|
|
1665
|
-
className: ReviewTab_module_css_default.status,
|
|
1666
|
-
role: "status",
|
|
1667
|
-
children: t("diff.loading")
|
|
1668
|
-
});
|
|
1669
|
-
if (state === "missing") return (0, react_jsx_runtime.jsx)("p", {
|
|
1670
|
-
className: ReviewTab_module_css_default.status,
|
|
1671
|
-
children: t("diff.missing")
|
|
1672
|
-
});
|
|
1673
|
-
if (state === "error") return (0, react_jsx_runtime.jsxs)("div", {
|
|
1674
|
-
className: ReviewTab_module_css_default.status,
|
|
1675
|
-
children: [(0, react_jsx_runtime.jsx)("span", { children: t("diff.error") }), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
1676
|
-
size: "sm",
|
|
1677
|
-
onClick: retry,
|
|
1678
|
-
children: t("presented.retry")
|
|
1679
|
-
})]
|
|
1680
|
-
});
|
|
1681
|
-
if (state.kind === "binary") return (0, react_jsx_runtime.jsx)("p", {
|
|
1682
|
-
className: ReviewTab_module_css_default.status,
|
|
1683
|
-
children: t("diff.binary")
|
|
1684
|
-
});
|
|
1685
|
-
if (state.kind === "oversized") return (0, react_jsx_runtime.jsx)("p", {
|
|
1686
|
-
className: ReviewTab_module_css_default.status,
|
|
1687
|
-
children: t("diff.oversized")
|
|
1688
|
-
});
|
|
1689
|
-
return (0, react_jsx_runtime.jsx)(TextDiff, {
|
|
1690
|
-
diff: state,
|
|
1691
|
-
split,
|
|
1692
|
-
wrap,
|
|
1693
|
-
t
|
|
1694
|
-
});
|
|
1695
|
-
}
|
|
1696
|
-
/** The kind a paired row carries: a deletion or addition on either side, otherwise context. */
|
|
1697
|
-
function splitRowKind(row) {
|
|
1698
|
-
return row.left?.kind === "del" ? "del" : row.right?.kind === "add" ? "add" : "context";
|
|
1699
|
-
}
|
|
1700
|
-
function hunkHeader(hunk) {
|
|
1701
|
-
return `@@ -${hunk.oldStart},${hunk.oldLines} +${hunk.newStart},${hunk.newLines} @@`;
|
|
1702
|
-
}
|
|
1703
|
-
/**
|
|
1704
|
-
* The side-by-side view without wrapping: two columns that clip their long
|
|
1705
|
-
* lines and scroll sideways together, so a long line on one side never runs
|
|
1706
|
-
* under the other and both sides show the same columns of text. Every line is
|
|
1707
|
-
* one fixed-height row, which keeps the sides aligned.
|
|
1708
|
-
*/
|
|
1709
|
-
function SplitColumns({ hunks }) {
|
|
1710
|
-
const paired = (0, react.useMemo)(() => hunks.map((hunk) => ({
|
|
1711
|
-
header: hunkHeader(hunk),
|
|
1712
|
-
rows: splitRows(hunk)
|
|
1713
|
-
})), [hunks]);
|
|
1714
|
-
const columns = (0, react.useRef)({
|
|
1715
|
-
left: null,
|
|
1716
|
-
right: null
|
|
1717
|
-
});
|
|
1718
|
-
const follow = (side) => (event) => {
|
|
1719
|
-
const other = columns.current[side === "left" ? "right" : "left"];
|
|
1720
|
-
if (other !== null && other.scrollLeft !== event.currentTarget.scrollLeft) other.scrollLeft = event.currentTarget.scrollLeft;
|
|
1721
|
-
};
|
|
1722
|
-
return (0, react_jsx_runtime.jsx)("div", {
|
|
1723
|
-
className: ReviewTab_module_css_default.columns,
|
|
1724
|
-
children: ["left", "right"].map((side) => (0, react_jsx_runtime.jsx)("div", {
|
|
1725
|
-
className: ReviewTab_module_css_default.column,
|
|
1726
|
-
"data-diff-side": side,
|
|
1727
|
-
ref: (element) => {
|
|
1728
|
-
columns.current[side] = element;
|
|
1729
|
-
},
|
|
1730
|
-
onScroll: follow(side),
|
|
1731
|
-
children: paired.map((hunk, position) => (0, react_jsx_runtime.jsxs)("section", {
|
|
1732
|
-
className: ReviewTab_module_css_default.hunk,
|
|
1733
|
-
children: [(0, react_jsx_runtime.jsx)("div", {
|
|
1734
|
-
className: ReviewTab_module_css_default.hunkHeader,
|
|
1735
|
-
children: hunk.header
|
|
1736
|
-
}), hunk.rows.map((row, at) => {
|
|
1737
|
-
const cell = row[side];
|
|
1738
|
-
return (0, react_jsx_runtime.jsxs)("div", {
|
|
1739
|
-
className: `${ReviewTab_module_css_default.sideLine} ${cell === void 0 ? ReviewTab_module_css_default.empty : ReviewTab_module_css_default[cell.kind]}`,
|
|
1740
|
-
"data-diff-line": splitRowKind(row),
|
|
1741
|
-
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
1742
|
-
className: ReviewTab_module_css_default.number,
|
|
1743
|
-
children: cell?.no ?? ""
|
|
1744
|
-
}), (0, react_jsx_runtime.jsx)("span", {
|
|
1745
|
-
className: ReviewTab_module_css_default.text,
|
|
1746
|
-
children: cell?.text ?? ""
|
|
1747
|
-
})]
|
|
1748
|
-
}, at);
|
|
1749
|
-
})]
|
|
1750
|
-
}, position))
|
|
1751
|
-
}, side))
|
|
1752
|
-
});
|
|
1753
|
-
}
|
|
1754
|
-
/** The hunks of a text comparison with their line numbers, unified or side by side. */
|
|
1755
|
-
function TextDiff({ diff, split, wrap, t }) {
|
|
1756
|
-
const note = noteOf(diff);
|
|
1757
|
-
const { hunks, truncated } = (0, react.useMemo)(() => renderedHunks(diff.hunks), [diff.hunks]);
|
|
1758
|
-
return (0, react_jsx_runtime.jsxs)("div", {
|
|
1759
|
-
className: ReviewTab_module_css_default.body,
|
|
1760
|
-
"data-review-view": split ? "split" : "unified",
|
|
1761
|
-
"data-review-wrap": wrap || void 0,
|
|
1762
|
-
children: [
|
|
1763
|
-
note !== void 0 && (0, react_jsx_runtime.jsx)("p", {
|
|
1764
|
-
className: ReviewTab_module_css_default.note,
|
|
1765
|
-
children: t(note)
|
|
1766
|
-
}),
|
|
1767
|
-
diff.coarse && (0, react_jsx_runtime.jsx)("p", {
|
|
1768
|
-
className: ReviewTab_module_css_default.note,
|
|
1769
|
-
"data-diff-coarse": true,
|
|
1770
|
-
children: t("diff.coarse")
|
|
1771
|
-
}),
|
|
1772
|
-
truncated && (0, react_jsx_runtime.jsx)("p", {
|
|
1773
|
-
className: ReviewTab_module_css_default.note,
|
|
1774
|
-
"data-diff-truncated": true,
|
|
1775
|
-
children: t("diff.truncated", { count: String(5e3) })
|
|
1776
|
-
}),
|
|
1777
|
-
split && !wrap ? (0, react_jsx_runtime.jsx)(SplitColumns, { hunks }) : hunks.map((hunk, position) => (0, react_jsx_runtime.jsxs)("section", {
|
|
1778
|
-
className: ReviewTab_module_css_default.hunk,
|
|
1779
|
-
children: [(0, react_jsx_runtime.jsx)("div", {
|
|
1780
|
-
className: ReviewTab_module_css_default.hunkHeader,
|
|
1781
|
-
children: hunkHeader(hunk)
|
|
1782
|
-
}), split ? splitRows(hunk).map((row, at) => (0, react_jsx_runtime.jsxs)("div", {
|
|
1783
|
-
className: ReviewTab_module_css_default.splitLine,
|
|
1784
|
-
"data-diff-line": splitRowKind(row),
|
|
1785
|
-
children: [(0, react_jsx_runtime.jsxs)("span", {
|
|
1786
|
-
className: `${ReviewTab_module_css_default.cell} ${row.left === void 0 ? ReviewTab_module_css_default.empty : ReviewTab_module_css_default[row.left.kind]}`,
|
|
1787
|
-
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
1788
|
-
className: ReviewTab_module_css_default.number,
|
|
1789
|
-
children: row.left?.no ?? ""
|
|
1790
|
-
}), (0, react_jsx_runtime.jsx)("span", {
|
|
1791
|
-
className: ReviewTab_module_css_default.text,
|
|
1792
|
-
children: row.left?.text ?? ""
|
|
1793
|
-
})]
|
|
1794
|
-
}), (0, react_jsx_runtime.jsxs)("span", {
|
|
1795
|
-
className: `${ReviewTab_module_css_default.cell} ${row.right === void 0 ? ReviewTab_module_css_default.empty : ReviewTab_module_css_default[row.right.kind]}`,
|
|
1796
|
-
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
1797
|
-
className: ReviewTab_module_css_default.number,
|
|
1798
|
-
children: row.right?.no ?? ""
|
|
1799
|
-
}), (0, react_jsx_runtime.jsx)("span", {
|
|
1800
|
-
className: ReviewTab_module_css_default.text,
|
|
1801
|
-
children: row.right?.text ?? ""
|
|
1802
|
-
})]
|
|
1803
|
-
})]
|
|
1804
|
-
}, at)) : hunkRows(hunk).map((row, at) => (0, react_jsx_runtime.jsxs)("div", {
|
|
1805
|
-
className: `${ReviewTab_module_css_default.line} ${ReviewTab_module_css_default[row.kind]}`,
|
|
1806
|
-
"data-diff-line": row.kind,
|
|
1807
|
-
children: [
|
|
1808
|
-
(0, react_jsx_runtime.jsx)("span", {
|
|
1809
|
-
className: ReviewTab_module_css_default.number,
|
|
1810
|
-
children: row.old ?? ""
|
|
1811
|
-
}),
|
|
1812
|
-
(0, react_jsx_runtime.jsx)("span", {
|
|
1813
|
-
className: ReviewTab_module_css_default.number,
|
|
1814
|
-
children: row.new ?? ""
|
|
1815
|
-
}),
|
|
1816
|
-
(0, react_jsx_runtime.jsx)("span", {
|
|
1817
|
-
className: ReviewTab_module_css_default.sign,
|
|
1818
|
-
children: row.kind === "add" ? "+" : row.kind === "del" ? "-" : " "
|
|
1819
|
-
}),
|
|
1820
|
-
(0, react_jsx_runtime.jsx)("span", {
|
|
1821
|
-
className: ReviewTab_module_css_default.text,
|
|
1822
|
-
children: row.text
|
|
1823
|
-
})
|
|
1824
|
-
]
|
|
1825
|
-
}, at))]
|
|
1826
|
-
}, position))
|
|
1827
|
-
]
|
|
1828
|
-
});
|
|
1829
|
-
}
|
|
1830
1967
|
//#endregion
|
|
1831
1968
|
//#region lib/types/client/review-definition.js
|
|
1832
1969
|
/** The tab kind this package owns. */
|
|
@@ -1874,7 +2011,7 @@ window.__ModuleLoader__.load({
|
|
|
1874
2011
|
init: () => ({ byTab: {} }),
|
|
1875
2012
|
actions: {
|
|
1876
2013
|
/**
|
|
1877
|
-
* Apply a navigation: seed
|
|
2014
|
+
* Apply a navigation: seed a side-by-side, unwrapped tab on its first one, then show the navigated file.
|
|
1878
2015
|
* @param d - draft state.
|
|
1879
2016
|
* @param tabId - the tab being drawn.
|
|
1880
2017
|
* @param revision - the navigation revision being applied.
|
|
@@ -1884,7 +2021,7 @@ window.__ModuleLoader__.load({
|
|
|
1884
2021
|
const tab = d.byTab[tabId];
|
|
1885
2022
|
if (tab === void 0) d.byTab[tabId] = {
|
|
1886
2023
|
index,
|
|
1887
|
-
split:
|
|
2024
|
+
split: true,
|
|
1888
2025
|
wrap: false,
|
|
1889
2026
|
navigated: revision
|
|
1890
2027
|
};
|
|
@@ -1948,12 +2085,6 @@ window.__ModuleLoader__.load({
|
|
|
1948
2085
|
"presented.unavailable": "此主机没有可用的桌面,无法使用外部程序打开文件或文件夹;文件仍可在侧边栏预览",
|
|
1949
2086
|
"presented.retry": "重试",
|
|
1950
2087
|
"presented.hostError": "无法读取主机桌面信息",
|
|
1951
|
-
"presented.directory": "打开所在文件夹",
|
|
1952
|
-
"presented.explorer": "在文件资源管理器中显示",
|
|
1953
|
-
"presented.finder": "在 Finder 中显示",
|
|
1954
|
-
"presented.defaultApp": "用默认应用打开",
|
|
1955
|
-
"presented.more": "{name} 的更多文件操作",
|
|
1956
|
-
"presented.action": "打开",
|
|
1957
2088
|
"presented.preview": "在侧边栏预览",
|
|
1958
2089
|
"presented.previewButton": "在侧边栏打开 {name}",
|
|
1959
2090
|
"presented.previewCard": "在侧边栏预览 {name}",
|
|
@@ -1962,7 +2093,7 @@ window.__ModuleLoader__.load({
|
|
|
1962
2093
|
"presented.collapse": "收起",
|
|
1963
2094
|
"presented.collapseAria": "收起交付文件列表",
|
|
1964
2095
|
"presented.opening": "正在打开…",
|
|
1965
|
-
"presented.opened": "
|
|
2096
|
+
"presented.opened": "已请求打开",
|
|
1966
2097
|
"presented.error": "打开失败,点击重试",
|
|
1967
2098
|
"presented.file": "文件",
|
|
1968
2099
|
"row.title": "交付文件",
|
|
@@ -1992,7 +2123,6 @@ window.__ModuleLoader__.load({
|
|
|
1992
2123
|
"review.wrapAria": "自动换行",
|
|
1993
2124
|
"review.openFile": "在侧边栏打开整个文件",
|
|
1994
2125
|
"review.openFileAria": "在侧边栏打开 {name}",
|
|
1995
|
-
"diff.openNativeAria": "用默认应用打开 {name}",
|
|
1996
2126
|
"diff.loading": "正在读取改动…",
|
|
1997
2127
|
"diff.missing": "这轮改动的内容已不可用",
|
|
1998
2128
|
"diff.error": "无法读取改动",
|
|
@@ -2002,9 +2132,7 @@ window.__ModuleLoader__.load({
|
|
|
2002
2132
|
"diff.deleted": "本轮删除的文件",
|
|
2003
2133
|
"diff.unchanged": "两侧内容相同",
|
|
2004
2134
|
"diff.coarse": "逐行对比超时,按整个文件替换显示",
|
|
2005
|
-
"diff.truncated": "只显示前 {count} 行"
|
|
2006
|
-
"diff.openNative": "用默认应用打开",
|
|
2007
|
-
"diff.openNativeError": "打开失败,点击重试"
|
|
2135
|
+
"diff.truncated": "只显示前 {count} 行"
|
|
2008
2136
|
};
|
|
2009
2137
|
/** English dictionary (same key set). */
|
|
2010
2138
|
const en = {
|
|
@@ -2018,12 +2146,6 @@ window.__ModuleLoader__.load({
|
|
|
2018
2146
|
"presented.unavailable": "This Host has no desktop available to open files or folders in external apps. Files can still be previewed in the sidebar.",
|
|
2019
2147
|
"presented.retry": "Retry",
|
|
2020
2148
|
"presented.hostError": "Could not read the Host desktop information",
|
|
2021
|
-
"presented.directory": "Open containing folder",
|
|
2022
|
-
"presented.explorer": "Show in File Explorer",
|
|
2023
|
-
"presented.finder": "Show in Finder",
|
|
2024
|
-
"presented.defaultApp": "Open in default app",
|
|
2025
|
-
"presented.more": "More file actions for {name}",
|
|
2026
|
-
"presented.action": "Open",
|
|
2027
2149
|
"presented.preview": "Preview in sidebar",
|
|
2028
2150
|
"presented.previewButton": "Open {name} in sidebar",
|
|
2029
2151
|
"presented.previewCard": "Preview {name} in sidebar",
|
|
@@ -2032,7 +2154,7 @@ window.__ModuleLoader__.load({
|
|
|
2032
2154
|
"presented.collapse": "Collapse",
|
|
2033
2155
|
"presented.collapseAria": "Collapse delivered files",
|
|
2034
2156
|
"presented.opening": "Opening…",
|
|
2035
|
-
"presented.opened": "
|
|
2157
|
+
"presented.opened": "Open requested",
|
|
2036
2158
|
"presented.error": "Could not open. Click to retry.",
|
|
2037
2159
|
"presented.file": "File",
|
|
2038
2160
|
"row.title": "Present files",
|
|
@@ -2062,7 +2184,6 @@ window.__ModuleLoader__.load({
|
|
|
2062
2184
|
"review.wrapAria": "Line wrap",
|
|
2063
2185
|
"review.openFile": "Open the whole file in the sidebar",
|
|
2064
2186
|
"review.openFileAria": "Open {name} in sidebar",
|
|
2065
|
-
"diff.openNativeAria": "Open {name} in default app",
|
|
2066
2187
|
"diff.loading": "Reading changes…",
|
|
2067
2188
|
"diff.missing": "The contents of this turn’s changes are no longer available",
|
|
2068
2189
|
"diff.error": "Could not read the changes",
|
|
@@ -2072,9 +2193,7 @@ window.__ModuleLoader__.load({
|
|
|
2072
2193
|
"diff.deleted": "Deleted in this turn",
|
|
2073
2194
|
"diff.unchanged": "Both sides hold the same lines",
|
|
2074
2195
|
"diff.coarse": "Line comparison timed out; shown as a whole-file replacement",
|
|
2075
|
-
"diff.truncated": "Showing the first {count} lines"
|
|
2076
|
-
"diff.openNative": "Open in default app",
|
|
2077
|
-
"diff.openNativeError": "Could not open. Click to retry."
|
|
2196
|
+
"diff.truncated": "Showing the first {count} lines"
|
|
2078
2197
|
};
|
|
2079
2198
|
//#endregion
|
|
2080
2199
|
//#region lib/types/client/index.js
|
|
@@ -2086,7 +2205,8 @@ window.__ModuleLoader__.load({
|
|
|
2086
2205
|
"remote",
|
|
2087
2206
|
"remote.session",
|
|
2088
2207
|
"sidebarRightTabs",
|
|
2089
|
-
"sidebarRight"
|
|
2208
|
+
"sidebarRight",
|
|
2209
|
+
"configForms"
|
|
2090
2210
|
];
|
|
2091
2211
|
/**
|
|
2092
2212
|
* Client plugin body: register the dictionaries, the turn-tail entry, and the comparison tab type.
|
|
@@ -2115,16 +2235,23 @@ window.__ModuleLoader__.load({
|
|
|
2115
2235
|
name: "conversation.chat.turnTail",
|
|
2116
2236
|
id: "@deepseek-ai/dsh-client-ui-deliverables",
|
|
2117
2237
|
locale: NS,
|
|
2238
|
+
children: { "deliverables.file.actions": {
|
|
2239
|
+
kind: "list",
|
|
2240
|
+
scope: "session"
|
|
2241
|
+
} },
|
|
2118
2242
|
inject: () => ({
|
|
2119
2243
|
hooks: {
|
|
2244
|
+
changesDiff: diffs.state,
|
|
2120
2245
|
presentedOpen: opener.state,
|
|
2121
2246
|
presentedHost: opener.host,
|
|
2122
|
-
changesSummary: summaries.state
|
|
2247
|
+
changesSummary: summaries.state,
|
|
2248
|
+
showCodeDiff: ctx.configForms.developerTools.enabled
|
|
2123
2249
|
},
|
|
2250
|
+
loadChangesDiff: (sessionId, seq, index) => diffs.load(sessionId, seq, index),
|
|
2124
2251
|
reloadPresentedHost: () => opener.loadHost(),
|
|
2125
2252
|
loadChangesSummary: (sessionId, seq) => summaries.load(sessionId, seq),
|
|
2126
|
-
openPresented: (sessionId, seq, index, action) => opener.open(sessionId, seq, index, action),
|
|
2127
|
-
openChanged: (sessionId, seq, index) => opener.openChanged(sessionId, seq, index),
|
|
2253
|
+
openPresented: (sessionId, seq, index, action, application) => opener.open(sessionId, seq, index, action, application),
|
|
2254
|
+
openChanged: (sessionId, seq, index, action, application) => opener.openChanged(sessionId, seq, index, action, application),
|
|
2128
2255
|
openChangesReview: (coordinates, index) => {
|
|
2129
2256
|
ctx.sidebarRight.openResource(changesReviewAddress(coordinates), { params: { index } });
|
|
2130
2257
|
}
|
|
@@ -2142,6 +2269,10 @@ window.__ModuleLoader__.load({
|
|
|
2142
2269
|
key: CHANGES_REVIEW_ID,
|
|
2143
2270
|
locale: NS,
|
|
2144
2271
|
store: createReviewStore(),
|
|
2272
|
+
children: { "deliverables.review.file.actions": {
|
|
2273
|
+
kind: "list",
|
|
2274
|
+
scope: "session"
|
|
2275
|
+
} },
|
|
2145
2276
|
inject: () => ({
|
|
2146
2277
|
hooks: {
|
|
2147
2278
|
changesSummary: summaries.state,
|
|
@@ -2152,7 +2283,7 @@ window.__ModuleLoader__.load({
|
|
|
2152
2283
|
loadChangesSummary: (sessionId, seq) => summaries.load(sessionId, seq),
|
|
2153
2284
|
loadChangesDiff: (sessionId, seq, index) => diffs.load(sessionId, seq, index),
|
|
2154
2285
|
reloadPresentedHost: () => opener.loadHost(),
|
|
2155
|
-
openChanged: (sessionId, seq, index) => opener.openChanged(sessionId, seq, index)
|
|
2286
|
+
openChanged: (sessionId, seq, index, action, application) => opener.openChanged(sessionId, seq, index, action, application)
|
|
2156
2287
|
})
|
|
2157
2288
|
}, ReviewTab)), "ui-deliverables: changes-review body");
|
|
2158
2289
|
ctx.provide("chatFileMentions", { forClosing(owner) {
|