@songtonyli/dsh-cli 0.1.30 → 0.1.32
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-llm-cursor → dsh-api-job-controller}/README.i18n.yaml +3 -3
- 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 -94
- 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-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 +18 -16
- package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +18 -16
- package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +866 -144
- 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 -272
- package/node_modules/@bufbuild/protobuf/README.md +0 -41
- package/node_modules/@bufbuild/protobuf/dist/commonjs/clone.js +0 -66
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/boot.js +0 -18
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/enum.js +0 -31
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/extension.js +0 -28
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/file.js +0 -18
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/index.js +0 -39
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/message.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/service.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/symbols.js +0 -43
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/types.js +0 -15
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/boot.js +0 -105
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/embed.js +0 -244
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/enum.js +0 -58
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/extension.js +0 -28
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/file.js +0 -35
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/index.js +0 -39
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/message.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/restore-json-names.js +0 -29
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/scalar.js +0 -67
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/service.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/symbols.js +0 -74
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/types.js +0 -15
- package/node_modules/@bufbuild/protobuf/dist/commonjs/create.js +0 -296
- package/node_modules/@bufbuild/protobuf/dist/commonjs/descriptors.js +0 -53
- package/node_modules/@bufbuild/protobuf/dist/commonjs/equals.js +0 -209
- package/node_modules/@bufbuild/protobuf/dist/commonjs/extensions.js +0 -168
- package/node_modules/@bufbuild/protobuf/dist/commonjs/fields.js +0 -45
- package/node_modules/@bufbuild/protobuf/dist/commonjs/from-binary.js +0 -415
- package/node_modules/@bufbuild/protobuf/dist/commonjs/from-json.js +0 -1037
- package/node_modules/@bufbuild/protobuf/dist/commonjs/index.js +0 -55
- package/node_modules/@bufbuild/protobuf/dist/commonjs/is-message.js +0 -33
- package/node_modules/@bufbuild/protobuf/dist/commonjs/json-value.js +0 -15
- package/node_modules/@bufbuild/protobuf/dist/commonjs/merge.js +0 -70
- package/node_modules/@bufbuild/protobuf/dist/commonjs/package.json +0 -4
- package/node_modules/@bufbuild/protobuf/dist/commonjs/proto-int64.js +0 -131
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/error.js +0 -36
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/guard.js +0 -78
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/index.js +0 -41
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/message.js +0 -157
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/names.js +0 -115
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/nested-types.js +0 -110
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/path.js +0 -376
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect-check.js +0 -292
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect-types.js +0 -16
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect.js +0 -469
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/scalar.js +0 -129
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/unsafe.js +0 -149
- package/node_modules/@bufbuild/protobuf/dist/commonjs/registry.js +0 -954
- package/node_modules/@bufbuild/protobuf/dist/commonjs/to-binary.js +0 -437
- package/node_modules/@bufbuild/protobuf/dist/commonjs/to-json.js +0 -625
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/from-text.js +0 -684
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/index.js +0 -21
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/is-group-like.js +0 -47
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/reader.js +0 -481
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/to-text.js +0 -358
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/writer.js +0 -220
- package/node_modules/@bufbuild/protobuf/dist/commonjs/types.js +0 -15
- package/node_modules/@bufbuild/protobuf/dist/commonjs/unknown-enum.js +0 -26
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/base64-encoding.js +0 -188
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/binary-encoding.js +0 -726
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/index.js +0 -37
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/size-delimited.js +0 -191
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/text-encoding.js +0 -106
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/text-format.js +0 -199
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/varint.js +0 -334
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/any.js +0 -75
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/duration.js +0 -39
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/any_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/api_pb.js +0 -39
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -68
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/cpp_features_pb.js +0 -60
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/descriptor_pb.js +0 -892
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/duration_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/empty_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/field_mask_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/go_features_pb.js +0 -126
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/java_features_pb.js +0 -106
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/source_context_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/struct_pb.js +0 -59
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/timestamp_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/type_pb.js +0 -242
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/wrappers_pb.js +0 -67
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/index.js +0 -48
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/json.js +0 -44
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/timestamp.js +0 -57
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/wrappers.js +0 -66
- package/node_modules/@bufbuild/protobuf/dist/esm/clone.js +0 -63
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/boot.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/enum.js +0 -26
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/extension.js +0 -25
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/file.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/index.js +0 -23
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/message.js +0 -21
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/service.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/symbols.js +0 -40
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/types.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/boot.js +0 -101
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +0 -239
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +0 -53
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +0 -25
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +0 -32
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +0 -23
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/message.js +0 -21
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/restore-json-names.js +0 -26
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +0 -63
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +0 -71
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/create.js +0 -293
- package/node_modules/@bufbuild/protobuf/dist/esm/descriptors.js +0 -50
- package/node_modules/@bufbuild/protobuf/dist/esm/equals.js +0 -206
- package/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +0 -159
- package/node_modules/@bufbuild/protobuf/dist/esm/fields.js +0 -41
- package/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +0 -409
- package/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +0 -1029
- package/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -29
- package/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +0 -30
- package/node_modules/@bufbuild/protobuf/dist/esm/json-value.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/merge.js +0 -67
- package/node_modules/@bufbuild/protobuf/dist/esm/package.json +0 -4
- package/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +0 -128
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +0 -31
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +0 -71
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/index.js +0 -21
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/message.js +0 -152
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +0 -109
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +0 -105
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/path.js +0 -369
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js +0 -284
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-types.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +0 -464
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +0 -124
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +0 -140
- package/node_modules/@bufbuild/protobuf/dist/esm/registry.js +0 -948
- package/node_modules/@bufbuild/protobuf/dist/esm/to-binary.js +0 -433
- package/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +0 -620
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/from-text.js +0 -680
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/index.js +0 -15
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/is-group-like.js +0 -44
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/reader.js +0 -477
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/to-text.js +0 -355
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/writer.js +0 -214
- package/node_modules/@bufbuild/protobuf/dist/esm/types.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/unknown-enum.js +0 -23
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +0 -184
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js +0 -721
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +0 -18
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +0 -186
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +0 -101
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.js +0 -195
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js +0 -325
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +0 -69
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +0 -35
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +0 -36
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -65
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +0 -57
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +0 -888
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +0 -123
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +0 -103
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +0 -56
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +0 -239
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +0 -64
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +0 -32
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/json.js +0 -41
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +0 -50
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js +0 -61
- package/node_modules/@bufbuild/protobuf/package.json +0 -136
- 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-llm-cursor/README.md +0 -142
- package/node_modules/@deepseek-ai/dsh-llm-cursor/README.zh.md +0 -142
- package/node_modules/@deepseek-ai/dsh-llm-cursor/lib/index.js +0 -3050
- package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +0 -62
- 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
|
@@ -34,7 +34,7 @@ window.__ModuleLoader__.load({
|
|
|
34
34
|
let react = require("react");
|
|
35
35
|
react = __toESM(react, 1);
|
|
36
36
|
let react_dom = require("react-dom");
|
|
37
|
-
//#region ../../../vendor/cosmokit/
|
|
37
|
+
//#region ../../../vendor/cosmokit/lib/index.js
|
|
38
38
|
/** Return true when a value is `null` or `undefined`. */
|
|
39
39
|
function isNullable(value) {
|
|
40
40
|
return value === null || value === void 0;
|
|
@@ -58,8 +58,43 @@ window.__ModuleLoader__.load({
|
|
|
58
58
|
for (const key of keys) if (forced || source[key] !== void 0) result[key] = source[key];
|
|
59
59
|
return result;
|
|
60
60
|
}
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
/** Shared config references used by schema validators and plugin runtimes. */
|
|
62
|
+
const write = Symbol.for("cosmokit.volatile.write");
|
|
63
|
+
function snapshot(value, ancestors = /* @__PURE__ */ new Set()) {
|
|
64
|
+
if (typeof value === "function") throw new TypeError("volatile config cannot contain functions");
|
|
65
|
+
if (value === null || typeof value !== "object") return value;
|
|
66
|
+
if (ancestors.has(value)) throw new TypeError("volatile config cannot contain cycles");
|
|
67
|
+
ancestors.add(value);
|
|
68
|
+
try {
|
|
69
|
+
if (Array.isArray(value)) return Object.freeze(value.map((item) => snapshot(item, ancestors)));
|
|
70
|
+
if (Object.getPrototypeOf(value) !== Object.prototype && Object.getPrototypeOf(value) !== null) throw new TypeError("volatile config objects must be plain objects or arrays");
|
|
71
|
+
return Object.freeze(Object.fromEntries(Object.entries(value).map(([key, item]) => [key, snapshot(item, ancestors)])));
|
|
72
|
+
} finally {
|
|
73
|
+
ancestors.delete(value);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Create a detached reference containing an immutable copy of the supplied data.
|
|
78
|
+
* @param value - validated config data; class instances and functions are unsupported.
|
|
79
|
+
* @returns a reference whose value is updated only by its owning runtime.
|
|
80
|
+
*/
|
|
81
|
+
function createVolatile(value) {
|
|
82
|
+
let current = snapshot(value);
|
|
83
|
+
return Object.freeze({
|
|
84
|
+
get: () => current,
|
|
85
|
+
[write]: (value) => {
|
|
86
|
+
current = value;
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Identify references across ESM/CJS copies of the shared library.
|
|
92
|
+
* @param value - a parsed config value.
|
|
93
|
+
* @returns whether the value implements the shared reference protocol.
|
|
94
|
+
*/
|
|
95
|
+
function isVolatile(value) {
|
|
96
|
+
return typeof value === "object" && value !== null && write in value;
|
|
97
|
+
}
|
|
63
98
|
/** Test values using `instanceof` with a `toStringTag` fallback. */
|
|
64
99
|
function is$1(type, value) {
|
|
65
100
|
if (arguments.length === 1) return (value) => is$1(type, value);
|
|
@@ -71,15 +106,16 @@ window.__ModuleLoader__.load({
|
|
|
71
106
|
function isArrayBufferSource(value) {
|
|
72
107
|
return isArrayBufferLike(value) || ArrayBuffer.isView(value);
|
|
73
108
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
109
|
+
/** Binary source detection and base64/hex conversion helpers. */
|
|
110
|
+
var Binary;
|
|
111
|
+
(function(Binary) {
|
|
112
|
+
Binary.is = isArrayBufferLike;
|
|
113
|
+
Binary.isSource = isArrayBufferSource;
|
|
78
114
|
function fromSource(source) {
|
|
79
115
|
if (ArrayBuffer.isView(source)) return source.buffer.slice(source.byteOffset, source.byteOffset + source.byteLength);
|
|
80
116
|
else return source;
|
|
81
117
|
}
|
|
82
|
-
|
|
118
|
+
Binary.fromSource = fromSource;
|
|
83
119
|
function toBase64(source) {
|
|
84
120
|
source = fromSource(source);
|
|
85
121
|
if (typeof Buffer !== "undefined") return Buffer.from(source).toString("base64");
|
|
@@ -88,18 +124,18 @@ window.__ModuleLoader__.load({
|
|
|
88
124
|
for (let i = 0; i < bytes.byteLength; i++) binary += String.fromCharCode(bytes[i]);
|
|
89
125
|
return btoa(binary);
|
|
90
126
|
}
|
|
91
|
-
|
|
127
|
+
Binary.toBase64 = toBase64;
|
|
92
128
|
function fromBase64(source) {
|
|
93
129
|
if (typeof Buffer !== "undefined") return fromSource(Buffer.from(source, "base64"));
|
|
94
130
|
return Uint8Array.from(atob(source), (c) => c.charCodeAt(0));
|
|
95
131
|
}
|
|
96
|
-
|
|
132
|
+
Binary.fromBase64 = fromBase64;
|
|
97
133
|
function toHex(source) {
|
|
98
134
|
source = fromSource(source);
|
|
99
135
|
if (typeof Buffer !== "undefined") return Buffer.from(source).toString("hex");
|
|
100
136
|
return Array.from(new Uint8Array(source), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
101
137
|
}
|
|
102
|
-
|
|
138
|
+
Binary.toHex = toHex;
|
|
103
139
|
function fromHex(source) {
|
|
104
140
|
if (typeof Buffer !== "undefined") return fromSource(Buffer.from(source, "hex"));
|
|
105
141
|
const hex = source.length % 2 === 0 ? source : source.slice(0, source.length - 1);
|
|
@@ -107,7 +143,7 @@ window.__ModuleLoader__.load({
|
|
|
107
143
|
for (let i = 0; i < hex.length; i += 2) buffer.push(parseInt(`${hex[i]}${hex[i + 1]}`, 16));
|
|
108
144
|
return Uint8Array.from(buffer).buffer;
|
|
109
145
|
}
|
|
110
|
-
|
|
146
|
+
Binary.fromHex = fromHex;
|
|
111
147
|
})(Binary || (Binary = {}));
|
|
112
148
|
Binary.fromBase64;
|
|
113
149
|
Binary.toBase64;
|
|
@@ -139,58 +175,78 @@ window.__ModuleLoader__.load({
|
|
|
139
175
|
}
|
|
140
176
|
return result;
|
|
141
177
|
}
|
|
142
|
-
/**
|
|
178
|
+
/**
|
|
179
|
+
* Compare values recursively, treating two volatile references as equal regardless of value.
|
|
180
|
+
* Strict comparison distinguishes null/undefined, treats opaque objects by identity,
|
|
181
|
+
* compares URLs by normalized href, treats array holes as undefined, and considers distinct cyclic structures unequal.
|
|
182
|
+
* @param a - first value.
|
|
183
|
+
* @param b - second value.
|
|
184
|
+
* @param strict - whether to require strict data equality outside volatile references.
|
|
185
|
+
* @returns whether the values compare equal.
|
|
186
|
+
*/
|
|
143
187
|
function deepEqual(a, b, strict) {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
188
|
+
const ancestors = /* @__PURE__ */ new Set();
|
|
189
|
+
function compare(a, b) {
|
|
190
|
+
if (a === b) return true;
|
|
191
|
+
if (isVolatile(a) || isVolatile(b)) return isVolatile(a) && isVolatile(b);
|
|
192
|
+
if (!strict && isNullable(a) && isNullable(b)) return true;
|
|
193
|
+
if (typeof a !== typeof b || typeof a !== "object" || !a || !b) return false;
|
|
194
|
+
if (ancestors.has(a)) return false;
|
|
195
|
+
function check(test, then) {
|
|
196
|
+
return test(a) ? test(b) ? then(a, b) : false : test(b) ? false : void 0;
|
|
197
|
+
}
|
|
198
|
+
ancestors.add(a);
|
|
199
|
+
try {
|
|
200
|
+
return check(Array.isArray, (a, b) => {
|
|
201
|
+
if (a.length !== b.length) return false;
|
|
202
|
+
for (let index = 0; index < a.length; index++) if (!compare(a[index], b[index])) return false;
|
|
203
|
+
return true;
|
|
204
|
+
}) ?? check(is$1("Date"), (a, b) => a.valueOf() === b.valueOf()) ?? check(is$1("URL"), (a, b) => a.href === b.href) ?? check(is$1("RegExp"), (a, b) => a.source === b.source && a.flags === b.flags) ?? check(isArrayBufferLike, (a, b) => {
|
|
205
|
+
if (a.byteLength !== b.byteLength) return false;
|
|
206
|
+
const viewA = new Uint8Array(a);
|
|
207
|
+
const viewB = new Uint8Array(b);
|
|
208
|
+
for (let i = 0; i < viewA.length; i++) if (viewA[i] !== viewB[i]) return false;
|
|
209
|
+
return true;
|
|
210
|
+
}) ?? ((!strict || [a, b].every((value) => Object.getPrototypeOf(value) === Object.prototype || Object.getPrototypeOf(value) === null)) && Object.keys({
|
|
211
|
+
...a,
|
|
212
|
+
...b
|
|
213
|
+
}).every((key) => compare(a[key], b[key])));
|
|
214
|
+
} finally {
|
|
215
|
+
ancestors.delete(a);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
return compare(a, b);
|
|
162
219
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
const week = _Time.week = day * 7;
|
|
220
|
+
/** Time constants plus parsing and formatting helpers. */
|
|
221
|
+
var Time;
|
|
222
|
+
(function(Time) {
|
|
223
|
+
Time.millisecond = 1;
|
|
224
|
+
Time.second = 1e3;
|
|
225
|
+
Time.minute = Time.second * 60;
|
|
226
|
+
Time.hour = Time.minute * 60;
|
|
227
|
+
Time.day = Time.hour * 24;
|
|
228
|
+
Time.week = Time.day * 7;
|
|
173
229
|
let timezoneOffset = (/* @__PURE__ */ new Date()).getTimezoneOffset();
|
|
174
230
|
function setTimezoneOffset(offset) {
|
|
175
231
|
timezoneOffset = offset;
|
|
176
232
|
}
|
|
177
|
-
|
|
233
|
+
Time.setTimezoneOffset = setTimezoneOffset;
|
|
178
234
|
function getTimezoneOffset() {
|
|
179
235
|
return timezoneOffset;
|
|
180
236
|
}
|
|
181
|
-
|
|
237
|
+
Time.getTimezoneOffset = getTimezoneOffset;
|
|
182
238
|
function getDateNumber(date = /* @__PURE__ */ new Date(), offset) {
|
|
183
239
|
if (typeof date === "number") date = new Date(date);
|
|
184
240
|
if (offset === void 0) offset = timezoneOffset;
|
|
185
|
-
return Math.floor((date.valueOf() / minute - offset) / 1440);
|
|
241
|
+
return Math.floor((date.valueOf() / Time.minute - offset) / 1440);
|
|
186
242
|
}
|
|
187
|
-
|
|
243
|
+
Time.getDateNumber = getDateNumber;
|
|
188
244
|
function fromDateNumber(value, offset) {
|
|
189
|
-
const date = new Date(value * day);
|
|
245
|
+
const date = new Date(value * Time.day);
|
|
190
246
|
if (offset === void 0) offset = timezoneOffset;
|
|
191
|
-
return new Date(+date + offset * minute);
|
|
247
|
+
return new Date(+date + offset * Time.minute);
|
|
192
248
|
}
|
|
193
|
-
|
|
249
|
+
Time.fromDateNumber = fromDateNumber;
|
|
194
250
|
const numeric = /\d+(?:\.\d+)?/.source;
|
|
195
251
|
const timeRegExp = new RegExp(`^${[
|
|
196
252
|
"w(?:eek(?:s)?)?",
|
|
@@ -202,9 +258,9 @@ window.__ModuleLoader__.load({
|
|
|
202
258
|
function parseTime(source) {
|
|
203
259
|
const capture = timeRegExp.exec(source);
|
|
204
260
|
if (!capture) return 0;
|
|
205
|
-
return (parseFloat(capture[1]) * week || 0) + (parseFloat(capture[2]) * day || 0) + (parseFloat(capture[3]) * hour || 0) + (parseFloat(capture[4]) * minute || 0) + (parseFloat(capture[5]) * second || 0);
|
|
261
|
+
return (parseFloat(capture[1]) * Time.week || 0) + (parseFloat(capture[2]) * Time.day || 0) + (parseFloat(capture[3]) * Time.hour || 0) + (parseFloat(capture[4]) * Time.minute || 0) + (parseFloat(capture[5]) * Time.second || 0);
|
|
206
262
|
}
|
|
207
|
-
|
|
263
|
+
Time.parseTime = parseTime;
|
|
208
264
|
function parseDate(date) {
|
|
209
265
|
const parsed = parseTime(date);
|
|
210
266
|
if (parsed) date = Date.now() + parsed;
|
|
@@ -212,27 +268,27 @@ window.__ModuleLoader__.load({
|
|
|
212
268
|
else if (/^\d{1,2}-\d{1,2}-\d{1,2}(:\d{1,2}){1,2}$/.test(date)) date = `${(/* @__PURE__ */ new Date()).getFullYear()}-${date}`;
|
|
213
269
|
return date ? new Date(date) : /* @__PURE__ */ new Date();
|
|
214
270
|
}
|
|
215
|
-
|
|
271
|
+
Time.parseDate = parseDate;
|
|
216
272
|
function format(ms) {
|
|
217
273
|
const abs = Math.abs(ms);
|
|
218
|
-
if (abs >= day - hour / 2) return Math.round(ms / day) + "d";
|
|
219
|
-
else if (abs >= hour - minute / 2) return Math.round(ms / hour) + "h";
|
|
220
|
-
else if (abs >= minute - second / 2) return Math.round(ms / minute) + "m";
|
|
221
|
-
else if (abs >= second) return Math.round(ms / second) + "s";
|
|
274
|
+
if (abs >= Time.day - Time.hour / 2) return Math.round(ms / Time.day) + "d";
|
|
275
|
+
else if (abs >= Time.hour - Time.minute / 2) return Math.round(ms / Time.hour) + "h";
|
|
276
|
+
else if (abs >= Time.minute - Time.second / 2) return Math.round(ms / Time.minute) + "m";
|
|
277
|
+
else if (abs >= Time.second) return Math.round(ms / Time.second) + "s";
|
|
222
278
|
return ms + "ms";
|
|
223
279
|
}
|
|
224
|
-
|
|
280
|
+
Time.format = format;
|
|
225
281
|
function toDigits(source, length = 2) {
|
|
226
282
|
return source.toString().padStart(length, "0");
|
|
227
283
|
}
|
|
228
|
-
|
|
284
|
+
Time.toDigits = toDigits;
|
|
229
285
|
function template(template, time = /* @__PURE__ */ new Date()) {
|
|
230
286
|
return template.replace("yyyy", time.getFullYear().toString()).replace("yy", time.getFullYear().toString().slice(2)).replace("MM", toDigits(time.getMonth() + 1)).replace("dd", toDigits(time.getDate())).replace("hh", toDigits(time.getHours())).replace("mm", toDigits(time.getMinutes())).replace("ss", toDigits(time.getSeconds())).replace("SSS", toDigits(time.getMilliseconds(), 3));
|
|
231
287
|
}
|
|
232
|
-
|
|
288
|
+
Time.template = template;
|
|
233
289
|
})(Time || (Time = {}));
|
|
234
290
|
//#endregion
|
|
235
|
-
//#region ../../../vendor/schemastery/
|
|
291
|
+
//#region ../../../vendor/schemastery/lib/index.mjs
|
|
236
292
|
const kSchema = Symbol.for("schemastery");
|
|
237
293
|
const kValidationError = Symbol.for("ValidationError");
|
|
238
294
|
globalThis.__schemastery_index__ ??= 0;
|
|
@@ -408,6 +464,7 @@ window.__ModuleLoader__.load({
|
|
|
408
464
|
return schema;
|
|
409
465
|
};
|
|
410
466
|
Schema.prototype.simplify = function simplify(value) {
|
|
467
|
+
if (isVolatile(value)) value = value.get();
|
|
411
468
|
if (deepEqual(value, this.meta.default, this.type === "dict")) return null;
|
|
412
469
|
if (isNullable(value)) return value;
|
|
413
470
|
if (this.type === "object" || this.type === "dict") {
|
|
@@ -464,12 +521,49 @@ window.__ModuleLoader__.load({
|
|
|
464
521
|
};
|
|
465
522
|
return schema;
|
|
466
523
|
} });
|
|
524
|
+
Schema.prototype.volatile = function volatile() {
|
|
525
|
+
if (this.meta.volatile) throw new TypeError("volatile schema is already wrapped");
|
|
526
|
+
return this.extra("volatile", true);
|
|
527
|
+
};
|
|
467
528
|
const resolvers = {};
|
|
529
|
+
const checkedVolatile = Symbol("checked-volatile-schema");
|
|
530
|
+
function validateVolatileSchema(schema, path = [], blocked = false, seen = /* @__PURE__ */ new Map()) {
|
|
531
|
+
const states = seen.get(schema) ?? /* @__PURE__ */ new Set();
|
|
532
|
+
if (states.has(blocked)) return;
|
|
533
|
+
states.add(blocked);
|
|
534
|
+
seen.set(schema, states);
|
|
535
|
+
if (schema.meta?.volatile && blocked) throw new ValidationError("volatile fields require a fixed object path without an enclosing volatile field", { path });
|
|
536
|
+
const nested = blocked || !!schema.meta?.volatile;
|
|
537
|
+
if (schema.dict) for (const [key, child] of Object.entries(schema.dict)) validateVolatileSchema(child, [...path, key], nested, seen);
|
|
538
|
+
if (schema.sKey) validateVolatileSchema(schema.sKey, [...path, "<key>"], true, seen);
|
|
539
|
+
if (schema.inner && (schema.type !== "lazy" || schema.inner[kSchema])) validateVolatileSchema(schema.inner, [...path, "*"], true, seen);
|
|
540
|
+
if (schema.list) for (let index = 0; index < schema.list.length; index++) validateVolatileSchema(schema.list[index], [...path, String(index)], true, seen);
|
|
541
|
+
}
|
|
468
542
|
Schema.extend = function extend(type, resolve) {
|
|
469
543
|
resolvers[type] = resolve;
|
|
470
544
|
};
|
|
471
545
|
Schema.resolve = function resolve(data, schema, options = {}, strict = false) {
|
|
472
546
|
if (!schema) return [data];
|
|
547
|
+
if (!options[checkedVolatile]) {
|
|
548
|
+
validateVolatileSchema(schema, options.path);
|
|
549
|
+
options = {
|
|
550
|
+
...options,
|
|
551
|
+
[checkedVolatile]: true
|
|
552
|
+
};
|
|
553
|
+
}
|
|
554
|
+
if (schema.meta?.volatile) {
|
|
555
|
+
const inner = Schema(schema);
|
|
556
|
+
inner.meta = {
|
|
557
|
+
...schema.meta,
|
|
558
|
+
volatile: false
|
|
559
|
+
};
|
|
560
|
+
const [value, adapted] = Schema.resolve(data, inner, options, strict);
|
|
561
|
+
try {
|
|
562
|
+
return [createVolatile(value), adapted];
|
|
563
|
+
} catch (error) {
|
|
564
|
+
throw new ValidationError(error instanceof Error ? error.message : String(error), options);
|
|
565
|
+
}
|
|
566
|
+
}
|
|
473
567
|
if (options.ignore?.(data, schema)) return [data];
|
|
474
568
|
if (isNullable(data) && schema.type !== "lazy") {
|
|
475
569
|
if (schema.meta.required) throw new ValidationError(`missing required value`, options);
|
|
@@ -572,6 +666,7 @@ window.__ModuleLoader__.load({
|
|
|
572
666
|
...schema.meta,
|
|
573
667
|
...schema.inner.meta
|
|
574
668
|
};
|
|
669
|
+
validateVolatileSchema(schema.inner, options.path, true);
|
|
575
670
|
}
|
|
576
671
|
return Schema.resolve(data, schema.inner, options, strict);
|
|
577
672
|
});
|
|
@@ -671,7 +766,7 @@ window.__ModuleLoader__.load({
|
|
|
671
766
|
} catch (e) {
|
|
672
767
|
if (!options?.autofix) throw e;
|
|
673
768
|
delete data[key];
|
|
674
|
-
return schema.meta.default;
|
|
769
|
+
return schema.meta.volatile ? createVolatile(schema.meta.default) : schema.meta.default;
|
|
675
770
|
}
|
|
676
771
|
}
|
|
677
772
|
Schema.extend("array", (data, { inner, meta }, options) => {
|
|
@@ -826,7 +921,18 @@ window.__ModuleLoader__.load({
|
|
|
826
921
|
"preserve"
|
|
827
922
|
], ({ inner }, isInner) => inner.toString(isInner));
|
|
828
923
|
//#endregion
|
|
829
|
-
//#region ../../util/values/
|
|
924
|
+
//#region ../../util/values/lib/index.js
|
|
925
|
+
/** Duplicate-install-safe JSON and immutable-value helpers. @module @deepseek-ai/dsh-util-values */
|
|
926
|
+
/**
|
|
927
|
+
* Mark an unreachable closed-union branch.
|
|
928
|
+
* @param value - impossible value; an unhandled typed variant fails at the call site.
|
|
929
|
+
* @param context - optional switch-site label included in the failure message.
|
|
930
|
+
* @returns never; a runtime value that escaped its type always throws.
|
|
931
|
+
*/
|
|
932
|
+
function assertNever$1(value, context) {
|
|
933
|
+
const rendered = JSON.stringify(value) ?? String(value);
|
|
934
|
+
throw new Error(`unreachable variant${context ? ` in ${context}` : ""}: ${rendered}`);
|
|
935
|
+
}
|
|
830
936
|
/**
|
|
831
937
|
* Weak-key lookup with a strongly retained iterable set of associated values.
|
|
832
938
|
*
|
|
@@ -923,10 +1029,11 @@ window.__ModuleLoader__.load({
|
|
|
923
1029
|
};
|
|
924
1030
|
}
|
|
925
1031
|
//#endregion
|
|
926
|
-
//#region ../../core/session/
|
|
1032
|
+
//#region ../../core/session/lib/types/surface.js
|
|
927
1033
|
/** Runtime counterpart of the message-producing event union. */
|
|
928
1034
|
const SURFACE_EVENT_TYPES = new Set([
|
|
929
1035
|
"system/message",
|
|
1036
|
+
"developer/message",
|
|
930
1037
|
"user/message",
|
|
931
1038
|
"assistant/message",
|
|
932
1039
|
"tool/result"
|
|
@@ -1016,6 +1123,173 @@ window.__ModuleLoader__.load({
|
|
|
1016
1123
|
return `${kind.length}:${kind}${id}`;
|
|
1017
1124
|
}
|
|
1018
1125
|
//#endregion
|
|
1126
|
+
//#region lib/types/client/conversation/group-store.js
|
|
1127
|
+
/** Keyed group publication and incremental validation of rendering positions. */
|
|
1128
|
+
function sameNodeReference(left, right) {
|
|
1129
|
+
return left.key === right.key && left.groupPart === right.groupPart;
|
|
1130
|
+
}
|
|
1131
|
+
function sameEntry(left, right) {
|
|
1132
|
+
return left.kind === right.kind && left.key === right.key && (left.kind === "group" || right.kind === "node" && left.groupPart === right.groupPart);
|
|
1133
|
+
}
|
|
1134
|
+
function reuseReferences(previous, next, equal) {
|
|
1135
|
+
return previous === next || previous.length === next.length && previous.every((value, index) => equal(value, next[index])) ? previous : next;
|
|
1136
|
+
}
|
|
1137
|
+
/** Validates a complete batch before installing its group and root-list changes. */
|
|
1138
|
+
var ConversationGroupStore = class {
|
|
1139
|
+
root = [];
|
|
1140
|
+
rootGroups = /* @__PURE__ */ new Set();
|
|
1141
|
+
groups = /* @__PURE__ */ new Map();
|
|
1142
|
+
placements = /* @__PURE__ */ new Map();
|
|
1143
|
+
sources = /* @__PURE__ */ new Map();
|
|
1144
|
+
dirty = /* @__PURE__ */ new Set();
|
|
1145
|
+
/** @returns the identity-stable ordered root references. */
|
|
1146
|
+
get entries() {
|
|
1147
|
+
return this.root;
|
|
1148
|
+
}
|
|
1149
|
+
groupSource(key) {
|
|
1150
|
+
let source = this.sources.get(key);
|
|
1151
|
+
if (source === void 0) {
|
|
1152
|
+
const publication = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(this.groups.get(key));
|
|
1153
|
+
source = {
|
|
1154
|
+
publication,
|
|
1155
|
+
observable: {
|
|
1156
|
+
getSnapshot: () => this.groups.get(key),
|
|
1157
|
+
subscribe: (listener) => publication.subscribe(listener)
|
|
1158
|
+
}
|
|
1159
|
+
};
|
|
1160
|
+
this.sources.set(key, source);
|
|
1161
|
+
}
|
|
1162
|
+
return source.observable;
|
|
1163
|
+
}
|
|
1164
|
+
/**
|
|
1165
|
+
* Install one validated update without notifying readers.
|
|
1166
|
+
* @param update - root replacement and complete or incremental group records.
|
|
1167
|
+
* @param readNode - synchronous reader of the current target Nodes.
|
|
1168
|
+
*/
|
|
1169
|
+
prepareAndInstall(update, readNode) {
|
|
1170
|
+
const nextRoot = update.entries === void 0 ? this.root : reuseReferences(this.root, update.entries, sameEntry);
|
|
1171
|
+
const nextRootGroups = nextRoot === this.root ? this.rootGroups : this.collectRootGroups(nextRoot);
|
|
1172
|
+
const { upserts, removes } = this.collectChanges(update);
|
|
1173
|
+
const replaceReferences = update.groups.kind === "replace";
|
|
1174
|
+
if (this.groups.size - removes.size + [...upserts.keys()].filter((key) => !this.groups.has(key)).length !== nextRootGroups.size) throw new Error("conversation group records and root references must correspond one-to-one");
|
|
1175
|
+
for (const key of removes) if (nextRootGroups.has(key)) throw new Error(`conversation group "${key}" is still referenced`);
|
|
1176
|
+
for (const key of upserts.keys()) if (!nextRootGroups.has(key)) throw new Error(`conversation group "${key}" has no root reference`);
|
|
1177
|
+
if (nextRootGroups !== this.rootGroups) {
|
|
1178
|
+
for (const key of nextRootGroups) if (!upserts.has(key) && !this.groups.has(key)) throw new Error(`conversation root references missing group "${key}"`);
|
|
1179
|
+
}
|
|
1180
|
+
const affectedParts = /* @__PURE__ */ new Map();
|
|
1181
|
+
const partsOf = (key) => {
|
|
1182
|
+
let parts = affectedParts.get(key);
|
|
1183
|
+
if (parts === void 0) {
|
|
1184
|
+
parts = new Set(this.placements.get(key));
|
|
1185
|
+
affectedParts.set(key, parts);
|
|
1186
|
+
}
|
|
1187
|
+
return parts;
|
|
1188
|
+
};
|
|
1189
|
+
const removeReference = (reference) => {
|
|
1190
|
+
partsOf(reference.key).delete(reference.groupPart);
|
|
1191
|
+
};
|
|
1192
|
+
const addReference = (reference) => {
|
|
1193
|
+
if (readNode(reference.key) === void 0) throw new Error(`conversation group references missing Node "${reference.key}"`);
|
|
1194
|
+
const parts = partsOf(reference.key);
|
|
1195
|
+
if (parts.has(reference.groupPart) || reference.groupPart === void 0 && parts.size > 0 || parts.has(void 0)) throw new Error(`conversation Node "${reference.key}" has overlapping rendering positions`);
|
|
1196
|
+
parts.add(reference.groupPart);
|
|
1197
|
+
};
|
|
1198
|
+
if (replaceReferences || nextRoot !== this.root) {
|
|
1199
|
+
for (const entry of this.root) if (entry.kind === "node") removeReference(entry);
|
|
1200
|
+
}
|
|
1201
|
+
for (const key of removes) for (const member of this.groups.get(key).members) removeReference(member);
|
|
1202
|
+
for (const [key, next] of upserts) {
|
|
1203
|
+
const previous = this.groups.get(key);
|
|
1204
|
+
if (previous !== void 0 && (replaceReferences || previous.members !== next.members)) for (const member of previous.members) removeReference(member);
|
|
1205
|
+
}
|
|
1206
|
+
if (replaceReferences || nextRoot !== this.root) {
|
|
1207
|
+
for (const entry of nextRoot) if (entry.kind === "node") addReference(entry);
|
|
1208
|
+
}
|
|
1209
|
+
for (const [key, next] of upserts) if (replaceReferences || this.groups.get(key)?.members !== next.members) for (const member of next.members) addReference(member);
|
|
1210
|
+
for (const [key, parts] of affectedParts) if (parts.size === 0) this.placements.delete(key);
|
|
1211
|
+
else this.placements.set(key, parts);
|
|
1212
|
+
for (const key of removes) {
|
|
1213
|
+
this.groups.delete(key);
|
|
1214
|
+
this.dirty.add(key);
|
|
1215
|
+
}
|
|
1216
|
+
for (const [key, next] of upserts) {
|
|
1217
|
+
if (this.groups.get(key) === next) continue;
|
|
1218
|
+
this.groups.set(key, next);
|
|
1219
|
+
this.dirty.add(key);
|
|
1220
|
+
}
|
|
1221
|
+
this.root = nextRoot;
|
|
1222
|
+
this.rootGroups = nextRootGroups;
|
|
1223
|
+
}
|
|
1224
|
+
/** Publish changed group sources after all related target data has been installed. */
|
|
1225
|
+
publish() {
|
|
1226
|
+
const keys = [...this.dirty];
|
|
1227
|
+
this.dirty.clear();
|
|
1228
|
+
for (const key of keys) this.sources.get(key)?.publication.set(this.groups.get(key));
|
|
1229
|
+
}
|
|
1230
|
+
/** Remove grouping without deleting its source Nodes; publication remains deferred. */
|
|
1231
|
+
clear() {
|
|
1232
|
+
this.prepareAndInstall(
|
|
1233
|
+
{
|
|
1234
|
+
entries: [],
|
|
1235
|
+
groups: {
|
|
1236
|
+
kind: "replace",
|
|
1237
|
+
snapshots: []
|
|
1238
|
+
}
|
|
1239
|
+
},
|
|
1240
|
+
/* v8 ignore next -- an empty replacement never reads a Node reference. */
|
|
1241
|
+
() => void 0
|
|
1242
|
+
);
|
|
1243
|
+
}
|
|
1244
|
+
collectRootGroups(entries) {
|
|
1245
|
+
const keys = /* @__PURE__ */ new Set();
|
|
1246
|
+
for (const entry of entries) {
|
|
1247
|
+
if (entry.kind !== "group") continue;
|
|
1248
|
+
if (keys.has(entry.key)) throw new Error(`conversation group "${entry.key}" has duplicate root references`);
|
|
1249
|
+
keys.add(entry.key);
|
|
1250
|
+
}
|
|
1251
|
+
return keys;
|
|
1252
|
+
}
|
|
1253
|
+
collectChanges(update) {
|
|
1254
|
+
const upserts = /* @__PURE__ */ new Map();
|
|
1255
|
+
const removes = /* @__PURE__ */ new Set();
|
|
1256
|
+
const add = (snapshot) => {
|
|
1257
|
+
if (upserts.has(snapshot.key)) throw new Error(`conversation group "${snapshot.key}" has duplicate upserts`);
|
|
1258
|
+
const previous = this.groups.get(snapshot.key);
|
|
1259
|
+
if (previous === void 0) {
|
|
1260
|
+
upserts.set(snapshot.key, snapshot);
|
|
1261
|
+
return;
|
|
1262
|
+
}
|
|
1263
|
+
const members = reuseReferences(previous.members, snapshot.members, sameNodeReference);
|
|
1264
|
+
upserts.set(snapshot.key, previous.data === snapshot.data && previous.members === members ? previous : {
|
|
1265
|
+
...snapshot,
|
|
1266
|
+
members
|
|
1267
|
+
});
|
|
1268
|
+
};
|
|
1269
|
+
switch (update.groups.kind) {
|
|
1270
|
+
case "replace":
|
|
1271
|
+
for (const snapshot of update.groups.snapshots) add(snapshot);
|
|
1272
|
+
for (const key of this.groups.keys()) if (!upserts.has(key)) removes.add(key);
|
|
1273
|
+
break;
|
|
1274
|
+
case "apply":
|
|
1275
|
+
for (const snapshot of update.groups.upserts) add(snapshot);
|
|
1276
|
+
for (const key of update.groups.removes) {
|
|
1277
|
+
if (removes.has(key)) throw new Error(`conversation group "${key}" has duplicate removals`);
|
|
1278
|
+
if (!this.groups.has(key)) throw new Error(`conversation group "${key}" cannot be removed because it is absent`);
|
|
1279
|
+
if (upserts.has(key)) throw new Error(`conversation group "${key}" cannot be upserted and removed together`);
|
|
1280
|
+
removes.add(key);
|
|
1281
|
+
}
|
|
1282
|
+
break;
|
|
1283
|
+
/* v8 ignore next 2 -- closed update union; TypeScript rejects other operation tags. */
|
|
1284
|
+
default: assertNever$1(update.groups);
|
|
1285
|
+
}
|
|
1286
|
+
return {
|
|
1287
|
+
upserts,
|
|
1288
|
+
removes
|
|
1289
|
+
};
|
|
1290
|
+
}
|
|
1291
|
+
};
|
|
1292
|
+
//#endregion
|
|
1019
1293
|
//#region lib/types/client/conversation/location-index.js
|
|
1020
1294
|
var MutableLocationDataSource = class {
|
|
1021
1295
|
store;
|
|
@@ -1139,6 +1413,7 @@ window.__ModuleLoader__.load({
|
|
|
1139
1413
|
turnDataStores = /* @__PURE__ */ new Map();
|
|
1140
1414
|
stepDataStores = /* @__PURE__ */ new Map();
|
|
1141
1415
|
dirtyDataStores = /* @__PURE__ */ new Set();
|
|
1416
|
+
changedTurns = /* @__PURE__ */ new Set();
|
|
1142
1417
|
currentTurn;
|
|
1143
1418
|
currentStep;
|
|
1144
1419
|
/**
|
|
@@ -1149,6 +1424,15 @@ window.__ModuleLoader__.load({
|
|
|
1149
1424
|
return this.timeline;
|
|
1150
1425
|
}
|
|
1151
1426
|
/**
|
|
1427
|
+
* Drain the Turn changes accumulated for one assembly flush.
|
|
1428
|
+
* @returns Turn identities changed since the preceding drain.
|
|
1429
|
+
*/
|
|
1430
|
+
takeChangedTurns() {
|
|
1431
|
+
const turns = [...this.changedTurns];
|
|
1432
|
+
this.changedTurns.clear();
|
|
1433
|
+
return turns;
|
|
1434
|
+
}
|
|
1435
|
+
/**
|
|
1152
1436
|
* Replace all Definition-owned Location values while preserving reader identities.
|
|
1153
1437
|
* @param entries - complete current set of Definition-owned Location values.
|
|
1154
1438
|
* @returns whether any published Location data changed.
|
|
@@ -1311,6 +1595,7 @@ window.__ModuleLoader__.load({
|
|
|
1311
1595
|
break;
|
|
1312
1596
|
}
|
|
1313
1597
|
}
|
|
1598
|
+
for (const turn of new Set([...previousTurns.keys(), ...nextTurns.keys()])) if (previousTurns.get(turn) !== nextTurns.get(turn)) this.changedTurns.add(turn);
|
|
1314
1599
|
this.timeline = sameMap && turnOrder === this.timeline.turnOrder ? this.timeline : {
|
|
1315
1600
|
turnOrder,
|
|
1316
1601
|
turns: nextTurns
|
|
@@ -1390,6 +1675,7 @@ window.__ModuleLoader__.load({
|
|
|
1390
1675
|
turnOrder,
|
|
1391
1676
|
turns
|
|
1392
1677
|
};
|
|
1678
|
+
if (turn !== previousTurn) this.changedTurns.add(turnNumber);
|
|
1393
1679
|
const changed = /* @__PURE__ */ new Set();
|
|
1394
1680
|
for (const seq of this.seqsByTurn.get(turnNumber) ?? []) {
|
|
1395
1681
|
const previous = this.locations.get(seq);
|
|
@@ -1469,17 +1755,20 @@ window.__ModuleLoader__.load({
|
|
|
1469
1755
|
return this.mutableStepData(stepDataKey(turn, step));
|
|
1470
1756
|
}
|
|
1471
1757
|
mutableTurnData(turn) {
|
|
1472
|
-
const current = this.turnDataStores.get(turn) ?? this.createDataStore();
|
|
1758
|
+
const current = this.turnDataStores.get(turn) ?? this.createDataStore(turn);
|
|
1473
1759
|
this.turnDataStores.set(turn, current);
|
|
1474
1760
|
return current;
|
|
1475
1761
|
}
|
|
1476
1762
|
mutableStepData(key) {
|
|
1477
|
-
const current = this.stepDataStores.get(key) ?? this.createDataStore();
|
|
1763
|
+
const current = this.stepDataStores.get(key) ?? this.createDataStore(Number(key.slice(0, key.indexOf(":"))));
|
|
1478
1764
|
this.stepDataStores.set(key, current);
|
|
1479
1765
|
return current;
|
|
1480
1766
|
}
|
|
1481
|
-
createDataStore() {
|
|
1482
|
-
return new MutableLocationDataStore((store) =>
|
|
1767
|
+
createDataStore(turn) {
|
|
1768
|
+
return new MutableLocationDataStore((store) => {
|
|
1769
|
+
this.dirtyDataStores.add(store);
|
|
1770
|
+
this.changedTurns.add(turn);
|
|
1771
|
+
});
|
|
1483
1772
|
}
|
|
1484
1773
|
storeFor(data) {
|
|
1485
1774
|
return data.kind === "turn" ? this.mutableTurnData(data.turn) : this.mutableStepData(stepDataKey(data.turn, requireStep(data)));
|
|
@@ -1586,6 +1875,10 @@ window.__ModuleLoader__.load({
|
|
|
1586
1875
|
location
|
|
1587
1876
|
};
|
|
1588
1877
|
}
|
|
1878
|
+
const NO_GROUPS = {
|
|
1879
|
+
entries: () => [],
|
|
1880
|
+
forTarget: () => void 0
|
|
1881
|
+
};
|
|
1589
1882
|
/**
|
|
1590
1883
|
* Session-owned incremental engine that assembles business Contexts from a
|
|
1591
1884
|
* contiguous Event window and materializes registered view snapshots.
|
|
@@ -1593,6 +1886,7 @@ window.__ModuleLoader__.load({
|
|
|
1593
1886
|
var ConversationNodeAssembler = class {
|
|
1594
1887
|
eventDefinitions;
|
|
1595
1888
|
viewDefinitions;
|
|
1889
|
+
groupDefinitions;
|
|
1596
1890
|
contexts = /* @__PURE__ */ new Map();
|
|
1597
1891
|
contextsByKind = /* @__PURE__ */ new Map();
|
|
1598
1892
|
contextsBySeq = /* @__PURE__ */ new Map();
|
|
@@ -1604,6 +1898,8 @@ window.__ModuleLoader__.load({
|
|
|
1604
1898
|
revised = /* @__PURE__ */ new Set();
|
|
1605
1899
|
dependents = /* @__PURE__ */ new Map();
|
|
1606
1900
|
views = /* @__PURE__ */ new Map();
|
|
1901
|
+
groups = /* @__PURE__ */ new Map();
|
|
1902
|
+
pendingGroupStores = /* @__PURE__ */ new Set();
|
|
1607
1903
|
activeTargets = /* @__PURE__ */ new Set();
|
|
1608
1904
|
hasMore = false;
|
|
1609
1905
|
replacePending = true;
|
|
@@ -1611,10 +1907,12 @@ window.__ModuleLoader__.load({
|
|
|
1611
1907
|
/**
|
|
1612
1908
|
* @param eventDefinitions - live Event Definition registry.
|
|
1613
1909
|
* @param viewDefinitions - live view builder registry.
|
|
1910
|
+
* @param groupDefinitions - optional registered grouping rules, independent of presentation modes.
|
|
1614
1911
|
*/
|
|
1615
|
-
constructor(eventDefinitions, viewDefinitions) {
|
|
1912
|
+
constructor(eventDefinitions, viewDefinitions, groupDefinitions = NO_GROUPS) {
|
|
1616
1913
|
this.eventDefinitions = eventDefinitions;
|
|
1617
1914
|
this.viewDefinitions = viewDefinitions;
|
|
1915
|
+
this.groupDefinitions = groupDefinitions;
|
|
1618
1916
|
this.resetViewBuilders();
|
|
1619
1917
|
}
|
|
1620
1918
|
/**
|
|
@@ -1744,46 +2042,37 @@ window.__ModuleLoader__.load({
|
|
|
1744
2042
|
if (!this.replacePending && this.dirty.size === 0 && !this.timelineDirty) return false;
|
|
1745
2043
|
if (this.replacePending) {
|
|
1746
2044
|
this.replaceLocationData();
|
|
1747
|
-
|
|
2045
|
+
const updated = [];
|
|
2046
|
+
const changedTurns = this.locationIndex.takeChangedTurns();
|
|
1748
2047
|
for (const target of this.activeTargets) {
|
|
1749
2048
|
const view = this.views.get(target);
|
|
1750
2049
|
if (view === void 0) continue;
|
|
1751
|
-
|
|
1752
|
-
view
|
|
1753
|
-
view.snapshot = builder.replace({
|
|
1754
|
-
nodes: this.buildTargetNodes(target, this.contextsByTarget.get(target)),
|
|
1755
|
-
timeline: this.locationIndex.snapshot()
|
|
1756
|
-
});
|
|
1757
|
-
published = true;
|
|
2050
|
+
this.updateView(view, true, this.buildTargetNodes(target, this.contextsByTarget.get(target)), changedTurns);
|
|
2051
|
+
updated.push(view);
|
|
1758
2052
|
}
|
|
1759
|
-
this.locationIndex.publishData();
|
|
1760
2053
|
this.replacePending = false;
|
|
1761
2054
|
this.dirty.clear();
|
|
1762
2055
|
this.dirtyByTarget.clear();
|
|
1763
2056
|
this.timelineDirty = false;
|
|
1764
|
-
return
|
|
2057
|
+
return this.publishViews(updated);
|
|
1765
2058
|
}
|
|
1766
|
-
|
|
2059
|
+
const updated = [];
|
|
1767
2060
|
if (this.applyDirtyLocationData()) this.timelineDirty = true;
|
|
2061
|
+
const changedTurns = this.locationIndex.takeChangedTurns();
|
|
1768
2062
|
const timelineDirty = this.timelineDirty;
|
|
1769
2063
|
for (const target of this.activeTargets) {
|
|
1770
2064
|
const view = this.views.get(target);
|
|
1771
2065
|
if (view === void 0) continue;
|
|
1772
|
-
|
|
1773
|
-
if (builder === void 0) continue;
|
|
2066
|
+
if (view.builder === void 0) continue;
|
|
1774
2067
|
const upserts = this.buildTargetUpserts(target, this.dirtyByTarget.get(target));
|
|
1775
2068
|
if (upserts.length === 0 && !timelineDirty) continue;
|
|
1776
|
-
view
|
|
1777
|
-
|
|
1778
|
-
timeline: this.locationIndex.snapshot()
|
|
1779
|
-
});
|
|
1780
|
-
published = true;
|
|
2069
|
+
this.updateView(view, false, upserts, changedTurns);
|
|
2070
|
+
updated.push(view);
|
|
1781
2071
|
}
|
|
1782
|
-
this.locationIndex.publishData();
|
|
1783
2072
|
this.dirty.clear();
|
|
1784
2073
|
this.dirtyByTarget.clear();
|
|
1785
2074
|
this.timelineDirty = false;
|
|
1786
|
-
return
|
|
2075
|
+
return this.publishViews(updated);
|
|
1787
2076
|
}
|
|
1788
2077
|
/**
|
|
1789
2078
|
* Add one target to the monotonic active set and materialize its current snapshot.
|
|
@@ -1798,6 +2087,7 @@ window.__ModuleLoader__.load({
|
|
|
1798
2087
|
this.activeTargets.add(target);
|
|
1799
2088
|
if (view === void 0) return published;
|
|
1800
2089
|
this.replaceView(view);
|
|
2090
|
+
this.publishViews([view]);
|
|
1801
2091
|
return true;
|
|
1802
2092
|
}
|
|
1803
2093
|
/**
|
|
@@ -1811,6 +2101,9 @@ window.__ModuleLoader__.load({
|
|
|
1811
2101
|
get(target) {
|
|
1812
2102
|
return this.snapshot(target);
|
|
1813
2103
|
}
|
|
2104
|
+
grouped(target) {
|
|
2105
|
+
return this.groups.get(target)?.store;
|
|
2106
|
+
}
|
|
1814
2107
|
/**
|
|
1815
2108
|
* Read targets whose owners classify their latest snapshot as visible activity.
|
|
1816
2109
|
* @returns target ids contributing visible activity.
|
|
@@ -2137,12 +2430,51 @@ window.__ModuleLoader__.load({
|
|
|
2137
2430
|
return node;
|
|
2138
2431
|
}
|
|
2139
2432
|
replaceView(view) {
|
|
2433
|
+
this.updateView(view, true, this.buildTargetNodes(view.target, this.contextsByTarget.get(view.target)), []);
|
|
2434
|
+
}
|
|
2435
|
+
updateView(view, replacing, nodes, changedTurns) {
|
|
2140
2436
|
const builder = view.builder ?? view.definition.create();
|
|
2437
|
+
const definition = view.groupDefinition;
|
|
2438
|
+
if (definition !== void 0 && builder.groupInput === void 0) throw new Error(`conversation group target "${view.target}" requires builder.groupInput()`);
|
|
2141
2439
|
view.builder = builder;
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2440
|
+
const timeline = this.locationIndex.snapshot();
|
|
2441
|
+
const snapshot = replacing ? builder.replace({
|
|
2442
|
+
nodes,
|
|
2443
|
+
timeline,
|
|
2444
|
+
changedTurns
|
|
2445
|
+
}) : builder.apply({
|
|
2446
|
+
upserts: nodes,
|
|
2447
|
+
timeline,
|
|
2448
|
+
changedTurns
|
|
2145
2449
|
});
|
|
2450
|
+
if (definition !== void 0 && builder.groupInput !== void 0) {
|
|
2451
|
+
let context = this.groups.get(view.target);
|
|
2452
|
+
const initial = context === void 0;
|
|
2453
|
+
if (context === void 0) context = {
|
|
2454
|
+
definition,
|
|
2455
|
+
state: definition.create(),
|
|
2456
|
+
store: new ConversationGroupStore()
|
|
2457
|
+
};
|
|
2458
|
+
const input = builder.groupInput();
|
|
2459
|
+
context.state = definition.update(context, input);
|
|
2460
|
+
const change = definition.buildGroups(context);
|
|
2461
|
+
if ((initial || input.kind === "replace") && (change === null || change.entries === void 0 || change.groups.kind !== "replace")) throw new Error(`conversation group target "${view.target}" requires complete grouping for replacement input`);
|
|
2462
|
+
if (change !== null) {
|
|
2463
|
+
context.store.prepareAndInstall(change, input.readNode);
|
|
2464
|
+
this.pendingGroupStores.add(context.store);
|
|
2465
|
+
}
|
|
2466
|
+
this.groups.set(view.target, context);
|
|
2467
|
+
}
|
|
2468
|
+
view.snapshot = snapshot;
|
|
2469
|
+
}
|
|
2470
|
+
publishViews(updated) {
|
|
2471
|
+
const changed = updated.length > 0 || this.pendingGroupStores.size > 0;
|
|
2472
|
+
const stores = [...this.pendingGroupStores];
|
|
2473
|
+
this.pendingGroupStores.clear();
|
|
2474
|
+
for (const view of updated) view.builder?.publish?.();
|
|
2475
|
+
for (const store of stores) store.publish();
|
|
2476
|
+
this.locationIndex.publishData();
|
|
2477
|
+
return changed;
|
|
2146
2478
|
}
|
|
2147
2479
|
buildTargetNodes(target, contexts) {
|
|
2148
2480
|
const nodes = [];
|
|
@@ -2208,11 +2540,19 @@ window.__ModuleLoader__.load({
|
|
|
2208
2540
|
return changed;
|
|
2209
2541
|
}
|
|
2210
2542
|
resetViewBuilders() {
|
|
2543
|
+
const definitions = this.viewDefinitions.entries();
|
|
2544
|
+
const targets = new Set(definitions.map((definition) => definition.target));
|
|
2545
|
+
for (const [target, group] of this.groups) if (!targets.has(target) || this.groupDefinitions.forTarget(target) !== group.definition) {
|
|
2546
|
+
group.store.clear();
|
|
2547
|
+
this.pendingGroupStores.add(group.store);
|
|
2548
|
+
this.groups.delete(target);
|
|
2549
|
+
}
|
|
2211
2550
|
this.views.clear();
|
|
2212
|
-
for (const definition of
|
|
2551
|
+
for (const definition of definitions) {
|
|
2213
2552
|
const view = {
|
|
2214
2553
|
target: definition.target,
|
|
2215
2554
|
definition,
|
|
2555
|
+
groupDefinition: this.groupDefinitions.forTarget(definition.target),
|
|
2216
2556
|
isActive: definition.isActive === void 0 ? void 0 : (snapshot) => definition.isActive?.(snapshot) === true,
|
|
2217
2557
|
builder: void 0,
|
|
2218
2558
|
snapshot: void 0
|
|
@@ -2337,7 +2677,17 @@ window.__ModuleLoader__.load({
|
|
|
2337
2677
|
if (definition.target === void 0 !== (definition.buildViewNode === void 0)) throw new Error(`conversation Definition "${definition.kind}" must declare target and buildViewNode together`);
|
|
2338
2678
|
}
|
|
2339
2679
|
//#endregion
|
|
2340
|
-
//#region ../../util/crypto/
|
|
2680
|
+
//#region ../../util/crypto/lib/index.js
|
|
2681
|
+
/**
|
|
2682
|
+
* UUID minting that works in every JavaScript context this repository ships
|
|
2683
|
+
* to. `crypto.randomUUID` is a secure-context Web API — a page or worker
|
|
2684
|
+
* served over plain HTTP on a LAN address has no such method — while
|
|
2685
|
+
* `crypto.getRandomValues` is unrestricted everywhere (browsers, workers,
|
|
2686
|
+
* Node ≥ 19). One implementation here replaces per-caller polyfills; the
|
|
2687
|
+
* `no-restricted-properties` lint rule points `crypto.randomUUID` callers at
|
|
2688
|
+
* this module.
|
|
2689
|
+
* @module @deepseek-ai/dsh-util-crypto
|
|
2690
|
+
*/
|
|
2341
2691
|
/**
|
|
2342
2692
|
* Encode bytes as canonical base64 without overflowing function argument limits.
|
|
2343
2693
|
* @param data - Bytes to encode.
|
|
@@ -2522,6 +2872,37 @@ window.__ModuleLoader__.load({
|
|
|
2522
2872
|
}
|
|
2523
2873
|
};
|
|
2524
2874
|
//#endregion
|
|
2875
|
+
//#region lib/types/client/conversation/group-registry.js
|
|
2876
|
+
/** One Group Definition per target; registration never instantiates its Builder. */
|
|
2877
|
+
var ConversationGroupRegistry = class extends ConversationDefinitionRegistry {
|
|
2878
|
+
views;
|
|
2879
|
+
/**
|
|
2880
|
+
* @param ctx - owning plugin context.
|
|
2881
|
+
* @param views - registered target Builder definitions.
|
|
2882
|
+
*/
|
|
2883
|
+
constructor(ctx, views) {
|
|
2884
|
+
super(ctx);
|
|
2885
|
+
this.views = views;
|
|
2886
|
+
}
|
|
2887
|
+
/**
|
|
2888
|
+
* Register grouping rules for an existing target.
|
|
2889
|
+
* @param definition - business State and grouping output for the declared target data.
|
|
2890
|
+
* @returns the effect-owned, idempotent registration disposer.
|
|
2891
|
+
*/
|
|
2892
|
+
register(definition) {
|
|
2893
|
+
if (!this.views.entries().some((view) => view.target === definition.target)) throw new Error(`conversation group target "${definition.target}" is not registered`);
|
|
2894
|
+
return this.registerDefinition(definition.target, definition, `conversation group target "${definition.target}" is already registered`, `uiConversation.groups.register(${JSON.stringify(definition.target)})`);
|
|
2895
|
+
}
|
|
2896
|
+
/**
|
|
2897
|
+
* Find the grouping rules registered for one target.
|
|
2898
|
+
* @param target - View target.
|
|
2899
|
+
* @returns its grouping Definition, when registered.
|
|
2900
|
+
*/
|
|
2901
|
+
forTarget(target) {
|
|
2902
|
+
return this.definitions.get(target);
|
|
2903
|
+
}
|
|
2904
|
+
};
|
|
2905
|
+
//#endregion
|
|
2525
2906
|
//#region lib/types/client/conversation/assembly.js
|
|
2526
2907
|
/** Per-Session target-neutral Conversation assembly. */
|
|
2527
2908
|
var BoundConversation = class {
|
|
@@ -2634,6 +3015,8 @@ window.__ModuleLoader__.load({
|
|
|
2634
3015
|
events;
|
|
2635
3016
|
/** Registry of target View definitions. */
|
|
2636
3017
|
views;
|
|
3018
|
+
/** Business grouping rules over already materialized target Nodes. */
|
|
3019
|
+
groups;
|
|
2637
3020
|
bindings = new WeakMapWithValues();
|
|
2638
3021
|
images;
|
|
2639
3022
|
/**
|
|
@@ -2645,6 +3028,7 @@ window.__ModuleLoader__.load({
|
|
|
2645
3028
|
this.sessions = sessions;
|
|
2646
3029
|
this.events = new ConversationEventRegistry(ctx);
|
|
2647
3030
|
this.views = new ConversationViewRegistry(ctx);
|
|
3031
|
+
this.groups = new ConversationGroupRegistry(ctx, this.views);
|
|
2648
3032
|
this.images = new HistoricalImageCache(ctx, sessions);
|
|
2649
3033
|
const rebuild = () => {
|
|
2650
3034
|
for (const record of this.bindings.values) record.binding.rebuild();
|
|
@@ -2661,7 +3045,9 @@ window.__ModuleLoader__.load({
|
|
|
2661
3045
|
ctx.effect(() => {
|
|
2662
3046
|
const disposeEvents = this.events.subscribe(scheduleRebuild);
|
|
2663
3047
|
const disposeViews = this.views.subscribe(scheduleRebuild);
|
|
3048
|
+
const disposeGroups = this.groups.subscribe(scheduleRebuild);
|
|
2664
3049
|
return () => {
|
|
3050
|
+
disposeGroups();
|
|
2665
3051
|
disposeViews();
|
|
2666
3052
|
disposeEvents();
|
|
2667
3053
|
for (const record of [...this.bindings.values]) this.drop(record, true);
|
|
@@ -2680,7 +3066,7 @@ window.__ModuleLoader__.load({
|
|
|
2680
3066
|
if (this.sessions.binding(sessionId) !== owner) throw new Error(`uiConversation.binding: inactive session "${sessionId}"`);
|
|
2681
3067
|
const current = this.bindings.get(owner);
|
|
2682
3068
|
if (current !== void 0) return current.binding;
|
|
2683
|
-
const binding = new BoundConversation(owner.eventSource, new ConversationNodeAssembler(this.events, this.views));
|
|
3069
|
+
const binding = new BoundConversation(owner.eventSource, new ConversationNodeAssembler(this.events, this.views, this.groups));
|
|
2684
3070
|
const record = {
|
|
2685
3071
|
source: owner,
|
|
2686
3072
|
binding,
|
|
@@ -2811,6 +3197,48 @@ window.__ModuleLoader__.load({
|
|
|
2811
3197
|
}
|
|
2812
3198
|
}
|
|
2813
3199
|
//#endregion
|
|
3200
|
+
//#region ../../context/file-reference/lib/types/grammar.js
|
|
3201
|
+
/**
|
|
3202
|
+
* Format a selected path as prompt text. Whitespace uses the quoted
|
|
3203
|
+
* `@"path"` grammar; a quoted directory keeps that quote open after its
|
|
3204
|
+
* trailing slash so completion can descend another level.
|
|
3205
|
+
* @param candidate - selected file or directory.
|
|
3206
|
+
* @param preserveQuote - retain an explicitly opened quote even when unnecessary.
|
|
3207
|
+
* @returns the insertion value, or `undefined` for a path the editor grammar cannot represent safely.
|
|
3208
|
+
*/
|
|
3209
|
+
function formatFileMention(candidate, preserveQuote) {
|
|
3210
|
+
const path = candidate.kind === "directory" ? `${candidate.path}/` : candidate.path;
|
|
3211
|
+
if (/[\u0000-\u001f\u007f-\u009f"]/u.test(path)) return void 0;
|
|
3212
|
+
if (!(preserveQuote || /\s/u.test(path))) return `@${path}`;
|
|
3213
|
+
if (candidate.kind === "directory") return `@"${path}`;
|
|
3214
|
+
return `@"${path}"`;
|
|
3215
|
+
}
|
|
3216
|
+
//#endregion
|
|
3217
|
+
//#region ../../util/workspace-path/lib/index.js
|
|
3218
|
+
/**
|
|
3219
|
+
* Read the final non-empty segment of a Workspace path for display.
|
|
3220
|
+
* Workspace-label surfaces use this helper instead of deriving another basename.
|
|
3221
|
+
* @param path - Workspace directory path using POSIX or Windows separators.
|
|
3222
|
+
* @returns the final segment, or an empty string for a separator-only path.
|
|
3223
|
+
*/
|
|
3224
|
+
function workspaceTitleOf(path) {
|
|
3225
|
+
const trimmed = path.replace(/[/\\]+$/, "");
|
|
3226
|
+
const separator = Math.max(trimmed.lastIndexOf("/"), trimmed.lastIndexOf("\\"));
|
|
3227
|
+
return trimmed.slice(separator + 1);
|
|
3228
|
+
}
|
|
3229
|
+
/**
|
|
3230
|
+
* Strip the workspace root from a workspace-rooted absolute path (display only).
|
|
3231
|
+
* @param text - the path to shorten.
|
|
3232
|
+
* @param cwd - session workspace root; absent or empty leaves the path unchanged.
|
|
3233
|
+
* @returns the path relative to the workspace root, or unchanged when it is not rooted there.
|
|
3234
|
+
*/
|
|
3235
|
+
function relativizeToCwd(text, cwd) {
|
|
3236
|
+
if (cwd === void 0 || cwd === "") return text;
|
|
3237
|
+
const root = cwd.replace(/[/\\]+$/, "");
|
|
3238
|
+
if (text.startsWith(`${root}/`) || text.startsWith(`${root}\\`)) return text.slice(root.length + 1);
|
|
3239
|
+
return text;
|
|
3240
|
+
}
|
|
3241
|
+
//#endregion
|
|
2814
3242
|
//#region lib/types/client/service.js
|
|
2815
3243
|
/**
|
|
2816
3244
|
* Scope-addressed conversation send, cancel, and history orchestration.
|
|
@@ -3287,7 +3715,11 @@ window.__ModuleLoader__.load({
|
|
|
3287
3715
|
default: throw new UnsupportedImageMediaTypeError(value);
|
|
3288
3716
|
}
|
|
3289
3717
|
}
|
|
3290
|
-
/**
|
|
3718
|
+
/**
|
|
3719
|
+
* Whether a browser-declared MIME selects the image draft path (all other files upload verbatim).
|
|
3720
|
+
* @param value - the browser's declared MIME type.
|
|
3721
|
+
* @returns whether the file is an accepted raster image.
|
|
3722
|
+
*/
|
|
3291
3723
|
function isImageMediaType(value) {
|
|
3292
3724
|
return value === "image/png" || value === "image/jpeg" || value === "image/webp" || value === "image/gif";
|
|
3293
3725
|
}
|
|
@@ -11924,7 +12356,7 @@ window.__ModuleLoader__.load({
|
|
|
11924
12356
|
className: ReferenceChip_module_css_default.marker,
|
|
11925
12357
|
"aria-hidden": true,
|
|
11926
12358
|
children: "@"
|
|
11927
|
-
}) : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
12359
|
+
}) : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.ReferenceIconRegular, {
|
|
11928
12360
|
kind: appearance,
|
|
11929
12361
|
size: 14,
|
|
11930
12362
|
className: ReferenceChip_module_css_default.icon
|
|
@@ -12350,8 +12782,8 @@ window.__ModuleLoader__.load({
|
|
|
12350
12782
|
}
|
|
12351
12783
|
//#endregion
|
|
12352
12784
|
//#region lib/types/client/input/editor/claim-decor.js
|
|
12353
|
-
/** Inline style carried by the claim-token node
|
|
12354
|
-
const TOKEN_STYLE = "color: var(--dsw-alias-state-
|
|
12785
|
+
/** Inline style carried by the claim-token node. */
|
|
12786
|
+
const TOKEN_STYLE = "color: var(--dsw-alias-state-business-primary)";
|
|
12355
12787
|
/** The document's first text leaf, or null (empty document / leading chip). */
|
|
12356
12788
|
function firstTextLeaf() {
|
|
12357
12789
|
const block = nl().getFirstChild();
|
|
@@ -12842,6 +13274,20 @@ window.__ModuleLoader__.load({
|
|
|
12842
13274
|
return applied;
|
|
12843
13275
|
}
|
|
12844
13276
|
/**
|
|
13277
|
+
* Insert an asynchronous text result as one independent undo operation.
|
|
13278
|
+
* @param span - owner-validated insertion range.
|
|
13279
|
+
* @param text - text sanitized with the same rules as paste.
|
|
13280
|
+
* @returns whether the range mapped and the edit applied.
|
|
13281
|
+
*/
|
|
13282
|
+
insertAsyncText(span, text) {
|
|
13283
|
+
let applied = false;
|
|
13284
|
+
const clean = text.replace(REFERENCE_PLACEHOLDER_RE, "");
|
|
13285
|
+
this.applyEdit(() => {
|
|
13286
|
+
applied = $replaceDetectSpanWithText(span, clean);
|
|
13287
|
+
}, Co);
|
|
13288
|
+
return applied;
|
|
13289
|
+
}
|
|
13290
|
+
/**
|
|
12845
13291
|
* Insert a reference chip with the existing trailing-space rule.
|
|
12846
13292
|
* @param span - detect-coordinate range.
|
|
12847
13293
|
* @param ref - reference fields.
|
|
@@ -12855,6 +13301,27 @@ window.__ModuleLoader__.load({
|
|
|
12855
13301
|
});
|
|
12856
13302
|
return applied;
|
|
12857
13303
|
}
|
|
13304
|
+
/**
|
|
13305
|
+
* Insert an ordered file-reference batch after the live selection without deleting it.
|
|
13306
|
+
* @param references - validated references in source order.
|
|
13307
|
+
* @returns whether the live insertion position accepted the batch.
|
|
13308
|
+
*/
|
|
13309
|
+
insertFileReferences(references) {
|
|
13310
|
+
if (references.length === 0) return true;
|
|
13311
|
+
let applied = false;
|
|
13312
|
+
this.applyEdit(() => {
|
|
13313
|
+
const projection = $projectComposer((key) => this.occurrenceIdOf(key));
|
|
13314
|
+
const at = projection.selection?.end ?? projection.detectText.length;
|
|
13315
|
+
const before = projection.detectText.slice(0, at);
|
|
13316
|
+
const nodes = references.flatMap((ref) => [$createReferenceChipNode(ref), Go(" ")]);
|
|
13317
|
+
if (before !== "" && !/\s$/u.test(before)) nodes.unshift(Go(" "));
|
|
13318
|
+
applied = $replaceDetectSpanWithNodes({
|
|
13319
|
+
start: at,
|
|
13320
|
+
end: at
|
|
13321
|
+
}, nodes);
|
|
13322
|
+
}, Co);
|
|
13323
|
+
return applied;
|
|
13324
|
+
}
|
|
12858
13325
|
/** Refresh claim-token decoration after the model's claim changes. */
|
|
12859
13326
|
refreshClaimDecoration() {
|
|
12860
13327
|
refreshClaimDecoration(this.editor);
|
|
@@ -12967,6 +13434,15 @@ window.__ModuleLoader__.load({
|
|
|
12967
13434
|
}
|
|
12968
13435
|
/** The public provide-channel action face (one stable identity per session). */
|
|
12969
13436
|
actions = {
|
|
13437
|
+
captureInsertion: () => ({
|
|
13438
|
+
...this.caretSpan(),
|
|
13439
|
+
draftRev: this.rev
|
|
13440
|
+
}),
|
|
13441
|
+
insertText: (text, span) => {
|
|
13442
|
+
if (this.snapshot.phase === "adjudicating" || this.snapshot.phase === "submitting" || this.disposed) return false;
|
|
13443
|
+
if (span.draftRev !== this.rev) return false;
|
|
13444
|
+
return this.draftEditor.insertAsyncText(span, text);
|
|
13445
|
+
},
|
|
12970
13446
|
setDraft: (text) => {
|
|
12971
13447
|
this.setDraft(text);
|
|
12972
13448
|
},
|
|
@@ -13058,6 +13534,19 @@ window.__ModuleLoader__.load({
|
|
|
13058
13534
|
return true;
|
|
13059
13535
|
}
|
|
13060
13536
|
/**
|
|
13537
|
+
* Add validated file references and attachment ids while admission is editable.
|
|
13538
|
+
* @param references - reference chips in source order.
|
|
13539
|
+
* @param ids - newly allocated attachment ids.
|
|
13540
|
+
* @returns false when admission is locked or the editor refuses the insertion.
|
|
13541
|
+
*/
|
|
13542
|
+
addFiles(references, ids) {
|
|
13543
|
+
if (this.snapshot.phase === "adjudicating" || this.snapshot.phase === "submitting") return false;
|
|
13544
|
+
if (!this.draftEditor.insertFileReferences(references)) return false;
|
|
13545
|
+
this.attachmentIds = [...this.attachmentIds, ...ids];
|
|
13546
|
+
this.publish();
|
|
13547
|
+
return true;
|
|
13548
|
+
}
|
|
13549
|
+
/**
|
|
13061
13550
|
* Remove one attachment id from this draft. Busy admission phases refuse, like
|
|
13062
13551
|
* {@link addAttachments}: a removal landing while a command submit serializes
|
|
13063
13552
|
* would otherwise vanish from the rail yet still ride the in-flight send.
|
|
@@ -13808,7 +14297,9 @@ window.__ModuleLoader__.load({
|
|
|
13808
14297
|
const BUSY_ENTER_BEHAVIORS = ["queue", "steer"];
|
|
13809
14298
|
/** Default preserves Enter-as-Queue for running conversations. */
|
|
13810
14299
|
const DEFAULT_BUSY_ENTER_BEHAVIOR = "queue";
|
|
13811
|
-
|
|
14300
|
+
/** Durable conversation schema; also the wire envelope the browser scope validates against. */
|
|
14301
|
+
const ConversationSettingsFields = { [BUSY_ENTER_FIELD]: Schema.union([...BUSY_ENTER_BEHAVIORS]).default(DEFAULT_BUSY_ENTER_BEHAVIOR) };
|
|
14302
|
+
Schema.object(ConversationSettingsFields);
|
|
13812
14303
|
//#endregion
|
|
13813
14304
|
//#region lib/types/client/input/submission-policy.js
|
|
13814
14305
|
/**
|
|
@@ -13841,22 +14332,24 @@ window.__ModuleLoader__.load({
|
|
|
13841
14332
|
var ComposerSubmissionPolicy = class {
|
|
13842
14333
|
/** Reactive preference source for the composer bar and the Settings row. */
|
|
13843
14334
|
busyEnter = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(DEFAULT_BUSY_ENTER_BEHAVIOR);
|
|
14335
|
+
unsubscribe;
|
|
13844
14336
|
host;
|
|
13845
14337
|
/**
|
|
13846
|
-
* @param host
|
|
13847
|
-
* absent compositions stay process-local. The adoption subscription shares
|
|
13848
|
-
* the scope's plugin lifetime — a disposed scope never publishes again, so
|
|
13849
|
-
* the policy needs no release hook.
|
|
14338
|
+
* @param host Shared configuration form; omitted keeps the browser-local default.
|
|
13850
14339
|
*/
|
|
13851
14340
|
constructor(host) {
|
|
13852
14341
|
this.host = host;
|
|
13853
14342
|
if (host !== void 0) {
|
|
13854
|
-
host.subscribe(() => {
|
|
14343
|
+
this.unsubscribe = host.subscribe(() => {
|
|
13855
14344
|
this.adopt(host);
|
|
13856
14345
|
});
|
|
13857
14346
|
this.adopt(host);
|
|
13858
14347
|
}
|
|
13859
14348
|
}
|
|
14349
|
+
/** Release the preference subscription. */
|
|
14350
|
+
dispose() {
|
|
14351
|
+
this.unsubscribe?.();
|
|
14352
|
+
}
|
|
13860
14353
|
/**
|
|
13861
14354
|
* Change the busy-state submission behavior; the live value publishes
|
|
13862
14355
|
* before the durable write starts.
|
|
@@ -13908,6 +14401,9 @@ window.__ModuleLoader__.load({
|
|
|
13908
14401
|
"attachment.dropTitle": "文件或图片拖动到此处即可添加",
|
|
13909
14402
|
"attachment.dropDesc": "图片限制:最多 {count} 张,每张 {size}",
|
|
13910
14403
|
"attachment.dropBlocked": "当前无法添加文件或图片",
|
|
14404
|
+
"attachment.directoryDesktopOnly": "只有桌面端支持添加文件夹,浏览器里请添加单个文件",
|
|
14405
|
+
"attachment.pathUnavailable": "无法获取文件夹路径,请重新拖入",
|
|
14406
|
+
"attachment.pathUnsupported": "路径含有无法引用的字符,请改名后再试",
|
|
13911
14407
|
"image.pending": "待发送图片",
|
|
13912
14408
|
"image.openOriginal": "查看原图",
|
|
13913
14409
|
"image.openOriginalLabel": "{label},点击查看原图",
|
|
@@ -13952,7 +14448,196 @@ window.__ModuleLoader__.load({
|
|
|
13952
14448
|
"todo.progress.done": "{done} 已完成",
|
|
13953
14449
|
"todo.progress.active": "{active} 进行中",
|
|
13954
14450
|
"todo.progress.pending": "{pending} 待处理",
|
|
14451
|
+
"todo.status.completed": "已完成",
|
|
14452
|
+
"todo.status.inProgress": "进行中",
|
|
14453
|
+
"todo.status.pending": "待处理",
|
|
13955
14454
|
"todo.rowTitle": "更新任务清单",
|
|
14455
|
+
"tool.title.createGoal": "创建目标",
|
|
14456
|
+
"tool.title.getGoal": "查看目标",
|
|
14457
|
+
"tool.title.updateGoal": "更新目标",
|
|
14458
|
+
"tool.title.createSchedule": "创建定时任务",
|
|
14459
|
+
"tool.title.listSchedules": "查看定时任务",
|
|
14460
|
+
"tool.title.deleteSchedule": "删除定时任务",
|
|
14461
|
+
"detail.state": "状态",
|
|
14462
|
+
"detail.todo.completed": "已完成",
|
|
14463
|
+
"detail.todo.in_progress": "进行中",
|
|
14464
|
+
"detail.todo.pending": "待处理",
|
|
14465
|
+
"detail.todo.empty": "任务清单为空",
|
|
14466
|
+
"todo.diff.initial": "首次记录",
|
|
14467
|
+
"todo.diff.compare": "与上次清单相比",
|
|
14468
|
+
"todo.diff.unavailable": "旧清单不可用",
|
|
14469
|
+
"todo.diff.noChanges": "清单没有变化",
|
|
14470
|
+
"todo.diff.added": "新增 {count}",
|
|
14471
|
+
"todo.diff.updated": "更新 {count}",
|
|
14472
|
+
"todo.diff.removed": "移除 {count}",
|
|
14473
|
+
"todo.diff.unchanged": "{count} 项未变化",
|
|
14474
|
+
"todo.diff.addedItem": "新增",
|
|
14475
|
+
"todo.diff.updatedItem": "状态变化",
|
|
14476
|
+
"todo.diff.movedItem": "顺序调整",
|
|
14477
|
+
"todo.diff.removedItem": "移除",
|
|
14478
|
+
"detail.goal.empty": "没有目标",
|
|
14479
|
+
"detail.goal.active": "进行中",
|
|
14480
|
+
"detail.goal.disarmed": "等待继续",
|
|
14481
|
+
"detail.goal.paused": "已暂停",
|
|
14482
|
+
"detail.goal.blocked": "受阻",
|
|
14483
|
+
"detail.goal.complete": "已完成",
|
|
14484
|
+
"detail.goal.rounds": "执行轮次",
|
|
14485
|
+
"detail.goal.reason": "受阻原因",
|
|
14486
|
+
"detail.days": "{count} 天",
|
|
14487
|
+
"detail.hours": "{count} 小时",
|
|
14488
|
+
"detail.minutes": "{count} 分钟",
|
|
14489
|
+
"detail.seconds": "{count} 秒",
|
|
14490
|
+
"detail.schedule.once": "单次",
|
|
14491
|
+
"detail.schedule.every": "每 {interval}",
|
|
14492
|
+
"detail.schedule.when": "计划时间",
|
|
14493
|
+
"detail.schedule.frequency": "重复",
|
|
14494
|
+
"detail.schedule.scheduled": "等待触发",
|
|
14495
|
+
"detail.schedule.overdue": "已到期,等待会话恢复",
|
|
14496
|
+
"detail.schedule.empty": "没有定时任务",
|
|
14497
|
+
"detail.schedule.deleted": "已删除",
|
|
14498
|
+
"detail.schedule.count": "{count} 个定时任务",
|
|
14499
|
+
"tool.title.inspectProviders": "检查提供方",
|
|
14500
|
+
"tool.title.queryRuntime": "查询运行时",
|
|
14501
|
+
"tool.title.inspectPlugins": "检查动态插件",
|
|
14502
|
+
"tool.title.workflow": "运行工作流",
|
|
14503
|
+
"tool.title.ralph": "运行 Ralph",
|
|
14504
|
+
"tool.title.readEvent": "读取事件",
|
|
14505
|
+
"tool.title.searchEvents": "搜索事件",
|
|
14506
|
+
"tool.title.traceEvent": "追踪事件",
|
|
14507
|
+
"tool.title.searchSessions": "搜索会话",
|
|
14508
|
+
"tool.title.traceSession": "追踪会话",
|
|
14509
|
+
"tool.title.listModels": "查看可用模型",
|
|
14510
|
+
"tool.title.subagent": "委派任务",
|
|
14511
|
+
"tool.title.listAgents": "查看代理",
|
|
14512
|
+
"tool.title.sendMessage": "发送消息",
|
|
14513
|
+
"tool.title.interruptAgent": "中断代理",
|
|
14514
|
+
"tool.title.listJobs": "查看后台任务",
|
|
14515
|
+
"tool.title.readJob": "读取任务输出",
|
|
14516
|
+
"tool.title.killJob": "取消后台任务",
|
|
14517
|
+
"tool.title.openTerminal": "创建终端",
|
|
14518
|
+
"tool.title.readTerminal": "读取终端",
|
|
14519
|
+
"tool.title.listTerminals": "查看终端",
|
|
14520
|
+
"tool.title.signalTerminal": "发送终端信号",
|
|
14521
|
+
"tool.title.closeTerminal": "关闭终端",
|
|
14522
|
+
"tool.title.lsp": "查询代码符号",
|
|
14523
|
+
"tool.title.findDefinition": "查找定义",
|
|
14524
|
+
"tool.title.findReferences": "查找引用",
|
|
14525
|
+
"tool.title.findImplementation": "查找实现",
|
|
14526
|
+
"tool.title.hoverSymbol": "查看符号信息",
|
|
14527
|
+
"tool.title.spawnTeammate": "创建队友",
|
|
14528
|
+
"tool.title.createTeamTask": "创建团队任务",
|
|
14529
|
+
"tool.title.getTeamTask": "读取团队任务",
|
|
14530
|
+
"tool.title.updateTeamTask": "更新团队任务",
|
|
14531
|
+
"tool.title.listTeamTasks": "查看团队任务",
|
|
14532
|
+
"tool.title.waitAgent": "等待队友",
|
|
14533
|
+
"detail.recordedResult": "调用结果",
|
|
14534
|
+
"detail.empty": "暂无结果",
|
|
14535
|
+
"detail.none": "无",
|
|
14536
|
+
"detail.yes": "是",
|
|
14537
|
+
"detail.no": "否",
|
|
14538
|
+
"detail.moreInInspect": "另有 {count} 项,可在「查看」中读取",
|
|
14539
|
+
"detail.status.running": "运行中",
|
|
14540
|
+
"detail.status.idle": "空闲",
|
|
14541
|
+
"detail.status.ready": "就绪",
|
|
14542
|
+
"detail.status.inactive": "未运行",
|
|
14543
|
+
"detail.status.provisioning": "准备中",
|
|
14544
|
+
"detail.status.failed": "失败",
|
|
14545
|
+
"detail.status.completed": "已完成",
|
|
14546
|
+
"detail.status.deleted": "已删除",
|
|
14547
|
+
"detail.status.killed": "已取消",
|
|
14548
|
+
"detail.status.accepted": "已接收",
|
|
14549
|
+
"detail.status.queued": "已入队",
|
|
14550
|
+
"detail.status.exited": "已退出",
|
|
14551
|
+
"detail.field.id": "ID",
|
|
14552
|
+
"detail.field.revision": "版本",
|
|
14553
|
+
"detail.field.platform": "平台",
|
|
14554
|
+
"detail.field.provider": "提供方",
|
|
14555
|
+
"detail.field.model": "模型",
|
|
14556
|
+
"detail.field.role": "角色",
|
|
14557
|
+
"detail.field.context": "上下文",
|
|
14558
|
+
"detail.field.owner": "负责人",
|
|
14559
|
+
"detail.field.ready": "可开始",
|
|
14560
|
+
"detail.field.dependencies": "前置任务",
|
|
14561
|
+
"detail.field.writeScopes": "文件范围",
|
|
14562
|
+
"detail.field.warnings": "提示",
|
|
14563
|
+
"detail.field.diagnostics": "诊断",
|
|
14564
|
+
"detail.field.methods": "方法",
|
|
14565
|
+
"detail.field.inputSchema": "输入 Schema",
|
|
14566
|
+
"detail.field.outputSchema": "输出 Schema",
|
|
14567
|
+
"detail.field.currentPackage": "当前包",
|
|
14568
|
+
"detail.field.nextPackage": "待运行的包",
|
|
14569
|
+
"detail.field.latestRun": "最近运行",
|
|
14570
|
+
"detail.field.packages": "版本包",
|
|
14571
|
+
"detail.field.registrations": "注册项",
|
|
14572
|
+
"detail.field.props": "属性",
|
|
14573
|
+
"detail.field.data": "数据",
|
|
14574
|
+
"detail.field.source": "来源",
|
|
14575
|
+
"detail.field.content": "内容",
|
|
14576
|
+
"detail.field.message": "消息",
|
|
14577
|
+
"detail.field.messageId": "消息 ID",
|
|
14578
|
+
"detail.field.root": "根节点",
|
|
14579
|
+
"detail.field.pid": "进程 ID",
|
|
14580
|
+
"detail.field.type": "类型",
|
|
14581
|
+
"detail.field.time": "时间",
|
|
14582
|
+
"detail.field.seq": "事件序号",
|
|
14583
|
+
"detail.field.turn": "轮次",
|
|
14584
|
+
"detail.field.step": "步骤",
|
|
14585
|
+
"detail.field.callId": "调用 ID",
|
|
14586
|
+
"detail.field.agents": "启动代理数",
|
|
14587
|
+
"detail.field.result": "结果",
|
|
14588
|
+
"detail.field.parent": "父级",
|
|
14589
|
+
"detail.field.depth": "层级",
|
|
14590
|
+
"detail.field.exitCode": "退出码",
|
|
14591
|
+
"detail.field.signal": "信号",
|
|
14592
|
+
"detail.field.previousStatus": "中断前状态",
|
|
14593
|
+
"detail.field.agent": "代理 ID",
|
|
14594
|
+
"detail.field.job": "任务 ID",
|
|
14595
|
+
"detail.field.task": "任务内容",
|
|
14596
|
+
"detail.field.processGroup": "进程组",
|
|
14597
|
+
"detail.field.availability": "可用状态",
|
|
14598
|
+
"detail.field.bestMatch": "最相关事件",
|
|
14599
|
+
"detail.field.target": "目标事件",
|
|
14600
|
+
"detail.field.surface": "记录状态",
|
|
14601
|
+
"detail.agents.count": "{count} 个代理",
|
|
14602
|
+
"detail.jobs.count": "{count} 个后台任务",
|
|
14603
|
+
"detail.terminals.count": "{count} 个终端",
|
|
14604
|
+
"detail.tasks.count": "{count} 个团队任务",
|
|
14605
|
+
"detail.tasks.nextPage": "后面还有任务;下一页位置为 {cursor}",
|
|
14606
|
+
"detail.locations.count": "{count} 个位置",
|
|
14607
|
+
"detail.location": "第 {line} 行,第 {column} 列",
|
|
14608
|
+
"detail.receipt.delivered": "消息已送达",
|
|
14609
|
+
"detail.receipt.interrupt": "已请求中断",
|
|
14610
|
+
"detail.receipt.started": "已启动",
|
|
14611
|
+
"detail.receipt.cancel": "已请求取消",
|
|
14612
|
+
"detail.receipt.alreadyFinished": "任务已结束",
|
|
14613
|
+
"detail.receipt.signal": "信号已发送",
|
|
14614
|
+
"detail.receipt.closed": "已关闭",
|
|
14615
|
+
"detail.receipt.closing": "关闭中",
|
|
14616
|
+
"detail.wait.noProgress": "没有正在运行的队友",
|
|
14617
|
+
"detail.wait.title": "队友状态",
|
|
14618
|
+
"detail.wait.timeout": "等待超时",
|
|
14619
|
+
"detail.wait.changed": "检测到变化",
|
|
14620
|
+
"detail.agent.reply": "代理回复",
|
|
14621
|
+
"detail.models.title": "可用模型",
|
|
14622
|
+
"detail.output.lines": "第 {begin}–{end} 行,共 {total} 行",
|
|
14623
|
+
"detail.output.truncated": "输出已截断",
|
|
14624
|
+
"detail.providers.count": "{count} 个检查提供方",
|
|
14625
|
+
"detail.plugins.count": "{count} 个动态插件",
|
|
14626
|
+
"detail.workflow.script": "工作流脚本",
|
|
14627
|
+
"detail.ralph.reportedComplete": "代理报告完成",
|
|
14628
|
+
"detail.ralph.reportedBlocker": "代理报告受阻",
|
|
14629
|
+
"detail.ralph.limit": "已达到轮次上限",
|
|
14630
|
+
"detail.report.nextSteps": "待完成事项",
|
|
14631
|
+
"detail.trace.replacedBy": "被替换为",
|
|
14632
|
+
"detail.trace.replacementChain": "替换链",
|
|
14633
|
+
"detail.trace.replaces": "替换的事件",
|
|
14634
|
+
"detail.trace.sources": "引用来源",
|
|
14635
|
+
"detail.trace.derived": "派生事件",
|
|
14636
|
+
"detail.trace.ancestors": "祖先会话",
|
|
14637
|
+
"detail.trace.descendants": "后代会话",
|
|
14638
|
+
"detail.matches.count": "{count} 条匹配",
|
|
14639
|
+
"detail.matches.capped": "已达到结果上限,可缩小搜索范围",
|
|
14640
|
+
"detail.event.neighbors": "前后事件",
|
|
13956
14641
|
"todo.completed": "{done}/{total} 已完成",
|
|
13957
14642
|
"command.attachmentsUnsupported": "/{command} 不接受附件,请先移除附件",
|
|
13958
14643
|
"ask.rowTitle": "提问",
|
|
@@ -13974,7 +14659,7 @@ window.__ModuleLoader__.load({
|
|
|
13974
14659
|
"row.inspect": "查看",
|
|
13975
14660
|
"tool.title.search": "搜索",
|
|
13976
14661
|
"tool.title.read": "读取",
|
|
13977
|
-
"tool.title.bash": "
|
|
14662
|
+
"tool.title.bash": "运行命令",
|
|
13978
14663
|
"tool.title.write": "写入",
|
|
13979
14664
|
"tool.title.edit": "编辑",
|
|
13980
14665
|
"tool.title.code": "代码",
|
|
@@ -13983,10 +14668,10 @@ window.__ModuleLoader__.load({
|
|
|
13983
14668
|
"tool.title.runCordis": "运行 Cordis 插件",
|
|
13984
14669
|
"tool.title.stopCordis": "停止 Cordis 插件",
|
|
13985
14670
|
"tool.title.removeCordis": "移除 Cordis 插件",
|
|
13986
|
-
"tool.title.pwsh": "
|
|
14671
|
+
"tool.title.pwsh": "运行命令",
|
|
13987
14672
|
"tool.title.readImage": "读取图片",
|
|
13988
|
-
"tool.title.grep": "
|
|
13989
|
-
"tool.title.glob": "
|
|
14673
|
+
"tool.title.grep": "搜索文件内容",
|
|
14674
|
+
"tool.title.glob": "查找文件",
|
|
13990
14675
|
"tool.title.webSearch": "网页搜索",
|
|
13991
14676
|
"tool.title.webFetch": "网页获取",
|
|
13992
14677
|
"tool.autoReviewRejected": "Auto review 已拒绝",
|
|
@@ -14066,6 +14751,9 @@ window.__ModuleLoader__.load({
|
|
|
14066
14751
|
"attachment.dropTitle": "Drag files or images here to add them",
|
|
14067
14752
|
"attachment.dropDesc": "Image limit: up to {count} images, {size} each",
|
|
14068
14753
|
"attachment.dropBlocked": "Files and images cannot be added right now",
|
|
14754
|
+
"attachment.directoryDesktopOnly": "Folders can only be added in the desktop app; add individual files in the browser",
|
|
14755
|
+
"attachment.pathUnavailable": "Could not obtain the folder path; drag it in again",
|
|
14756
|
+
"attachment.pathUnsupported": "The path contains characters a reference cannot carry; rename it and try again",
|
|
14069
14757
|
"image.pending": "Pending images",
|
|
14070
14758
|
"image.openOriginal": "View original",
|
|
14071
14759
|
"image.openOriginalLabel": "{label}, click to view original",
|
|
@@ -14110,7 +14798,196 @@ window.__ModuleLoader__.load({
|
|
|
14110
14798
|
"todo.progress.done": "{done} completed",
|
|
14111
14799
|
"todo.progress.active": "{active} in progress",
|
|
14112
14800
|
"todo.progress.pending": "{pending} pending",
|
|
14801
|
+
"todo.status.completed": "Completed",
|
|
14802
|
+
"todo.status.inProgress": "In progress",
|
|
14803
|
+
"todo.status.pending": "Pending",
|
|
14113
14804
|
"todo.rowTitle": "Update to-do list",
|
|
14805
|
+
"tool.title.createGoal": "Create goal",
|
|
14806
|
+
"tool.title.getGoal": "View goal",
|
|
14807
|
+
"tool.title.updateGoal": "Update goal",
|
|
14808
|
+
"tool.title.createSchedule": "Create reminder",
|
|
14809
|
+
"tool.title.listSchedules": "List reminders",
|
|
14810
|
+
"tool.title.deleteSchedule": "Delete reminder",
|
|
14811
|
+
"detail.state": "Status",
|
|
14812
|
+
"detail.todo.completed": "Completed",
|
|
14813
|
+
"detail.todo.in_progress": "In progress",
|
|
14814
|
+
"detail.todo.pending": "Pending",
|
|
14815
|
+
"detail.todo.empty": "The to-do list is empty",
|
|
14816
|
+
"todo.diff.initial": "Initial list",
|
|
14817
|
+
"todo.diff.compare": "Changes since the previous list",
|
|
14818
|
+
"todo.diff.unavailable": "Previous list unavailable",
|
|
14819
|
+
"todo.diff.noChanges": "No changes to the list",
|
|
14820
|
+
"todo.diff.added": "{count} added",
|
|
14821
|
+
"todo.diff.updated": "{count} updated",
|
|
14822
|
+
"todo.diff.removed": "{count} removed",
|
|
14823
|
+
"todo.diff.unchanged": "{count} unchanged",
|
|
14824
|
+
"todo.diff.addedItem": "Added",
|
|
14825
|
+
"todo.diff.updatedItem": "Status changed",
|
|
14826
|
+
"todo.diff.movedItem": "Reordered",
|
|
14827
|
+
"todo.diff.removedItem": "Removed",
|
|
14828
|
+
"detail.goal.empty": "No goal",
|
|
14829
|
+
"detail.goal.active": "Active",
|
|
14830
|
+
"detail.goal.disarmed": "Awaiting continuation",
|
|
14831
|
+
"detail.goal.paused": "Paused",
|
|
14832
|
+
"detail.goal.blocked": "Blocked",
|
|
14833
|
+
"detail.goal.complete": "Completed",
|
|
14834
|
+
"detail.goal.rounds": "Rounds",
|
|
14835
|
+
"detail.goal.reason": "Blocker",
|
|
14836
|
+
"detail.days": "{count} d",
|
|
14837
|
+
"detail.hours": "{count} h",
|
|
14838
|
+
"detail.minutes": "{count} min",
|
|
14839
|
+
"detail.seconds": "{count} s",
|
|
14840
|
+
"detail.schedule.once": "Once",
|
|
14841
|
+
"detail.schedule.every": "Every {interval}",
|
|
14842
|
+
"detail.schedule.when": "Scheduled for",
|
|
14843
|
+
"detail.schedule.frequency": "Repeat",
|
|
14844
|
+
"detail.schedule.scheduled": "Scheduled",
|
|
14845
|
+
"detail.schedule.overdue": "Overdue, awaiting session resume",
|
|
14846
|
+
"detail.schedule.empty": "No reminders",
|
|
14847
|
+
"detail.schedule.deleted": "Deleted",
|
|
14848
|
+
"detail.schedule.count": "{count} reminders",
|
|
14849
|
+
"tool.title.inspectProviders": "Inspect providers",
|
|
14850
|
+
"tool.title.queryRuntime": "Query runtime",
|
|
14851
|
+
"tool.title.inspectPlugins": "Inspect plugins",
|
|
14852
|
+
"tool.title.workflow": "Run workflow",
|
|
14853
|
+
"tool.title.ralph": "Run Ralph",
|
|
14854
|
+
"tool.title.readEvent": "Read event",
|
|
14855
|
+
"tool.title.searchEvents": "Search events",
|
|
14856
|
+
"tool.title.traceEvent": "Trace event",
|
|
14857
|
+
"tool.title.searchSessions": "Search sessions",
|
|
14858
|
+
"tool.title.traceSession": "Trace session",
|
|
14859
|
+
"tool.title.listModels": "List models",
|
|
14860
|
+
"tool.title.subagent": "Delegate task",
|
|
14861
|
+
"tool.title.listAgents": "List agents",
|
|
14862
|
+
"tool.title.sendMessage": "Send message",
|
|
14863
|
+
"tool.title.interruptAgent": "Interrupt agent",
|
|
14864
|
+
"tool.title.listJobs": "List background jobs",
|
|
14865
|
+
"tool.title.readJob": "Read job output",
|
|
14866
|
+
"tool.title.killJob": "Cancel background job",
|
|
14867
|
+
"tool.title.openTerminal": "Open terminal",
|
|
14868
|
+
"tool.title.readTerminal": "Read terminal",
|
|
14869
|
+
"tool.title.listTerminals": "List terminals",
|
|
14870
|
+
"tool.title.signalTerminal": "Signal terminal",
|
|
14871
|
+
"tool.title.closeTerminal": "Close terminal",
|
|
14872
|
+
"tool.title.lsp": "Query code symbols",
|
|
14873
|
+
"tool.title.findDefinition": "Find definition",
|
|
14874
|
+
"tool.title.findReferences": "Find references",
|
|
14875
|
+
"tool.title.findImplementation": "Find implementation",
|
|
14876
|
+
"tool.title.hoverSymbol": "Inspect symbol",
|
|
14877
|
+
"tool.title.spawnTeammate": "Create teammate",
|
|
14878
|
+
"tool.title.createTeamTask": "Create team task",
|
|
14879
|
+
"tool.title.getTeamTask": "Read team task",
|
|
14880
|
+
"tool.title.updateTeamTask": "Update team task",
|
|
14881
|
+
"tool.title.listTeamTasks": "List team tasks",
|
|
14882
|
+
"tool.title.waitAgent": "Wait for teammates",
|
|
14883
|
+
"detail.recordedResult": "Recorded result",
|
|
14884
|
+
"detail.empty": "No results",
|
|
14885
|
+
"detail.none": "None",
|
|
14886
|
+
"detail.yes": "Yes",
|
|
14887
|
+
"detail.no": "No",
|
|
14888
|
+
"detail.moreInInspect": "{count} more items available in Inspect",
|
|
14889
|
+
"detail.status.running": "Running",
|
|
14890
|
+
"detail.status.idle": "Idle",
|
|
14891
|
+
"detail.status.ready": "Ready",
|
|
14892
|
+
"detail.status.inactive": "Inactive",
|
|
14893
|
+
"detail.status.provisioning": "Provisioning",
|
|
14894
|
+
"detail.status.failed": "Failed",
|
|
14895
|
+
"detail.status.completed": "Completed",
|
|
14896
|
+
"detail.status.deleted": "Deleted",
|
|
14897
|
+
"detail.status.killed": "Cancelled",
|
|
14898
|
+
"detail.status.accepted": "Accepted",
|
|
14899
|
+
"detail.status.queued": "Queued",
|
|
14900
|
+
"detail.status.exited": "Exited",
|
|
14901
|
+
"detail.field.id": "ID",
|
|
14902
|
+
"detail.field.revision": "Revision",
|
|
14903
|
+
"detail.field.platform": "Platform",
|
|
14904
|
+
"detail.field.provider": "Provider",
|
|
14905
|
+
"detail.field.model": "Model",
|
|
14906
|
+
"detail.field.role": "Role",
|
|
14907
|
+
"detail.field.context": "Context",
|
|
14908
|
+
"detail.field.owner": "Owner",
|
|
14909
|
+
"detail.field.ready": "Ready",
|
|
14910
|
+
"detail.field.dependencies": "Dependencies",
|
|
14911
|
+
"detail.field.writeScopes": "Write scopes",
|
|
14912
|
+
"detail.field.warnings": "Warnings",
|
|
14913
|
+
"detail.field.diagnostics": "Diagnostics",
|
|
14914
|
+
"detail.field.methods": "Methods",
|
|
14915
|
+
"detail.field.inputSchema": "Input schema",
|
|
14916
|
+
"detail.field.outputSchema": "Output schema",
|
|
14917
|
+
"detail.field.currentPackage": "Current package",
|
|
14918
|
+
"detail.field.nextPackage": "Next package",
|
|
14919
|
+
"detail.field.latestRun": "Latest run",
|
|
14920
|
+
"detail.field.packages": "Packages",
|
|
14921
|
+
"detail.field.registrations": "Registrations",
|
|
14922
|
+
"detail.field.props": "Props",
|
|
14923
|
+
"detail.field.data": "Data",
|
|
14924
|
+
"detail.field.source": "Source",
|
|
14925
|
+
"detail.field.content": "Content",
|
|
14926
|
+
"detail.field.message": "Message",
|
|
14927
|
+
"detail.field.messageId": "Message ID",
|
|
14928
|
+
"detail.field.root": "Root",
|
|
14929
|
+
"detail.field.pid": "Process ID",
|
|
14930
|
+
"detail.field.type": "Type",
|
|
14931
|
+
"detail.field.time": "Time",
|
|
14932
|
+
"detail.field.seq": "Event sequence",
|
|
14933
|
+
"detail.field.turn": "Turn",
|
|
14934
|
+
"detail.field.step": "Step",
|
|
14935
|
+
"detail.field.callId": "Call ID",
|
|
14936
|
+
"detail.field.agents": "Agents started",
|
|
14937
|
+
"detail.field.result": "Result",
|
|
14938
|
+
"detail.field.parent": "Parent",
|
|
14939
|
+
"detail.field.depth": "Depth",
|
|
14940
|
+
"detail.field.exitCode": "Exit code",
|
|
14941
|
+
"detail.field.signal": "Signal",
|
|
14942
|
+
"detail.field.previousStatus": "Previous status",
|
|
14943
|
+
"detail.field.agent": "Agent ID",
|
|
14944
|
+
"detail.field.job": "Job ID",
|
|
14945
|
+
"detail.field.task": "Task",
|
|
14946
|
+
"detail.field.processGroup": "Process group",
|
|
14947
|
+
"detail.field.availability": "Availability",
|
|
14948
|
+
"detail.field.bestMatch": "Best match",
|
|
14949
|
+
"detail.field.target": "Target event",
|
|
14950
|
+
"detail.field.surface": "Record status",
|
|
14951
|
+
"detail.agents.count": "{count} agents",
|
|
14952
|
+
"detail.jobs.count": "{count} background jobs",
|
|
14953
|
+
"detail.terminals.count": "{count} terminals",
|
|
14954
|
+
"detail.tasks.count": "{count} team tasks",
|
|
14955
|
+
"detail.tasks.nextPage": "More tasks available; next cursor is {cursor}",
|
|
14956
|
+
"detail.locations.count": "{count} locations",
|
|
14957
|
+
"detail.location": "Line {line}, column {column}",
|
|
14958
|
+
"detail.receipt.delivered": "Message delivered",
|
|
14959
|
+
"detail.receipt.interrupt": "Interrupt requested",
|
|
14960
|
+
"detail.receipt.started": "Started",
|
|
14961
|
+
"detail.receipt.cancel": "Cancellation requested",
|
|
14962
|
+
"detail.receipt.alreadyFinished": "Already finished",
|
|
14963
|
+
"detail.receipt.signal": "Signal delivered",
|
|
14964
|
+
"detail.receipt.closed": "Closed",
|
|
14965
|
+
"detail.receipt.closing": "Closing",
|
|
14966
|
+
"detail.wait.noProgress": "No active teammates",
|
|
14967
|
+
"detail.wait.title": "Teammate activity",
|
|
14968
|
+
"detail.wait.timeout": "Wait timed out",
|
|
14969
|
+
"detail.wait.changed": "Change detected",
|
|
14970
|
+
"detail.agent.reply": "Agent response",
|
|
14971
|
+
"detail.models.title": "Available models",
|
|
14972
|
+
"detail.output.lines": "Lines {begin}–{end} of {total}",
|
|
14973
|
+
"detail.output.truncated": "Output truncated",
|
|
14974
|
+
"detail.providers.count": "{count} inspect providers",
|
|
14975
|
+
"detail.plugins.count": "{count} dynamic plugins",
|
|
14976
|
+
"detail.workflow.script": "Workflow script",
|
|
14977
|
+
"detail.ralph.reportedComplete": "Worker reported completion",
|
|
14978
|
+
"detail.ralph.reportedBlocker": "Worker reported a blocker",
|
|
14979
|
+
"detail.ralph.limit": "Round limit reached",
|
|
14980
|
+
"detail.report.nextSteps": "Remaining work",
|
|
14981
|
+
"detail.trace.replacedBy": "Replaced by",
|
|
14982
|
+
"detail.trace.replacementChain": "Replacement chain",
|
|
14983
|
+
"detail.trace.replaces": "Replaced events",
|
|
14984
|
+
"detail.trace.sources": "Source events",
|
|
14985
|
+
"detail.trace.derived": "Derived events",
|
|
14986
|
+
"detail.trace.ancestors": "Ancestor sessions",
|
|
14987
|
+
"detail.trace.descendants": "Descendant sessions",
|
|
14988
|
+
"detail.matches.count": "{count} matches",
|
|
14989
|
+
"detail.matches.capped": "Result limit reached; narrow the search for more",
|
|
14990
|
+
"detail.event.neighbors": "Surrounding events",
|
|
14114
14991
|
"todo.completed": "{done}/{total} completed",
|
|
14115
14992
|
"command.attachmentsUnsupported": "/{command} does not accept attachments; remove them first",
|
|
14116
14993
|
"ask.rowTitle": "Ask question",
|
|
@@ -14202,7 +15079,7 @@ window.__ModuleLoader__.load({
|
|
|
14202
15079
|
};
|
|
14203
15080
|
//#endregion
|
|
14204
15081
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-conversation/src/client/queue/QueueDock.module.css.mjs
|
|
14205
|
-
const css$6 = ".bLue7W_dock{box-sizing:border-box;width:calc(100% - var(--dsh-composer-side-clearance) - var(--dsh-composer-side-clearance) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset));max-width:calc(var(--dsh-composer-card-max-width) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset));margin:0 auto calc(0px - var(--dsh-composer-stack-gap) - 3px);padding:0 var(--dsh-composer-dock-inset);flex:none}.bLue7W_panel{
|
|
15082
|
+
const css$6 = ".bLue7W_dock{box-sizing:border-box;width:calc(100% - var(--dsh-composer-side-clearance) - var(--dsh-composer-side-clearance) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset));max-width:calc(var(--dsh-composer-card-max-width) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset));margin:0 auto calc(0px - var(--dsh-composer-stack-gap) - 3px);padding:0 var(--dsh-composer-dock-inset);flex:none}.bLue7W_panel{isolation:isolate;--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);border-radius:12px 12px 0 0;width:100%;padding:2px 0;position:relative;overflow:hidden}.bLue7W_panel:before{z-index:-1;border-radius:inherit;background:var(--dsw-specific-menu);backdrop-filter:var(--dsw-menu-backdrop-filter);content:\"\";pointer-events:none;position:absolute;inset:0}.bLue7W_panel:after{border:.5px solid var(--dsw-alias-border-l1);border-radius:inherit;content:\"\";pointer-events:none;border-bottom:none;position:absolute;inset:0}.bLue7W_header{box-sizing:border-box;width:100%;height:36px;color:var(--dsw-alias-label-primary);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;padding:4px 12px;display:flex}.bLue7W_header:focus-visible{outline:2px solid var(--dsw-alias-label-tertiary);outline-offset:-2px}.bLue7W_header:disabled{cursor:default}.bLue7W_lead{color:var(--dsw-alias-label-tertiary);flex:none;place-items:center;display:grid}.bLue7W_count{min-width:0;font-family:Inter, var(--dsw-font-family);flex:auto;font-size:13px;font-weight:500;line-height:24px}.bLue7W_chevron{width:14px;height:14px;color:var(--dsw-alias-label-tertiary);flex:none;place-items:center;display:grid}.bLue7W_list{max-height:180px;margin:0;padding:0;list-style:none;overflow-y:auto}.bLue7W_row{box-sizing:border-box;border-radius:8px;align-items:center;gap:10px;width:100%;height:36px;padding:4px 5px 4px 12px;display:flex}.bLue7W_row+.bLue7W_row{box-shadow:inset 0 1px 0 var(--dsw-alias-border-l1)}.bLue7W_attachments{flex:none;gap:4px;min-width:0;max-width:55%;display:flex;overflow:hidden}.bLue7W_pendingRow .bLue7W_attachments{flex-shrink:1}.bLue7W_file{border:.5px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-base);box-sizing:border-box;border-radius:6px;flex:0 180px;align-items:center;gap:4px;min-width:74px;height:24px;padding:0 6px;display:inline-flex;overflow:hidden}.bLue7W_fileIcon{flex:none;width:16px;height:16px;display:inline-flex}.bLue7W_fileName{min-width:0;color:var(--dsw-alias-label-primary-dimmed);font:var(--dsw-font-xs-13);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bLue7W_fileSize{color:var(--dsw-alias-label-tertiary);white-space:nowrap;flex:none;font-size:10px}.bLue7W_thumb{border:.5px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-base);object-fit:cover;border-radius:4px;width:24px;height:24px}.bLue7W_preview,.bLue7W_editor{min-width:0;font:var(--dsw-font-xs-13);font-family:Inter, var(--dsw-font-family);flex:auto}.bLue7W_preview{color:var(--dsw-alias-label-primary-dimmed);text-overflow:ellipsis;white-space:nowrap;word-break:break-word;overflow:hidden}.bLue7W_editor{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);background:var(--dsw-alias-bg-base);height:28px;color:var(--dsw-alias-label-primary);border-radius:6px;outline:none;padding:0 8px}.bLue7W_editor:focus{border-color:var(--dsw-alias-state-business-primary)}.bLue7W_actions{flex:none;align-items:center;gap:10px;display:flex}.bLue7W_status{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);white-space:nowrap;flex:none}.bLue7W_action{corner-shape:round;width:28px;height:28px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:999px;flex:none;place-items:center;padding:0;display:grid}.bLue7W_action:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}.bLue7W_action:focus-visible{outline:2px solid var(--dsw-alias-label-tertiary);outline-offset:-2px}.bLue7W_action:disabled{cursor:default;opacity:.45}";
|
|
14206
15083
|
const tagId$6 = "@deepseek-ai/dsh-client-ui-conversation/QueueDock.module.css";
|
|
14207
15084
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$6) + "]") === null) {
|
|
14208
15085
|
const tag = document.createElement("style");
|
|
@@ -14393,7 +15270,7 @@ window.__ModuleLoader__.load({
|
|
|
14393
15270
|
(0, react_jsx_runtime.jsx)("span", {
|
|
14394
15271
|
className: QueueDock_module_css_default.lead,
|
|
14395
15272
|
"aria-hidden": true,
|
|
14396
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
15273
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconQueueOutlineRegular, {})
|
|
14397
15274
|
}),
|
|
14398
15275
|
(0, react_jsx_runtime.jsx)("span", {
|
|
14399
15276
|
className: QueueDock_module_css_default.count,
|
|
@@ -14407,7 +15284,7 @@ window.__ModuleLoader__.load({
|
|
|
14407
15284
|
(0, react_jsx_runtime.jsx)("span", {
|
|
14408
15285
|
className: QueueDock_module_css_default.chevron,
|
|
14409
15286
|
"aria-hidden": true,
|
|
14410
|
-
children: expanded ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
15287
|
+
children: expanded ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, {}) : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronUpOutlineRegular, {})
|
|
14411
15288
|
})
|
|
14412
15289
|
]
|
|
14413
15290
|
}), (0, react_jsx_runtime.jsxs)("ul", {
|
|
@@ -14423,7 +15300,7 @@ window.__ModuleLoader__.load({
|
|
|
14423
15300
|
rowCount === 1 && (0, react_jsx_runtime.jsx)("span", {
|
|
14424
15301
|
className: QueueDock_module_css_default.lead,
|
|
14425
15302
|
"aria-hidden": true,
|
|
14426
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
15303
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconQueueOutlineRegular, {})
|
|
14427
15304
|
}),
|
|
14428
15305
|
editing?.id === row.id ? (0, react_jsx_runtime.jsx)("input", {
|
|
14429
15306
|
autoFocus: true,
|
|
@@ -14474,7 +15351,7 @@ window.__ModuleLoader__.load({
|
|
|
14474
15351
|
onClick: () => {
|
|
14475
15352
|
saveEdit();
|
|
14476
15353
|
},
|
|
14477
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
15354
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconCheckOutlineRegular, { size: 14 })
|
|
14478
15355
|
})
|
|
14479
15356
|
}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
14480
15357
|
label: t("queue.cancelEdit"),
|
|
@@ -14488,7 +15365,7 @@ window.__ModuleLoader__.load({
|
|
|
14488
15365
|
onClick: () => {
|
|
14489
15366
|
setEditing(null);
|
|
14490
15367
|
},
|
|
14491
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
15368
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconCloseOutlineRegular, { size: 14 })
|
|
14492
15369
|
})
|
|
14493
15370
|
})] }) : (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
14494
15371
|
(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
@@ -14508,7 +15385,7 @@ window.__ModuleLoader__.load({
|
|
|
14508
15385
|
text
|
|
14509
15386
|
});
|
|
14510
15387
|
},
|
|
14511
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
15388
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconEditOutlineRegular, { size: 14 })
|
|
14512
15389
|
})
|
|
14513
15390
|
}),
|
|
14514
15391
|
(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
@@ -14523,7 +15400,7 @@ window.__ModuleLoader__.load({
|
|
|
14523
15400
|
onClick: () => {
|
|
14524
15401
|
applyAction(row.id, { kind: "remove" }, t("queue.removeFailed"));
|
|
14525
15402
|
},
|
|
14526
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
15403
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconTrashOutlineRegular, { size: 14 })
|
|
14527
15404
|
})
|
|
14528
15405
|
}),
|
|
14529
15406
|
(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
@@ -14540,7 +15417,7 @@ window.__ModuleLoader__.load({
|
|
|
14540
15417
|
onClick: () => {
|
|
14541
15418
|
applyAction(row.id, { kind: "steer" }, t("queue.steerFailed"));
|
|
14542
15419
|
},
|
|
14543
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
15420
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconSendOutlineRegular, {})
|
|
14544
15421
|
})
|
|
14545
15422
|
})
|
|
14546
15423
|
] })
|
|
@@ -14555,7 +15432,7 @@ window.__ModuleLoader__.load({
|
|
|
14555
15432
|
rowCount === 1 && (0, react_jsx_runtime.jsx)("span", {
|
|
14556
15433
|
className: QueueDock_module_css_default.lead,
|
|
14557
15434
|
"aria-hidden": true,
|
|
14558
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
15435
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconQueueOutlineRegular, {})
|
|
14559
15436
|
}),
|
|
14560
15437
|
submission.attachments.length > 0 && (0, react_jsx_runtime.jsx)("span", {
|
|
14561
15438
|
className: QueueDock_module_css_default.attachments,
|
|
@@ -14586,7 +15463,7 @@ window.__ModuleLoader__.load({
|
|
|
14586
15463
|
"aria-label": t("queue.edit"),
|
|
14587
15464
|
title: t("queue.sending"),
|
|
14588
15465
|
disabled: true,
|
|
14589
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
15466
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconEditOutlineRegular, { size: 14 })
|
|
14590
15467
|
}),
|
|
14591
15468
|
(0, react_jsx_runtime.jsx)("button", {
|
|
14592
15469
|
type: "button",
|
|
@@ -14594,7 +15471,7 @@ window.__ModuleLoader__.load({
|
|
|
14594
15471
|
"aria-label": t("queue.remove"),
|
|
14595
15472
|
title: t("queue.sending"),
|
|
14596
15473
|
disabled: true,
|
|
14597
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
15474
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconTrashOutlineRegular, { size: 14 })
|
|
14598
15475
|
}),
|
|
14599
15476
|
(0, react_jsx_runtime.jsx)("button", {
|
|
14600
15477
|
type: "button",
|
|
@@ -14602,7 +15479,7 @@ window.__ModuleLoader__.load({
|
|
|
14602
15479
|
"aria-label": t("queue.steer"),
|
|
14603
15480
|
title: t("queue.sending"),
|
|
14604
15481
|
disabled: true,
|
|
14605
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
15482
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconSendOutlineRegular, {})
|
|
14606
15483
|
})
|
|
14607
15484
|
]
|
|
14608
15485
|
})
|
|
@@ -14717,7 +15594,7 @@ window.__ModuleLoader__.load({
|
|
|
14717
15594
|
onClick: () => {
|
|
14718
15595
|
setOpen((value) => !value);
|
|
14719
15596
|
},
|
|
14720
|
-
children: [t(selectedLabel), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
15597
|
+
children: [t(selectedLabel), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, { className: EnterBehaviorRow_module_css_default.chevron })]
|
|
14721
15598
|
})
|
|
14722
15599
|
})]
|
|
14723
15600
|
});
|
|
@@ -14726,7 +15603,10 @@ window.__ModuleLoader__.load({
|
|
|
14726
15603
|
//#region lib/types/client/contract/snapshot.js
|
|
14727
15604
|
/** Empty Conversation value used before a Session binding is available. */
|
|
14728
15605
|
const EMPTY_CONVERSATION_SNAPSHOT = {
|
|
14729
|
-
views: {
|
|
15606
|
+
views: {
|
|
15607
|
+
get: () => void 0,
|
|
15608
|
+
grouped: () => void 0
|
|
15609
|
+
},
|
|
14730
15610
|
activeTargets: /* @__PURE__ */ new Set()
|
|
14731
15611
|
};
|
|
14732
15612
|
/**
|
|
@@ -14740,7 +15620,7 @@ window.__ModuleLoader__.load({
|
|
|
14740
15620
|
}
|
|
14741
15621
|
//#endregion
|
|
14742
15622
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-conversation/src/client/skeleton/ConversationRoot.module.css.mjs
|
|
14743
|
-
const css$4 = ".zLYQ6W_root{background:var(--dsw-alias-bg-base);flex-direction:column;min-width:0;height:100%;display:flex;position:relative}.zLYQ6W_header{box-sizing:border-box;border-bottom:.5px solid var(--dsw-alias-border-l3);flex:none;min-height:76px;padding:10px 28px 0 20px}.zLYQ6W_headerBlank{border-bottom:none;min-height:0}.zLYQ6W_headerBlank .zLYQ6W_headerCorner{margin-left:auto}[data-platform=darwin] .
|
|
15623
|
+
const css$4 = ".zLYQ6W_root{background:var(--dsw-alias-bg-base);flex-direction:column;min-width:0;height:100%;display:flex;position:relative}.zLYQ6W_header{box-sizing:border-box;border-bottom:.5px solid var(--dsw-alias-border-l3);flex:none;grid-template-columns:auto minmax(0,1fr);min-height:76px;padding:10px 28px 0 20px;display:grid}.zLYQ6W_header:where(:not(:has(.zLYQ6W_tabs))){min-height:0;padding-bottom:10px}.zLYQ6W_headerBlank{border-bottom:none;min-height:0;padding-bottom:0}.zLYQ6W_headerBlank .zLYQ6W_headerCorner{margin-left:auto}html:not([data-platform=darwin]) .zLYQ6W_headerSessionless{padding-top:0}html:not([data-platform=darwin]) .zLYQ6W_headerSessionless .zLYQ6W_titleRow{min-height:0}[data-platform=darwin] .zLYQ6W_headerLeading,[data-platform=darwin] .zLYQ6W_headerActions,[data-platform=darwin] .zLYQ6W_headerUtilities,[data-platform=darwin] .zLYQ6W_headerCorner{-webkit-app-region:no-drag}.zLYQ6W_titleRow{min-height:30px;grid-column:2;align-items:center;gap:0;padding-inline-start:max(0px, calc(var(--dsh-frame-leading-clearance,0px) - 20px));display:flex}.zLYQ6W_titleCluster{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.zLYQ6W_headerLeading{flex:none;grid-area:1/1;align-items:center;gap:8px;display:flex}.zLYQ6W_crumbs{white-space:nowrap;align-items:center;gap:4px;min-width:0;display:flex;overflow:hidden}.zLYQ6W_crumbSeg{align-items:center;gap:4px;min-width:0;display:inline-flex}.zLYQ6W_crumbSep{color:var(--dsw-alias-label-caption);font-size:14px;line-height:20px}.zLYQ6W_crumb{max-width:220px;color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:12px;padding:4px 8px;font-size:14px;line-height:20px;display:inline-block;overflow:hidden}.zLYQ6W_crumbSubagent{font-size:12px;line-height:18px}button.zLYQ6W_crumb:hover{background:var(--dsw-alias-interactive-bg-hover)}.zLYQ6W_crumbCurrent{color:var(--dsw-alias-label-primary);cursor:default;font-weight:500}.zLYQ6W_headerActions{flex:none;align-items:center;gap:8px;display:flex}.zLYQ6W_headerUtilities{flex:none;align-items:center;gap:8px;margin-left:20px;display:flex}.zLYQ6W_headerUtilities:empty{display:none}.zLYQ6W_headerCorner{flex:none;align-items:center;margin-left:8px;margin-right:-16px;display:flex}.zLYQ6W_headerCorner:empty{display:none}.zLYQ6W_tabs{z-index:1;grid-column:1/-1;gap:36px;margin-top:10px;padding-left:8px;display:flex;position:relative}.zLYQ6W_tab{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;padding:0 0 9px;font-size:13px;font-weight:500;line-height:16px;position:relative}.zLYQ6W_tab:after{content:\"\";background:0 0;border-radius:2px;height:2px;position:absolute;bottom:-1px;left:0;right:0}.zLYQ6W_tabActive{color:var(--dsw-alias-state-business-primary)}.zLYQ6W_tabActive:after{background:var(--dsw-alias-state-business-primary)}.zLYQ6W_viewArea{flex-direction:column;flex:1;min-height:0;display:flex}.zLYQ6W_widthHandle{z-index:0;width:min(10px, calc((100% - var(--dsh-chat-content-width)) / 2 - 24px - 24px));cursor:col-resize;position:absolute;top:0;bottom:0}.zLYQ6W_widthHandle[data-side=left]{right:calc(50% + var(--dsh-chat-content-width) / 2 + 24px)}.zLYQ6W_widthHandle[data-side=right]{left:calc(50% + var(--dsh-chat-content-width) / 2 + 24px)}.zLYQ6W_widthHandle:after{content:\"\";background:linear-gradient(to bottom, transparent calc(var(--dsh-width-handle-pointer-y,50%) - 36px), var(--dsw-alias-scrollbar-bg-l1) calc(var(--dsh-width-handle-pointer-y,50%) - 8px), var(--dsw-alias-scrollbar-bg-l1) calc(var(--dsh-width-handle-pointer-y,50%) + 8px), transparent calc(var(--dsh-width-handle-pointer-y,50%) + 36px));opacity:0;pointer-events:none;border-radius:2px;width:2px;position:absolute;top:0;bottom:0}.zLYQ6W_widthHandle[data-side=left]:after{right:4px}.zLYQ6W_widthHandle[data-side=right]:after{left:4px}.zLYQ6W_widthHandle:hover:after,.zLYQ6W_widthHandle[data-dragging]:after{opacity:1}.zLYQ6W_widthHandle[data-dragging]{z-index:8}.zLYQ6W_root:has([data-conversation-composer-overlay]) .zLYQ6W_widthHandle{display:none}.zLYQ6W_composerStack{--dsh-composer-stack-gap:6px;gap:var(--dsh-composer-stack-gap);flex-direction:column;display:flex}.zLYQ6W_composerSeat{--dsh-composer-text-max-height:336px;flex-direction:column;flex:none;display:flex}.zLYQ6W_root[data-phase=active]{overflow:hidden}.zLYQ6W_root[data-phase=active] .zLYQ6W_header{flex:none}.zLYQ6W_body{--dsh-chat-content-width:var(--dsh-chat-user-width,clamp(680px, calc(var(--dsh-conversation-column-width,0px) * .64), 920px));--dsh-composer-card-max-width:calc(var(--dsh-chat-content-width) + 32px);--dsh-composer-side-clearance:16px;--dsh-composer-dock-inset:8px;flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.zLYQ6W_embeddedBody{--dsh-chat-content-width:min(calc(100% - 32px), 920px);--dsh-composer-card-max-width:min(calc(100% - 16px), 952px);--dsh-composer-side-clearance:8px;--dsh-composer-dock-inset:8px;overflow:hidden}.zLYQ6W_scrollBody{scrollbar-gutter:stable;flex-direction:column;flex:1;min-height:0;margin-right:2px;display:flex;overflow-y:auto}.zLYQ6W_scrollBody::-webkit-scrollbar-track{margin:2px}.zLYQ6W_root[data-phase=active] .zLYQ6W_viewArea,.zLYQ6W_embeddedBody[data-content-phase=active] .zLYQ6W_viewArea{flex:1 0 auto;min-height:auto}.zLYQ6W_root[data-phase=active] .zLYQ6W_composerSeat,.zLYQ6W_embeddedBody[data-content-phase=active] .zLYQ6W_composerSeat{z-index:7;background:linear-gradient(180deg, color-mix(in srgb, var(--dsw-alias-bg-base) 0%, transparent) 0px, var(--dsw-alias-bg-base) 36px);position:sticky;bottom:0}.zLYQ6W_root[data-phase=active] .zLYQ6W_composerSeat:has([data-trigger-menu]){z-index:9}.zLYQ6W_scrollBody:has([data-conversation-composer-overlay]){scrollbar-gutter:auto;position:relative;overflow:hidden auto}.zLYQ6W_scrollBody:has([data-conversation-composer-overlay])>[data-slot=conversation\\.session]>.zLYQ6W_viewArea{flex:1 1 0;min-height:0;overflow:hidden}.zLYQ6W_scrollBody:has([data-conversation-composer-overlay])>.zLYQ6W_composerSeat{right:var(--dsh-scrollbar-width);position:absolute;bottom:0;left:0}.zLYQ6W_composerHero{width:min(calc(var(--dsh-composer-card-max-width) + 2 * var(--dsh-composer-side-clearance)), 100%);z-index:1;align-self:center;gap:8px;padding-bottom:32px}.zLYQ6W_heroWorkspaceRow{align-items:center;gap:2px;min-width:0;margin-top:4px;padding:0 16px 0 20px;display:flex}.zLYQ6W_root[data-phase=hero] .zLYQ6W_scrollBody,.zLYQ6W_embeddedBody[data-content-phase=hero] .zLYQ6W_scrollBody{justify-content:center;overflow-y:auto}.zLYQ6W_root[data-phase=settling] .zLYQ6W_composerSeat,.zLYQ6W_embeddedBody[data-content-phase=settling] .zLYQ6W_composerSeat{visibility:hidden}";
|
|
14744
15624
|
const tagId$4 = "@deepseek-ai/dsh-client-ui-conversation/ConversationRoot.module.css";
|
|
14745
15625
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
|
|
14746
15626
|
const tag = document.createElement("style");
|
|
@@ -14766,6 +15646,7 @@ window.__ModuleLoader__.load({
|
|
|
14766
15646
|
"headerBlank": "zLYQ6W_headerBlank",
|
|
14767
15647
|
"headerCorner": "zLYQ6W_headerCorner",
|
|
14768
15648
|
"headerLeading": "zLYQ6W_headerLeading",
|
|
15649
|
+
"headerSessionless": "zLYQ6W_headerSessionless",
|
|
14769
15650
|
"headerUtilities": "zLYQ6W_headerUtilities",
|
|
14770
15651
|
"heroWorkspaceRow": "zLYQ6W_heroWorkspaceRow",
|
|
14771
15652
|
"root": "zLYQ6W_root",
|
|
@@ -14813,7 +15694,7 @@ window.__ModuleLoader__.load({
|
|
|
14813
15694
|
}
|
|
14814
15695
|
/** One pointer-captured transcript width handle. */
|
|
14815
15696
|
function WidthHandle(props) {
|
|
14816
|
-
const
|
|
15697
|
+
const dragging = (0, react.useRef)(false);
|
|
14817
15698
|
const base = (0, react.useRef)(0);
|
|
14818
15699
|
const origin = (0, react.useRef)(0);
|
|
14819
15700
|
const latest = (0, react.useRef)(0);
|
|
@@ -14838,12 +15719,14 @@ window.__ModuleLoader__.load({
|
|
|
14838
15719
|
origin.current = event.clientX;
|
|
14839
15720
|
latest.current = event.clientX;
|
|
14840
15721
|
base.current = callbacks.current.onStart();
|
|
14841
|
-
|
|
15722
|
+
dragging.current = true;
|
|
15723
|
+
event.currentTarget.toggleAttribute("data-dragging", true);
|
|
14842
15724
|
}, []);
|
|
14843
15725
|
const onPointerMove = (0, react.useCallback)((event) => {
|
|
15726
|
+
if (!dragging.current) return;
|
|
15727
|
+
if (!event.currentTarget.hasPointerCapture(event.pointerId)) return;
|
|
14844
15728
|
const box = event.currentTarget.getBoundingClientRect();
|
|
14845
15729
|
event.currentTarget.style.setProperty("--dsh-width-handle-pointer-y", `${event.clientY - box.top}px`);
|
|
14846
|
-
if (!event.currentTarget.hasPointerCapture(event.pointerId)) return;
|
|
14847
15730
|
latest.current = event.clientX;
|
|
14848
15731
|
frame.current ??= requestAnimationFrame(() => {
|
|
14849
15732
|
frame.current = null;
|
|
@@ -14851,17 +15734,21 @@ window.__ModuleLoader__.load({
|
|
|
14851
15734
|
});
|
|
14852
15735
|
}, []);
|
|
14853
15736
|
const onPointerUp = (0, react.useCallback)((event) => {
|
|
15737
|
+
if (!dragging.current) return;
|
|
14854
15738
|
if (!event.currentTarget.hasPointerCapture(event.pointerId)) return;
|
|
15739
|
+
dragging.current = false;
|
|
15740
|
+
event.currentTarget.toggleAttribute("data-dragging", false);
|
|
14855
15741
|
event.currentTarget.releasePointerCapture(event.pointerId);
|
|
14856
15742
|
cancelFrame();
|
|
14857
15743
|
latest.current = event.clientX;
|
|
14858
15744
|
if (latest.current !== origin.current) callbacks.current.onCommit(outwardWidth());
|
|
14859
|
-
setDragging(false);
|
|
14860
15745
|
callbacks.current.onEnd();
|
|
14861
15746
|
}, []);
|
|
14862
|
-
const onPointerCancel = (0, react.useCallback)(() => {
|
|
15747
|
+
const onPointerCancel = (0, react.useCallback)((event) => {
|
|
15748
|
+
if (!dragging.current) return;
|
|
15749
|
+
dragging.current = false;
|
|
15750
|
+
event.currentTarget.toggleAttribute("data-dragging", false);
|
|
14863
15751
|
cancelFrame();
|
|
14864
|
-
setDragging(false);
|
|
14865
15752
|
callbacks.current.onEnd();
|
|
14866
15753
|
}, []);
|
|
14867
15754
|
const onWheel = (0, react.useCallback)((event) => {
|
|
@@ -14878,7 +15765,6 @@ window.__ModuleLoader__.load({
|
|
|
14878
15765
|
className: ConversationRoot_module_css_default.widthHandle,
|
|
14879
15766
|
"data-side": props.side,
|
|
14880
15767
|
"data-width-handle": props.side,
|
|
14881
|
-
"data-dragging": dragging || void 0,
|
|
14882
15768
|
onPointerDown,
|
|
14883
15769
|
onPointerMove,
|
|
14884
15770
|
onPointerUp,
|
|
@@ -14957,7 +15843,7 @@ window.__ModuleLoader__.load({
|
|
|
14957
15843
|
return (0, react_jsx_runtime.jsxs)("div", {
|
|
14958
15844
|
className: ConversationRoot_module_css_default.root,
|
|
14959
15845
|
"data-phase": phase,
|
|
14960
|
-
children: [
|
|
15846
|
+
children: [renderSlot("conversation.header", {}), renderFactorySlot("conversation.content", {
|
|
14961
15847
|
variant: "main",
|
|
14962
15848
|
phase,
|
|
14963
15849
|
hero
|
|
@@ -14970,19 +15856,6 @@ window.__ModuleLoader__.load({
|
|
|
14970
15856
|
return (0, react_jsx_runtime.jsx)(ConversationMainPanel, { ...props });
|
|
14971
15857
|
}
|
|
14972
15858
|
//#endregion
|
|
14973
|
-
//#region ../../util/workspace-path/src/index.ts
|
|
14974
|
-
/**
|
|
14975
|
-
* Read the final non-empty segment of a Workspace path for display.
|
|
14976
|
-
* Workspace-label surfaces use this helper instead of deriving another basename.
|
|
14977
|
-
* @param path - Workspace directory path using POSIX or Windows separators.
|
|
14978
|
-
* @returns the final segment, or an empty string for a separator-only path.
|
|
14979
|
-
*/
|
|
14980
|
-
function workspaceTitleOf(path) {
|
|
14981
|
-
const trimmed = path.replace(/[/\\]+$/, "");
|
|
14982
|
-
const separator = Math.max(trimmed.lastIndexOf("/"), trimmed.lastIndexOf("\\"));
|
|
14983
|
-
return trimmed.slice(separator + 1);
|
|
14984
|
-
}
|
|
14985
|
-
//#endregion
|
|
14986
15859
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-conversation/src/client/skeleton/HeroShell.module.css.mjs
|
|
14987
15860
|
const css$3 = ".WtYF4q_root{justify-content:center;align-items:center;min-width:0;height:100%;padding:0 24px;display:flex}.WtYF4q_stack{width:100%;max-width:var(--dsh-composer-card-max-width);flex-direction:column;align-items:stretch;gap:12px;display:flex;overflow:visible}.WtYF4q_headline{color:var(--dsw-alias-label-primary);flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 10px;font-size:26px;font-weight:500;line-height:32px;display:flex}.WtYF4q_titleGroup{flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 7px;min-width:0;display:flex}.WtYF4q_previewBadge{border:.5px solid var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-state-business-tertiary);color:var(--dsw-alias-label-primary-bluish);font-family:var(--ds-font-family-code);white-space:nowrap;border-radius:24px;align-self:flex-start;margin-top:2px;padding:1px 7px 0;font-size:12px;font-weight:500;line-height:18px}.WtYF4q_fishHitbox{flex:none;justify-content:center;align-items:center;display:inline-flex}.WtYF4q_fish{transform-origin:50% 60%;color:var(--dsw-alias-label-primary);display:block;overflow:visible}@keyframes WtYF4q_hero-fish-swim{0%,to{transform:none}35%{transform:rotate(-4deg)translate(-.4px,-.9px)}70%{transform:rotate(1.6deg)translate(.3px,.2px)}}@media (hover:hover) and (prefers-reduced-motion:no-preference){.WtYF4q_fishHitbox:hover .WtYF4q_fish{animation:1.6s ease-in-out infinite WtYF4q_hero-fish-swim}}.WtYF4q_body{flex-direction:column;gap:12px;min-width:0;display:flex;position:relative;overflow:visible}.WtYF4q_body>*{z-index:1;position:relative}.WtYF4q_body>.WtYF4q_workspaceRow{z-index:10;align-items:center;min-width:0;padding-left:8px;display:flex}.WtYF4q_workspace{max-width:min(100%,360px);min-height:28px;color:var(--dsw-alias-label-primary);cursor:pointer;background:0 0;border:none;border-radius:16px;align-items:center;gap:4px;padding:0 8px;font-size:13px;font-weight:500;line-height:20px;display:inline-flex}.WtYF4q_workspace:not(:disabled):hover,.WtYF4q_workspace[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover)}.WtYF4q_workspace:disabled{cursor:default}.WtYF4q_folder{color:var(--dsw-alias-label-primary);flex:none}.WtYF4q_workspaceLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.WtYF4q_chevron{color:var(--dsw-alias-label-caption);flex:none}.WtYF4q_modalInput{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);width:100%;height:44px;color:var(--dsw-alias-label-primary);background:0 0;border-radius:22px;outline:none;padding:7px 14px;font-size:14px;font-weight:400;line-height:22px}.WtYF4q_modalInput::placeholder{color:var(--dsw-alias-label-caption)}.WtYF4q_modalInput:disabled{color:var(--dsw-alias-label-dimmed)}.WtYF4q_modalAction{min-width:72px}.WtYF4q_modalError{color:var(--dsw-alias-state-error-primary);margin-top:8px;font-size:12px;line-height:18px}";
|
|
14988
15861
|
const tagId$3 = "@deepseek-ai/dsh-client-ui-conversation/HeroShell.module.css";
|
|
@@ -15045,10 +15918,10 @@ window.__ModuleLoader__.load({
|
|
|
15045
15918
|
"aria-expanded": menuOpen,
|
|
15046
15919
|
onClick,
|
|
15047
15920
|
children: [
|
|
15048
|
-
label === void 0 ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
15921
|
+
label === void 0 ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconFolderCloseRegular, {
|
|
15049
15922
|
className: HeroShell_module_css_default.folder,
|
|
15050
15923
|
size: 16
|
|
15051
|
-
}) : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
15924
|
+
}) : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconFolderOpenRegular, {
|
|
15052
15925
|
className: HeroShell_module_css_default.folder,
|
|
15053
15926
|
size: 16
|
|
15054
15927
|
}),
|
|
@@ -15056,7 +15929,7 @@ window.__ModuleLoader__.load({
|
|
|
15056
15929
|
className: HeroShell_module_css_default.workspaceLabel,
|
|
15057
15930
|
children: label ?? t("hero.chooseWorkspace")
|
|
15058
15931
|
}),
|
|
15059
|
-
(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
15932
|
+
(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, {
|
|
15060
15933
|
className: HeroShell_module_css_default.chevron,
|
|
15061
15934
|
size: 12
|
|
15062
15935
|
})
|
|
@@ -15289,8 +16162,26 @@ window.__ModuleLoader__.load({
|
|
|
15289
16162
|
return renderSlot("main.conversation", {});
|
|
15290
16163
|
}
|
|
15291
16164
|
//#endregion
|
|
15292
|
-
//#region lib/types/client/
|
|
15293
|
-
|
|
16165
|
+
//#region lib/types/client/skeleton/ConversationHeader.js
|
|
16166
|
+
/** Resident conversation navigation and Session-specific header content. */
|
|
16167
|
+
/**
|
|
16168
|
+
* Keeps global navigation available before a Session exists.
|
|
16169
|
+
* @param props - Optional Session sources and authorized header slots.
|
|
16170
|
+
* @returns The persistent header with any selected Session's title and views.
|
|
16171
|
+
*/
|
|
16172
|
+
function ConversationHeader({ sessionId, useSession, useConversation, renderSlot }) {
|
|
16173
|
+
const session = useSession((s) => s);
|
|
16174
|
+
const conversation = useConversation((s) => s);
|
|
16175
|
+
const blank = session === void 0 || conversation === void 0 || session.blank && conversationPhase(session, conversation) === "blank";
|
|
16176
|
+
return (0, react_jsx_runtime.jsxs)("header", {
|
|
16177
|
+
className: clsx(ConversationRoot_module_css_default.header, blank && ConversationRoot_module_css_default.headerBlank, sessionId === void 0 && ConversationRoot_module_css_default.headerSessionless),
|
|
16178
|
+
children: [(0, react_jsx_runtime.jsx)("div", {
|
|
16179
|
+
className: ConversationRoot_module_css_default.headerLeading,
|
|
16180
|
+
"data-conversation-header-leading": "",
|
|
16181
|
+
children: renderSlot("conversation.header.leading", {})
|
|
16182
|
+
}), sessionId === void 0 ? (0, react_jsx_runtime.jsx)("div", { className: ConversationRoot_module_css_default.titleRow }) : renderSlot("conversation.session.header", { hideChrome: blank })]
|
|
16183
|
+
});
|
|
16184
|
+
}
|
|
15294
16185
|
/**
|
|
15295
16186
|
* Resolve a preferred registered View, then Chat, without choosing another View.
|
|
15296
16187
|
* @param tabs - currently registered Views.
|
|
@@ -15298,7 +16189,7 @@ window.__ModuleLoader__.load({
|
|
|
15298
16189
|
* @returns the selected View, Chat fallback, or undefined when neither is registered.
|
|
15299
16190
|
*/
|
|
15300
16191
|
function resolveActiveView(tabs, selectedId) {
|
|
15301
|
-
return (selectedId === null ? void 0 : tabs.find((view) => view.id === selectedId)) ?? tabs.find((view) => view.id ===
|
|
16192
|
+
return (selectedId === null ? void 0 : tabs.find((view) => view.id === selectedId)) ?? tabs.find((view) => view.id === "chat");
|
|
15302
16193
|
}
|
|
15303
16194
|
//#endregion
|
|
15304
16195
|
//#region lib/types/client/skeleton/DefaultConversationViews.js
|
|
@@ -15308,8 +16199,10 @@ window.__ModuleLoader__.load({
|
|
|
15308
16199
|
* @param props - Strict Session input/store, view ledger, and render shares.
|
|
15309
16200
|
* @returns the active view area, or null while the Session remains blank.
|
|
15310
16201
|
*/
|
|
15311
|
-
function DefaultConversationViews({ view, useSession, useConversation, useConversationViews, useInput, inputActions, useStore, actions, renderSlot, bindDraftMirror, openView }) {
|
|
15312
|
-
const
|
|
16202
|
+
function DefaultConversationViews({ view, useSession, useConversation, useConversationViews, useInput, inputActions, useStore, actions, renderSlot, bindDraftMirror, openView, useInspectCall }) {
|
|
16203
|
+
const tabs = useConversationViews((value) => value);
|
|
16204
|
+
const inspectCall = useInspectCall((value) => value);
|
|
16205
|
+
const active = resolveActiveView(tabs, useStore((s) => s.view));
|
|
15313
16206
|
const session = useSession((s) => s);
|
|
15314
16207
|
const conversation = useConversation((s) => s);
|
|
15315
16208
|
const inputState = useInput((s) => s);
|
|
@@ -15327,6 +16220,7 @@ window.__ModuleLoader__.load({
|
|
|
15327
16220
|
return (0, react_jsx_runtime.jsx)("div", {
|
|
15328
16221
|
className: ConversationRoot_module_css_default.viewArea,
|
|
15329
16222
|
children: viewId !== void 0 && renderSlot("conversation.view", {
|
|
16223
|
+
inspectCall,
|
|
15330
16224
|
viewRequest,
|
|
15331
16225
|
openView,
|
|
15332
16226
|
completeViewRequest: actions.completeViewRequest
|
|
@@ -15366,87 +16260,77 @@ window.__ModuleLoader__.load({
|
|
|
15366
16260
|
* @param props - Strict Session store, view ledger, navigation, render, and locale shares.
|
|
15367
16261
|
* @returns Session navigation controls, with title and tabs after conversation starts.
|
|
15368
16262
|
*/
|
|
15369
|
-
function ConversationSessionHeader({ sessionId,
|
|
16263
|
+
function ConversationSessionHeader({ sessionId, hideChrome, useSessions, useConversationViews, useStore, renderSlot, open, selectView, t }) {
|
|
15370
16264
|
const tabs = useConversationViews((value) => value);
|
|
15371
16265
|
const active = resolveActiveView(tabs, useStore((s) => s.view));
|
|
15372
16266
|
const ancestry = useSessions((s) => deriveAncestry(s, sessionId), equalBreadcrumbs);
|
|
15373
|
-
const
|
|
15374
|
-
|
|
15375
|
-
|
|
15376
|
-
|
|
15377
|
-
|
|
15378
|
-
|
|
15379
|
-
|
|
15380
|
-
|
|
15381
|
-
|
|
15382
|
-
|
|
15383
|
-
|
|
15384
|
-
|
|
15385
|
-
|
|
15386
|
-
|
|
15387
|
-
|
|
15388
|
-
|
|
15389
|
-
|
|
15390
|
-
|
|
15391
|
-
|
|
15392
|
-
|
|
15393
|
-
|
|
15394
|
-
|
|
15395
|
-
|
|
15396
|
-
|
|
15397
|
-
|
|
15398
|
-
|
|
15399
|
-
|
|
15400
|
-
|
|
15401
|
-
|
|
15402
|
-
|
|
15403
|
-
|
|
15404
|
-
|
|
15405
|
-
|
|
15406
|
-
|
|
15407
|
-
|
|
15408
|
-
|
|
15409
|
-
|
|
15410
|
-
|
|
15411
|
-
|
|
15412
|
-
|
|
15413
|
-
|
|
15414
|
-
|
|
15415
|
-
|
|
15416
|
-
|
|
15417
|
-
|
|
15418
|
-
|
|
15419
|
-
|
|
15420
|
-
|
|
15421
|
-
|
|
15422
|
-
|
|
15423
|
-
|
|
15424
|
-
})]
|
|
15425
|
-
}), (0, react_jsx_runtime.jsx)("div", {
|
|
15426
|
-
className: ConversationRoot_module_css_default.headerUtilities,
|
|
15427
|
-
children: renderSlot("conversation.session.header.utilities", {})
|
|
15428
|
-
})] }),
|
|
15429
|
-
(0, react_jsx_runtime.jsx)("div", {
|
|
15430
|
-
className: ConversationRoot_module_css_default.headerCorner,
|
|
15431
|
-
"data-conversation-header-corner": "",
|
|
15432
|
-
children: renderSlot("conversation.session.header.corner", {})
|
|
15433
|
-
})
|
|
15434
|
-
]
|
|
15435
|
-
}), !hideChrome && tabs.length > 1 && (0, react_jsx_runtime.jsx)("div", {
|
|
15436
|
-
className: ConversationRoot_module_css_default.tabs,
|
|
15437
|
-
role: "tablist",
|
|
15438
|
-
children: tabs.map((viewTab) => (0, react_jsx_runtime.jsx)("button", {
|
|
15439
|
-
type: "button",
|
|
15440
|
-
role: "tab",
|
|
15441
|
-
"aria-selected": viewTab.id === active?.id,
|
|
15442
|
-
className: clsx(ConversationRoot_module_css_default.tab, viewTab.id === active?.id && ConversationRoot_module_css_default.tabActive),
|
|
15443
|
-
onClick: () => {
|
|
15444
|
-
selectView(viewTab.id);
|
|
15445
|
-
},
|
|
15446
|
-
children: viewTab.label
|
|
15447
|
-
}, viewTab.id))
|
|
16267
|
+
const showTabs = !hideChrome && tabs.length > 1;
|
|
16268
|
+
return (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [(0, react_jsx_runtime.jsxs)("div", {
|
|
16269
|
+
className: ConversationRoot_module_css_default.titleRow,
|
|
16270
|
+
children: [!hideChrome && (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [(0, react_jsx_runtime.jsxs)("div", {
|
|
16271
|
+
className: ConversationRoot_module_css_default.titleCluster,
|
|
16272
|
+
children: [(0, react_jsx_runtime.jsxs)("nav", {
|
|
16273
|
+
className: ConversationRoot_module_css_default.crumbs,
|
|
16274
|
+
"aria-label": t("session.hierarchy"),
|
|
16275
|
+
children: [ancestry.map((summary, index) => {
|
|
16276
|
+
const last = index === ancestry.length - 1;
|
|
16277
|
+
const title = last ? (0, react_jsx_runtime.jsx)("span", {
|
|
16278
|
+
className: clsx(ConversationRoot_module_css_default.crumb, summary.subagent && ConversationRoot_module_css_default.crumbSubagent, ConversationRoot_module_css_default.crumbCurrent),
|
|
16279
|
+
children: summary.displayTitle
|
|
16280
|
+
}) : (0, react_jsx_runtime.jsx)("button", {
|
|
16281
|
+
type: "button",
|
|
16282
|
+
className: clsx(ConversationRoot_module_css_default.crumb, summary.subagent && ConversationRoot_module_css_default.crumbSubagent),
|
|
16283
|
+
onClick: () => {
|
|
16284
|
+
open(summary.id);
|
|
16285
|
+
},
|
|
16286
|
+
children: summary.displayTitle
|
|
16287
|
+
});
|
|
16288
|
+
const lineage = last || summary.subagent;
|
|
16289
|
+
const lineageOwner = {
|
|
16290
|
+
lineageSessionId: summary.id,
|
|
16291
|
+
displayTitle: summary.displayTitle,
|
|
16292
|
+
...last ? {} : { openTitle: () => {
|
|
16293
|
+
open(summary.id);
|
|
16294
|
+
} }
|
|
16295
|
+
};
|
|
16296
|
+
return (0, react_jsx_runtime.jsxs)("span", {
|
|
16297
|
+
className: ConversationRoot_module_css_default.crumbSeg,
|
|
16298
|
+
children: [index > 0 && (0, react_jsx_runtime.jsx)("span", {
|
|
16299
|
+
className: ConversationRoot_module_css_default.crumbSep,
|
|
16300
|
+
children: "/"
|
|
16301
|
+
}), lineage ? summary.subagent ? renderSlot("conversation.session.header.lineage", lineageOwner, { fallback: title }) : (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [title, renderSlot("conversation.session.header.lineage", lineageOwner, { fallback: null })] }) : title]
|
|
16302
|
+
}, summary.id);
|
|
16303
|
+
}), ancestry.length === 0 && (0, react_jsx_runtime.jsx)("span", {
|
|
16304
|
+
className: ConversationRoot_module_css_default.crumbCurrent,
|
|
16305
|
+
children: sessionId
|
|
16306
|
+
})]
|
|
16307
|
+
}), (0, react_jsx_runtime.jsx)("div", {
|
|
16308
|
+
className: ConversationRoot_module_css_default.headerActions,
|
|
16309
|
+
children: renderSlot("conversation.session.header.actions", {})
|
|
16310
|
+
})]
|
|
16311
|
+
}), (0, react_jsx_runtime.jsx)("div", {
|
|
16312
|
+
className: ConversationRoot_module_css_default.headerUtilities,
|
|
16313
|
+
children: renderSlot("conversation.session.header.utilities", {})
|
|
16314
|
+
})] }), (0, react_jsx_runtime.jsx)("div", {
|
|
16315
|
+
className: ConversationRoot_module_css_default.headerCorner,
|
|
16316
|
+
"data-conversation-header-corner": "",
|
|
16317
|
+
children: renderSlot("conversation.session.header.corner", {})
|
|
15448
16318
|
})]
|
|
15449
|
-
})
|
|
16319
|
+
}), showTabs && (0, react_jsx_runtime.jsx)("div", {
|
|
16320
|
+
className: ConversationRoot_module_css_default.tabs,
|
|
16321
|
+
role: "tablist",
|
|
16322
|
+
"data-conversation-tabs": "",
|
|
16323
|
+
children: tabs.map((viewTab) => (0, react_jsx_runtime.jsx)("button", {
|
|
16324
|
+
type: "button",
|
|
16325
|
+
role: "tab",
|
|
16326
|
+
"aria-selected": viewTab.id === active?.id,
|
|
16327
|
+
className: clsx(ConversationRoot_module_css_default.tab, viewTab.id === active?.id && ConversationRoot_module_css_default.tabActive),
|
|
16328
|
+
onClick: () => {
|
|
16329
|
+
selectView(viewTab.id);
|
|
16330
|
+
},
|
|
16331
|
+
children: viewTab.label
|
|
16332
|
+
}, viewTab.id))
|
|
16333
|
+
})] });
|
|
15450
16334
|
}
|
|
15451
16335
|
/**
|
|
15452
16336
|
* Renders the active Session view inside the resident scrollport and keeps
|
|
@@ -15639,8 +16523,16 @@ window.__ModuleLoader__.load({
|
|
|
15639
16523
|
}, 4), editor.registerCommand(Je$2, (event) => {
|
|
15640
16524
|
const clipboardData = event.clipboardData ?? null;
|
|
15641
16525
|
if (clipboardData === null) return false;
|
|
15642
|
-
const files =
|
|
15643
|
-
|
|
16526
|
+
const files = [];
|
|
16527
|
+
const directories = /* @__PURE__ */ new Set();
|
|
16528
|
+
for (const item of clipboardData.items) {
|
|
16529
|
+
if (item.kind !== "file") continue;
|
|
16530
|
+
const file = item.getAsFile();
|
|
16531
|
+
if (file === null) continue;
|
|
16532
|
+
files.push(file);
|
|
16533
|
+
if (typeof item.webkitGetAsEntry === "function" && item.webkitGetAsEntry()?.isDirectory === true) directories.add(file);
|
|
16534
|
+
}
|
|
16535
|
+
if (files.length > 0) handlers.intakeFiles(files, directories.size === 0 ? void 0 : directories);
|
|
15644
16536
|
const text = clipboardData.getData("text/plain");
|
|
15645
16537
|
if (text === "") {
|
|
15646
16538
|
if (files.length === 0) return false;
|
|
@@ -15752,8 +16644,8 @@ window.__ModuleLoader__.load({
|
|
|
15752
16644
|
}
|
|
15753
16645
|
keyboard.submit(resolveSubmitMode(g.busyEnter, g.running, accelerated ? "accelerated" : "enter", g.steeringAvailable));
|
|
15754
16646
|
},
|
|
15755
|
-
intakeFiles: (files) => {
|
|
15756
|
-
gate.current.intakeFiles(files);
|
|
16647
|
+
intakeFiles: (files, directories) => {
|
|
16648
|
+
gate.current.intakeFiles(files, directories);
|
|
15757
16649
|
},
|
|
15758
16650
|
pasteText: (text) => {
|
|
15759
16651
|
if (gate.current.machineBusy || gate.current.locked) return;
|
|
@@ -15834,7 +16726,7 @@ window.__ModuleLoader__.load({
|
|
|
15834
16726
|
}
|
|
15835
16727
|
//#endregion
|
|
15836
16728
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-conversation/src/client/skeleton/ContextMeter.module.css.mjs
|
|
15837
|
-
const css$2 = ".H4l7vW_root{flex:none;display:inline-flex}.H4l7vW_trigger{color:var(--dsw-alias-label-tertiary);font-family:inherit;font-size:var(--dsh-content-font-size-secondary,13px);font-variant-numeric:tabular-nums;line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px));white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:24px;flex:none;align-items:center;gap:6px;padding:1px 8px;display:inline-flex}.H4l7vW_trigger:hover,.H4l7vW_trigger[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}.H4l7vW_track{fill:none;stroke:var(--dsw-alias-border-l3);stroke-width:2px}.H4l7vW_fill{fill:none;stroke:var(--dsw-alias-label-tertiary);stroke-width:2px;stroke-linecap:round}.H4l7vW_panel{z-index:1100;box-sizing:border-box;background:var(--dsw-specific-menu);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);
|
|
16729
|
+
const css$2 = ".H4l7vW_root{flex:none;display:inline-flex}.H4l7vW_trigger{color:var(--dsw-alias-label-tertiary);font-family:inherit;font-size:var(--dsh-content-font-size-secondary,13px);font-variant-numeric:tabular-nums;line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px));white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:24px;flex:none;align-items:center;gap:6px;padding:1px 8px;display:inline-flex}.H4l7vW_trigger:hover,.H4l7vW_trigger[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}.H4l7vW_track{fill:none;stroke:var(--dsw-alias-border-l3);stroke-width:2px}.H4l7vW_fill{fill:none;stroke:var(--dsw-alias-label-tertiary);stroke-width:2px;stroke-linecap:round}.H4l7vW_panel{z-index:1100;box-sizing:border-box;background:var(--dsw-specific-menu);width:min(264px,100vw - 24px);backdrop-filter:var(--dsw-menu-backdrop-filter);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);box-shadow:var(--dsw-elevation-prominent);color:var(--dsw-alias-label-secondary);cursor:default;border:0;border-radius:12px;padding:12px;font-size:12px;line-height:20px;position:fixed}.H4l7vW_header{align-items:center;gap:6px;display:flex}.H4l7vW_figures{font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-primary);margin-left:auto;font-weight:500}.H4l7vW_percent{color:var(--dsw-alias-label-primary);font-weight:500}.H4l7vW_headline{color:var(--dsw-alias-label-tertiary)}.H4l7vW_headline:empty{display:none}.H4l7vW_bar{corner-shape:round;background:var(--dsw-alias-interactive-bg-hover);border-radius:999px;gap:1px;height:4px;margin:10px 0 12px;display:flex;overflow:hidden}.H4l7vW_segment{background:var(--meter-tint,var(--dsw-alias-label-tertiary));border-radius:1px;flex:none;min-width:2px;height:100%}.H4l7vW_swatch{background:var(--meter-tint);vertical-align:baseline;border-radius:2px;width:8px;height:8px;margin-right:6px;display:inline-block}.H4l7vW_colorSystem{--meter-tint:var(--dsw-static-neutral-bluish-400)}.H4l7vW_colorTools{--meter-tint:#a78bfa}.H4l7vW_colorMessages{--meter-tint:var(--dsw-static-blue-450)}.H4l7vW_rows{margin:6px 0 0}.H4l7vW_row{justify-content:space-between;align-items:center;gap:12px;padding:2px 0;display:flex}.H4l7vW_row dt{color:var(--dsw-alias-label-secondary)}.H4l7vW_row dd{font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-primary);margin:0}";
|
|
15838
16730
|
const tagId$2 = "@deepseek-ai/dsh-client-ui-conversation/ContextMeter.module.css";
|
|
15839
16731
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
|
|
15840
16732
|
const tag = document.createElement("style");
|
|
@@ -16043,8 +16935,47 @@ window.__ModuleLoader__.load({
|
|
|
16043
16935
|
});
|
|
16044
16936
|
}
|
|
16045
16937
|
//#endregion
|
|
16938
|
+
//#region lib/types/client/skeleton/control-row-layout.js
|
|
16939
|
+
/** Content-sized model collapse for the composer's two control groups. */
|
|
16940
|
+
/**
|
|
16941
|
+
* Collapse the model text only when the expanded controls cannot share a line.
|
|
16942
|
+
* The model seat consumes the row's inherited display variables; wrapping remains
|
|
16943
|
+
* available when even the icon cannot fit. Each notification is measured synchronously.
|
|
16944
|
+
* @param row - Composer control row with its leading and trailing groups.
|
|
16945
|
+
* @returns Disconnect the layout observers and font listener.
|
|
16946
|
+
*/
|
|
16947
|
+
function observeControlRow(row) {
|
|
16948
|
+
const measure = () => {
|
|
16949
|
+
row.removeAttribute("data-model-compact");
|
|
16950
|
+
const style = getComputedStyle(row);
|
|
16951
|
+
const available = row.getBoundingClientRect().width - parseFloat(style.paddingLeft) - parseFloat(style.paddingRight);
|
|
16952
|
+
const widths = Array.from(row.children, (child) => child.getBoundingClientRect().width).filter((width) => width > 0);
|
|
16953
|
+
const needed = widths.reduce((sum, width) => sum + width, 0) + Math.max(0, widths.length - 1) * parseFloat(style.columnGap);
|
|
16954
|
+
row.toggleAttribute("data-model-compact", needed > available);
|
|
16955
|
+
};
|
|
16956
|
+
const resize = new ResizeObserver(measure);
|
|
16957
|
+
resize.observe(row);
|
|
16958
|
+
for (const child of row.children) resize.observe(child);
|
|
16959
|
+
const mutation = new MutationObserver(measure);
|
|
16960
|
+
mutation.observe(row, {
|
|
16961
|
+
subtree: true,
|
|
16962
|
+
childList: true,
|
|
16963
|
+
characterData: true,
|
|
16964
|
+
attributes: true,
|
|
16965
|
+
attributeFilter: ["hidden"]
|
|
16966
|
+
});
|
|
16967
|
+
const fonts = document.fonts;
|
|
16968
|
+
fonts.addEventListener("loadingdone", measure);
|
|
16969
|
+
measure();
|
|
16970
|
+
return () => {
|
|
16971
|
+
resize.disconnect();
|
|
16972
|
+
mutation.disconnect();
|
|
16973
|
+
fonts.removeEventListener("loadingdone", measure);
|
|
16974
|
+
};
|
|
16975
|
+
}
|
|
16976
|
+
//#endregion
|
|
16046
16977
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-conversation/src/client/skeleton/InputBar.module.css.mjs
|
|
16047
|
-
const css$1 = ".Uzaq8q_root{padding:0 var(--dsh-composer-side-clearance) 4px;flex-direction:column;align-items:center;display:flex}.Uzaq8q_dock{justify-content:center;align-items:center;gap:12px;max-width:100%;padding-top:4px;display:flex}.Uzaq8q_hero .Uzaq8q_dock:empty{display:none}.Uzaq8q_hero{padding:0 var(--dsh-composer-side-clearance)}.Uzaq8q_notice{width:100%;max-width:var(--dsh-composer-card-max-width);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary);border-radius:8px;margin-bottom:6px;padding:4px 8px;font-size:12px;line-height:18px}.Uzaq8q_card{box-sizing:border-box;width:100%;max-width:var(--dsh-composer-card-max-width);--dsw-elevation-stroke-color:var(--dsw-alias-border-l2);background:var(--dsw-specific-input-major);box-shadow:var(--dsw-elevation-soft);font-size:var(--dsh-content-font-size,14px);line-height:calc(24px + var(--dsh-content-font-delta,0px));--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);border:0;border-radius:22px;flex-direction:column;gap:12px;padding-top:8px;display:flex;position:relative}.Uzaq8q_cardWorkspaceTrigger{--dsw-elevation-stroke-color:transparent;cursor:pointer}.Uzaq8q_cardWorkspaceTrigger:after{content:\"\";
|
|
16978
|
+
const css$1 = ".Uzaq8q_root{padding:0 var(--dsh-composer-side-clearance) 4px;flex-direction:column;align-items:center;display:flex}.Uzaq8q_dock{justify-content:center;align-items:center;gap:12px;max-width:100%;padding-top:4px;display:flex}.Uzaq8q_hero .Uzaq8q_dock:empty{display:none}.Uzaq8q_hero{padding:0 var(--dsh-composer-side-clearance)}.Uzaq8q_notice{width:100%;max-width:var(--dsh-composer-card-max-width);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary);border-radius:8px;margin-bottom:6px;padding:4px 8px;font-size:12px;line-height:18px}.Uzaq8q_card{box-sizing:border-box;width:100%;max-width:var(--dsh-composer-card-max-width);--dsw-elevation-stroke-color:var(--dsw-alias-border-l2);background:var(--dsw-specific-input-major);box-shadow:var(--dsw-elevation-soft);font-size:var(--dsh-content-font-size,14px);line-height:calc(24px + var(--dsh-content-font-delta,0px));--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);border:0;border-radius:22px;flex-direction:column;gap:12px;padding-top:8px;display:flex;position:relative}.Uzaq8q_cardWorkspaceTrigger{--dsw-elevation-stroke-color:transparent;cursor:pointer}.Uzaq8q_cardWorkspaceTrigger:after{content:\"\";box-sizing:border-box;color:var(--dsw-alias-border-l4);pointer-events:none;border:1px dashed;border-radius:22px;transition:color .1s;position:absolute;inset:0}.Uzaq8q_cardWorkspaceTrigger :disabled{pointer-events:none}.Uzaq8q_cardWorkspaceTrigger:hover:after{color:var(--dsw-alias-state-business-primary)}.Uzaq8q_accessory{align-items:center;gap:8px;padding:10px 12px 0;display:flex}.Uzaq8q_overlayAnchor{height:0;position:absolute;inset:0 0 auto}.Uzaq8q_scroll{max-height:var(--dsh-composer-text-max-height);margin-right:4px;overflow-y:auto}.Uzaq8q_scroll::-webkit-scrollbar-track{margin-top:8px}.Uzaq8q_grow{position:relative}.Uzaq8q_pending{corner-shape:round;background:var(--dsw-alias-state-business-primary);border-radius:50%;width:8px;height:8px;animation:1s ease-in-out infinite alternate Uzaq8q_input-pending}@keyframes Uzaq8q_input-pending{0%{opacity:.35}to{opacity:1}}.Uzaq8q_input{box-sizing:border-box;min-height:36px;font-family:var(--dsw-font-family);font-size:inherit;line-height:inherit;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;color:var(--dsw-alias-label-primary);caret-color:var(--dsw-alias-state-business-primary);outline:none;padding:4px 8px 0 14px}.Uzaq8q_input p{margin:0}.Uzaq8q_input p:last-child:after{content:var(--dsh-composer-hint);color:var(--dsw-alias-label-caption)}.Uzaq8q_input[data-composer-composing] p:last-child:after{content:none}.Uzaq8q_input[data-composer-composing]+.Uzaq8q_placeholder{visibility:hidden}.Uzaq8q_placeholder{color:var(--dsw-alias-label-caption);white-space:nowrap;text-overflow:ellipsis;pointer-events:none;user-select:none;position:absolute;inset:4px 8px auto 14px;overflow:hidden}.Uzaq8q_inputDisabled{color:var(--dsw-alias-label-tertiary);cursor:not-allowed}.Uzaq8q_input[aria-haspopup=menu]{cursor:pointer}.Uzaq8q_hero .Uzaq8q_input{min-height:52px}.Uzaq8q_hero .Uzaq8q_placeholder{white-space:normal;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.Uzaq8q_row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:2px 8px 6px;display:flex;container-type:inline-size}.Uzaq8q_row[data-model-compact]{--dsh-composer-model-text-display:none;--dsh-composer-model-icon-display:block}.Uzaq8q_tools,.Uzaq8q_modes,.Uzaq8q_trailing{align-items:center;min-width:0;display:flex}.Uzaq8q_tools,.Uzaq8q_modes{gap:12px}.Uzaq8q_trailing{flex:none;gap:12px;margin-left:auto}@container (width<=560px){.Uzaq8q_tools,.Uzaq8q_modes,.Uzaq8q_trailing{gap:8px}}.Uzaq8q_add{corner-shape:round;background:var(--dsw-specific-selector);width:28px;height:28px;color:var(--dsw-alias-label-primary);cursor:pointer;border:none;border-radius:999px;flex:none;place-items:center;display:grid}.Uzaq8q_add:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover-solid)}.Uzaq8q_add:disabled{opacity:.5;cursor:default}.Uzaq8q_select{max-width:220px;height:28px;color:var(--dsw-alias-label-secondary);white-space:nowrap;cursor:pointer;appearance:none;background-color:#0000;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2381858C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");background-position:right 4px center;background-repeat:no-repeat;background-size:12px 12px;border:none;border-radius:8px;outline:none;padding:0 20px 0 8px;font-size:13px;font-weight:500;line-height:20px}.Uzaq8q_select:hover:not(:disabled){background-color:var(--dsw-alias-interactive-bg-hover)}.Uzaq8q_select:disabled{opacity:.5;cursor:default}.Uzaq8q_primary{corner-shape:round;background:var(--dsw-alias-button-info-fill);color:#fff;cursor:pointer;border:none;border-radius:999px;flex:none;place-items:center;width:34px;height:34px;transition:background-color .1s;display:grid;transform:translateY(-2px)}.Uzaq8q_primary:hover:not(:disabled){background:var(--dsw-alias-button-info-hover)}.Uzaq8q_primary:disabled{opacity:.4;cursor:default}.Uzaq8q_retry{color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:4px;margin-left:8px;padding:1px 8px;font-size:12px}.Uzaq8q_standardControls{align-items:center;gap:12px;min-width:0;display:flex}.Uzaq8q_tools[hidden],.Uzaq8q_standardControls[hidden]{display:none}.Uzaq8q_trailingActive{flex:1;margin-left:0}.Uzaq8q_activity{flex:none;align-items:center;display:flex}.Uzaq8q_activity:empty{display:none}.Uzaq8q_activityExpanded{flex:1;min-width:0}";
|
|
16048
16979
|
const tagId$1 = "@deepseek-ai/dsh-client-ui-conversation/InputBar.module.css";
|
|
16049
16980
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
16050
16981
|
const tag = document.createElement("style");
|
|
@@ -16055,6 +16986,8 @@ window.__ModuleLoader__.load({
|
|
|
16055
16986
|
}
|
|
16056
16987
|
var InputBar_module_css_default = {
|
|
16057
16988
|
"accessory": "Uzaq8q_accessory",
|
|
16989
|
+
"activity": "Uzaq8q_activity",
|
|
16990
|
+
"activityExpanded": "Uzaq8q_activityExpanded",
|
|
16058
16991
|
"add": "Uzaq8q_add",
|
|
16059
16992
|
"card": "Uzaq8q_card",
|
|
16060
16993
|
"cardWorkspaceTrigger": "Uzaq8q_cardWorkspaceTrigger",
|
|
@@ -16075,8 +17008,10 @@ window.__ModuleLoader__.load({
|
|
|
16075
17008
|
"row": "Uzaq8q_row",
|
|
16076
17009
|
"scroll": "Uzaq8q_scroll",
|
|
16077
17010
|
"select": "Uzaq8q_select",
|
|
17011
|
+
"standardControls": "Uzaq8q_standardControls",
|
|
16078
17012
|
"tools": "Uzaq8q_tools",
|
|
16079
|
-
"trailing": "Uzaq8q_trailing"
|
|
17013
|
+
"trailing": "Uzaq8q_trailing",
|
|
17014
|
+
"trailingActive": "Uzaq8q_trailingActive"
|
|
16080
17015
|
};
|
|
16081
17016
|
//#endregion
|
|
16082
17017
|
//#region lib/types/client/skeleton/InputBar.js
|
|
@@ -16099,6 +17034,10 @@ window.__ModuleLoader__.load({
|
|
|
16099
17034
|
const notice = useNotices((s) => s);
|
|
16100
17035
|
const busyEnter = useBusyEnter((s) => s);
|
|
16101
17036
|
const commandMenuOpen = useMenuLauncher((source) => source === "command");
|
|
17037
|
+
const [activity, setActivity] = (0, react.useState)(false);
|
|
17038
|
+
(0, react.useEffect)(() => {
|
|
17039
|
+
setActivity(false);
|
|
17040
|
+
}, [sessionId]);
|
|
16102
17041
|
const promptError = useSession((s) => s.promptError) ?? null;
|
|
16103
17042
|
const running = useSession((s) => s.running) ?? false;
|
|
16104
17043
|
const subagent = useSession((s) => s.subagent) ?? null;
|
|
@@ -16142,6 +17081,12 @@ window.__ModuleLoader__.load({
|
|
|
16142
17081
|
(0, react.useEffect)(() => {
|
|
16143
17082
|
if (notice?.level === "error") showToast(notice.text);
|
|
16144
17083
|
}, [notice, showToast]);
|
|
17084
|
+
const rowRef = (0, react.useRef)(null);
|
|
17085
|
+
(0, react.useLayoutEffect)(() => {
|
|
17086
|
+
const row = rowRef.current;
|
|
17087
|
+
if (row === null) return;
|
|
17088
|
+
return observeControlRow(row);
|
|
17089
|
+
}, []);
|
|
16145
17090
|
const cardRef = (0, react.useRef)(null);
|
|
16146
17091
|
const scrollRef = (0, react.useRef)(null);
|
|
16147
17092
|
const continuable = subagent?.address.mode === "continuable";
|
|
@@ -16181,7 +17126,7 @@ window.__ModuleLoader__.load({
|
|
|
16181
17126
|
(0, react.useEffect)(() => {
|
|
16182
17127
|
return installDraftWheel(scrollRef);
|
|
16183
17128
|
}, []);
|
|
16184
|
-
const intakeFiles = (0, react.useCallback)((files) => {
|
|
17129
|
+
const intakeFiles = (0, react.useCallback)((files, directories) => {
|
|
16185
17130
|
if (subagent !== null || addFiles === void 0 || files.length === 0) return;
|
|
16186
17131
|
const rejected = (() => {
|
|
16187
17132
|
if (imageLimits !== void 0) {
|
|
@@ -16192,7 +17137,7 @@ window.__ModuleLoader__.load({
|
|
|
16192
17137
|
if (images.some((file) => file.size > imageLimits.maxImageBytes)) return t("image.fileTooLarge", { size: imageSizeText(imageLimits.maxImageBytes) });
|
|
16193
17138
|
if (imageAttachments.reduce((sum, attachment) => sum + attachment.file.size, 0) + images.reduce((sum, file) => sum + file.size, 0) > imageLimits.maxMessageImageBytes) return t("image.totalTooLarge", { size: imageSizeText(imageLimits.maxMessageImageBytes) });
|
|
16194
17139
|
}
|
|
16195
|
-
return addFiles(files);
|
|
17140
|
+
return addFiles(files, directories);
|
|
16196
17141
|
})();
|
|
16197
17142
|
if (rejected !== null) showToast(rejected);
|
|
16198
17143
|
}, [
|
|
@@ -16289,7 +17234,7 @@ window.__ModuleLoader__.load({
|
|
|
16289
17234
|
children: [
|
|
16290
17235
|
toast !== null && (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
|
|
16291
17236
|
text: toast.text,
|
|
16292
|
-
icon: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
17237
|
+
icon: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutlineRegular, {}),
|
|
16293
17238
|
anchor: cardRef.current,
|
|
16294
17239
|
onDone: dismissToast
|
|
16295
17240
|
}, toast.seq),
|
|
@@ -16347,9 +17292,11 @@ window.__ModuleLoader__.load({
|
|
|
16347
17292
|
showPlaceholder: draft === "" && attachments.length === 0 && !claimActive
|
|
16348
17293
|
}),
|
|
16349
17294
|
(0, react_jsx_runtime.jsxs)("div", {
|
|
17295
|
+
ref: rowRef,
|
|
16350
17296
|
className: InputBar_module_css_default.row,
|
|
16351
17297
|
children: [(0, react_jsx_runtime.jsxs)("div", {
|
|
16352
17298
|
className: InputBar_module_css_default.tools,
|
|
17299
|
+
hidden: activity,
|
|
16353
17300
|
children: [
|
|
16354
17301
|
(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
16355
17302
|
label: t("input.commands"),
|
|
@@ -16364,7 +17311,7 @@ window.__ModuleLoader__.load({
|
|
|
16364
17311
|
disabled: locked || toggleCommandMenu === void 0,
|
|
16365
17312
|
onMouseDown: keepFocus,
|
|
16366
17313
|
onClick: onToggleCommandMenu,
|
|
16367
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
17314
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconPlusOutlineMedium, { size: 14 })
|
|
16368
17315
|
})
|
|
16369
17316
|
}),
|
|
16370
17317
|
(0, react_jsx_runtime.jsx)("input", {
|
|
@@ -16382,10 +17329,20 @@ window.__ModuleLoader__.load({
|
|
|
16382
17329
|
input === void 0 || sessionId === void 0 ? null : renderSlot("conversation.input.left", {})
|
|
16383
17330
|
]
|
|
16384
17331
|
}), (0, react_jsx_runtime.jsxs)("div", {
|
|
16385
|
-
className: InputBar_module_css_default.trailing,
|
|
17332
|
+
className: clsx(InputBar_module_css_default.trailing, activity && InputBar_module_css_default.trailingActive),
|
|
16386
17333
|
children: [
|
|
16387
|
-
|
|
16388
|
-
|
|
17334
|
+
(0, react_jsx_runtime.jsxs)("div", {
|
|
17335
|
+
className: InputBar_module_css_default.standardControls,
|
|
17336
|
+
hidden: activity,
|
|
17337
|
+
children: [input === void 0 || sessionId === void 0 ? null : renderSlot("conversation.input.right", {}), sessionId === void 0 ? null : renderSlot("conversation.input.model", { locked: modelSeatLocked })]
|
|
17338
|
+
}),
|
|
17339
|
+
input === void 0 || sessionId === void 0 ? null : (0, react_jsx_runtime.jsx)("div", {
|
|
17340
|
+
className: activity ? InputBar_module_css_default.activityExpanded : InputBar_module_css_default.activity,
|
|
17341
|
+
children: renderSlot("conversation.input.activity", {
|
|
17342
|
+
locked,
|
|
17343
|
+
onActiveChange: setActivity
|
|
17344
|
+
})
|
|
17345
|
+
}),
|
|
16389
17346
|
interruptible && (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
16390
17347
|
label: t("input.stop"),
|
|
16391
17348
|
side: "top",
|
|
@@ -16458,7 +17415,7 @@ window.__ModuleLoader__.load({
|
|
|
16458
17415
|
}),
|
|
16459
17416
|
(0, react_jsx_runtime.jsxs)("div", {
|
|
16460
17417
|
className: InputBar_module_css_default.dock,
|
|
16461
|
-
children: [variant === "composer" && input !== void 0 && sessionId !== void 0 ? renderSlot("conversation.composer.dock", {}) : null, (0, react_jsx_runtime.jsx)(ContextMeter, {
|
|
17418
|
+
children: [variant === "composer" && input !== void 0 && sessionId !== void 0 ? renderSlot("conversation.composer.dock", {}) : null, activity ? null : (0, react_jsx_runtime.jsx)(ContextMeter, {
|
|
16462
17419
|
useProjection,
|
|
16463
17420
|
t
|
|
16464
17421
|
})]
|
|
@@ -16468,7 +17425,7 @@ window.__ModuleLoader__.load({
|
|
|
16468
17425
|
});
|
|
16469
17426
|
//#endregion
|
|
16470
17427
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-conversation/src/client/skeleton/TodoPanel.module.css.mjs
|
|
16471
|
-
const css = ".UWFBKq_root{box-sizing:border-box;width:calc(100% - var(--dsh-composer-side-clearance) - var(--dsh-composer-side-clearance) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset));max-width:calc(var(--dsh-composer-card-max-width) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset))
|
|
17428
|
+
const css = ".UWFBKq_root{box-sizing:border-box;width:calc(100% - var(--dsh-composer-side-clearance) - var(--dsh-composer-side-clearance) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset));max-width:calc(var(--dsh-composer-card-max-width) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset));--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);background:var(--dsw-specific-menu);backdrop-filter:var(--dsw-menu-backdrop-filter);box-shadow:var(--dsw-elevation-panel);--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);border:0;border-radius:12px;flex:none;margin:0 auto;overflow:hidden}.UWFBKq_body{flex-direction:column;gap:8px;padding:6px 12px;display:flex}.UWFBKq_header{text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:10px;width:100%;padding:0;display:flex}.UWFBKq_lead{color:var(--dsw-alias-label-tertiary);flex:none;place-items:center;display:grid}.UWFBKq_title{color:var(--dsw-alias-label-primary);flex:none;font-size:13px;font-weight:500;line-height:24px}.UWFBKq_progress{min-width:0;color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;flex:auto;font-size:13px;font-weight:400;line-height:20px;overflow:hidden}.UWFBKq_chevron{color:var(--dsw-alias-label-tertiary);flex:none;place-items:center;display:grid}.UWFBKq_list{flex-direction:column;gap:8px;max-height:180px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.UWFBKq_item{min-width:0;color:var(--dsw-alias-label-secondary);align-items:center;gap:10px;font-size:13px;line-height:20px;display:flex}.UWFBKq_glyph{flex:none;place-items:center;width:16px;height:16px;display:grid}.UWFBKq_content{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.UWFBKq_contentCompleted{color:var(--dsw-alias-label-tertiary);text-decoration:line-through}";
|
|
16472
17429
|
const tagId = "@deepseek-ai/dsh-client-ui-conversation/TodoPanel.module.css";
|
|
16473
17430
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
16474
17431
|
const tag = document.createElement("style");
|
|
@@ -16483,17 +17440,13 @@ window.__ModuleLoader__.load({
|
|
|
16483
17440
|
"content": "UWFBKq_content",
|
|
16484
17441
|
"contentCompleted": "UWFBKq_contentCompleted",
|
|
16485
17442
|
"glyph": "UWFBKq_glyph",
|
|
16486
|
-
"glyphCompleted": "UWFBKq_glyphCompleted",
|
|
16487
|
-
"glyphPending": "UWFBKq_glyphPending",
|
|
16488
|
-
"glyphProgress": "UWFBKq_glyphProgress",
|
|
16489
17443
|
"header": "UWFBKq_header",
|
|
16490
17444
|
"item": "UWFBKq_item",
|
|
16491
17445
|
"lead": "UWFBKq_lead",
|
|
16492
17446
|
"list": "UWFBKq_list",
|
|
16493
17447
|
"progress": "UWFBKq_progress",
|
|
16494
17448
|
"root": "UWFBKq_root",
|
|
16495
|
-
"title": "UWFBKq_title"
|
|
16496
|
-
"todo-progress-spin": "UWFBKq_todo-progress-spin"
|
|
17449
|
+
"title": "UWFBKq_title"
|
|
16497
17450
|
};
|
|
16498
17451
|
//#endregion
|
|
16499
17452
|
//#region lib/types/client/skeleton/TodoPanel.js
|
|
@@ -16502,82 +17455,22 @@ window.__ModuleLoader__.load({
|
|
|
16502
17455
|
function assertNever(value) {
|
|
16503
17456
|
throw new Error(`unreachable todo status: ${String(value)}`);
|
|
16504
17457
|
}
|
|
16505
|
-
/**
|
|
16506
|
-
function
|
|
16507
|
-
|
|
16508
|
-
|
|
16509
|
-
|
|
16510
|
-
|
|
16511
|
-
|
|
16512
|
-
|
|
16513
|
-
|
|
16514
|
-
children: [(0, react_jsx_runtime.jsx)("circle", {
|
|
16515
|
-
cx: "7",
|
|
16516
|
-
cy: "7",
|
|
16517
|
-
r: "6.4",
|
|
16518
|
-
stroke: "currentColor",
|
|
16519
|
-
strokeWidth: "1.2"
|
|
16520
|
-
}), (0, react_jsx_runtime.jsx)("path", {
|
|
16521
|
-
d: "M10.9631 5.71411L7.70154 8.97571C7.48011 9.19714 7.27736 9.40099 7.09229 9.54993C6.89742 9.70669 6.66314 9.85279 6.3634 9.90027C6.2049 9.92534 6.04339 9.92534 5.88489 9.90027C5.58515 9.85279 5.35087 9.70669 5.15601 9.54993C4.97093 9.40099 4.76818 9.19714 4.54675 8.97571L3.03516 7.46411L3.96313 6.53613L5.47473 8.04773C5.7169 8.28989 5.86196 8.43389 5.97888 8.52795C6.08597 8.61409 6.10875 8.60701 6.08997 8.604C6.11259 8.60758 6.13571 8.60758 6.15833 8.604C6.13954 8.60701 6.16232 8.61409 6.26941 8.52795C6.38633 8.43389 6.53139 8.28989 6.77356 8.04773L10.0352 4.78613L10.9631 5.71411Z",
|
|
16522
|
-
fill: "currentColor"
|
|
16523
|
-
})]
|
|
16524
|
-
});
|
|
16525
|
-
}
|
|
16526
|
-
/** In-progress: business-blue ring fading out; CSS spins the svg. */
|
|
16527
|
-
function ProgressGlyph() {
|
|
16528
|
-
const gradientId = (0, react.useId)();
|
|
16529
|
-
return (0, react_jsx_runtime.jsxs)("svg", {
|
|
16530
|
-
width: 14,
|
|
16531
|
-
height: 14,
|
|
16532
|
-
viewBox: "0 0 14 14",
|
|
16533
|
-
fill: "none",
|
|
16534
|
-
"aria-hidden": "true",
|
|
16535
|
-
className: TodoPanel_module_css_default.glyphProgress,
|
|
16536
|
-
children: [(0, react_jsx_runtime.jsx)("defs", { children: (0, react_jsx_runtime.jsxs)("linearGradient", {
|
|
16537
|
-
id: gradientId,
|
|
16538
|
-
x1: "2.5",
|
|
16539
|
-
y1: "12",
|
|
16540
|
-
x2: "10.5",
|
|
16541
|
-
y2: "3.5",
|
|
16542
|
-
gradientUnits: "userSpaceOnUse",
|
|
16543
|
-
children: [(0, react_jsx_runtime.jsx)("stop", { stopColor: "currentColor" }), (0, react_jsx_runtime.jsx)("stop", {
|
|
16544
|
-
offset: "1",
|
|
16545
|
-
stopColor: "currentColor",
|
|
16546
|
-
stopOpacity: "0"
|
|
16547
|
-
})]
|
|
16548
|
-
}) }), (0, react_jsx_runtime.jsx)("circle", {
|
|
16549
|
-
cx: "7",
|
|
16550
|
-
cy: "7",
|
|
16551
|
-
r: "6.4",
|
|
16552
|
-
stroke: `url(#${gradientId})`,
|
|
16553
|
-
strokeWidth: "1.2"
|
|
16554
|
-
})]
|
|
16555
|
-
});
|
|
16556
|
-
}
|
|
16557
|
-
/** Pending: dashed unstarted ring (figma dash 2.4 2.4). */
|
|
16558
|
-
function PendingGlyph() {
|
|
16559
|
-
return (0, react_jsx_runtime.jsx)("svg", {
|
|
16560
|
-
width: 14,
|
|
16561
|
-
height: 14,
|
|
16562
|
-
viewBox: "0 0 14 14",
|
|
16563
|
-
fill: "none",
|
|
16564
|
-
"aria-hidden": "true",
|
|
16565
|
-
className: TodoPanel_module_css_default.glyphPending,
|
|
16566
|
-
children: (0, react_jsx_runtime.jsx)("circle", {
|
|
16567
|
-
cx: "7",
|
|
16568
|
-
cy: "7",
|
|
16569
|
-
r: "6.4",
|
|
16570
|
-
stroke: "currentColor",
|
|
16571
|
-
strokeWidth: "1.2",
|
|
16572
|
-
strokeDasharray: "2.4 2.4"
|
|
16573
|
-
})
|
|
16574
|
-
});
|
|
17458
|
+
/** Map Todo lifecycle state onto the shared compact status language. */
|
|
17459
|
+
function statusDotState(status) {
|
|
17460
|
+
switch (status) {
|
|
17461
|
+
case "completed": return "done";
|
|
17462
|
+
case "in_progress": return "ongoing";
|
|
17463
|
+
case "pending": return "idle";
|
|
17464
|
+
/* v8 ignore next -- closed TodoItem status union */
|
|
17465
|
+
default: return assertNever(status);
|
|
17466
|
+
}
|
|
16575
17467
|
}
|
|
16576
|
-
|
|
17468
|
+
/** Return the localized status announced beside one decorative marker. */
|
|
17469
|
+
function statusLabel(status, t) {
|
|
16577
17470
|
switch (status) {
|
|
16578
|
-
case "completed": return (
|
|
16579
|
-
case "in_progress": return (
|
|
16580
|
-
case "pending": return (
|
|
17471
|
+
case "completed": return t("todo.status.completed");
|
|
17472
|
+
case "in_progress": return t("todo.status.inProgress");
|
|
17473
|
+
case "pending": return t("todo.status.pending");
|
|
16581
17474
|
/* v8 ignore next -- closed TodoItem status union */
|
|
16582
17475
|
default: return assertNever(status);
|
|
16583
17476
|
}
|
|
@@ -16613,7 +17506,7 @@ window.__ModuleLoader__.load({
|
|
|
16613
17506
|
(0, react_jsx_runtime.jsx)("span", {
|
|
16614
17507
|
className: TodoPanel_module_css_default.lead,
|
|
16615
17508
|
"aria-hidden": true,
|
|
16616
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
17509
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChecklistOutlineRegular, {})
|
|
16617
17510
|
}),
|
|
16618
17511
|
(0, react_jsx_runtime.jsx)("span", {
|
|
16619
17512
|
className: TodoPanel_module_css_default.title,
|
|
@@ -16626,7 +17519,7 @@ window.__ModuleLoader__.load({
|
|
|
16626
17519
|
(0, react_jsx_runtime.jsx)("span", {
|
|
16627
17520
|
className: TodoPanel_module_css_default.chevron,
|
|
16628
17521
|
"aria-hidden": true,
|
|
16629
|
-
children: collapsed ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
17522
|
+
children: collapsed ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronUpOutlineRegular, {}) : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, {})
|
|
16630
17523
|
})
|
|
16631
17524
|
]
|
|
16632
17525
|
}), !collapsed && (0, react_jsx_runtime.jsx)("ul", {
|
|
@@ -16636,10 +17529,11 @@ window.__ModuleLoader__.load({
|
|
|
16636
17529
|
"data-status": item.status,
|
|
16637
17530
|
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
16638
17531
|
className: TodoPanel_module_css_default.glyph,
|
|
16639
|
-
"
|
|
16640
|
-
|
|
17532
|
+
role: "img",
|
|
17533
|
+
"aria-label": statusLabel(item.status, t),
|
|
17534
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.StateDot, { state: statusDotState(item.status) })
|
|
16641
17535
|
}), (0, react_jsx_runtime.jsx)("span", {
|
|
16642
|
-
className:
|
|
17536
|
+
className: TodoPanel_module_css_default.content,
|
|
16643
17537
|
children: item.content
|
|
16644
17538
|
})]
|
|
16645
17539
|
}, item.content))
|
|
@@ -16677,7 +17571,7 @@ window.__ModuleLoader__.load({
|
|
|
16677
17571
|
"uiSession",
|
|
16678
17572
|
"uiWorkspace",
|
|
16679
17573
|
"locale",
|
|
16680
|
-
"
|
|
17574
|
+
"configForms"
|
|
16681
17575
|
];
|
|
16682
17576
|
/** Validated Conversation runtime configuration. */
|
|
16683
17577
|
const Config = Schema.object({ maxConcurrentFileUploads: Schema.natural().min(1).default(2) });
|
|
@@ -16703,6 +17597,10 @@ window.__ModuleLoader__.load({
|
|
|
16703
17597
|
getSnapshot: () => EMPTY_FILE_UPLOADS,
|
|
16704
17598
|
subscribe: () => () => {}
|
|
16705
17599
|
};
|
|
17600
|
+
/** The shell-installed bridge, when this document runs inside the Desktop application. */
|
|
17601
|
+
function hostPathBridge() {
|
|
17602
|
+
return globalThis.__DSH_HOST_PATHS__;
|
|
17603
|
+
}
|
|
16706
17604
|
/** Resolve the session-scoped Conversation action face, failing loud. */
|
|
16707
17605
|
function scopedConversation(sessions, id) {
|
|
16708
17606
|
const scoped = sessions.scope(id);
|
|
@@ -16733,7 +17631,10 @@ window.__ModuleLoader__.load({
|
|
|
16733
17631
|
}), "ui-conversation: dictionaries");
|
|
16734
17632
|
const t = ctx.locale.bind(NS);
|
|
16735
17633
|
const conversationStore = createConversationStore();
|
|
16736
|
-
const submissionPolicy = new ComposerSubmissionPolicy(ctx.
|
|
17634
|
+
const submissionPolicy = new ComposerSubmissionPolicy(ctx.configForms.get(CONVERSATION_SETTINGS_NAMESPACE));
|
|
17635
|
+
ctx.effect(() => () => {
|
|
17636
|
+
submissionPolicy.dispose();
|
|
17637
|
+
});
|
|
16737
17638
|
ctx.slots.inject("settings.general.item", () => ctx.slots.register({
|
|
16738
17639
|
name: "settings.general.item",
|
|
16739
17640
|
id: "composer-enter",
|
|
@@ -16751,6 +17652,7 @@ window.__ModuleLoader__.load({
|
|
|
16751
17652
|
for (const entry of slots.entries("conversation.view")) {
|
|
16752
17653
|
/* v8 ignore next -- list registration validates id at load. */
|
|
16753
17654
|
if (entry.options.id === void 0) continue;
|
|
17655
|
+
if (!ctx.configForms.developerTools.enabled.getSnapshot() && entry.options.id === "trajectory") continue;
|
|
16754
17656
|
tabs.push({
|
|
16755
17657
|
id: entry.options.id,
|
|
16756
17658
|
label: (0, _deepseek_ai_dsh_client_ui_slots.resolveSlotLabel)(entry.options.label) ?? entry.options.id
|
|
@@ -16788,7 +17690,9 @@ window.__ModuleLoader__.load({
|
|
|
16788
17690
|
ctx.effect(() => {
|
|
16789
17691
|
const disposeViews = slots.subscribe("conversation.view", refreshViews);
|
|
16790
17692
|
const disposeLocale = ctx.locale.subscribe(refreshViews);
|
|
17693
|
+
const disposeDeveloperTools = ctx.configForms.developerTools.enabled.subscribe(refreshViews);
|
|
16791
17694
|
return () => {
|
|
17695
|
+
disposeDeveloperTools();
|
|
16792
17696
|
disposeLocale();
|
|
16793
17697
|
disposeViews();
|
|
16794
17698
|
};
|
|
@@ -16800,7 +17704,7 @@ window.__ModuleLoader__.load({
|
|
|
16800
17704
|
scope.effect(() => commands.register({
|
|
16801
17705
|
name: "file",
|
|
16802
17706
|
label: () => t("input.file"),
|
|
16803
|
-
icon: _deepseek_ai_dsh_client_ui_primitives.
|
|
17707
|
+
icon: _deepseek_ai_dsh_client_ui_primitives.IconPaperclipOutlineRegular,
|
|
16804
17708
|
available: (session) => inputHub.canPickFiles(session.sessionId),
|
|
16805
17709
|
ui: {
|
|
16806
17710
|
kind: "action",
|
|
@@ -16829,9 +17733,9 @@ window.__ModuleLoader__.load({
|
|
|
16829
17733
|
});
|
|
16830
17734
|
const registerConversationRoot = () => slots.register({
|
|
16831
17735
|
name: "main.conversation",
|
|
16832
|
-
children: { "conversation.
|
|
17736
|
+
children: { "conversation.header": {
|
|
16833
17737
|
kind: "single",
|
|
16834
|
-
scope: "session"
|
|
17738
|
+
scope: "session-maybe"
|
|
16835
17739
|
} }
|
|
16836
17740
|
}, ConversationRoot);
|
|
16837
17741
|
const registerConversationContent = () => slots.registerFactory({
|
|
@@ -16900,16 +17804,51 @@ window.__ModuleLoader__.load({
|
|
|
16900
17804
|
scope: "session"
|
|
16901
17805
|
} },
|
|
16902
17806
|
store: conversationStore,
|
|
16903
|
-
inject: (sessionId, actions) =>
|
|
16904
|
-
|
|
16905
|
-
|
|
16906
|
-
openView: (view, focus) => {
|
|
17807
|
+
inject: (sessionId, actions) => {
|
|
17808
|
+
const openView = (view, focus) => {
|
|
17809
|
+
if (!viewTabs().some((tab) => tab.id === view)) return;
|
|
16907
17810
|
activateView(sessionId, view);
|
|
16908
17811
|
actions.openView(view, focus);
|
|
16909
|
-
}
|
|
16910
|
-
|
|
17812
|
+
};
|
|
17813
|
+
const inspectionTarget = () => uiConversation.views.entries().find((definition) => definition.toolCallFocus !== void 0 && conversationViews.getSnapshot().some((view) => view.id === definition.target));
|
|
17814
|
+
const inspectCall = (callId) => {
|
|
17815
|
+
const target = inspectionTarget();
|
|
17816
|
+
if (target?.toolCallFocus !== void 0) openView(target.target, target.toolCallFocus(callId));
|
|
17817
|
+
};
|
|
17818
|
+
return {
|
|
17819
|
+
hooks: {
|
|
17820
|
+
conversationViews,
|
|
17821
|
+
inspectCall: {
|
|
17822
|
+
getSnapshot: () => inspectionTarget() === void 0 ? void 0 : inspectCall,
|
|
17823
|
+
subscribe: (listener) => {
|
|
17824
|
+
const disposeViews = conversationViews.subscribe(listener);
|
|
17825
|
+
const disposeDefinitions = uiConversation.views.subscribe(listener);
|
|
17826
|
+
return () => {
|
|
17827
|
+
disposeViews();
|
|
17828
|
+
disposeDefinitions();
|
|
17829
|
+
};
|
|
17830
|
+
}
|
|
17831
|
+
}
|
|
17832
|
+
},
|
|
17833
|
+
bindDraftMirror: (write) => inputHub.shell(sessionId).bindMirror(write),
|
|
17834
|
+
openView
|
|
17835
|
+
};
|
|
17836
|
+
}
|
|
16911
17837
|
}, ConversationSession);
|
|
16912
|
-
const
|
|
17838
|
+
const registerHeader = () => slots.register({
|
|
17839
|
+
name: "conversation.header",
|
|
17840
|
+
children: {
|
|
17841
|
+
"conversation.header.leading": {
|
|
17842
|
+
kind: "single",
|
|
17843
|
+
scope: "root"
|
|
17844
|
+
},
|
|
17845
|
+
"conversation.session.header": {
|
|
17846
|
+
kind: "single",
|
|
17847
|
+
scope: "session"
|
|
17848
|
+
}
|
|
17849
|
+
}
|
|
17850
|
+
}, ConversationHeader);
|
|
17851
|
+
const registerSessionHeader = () => slots.register({
|
|
16913
17852
|
name: "conversation.session.header",
|
|
16914
17853
|
locale: NS,
|
|
16915
17854
|
children: {
|
|
@@ -16917,10 +17856,6 @@ window.__ModuleLoader__.load({
|
|
|
16917
17856
|
kind: "single",
|
|
16918
17857
|
scope: "session"
|
|
16919
17858
|
},
|
|
16920
|
-
"conversation.session.header.leading": {
|
|
16921
|
-
kind: "single",
|
|
16922
|
-
scope: "session"
|
|
16923
|
-
},
|
|
16924
17859
|
"conversation.session.header.actions": {
|
|
16925
17860
|
kind: "list",
|
|
16926
17861
|
scope: "session"
|
|
@@ -16978,6 +17913,10 @@ window.__ModuleLoader__.load({
|
|
|
16978
17913
|
kind: "single",
|
|
16979
17914
|
scope: "session"
|
|
16980
17915
|
},
|
|
17916
|
+
"conversation.input.activity": {
|
|
17917
|
+
kind: "single",
|
|
17918
|
+
scope: "session"
|
|
17919
|
+
},
|
|
16981
17920
|
"conversation.composer.dock": {
|
|
16982
17921
|
kind: "list",
|
|
16983
17922
|
scope: "session"
|
|
@@ -17003,13 +17942,45 @@ window.__ModuleLoader__.load({
|
|
|
17003
17942
|
const conversation = concreteConversation(ctx);
|
|
17004
17943
|
const shell = inputHub.shell(sessionId);
|
|
17005
17944
|
const inputTriggers = inputHub.inputTriggers(sessionId);
|
|
17945
|
+
const bridge = hostPathBridge();
|
|
17006
17946
|
return {
|
|
17007
17947
|
keyboard: shell,
|
|
17008
|
-
addFiles: (files) => {
|
|
17948
|
+
addFiles: (files, directories = /* @__PURE__ */ new Set()) => {
|
|
17009
17949
|
if (sessions.binding(sessionId) === void 0) return t("file.sessionUnavailable");
|
|
17950
|
+
if (shell.snapshot.phase === "adjudicating" || shell.snapshot.phase === "submitting") return t("attachment.dropBlocked");
|
|
17951
|
+
const uploads = [];
|
|
17952
|
+
const references = [];
|
|
17953
|
+
const cwd = sessions.list.getSnapshot().byId[sessionId]?.cwd;
|
|
17954
|
+
for (const file of files) {
|
|
17955
|
+
const directory = directories.has(file);
|
|
17956
|
+
if (bridge === void 0 && directory) return t("attachment.directoryDesktopOnly");
|
|
17957
|
+
const path = bridge?.pathFor(file) ?? "";
|
|
17958
|
+
if (directory && path === "") return t("attachment.pathUnavailable");
|
|
17959
|
+
if (path === "" || !directory && isImageMediaType(file.type)) {
|
|
17960
|
+
uploads.push(file);
|
|
17961
|
+
continue;
|
|
17962
|
+
}
|
|
17963
|
+
const relative = relativizeToCwd(path, cwd);
|
|
17964
|
+
const mention = formatFileMention({
|
|
17965
|
+
path: directory ? `${relative}/` : relative,
|
|
17966
|
+
kind: "file"
|
|
17967
|
+
}, false);
|
|
17968
|
+
if (mention === void 0) return t("attachment.pathUnsupported");
|
|
17969
|
+
const label = workspaceTitleOf(path) || file.name;
|
|
17970
|
+
references.push({
|
|
17971
|
+
source: "reference",
|
|
17972
|
+
ref: mention,
|
|
17973
|
+
label: directory ? `${label}/` : label,
|
|
17974
|
+
appearance: directory ? "folder" : "file",
|
|
17975
|
+
clipboardText: mention
|
|
17976
|
+
});
|
|
17977
|
+
}
|
|
17010
17978
|
try {
|
|
17011
|
-
const drafts = conversation.createDrafts(sessionId,
|
|
17012
|
-
if (!shell.
|
|
17979
|
+
const drafts = conversation.createDrafts(sessionId, uploads);
|
|
17980
|
+
if (!shell.addFiles(references, drafts.map((draft) => draft.id))) {
|
|
17981
|
+
conversation.releaseDraftAttachments(drafts);
|
|
17982
|
+
return t("attachment.dropBlocked");
|
|
17983
|
+
}
|
|
17013
17984
|
return null;
|
|
17014
17985
|
} catch (error) {
|
|
17015
17986
|
if (error instanceof UnsupportedImageMediaTypeError) return t("image.unsupportedType");
|
|
@@ -17062,7 +18033,8 @@ window.__ModuleLoader__.load({
|
|
|
17062
18033
|
yield registerConversationRoot();
|
|
17063
18034
|
yield registerConversationContent();
|
|
17064
18035
|
yield registerConversationSession();
|
|
17065
|
-
yield
|
|
18036
|
+
yield registerHeader();
|
|
18037
|
+
yield registerSessionHeader();
|
|
17066
18038
|
yield registerComposerBar();
|
|
17067
18039
|
});
|
|
17068
18040
|
ctx.plugin(ConversationController, {
|