@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
|
@@ -495,7 +495,7 @@ function turnEndNotice(reason) {
|
|
|
495
495
|
case "error": return `turn failed: ${reason.error.code}: ${reason.error.message}`;
|
|
496
496
|
case "max-tokens": return "turn reached the output token ceiling";
|
|
497
497
|
case "interrupted": return "turn was interrupted by an earlier process exit";
|
|
498
|
-
default: return
|
|
498
|
+
default: return `turn ended: ${reason.kind}`;
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
501
|
/**
|
|
@@ -507,6 +507,39 @@ function describeFailure(error) {
|
|
|
507
507
|
return error instanceof Error ? error.message : String(error);
|
|
508
508
|
}
|
|
509
509
|
/**
|
|
510
|
+
* The transcript row for one shell command, with the prompt outside the source.
|
|
511
|
+
* @param command - the command text, one logical line or the first of several.
|
|
512
|
+
* @returns `$ ${command}`.
|
|
513
|
+
*/
|
|
514
|
+
function shellCommandRow(command) {
|
|
515
|
+
return `\$ ${command}`;
|
|
516
|
+
}
|
|
517
|
+
/**
|
|
518
|
+
* The span that colours one shell command after {@link SHELL_COMMAND_PREFIX}.
|
|
519
|
+
* @param command - the command text the highlighter tokenises.
|
|
520
|
+
* @returns the span; an unknown or unloaded grammar leaves the row plain.
|
|
521
|
+
*/
|
|
522
|
+
function shellCommandSpan(command) {
|
|
523
|
+
return {
|
|
524
|
+
lang: "shellscript",
|
|
525
|
+
prefix: "$ ",
|
|
526
|
+
source: command
|
|
527
|
+
};
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* One `$ command` row plus any following plain rows, with the span only on
|
|
531
|
+
* the command so output, a cwd, or a description stays uncoloured.
|
|
532
|
+
* @param command - the command text.
|
|
533
|
+
* @param extra - rows drawn under the command.
|
|
534
|
+
* @returns the body the card or the user-shell block paints.
|
|
535
|
+
*/
|
|
536
|
+
function shellCommandBody(command, extra = []) {
|
|
537
|
+
return {
|
|
538
|
+
lines: [shellCommandRow(command), ...extra],
|
|
539
|
+
code: [shellCommandSpan(command), ...extra.map(() => void 0)]
|
|
540
|
+
};
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
510
543
|
* The extension of a path, lowercased, as a language hint for its content.
|
|
511
544
|
* @param path - a file path in either separator style.
|
|
512
545
|
* @returns the extension without its dot, or undefined for a dotfile or an
|
|
@@ -603,12 +636,16 @@ function toolCallText(argumentsJson, view) {
|
|
|
603
636
|
};
|
|
604
637
|
}
|
|
605
638
|
case "terminal": {
|
|
606
|
-
const
|
|
607
|
-
if (view.description !== void 0)
|
|
608
|
-
if (view.cwd !== void 0)
|
|
639
|
+
const extra = [];
|
|
640
|
+
if (view.description !== void 0) extra.push(view.description);
|
|
641
|
+
if (view.cwd !== void 0) extra.push(`cwd: ${view.cwd}`);
|
|
642
|
+
if (view.title === "") return {
|
|
643
|
+
title: view.title,
|
|
644
|
+
lines: extra
|
|
645
|
+
};
|
|
609
646
|
return {
|
|
610
647
|
title: view.title,
|
|
611
|
-
|
|
648
|
+
...shellCommandBody(view.title, extra)
|
|
612
649
|
};
|
|
613
650
|
}
|
|
614
651
|
case "diff": return {
|
|
@@ -1321,7 +1358,7 @@ const SRGB_GAMMA = 2.4;
|
|
|
1321
1358
|
* segmenter private, so this module holds one; grapheme segmentation does not
|
|
1322
1359
|
* vary by locale.
|
|
1323
1360
|
*/
|
|
1324
|
-
const GRAPHEMES = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
1361
|
+
const GRAPHEMES$1 = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
1325
1362
|
/**
|
|
1326
1363
|
* Decide how far the terminal can draw the ramp.
|
|
1327
1364
|
*
|
|
@@ -2067,7 +2104,7 @@ function* cellsFromEnd(lines) {
|
|
|
2067
2104
|
for (const [line, text] of [...lines.entries()].reverse()) {
|
|
2068
2105
|
const cells = [];
|
|
2069
2106
|
let column = 0;
|
|
2070
|
-
for (const part of GRAPHEMES.segment(stripTerminalSequences(text))) {
|
|
2107
|
+
for (const part of GRAPHEMES$1.segment(stripTerminalSequences(text))) {
|
|
2071
2108
|
const width = visibleWidth(part.segment);
|
|
2072
2109
|
cells.push({
|
|
2073
2110
|
line,
|
|
@@ -2130,7 +2167,7 @@ var CellWalk = class {
|
|
|
2130
2167
|
* the walk reached the start of the rendered text mid-chunk.
|
|
2131
2168
|
*/
|
|
2132
2169
|
function consumeSpan(cells, text) {
|
|
2133
|
-
const wanted = Array.from(GRAPHEMES.segment(text), (part) => part.segment).filter((part) => !isBlank(part)).reverse();
|
|
2170
|
+
const wanted = Array.from(GRAPHEMES$1.segment(text), (part) => part.segment).filter((part) => !isBlank(part)).reverse();
|
|
2134
2171
|
const covered = [];
|
|
2135
2172
|
let index = 0;
|
|
2136
2173
|
let matched = 0;
|
|
@@ -2587,6 +2624,48 @@ var FenceMemo = class {
|
|
|
2587
2624
|
this.asked = false;
|
|
2588
2625
|
}
|
|
2589
2626
|
};
|
|
2627
|
+
/**
|
|
2628
|
+
* A finished `!` / `!!` run: `$ command` in shellscript colour, then the
|
|
2629
|
+
* output rows. Re-paints when a grammar lands because {@link LastDrawn}
|
|
2630
|
+
* drops on `invalidate()`.
|
|
2631
|
+
*/
|
|
2632
|
+
var UserShellBlock = class {
|
|
2633
|
+
theme;
|
|
2634
|
+
command;
|
|
2635
|
+
rows;
|
|
2636
|
+
/** The wrapped rows, by width. */
|
|
2637
|
+
drawn = new LastDrawn();
|
|
2638
|
+
/**
|
|
2639
|
+
* @param theme - the highlighter that colours the command row.
|
|
2640
|
+
* @param command - the text after `!` / `!!`.
|
|
2641
|
+
* @param rows - the transcript rows of the finished run, `$ command` first.
|
|
2642
|
+
*/
|
|
2643
|
+
constructor(theme, command, rows) {
|
|
2644
|
+
this.theme = theme;
|
|
2645
|
+
this.command = command;
|
|
2646
|
+
this.rows = rows;
|
|
2647
|
+
}
|
|
2648
|
+
invalidate() {
|
|
2649
|
+
this.drawn.clear();
|
|
2650
|
+
}
|
|
2651
|
+
/**
|
|
2652
|
+
* Draw the run, colouring `$ command` when the grammar answers.
|
|
2653
|
+
* @param width - the columns the block lays out in.
|
|
2654
|
+
* @returns a blank line, the wrapped rows, and a trailing blank line.
|
|
2655
|
+
*/
|
|
2656
|
+
render(width) {
|
|
2657
|
+
return this.drawn.get(String(width), () => {
|
|
2658
|
+
const { lines, code } = shellCommandBody(this.command, this.rows.slice(1));
|
|
2659
|
+
const painted = paintCodeRows(lines, code, this.theme.codeHighlight);
|
|
2660
|
+
const inner = Math.max(1, width);
|
|
2661
|
+
return [
|
|
2662
|
+
"",
|
|
2663
|
+
...painted.flatMap((row) => wrapTextWithAnsi(row, inner)),
|
|
2664
|
+
""
|
|
2665
|
+
];
|
|
2666
|
+
});
|
|
2667
|
+
}
|
|
2668
|
+
};
|
|
2590
2669
|
/** A prompt the user submitted, drawn with a leading `›`. */
|
|
2591
2670
|
var UserBlock = class {
|
|
2592
2671
|
theme;
|
|
@@ -3612,12 +3691,105 @@ function rowsOfText(text) {
|
|
|
3612
3691
|
return text === "" ? [""] : text.split("\n");
|
|
3613
3692
|
}
|
|
3614
3693
|
//#endregion
|
|
3694
|
+
//#region lib/types/shell-line.js
|
|
3695
|
+
/**
|
|
3696
|
+
* Parse and present a user-typed `!` / `!!` shell line. The terminal runs the
|
|
3697
|
+
* command itself; `!` becomes next-step context and `!!` stays local. A live
|
|
3698
|
+
* draft keeps its exact columns so the editor can paint the bang and the
|
|
3699
|
+
* command over pi-tui's own wrapping.
|
|
3700
|
+
* @module @deepseek-ai/dsh-tui-app/shell-line
|
|
3701
|
+
*/
|
|
3702
|
+
/**
|
|
3703
|
+
* Read a submitted editor line as a user shell command.
|
|
3704
|
+
* @param text - the trimmed editor text.
|
|
3705
|
+
* @returns the command and whether it is excluded, or undefined when the line
|
|
3706
|
+
* is not a nonempty `!` / `!!` prefix.
|
|
3707
|
+
*/
|
|
3708
|
+
function parseUserShellLine(text) {
|
|
3709
|
+
const trimmed = text.trim();
|
|
3710
|
+
if (!trimmed.startsWith("!")) return void 0;
|
|
3711
|
+
const excluded = trimmed.startsWith("!!");
|
|
3712
|
+
const command = (excluded ? trimmed.slice(2) : trimmed.slice(1)).trim();
|
|
3713
|
+
return command === "" ? void 0 : {
|
|
3714
|
+
command,
|
|
3715
|
+
excluded
|
|
3716
|
+
};
|
|
3717
|
+
}
|
|
3718
|
+
/**
|
|
3719
|
+
* Read the live editor text as a shell draft.
|
|
3720
|
+
* @param text - the editor text, not trimmed.
|
|
3721
|
+
* @returns the indent, bang, and command, or undefined when the text does not
|
|
3722
|
+
* start with `!` / `!!` after leading whitespace.
|
|
3723
|
+
*/
|
|
3724
|
+
function parseUserShellDraft(text) {
|
|
3725
|
+
const indent = text.slice(0, text.length - text.trimStart().length);
|
|
3726
|
+
const rest = text.slice(indent.length);
|
|
3727
|
+
if (!rest.startsWith("!")) return void 0;
|
|
3728
|
+
const bang = rest.startsWith("!!") ? "!!" : "!";
|
|
3729
|
+
return {
|
|
3730
|
+
indent,
|
|
3731
|
+
bang,
|
|
3732
|
+
command: rest.slice(bang.length)
|
|
3733
|
+
};
|
|
3734
|
+
}
|
|
3735
|
+
/**
|
|
3736
|
+
* Shape one finished run as the text the next model request reads.
|
|
3737
|
+
* @param command - the command the user typed after `!`.
|
|
3738
|
+
* @param result - the completed foreground run.
|
|
3739
|
+
* @returns the model-facing notice body.
|
|
3740
|
+
*/
|
|
3741
|
+
function userShellContextText(command, result) {
|
|
3742
|
+
const output = combinedOutput(result);
|
|
3743
|
+
let text = `The user ran \`${command}\` in the terminal.\n`;
|
|
3744
|
+
text += output === "" ? "(no output)" : `\`\`\`\n${output}\n\`\`\``;
|
|
3745
|
+
if (result.aborted) text += "\n\n(command cancelled)";
|
|
3746
|
+
else if (result.timedOut) text += `\n\n[timed out after ${String(result.timeoutMs)}ms]`;
|
|
3747
|
+
else if (result.signal !== null) text += `\n\n[killed by signal: ${result.signal}]`;
|
|
3748
|
+
else if (result.exitCode !== null && result.exitCode !== 0) text += `\n\nCommand exited with code ${String(result.exitCode)}`;
|
|
3749
|
+
return text;
|
|
3750
|
+
}
|
|
3751
|
+
/**
|
|
3752
|
+
* Shape one finished run as the rows the transcript draws immediately.
|
|
3753
|
+
* @param command - the command the user typed after `!`.
|
|
3754
|
+
* @param result - the completed foreground run.
|
|
3755
|
+
* @returns `$ command`, any output, and a cancel or nonzero-exit marker.
|
|
3756
|
+
*/
|
|
3757
|
+
function userShellTranscriptRows(command, result) {
|
|
3758
|
+
const output = combinedOutput(result);
|
|
3759
|
+
const rows = [shellCommandRow(command)];
|
|
3760
|
+
if (output !== "") rows.push(output);
|
|
3761
|
+
if (result.aborted) rows.push("(command cancelled)");
|
|
3762
|
+
else if (result.exitCode !== null && result.exitCode !== 0) rows.push(`(exit ${String(result.exitCode)})`);
|
|
3763
|
+
return rows;
|
|
3764
|
+
}
|
|
3765
|
+
/**
|
|
3766
|
+
* Join stdout and a marked stderr section, dropping a single trailing newline
|
|
3767
|
+
* so a fenced body does not carry a blank last line.
|
|
3768
|
+
* @param result - the completed foreground run.
|
|
3769
|
+
* @returns the combined body, or the empty string when both streams are empty.
|
|
3770
|
+
*/
|
|
3771
|
+
function combinedOutput(result) {
|
|
3772
|
+
const out = streamText(result.stdout);
|
|
3773
|
+
const err = streamText(result.stderr);
|
|
3774
|
+
if (err === "") return out;
|
|
3775
|
+
return out === "" ? `[stderr]\n${err}` : `${out}\n[stderr]\n${err}`;
|
|
3776
|
+
}
|
|
3777
|
+
/**
|
|
3778
|
+
* Take one collected stream, appending its truncation marker when present.
|
|
3779
|
+
* @param output - one captured stream.
|
|
3780
|
+
* @returns the text without a single trailing newline.
|
|
3781
|
+
*/
|
|
3782
|
+
function streamText(output) {
|
|
3783
|
+
return (output.truncated ? `${output.text}\n[output truncated; full output: ${output.spillPath ?? "(unavailable)"}]` : output.text).replace(/\n$/u, "");
|
|
3784
|
+
}
|
|
3785
|
+
//#endregion
|
|
3615
3786
|
//#region lib/types/editor.js
|
|
3616
3787
|
/**
|
|
3617
|
-
* The prompt editor's caret
|
|
3618
|
-
* itself in reverse video; this module
|
|
3619
|
-
* names the DECSCUSR sequences for a
|
|
3620
|
-
* pi-tui's word movement
|
|
3788
|
+
* The prompt editor's caret, word navigation, and live `!` / `!!` syntax
|
|
3789
|
+
* colour. pi-tui draws the caret cell itself in reverse video; this module
|
|
3790
|
+
* takes that block off the rendered lines, names the DECSCUSR sequences for a
|
|
3791
|
+
* blinking bar, maps Shift+Left/Right to pi-tui's word movement, and paints a
|
|
3792
|
+
* shell draft over those lines without writing ANSI into the editor state.
|
|
3621
3793
|
* @module @deepseek-ai/dsh-tui-app/editor
|
|
3622
3794
|
*/
|
|
3623
3795
|
/**
|
|
@@ -3639,6 +3811,10 @@ const WORD_RIGHT = "\x1B[1;5C";
|
|
|
3639
3811
|
const REVERSE_VIDEO_ON = "\x1B[7m";
|
|
3640
3812
|
/** SGR reset, which pi-tui closes its drawn block cursor with. */
|
|
3641
3813
|
const REVERSE_VIDEO_OFF = "\x1B[0m";
|
|
3814
|
+
/** Ends colour, bold, and italic a sliced token may have left open. */
|
|
3815
|
+
const RESET_PAINT = "\x1B[39m\x1B[22m\x1B[23m";
|
|
3816
|
+
/** Graphemes the overlay wraps at, matching the editor's default segmenter. */
|
|
3817
|
+
const GRAPHEMES = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
3642
3818
|
/**
|
|
3643
3819
|
* Take pi-tui's drawn block cursor off one rendered editor line.
|
|
3644
3820
|
*
|
|
@@ -3663,6 +3839,281 @@ function stripBlockCursor(line) {
|
|
|
3663
3839
|
return line.slice(0, block) + line.slice(cell, close) + line.slice(close + 4);
|
|
3664
3840
|
}
|
|
3665
3841
|
/**
|
|
3842
|
+
* Paint a `!` / `!!` draft over pi-tui's already-rendered editor lines.
|
|
3843
|
+
*
|
|
3844
|
+
* The bang uses the warning role; the command uses the shellscript grammar.
|
|
3845
|
+
* Borders, padding, the caret marker, and an autocomplete list stay as
|
|
3846
|
+
* rendered. A chunk whose painted width differs from its plain width, or
|
|
3847
|
+
* that cannot be matched after a scroll, is left plain.
|
|
3848
|
+
* @param lines - the lines after {@link stripBlockCursor}.
|
|
3849
|
+
* @param text - `Editor.getText()`, the unwrapped draft.
|
|
3850
|
+
* @param width - the width those lines were laid out in.
|
|
3851
|
+
* @param paint - the highlighter, the bang style, and the editor padding.
|
|
3852
|
+
* @returns the same number of lines, with colour on a shell draft.
|
|
3853
|
+
*/
|
|
3854
|
+
function paintShellEditorLines(lines, text, width, paint) {
|
|
3855
|
+
const draft = parseUserShellDraft(text);
|
|
3856
|
+
if (draft === void 0) return [...lines];
|
|
3857
|
+
const visual = visualChunks(text, paintDraftLines(draft, paint), editorLayoutWidth(width, paint.paddingX));
|
|
3858
|
+
const pad = editorPad(width, paint.paddingX);
|
|
3859
|
+
const out = [...lines];
|
|
3860
|
+
const bottom = out.findIndex((line, index) => index > 0 && isEditorRule(line));
|
|
3861
|
+
const end = bottom === -1 ? out.length : bottom;
|
|
3862
|
+
let next = 0;
|
|
3863
|
+
for (const [index, line] of out.entries()) {
|
|
3864
|
+
if (index === 0 || index >= end) continue;
|
|
3865
|
+
const painted = overlayEditorLine(line, pad, visual, next);
|
|
3866
|
+
if (painted === void 0) continue;
|
|
3867
|
+
out[index] = painted.line;
|
|
3868
|
+
next = painted.next;
|
|
3869
|
+
}
|
|
3870
|
+
return out;
|
|
3871
|
+
}
|
|
3872
|
+
/**
|
|
3873
|
+
* Colour the logical lines of a shell draft: indent plain, bang in warning,
|
|
3874
|
+
* command in shellscript when the grammar answers.
|
|
3875
|
+
* @param draft - the parsed editor text.
|
|
3876
|
+
* @param paint - the highlighter and the bang style.
|
|
3877
|
+
* @returns one styled line per source line.
|
|
3878
|
+
*/
|
|
3879
|
+
function paintDraftLines(draft, paint) {
|
|
3880
|
+
const commandLines = draft.command.split("\n");
|
|
3881
|
+
const coloured = paint.highlight.lines(draft.command, "shellscript");
|
|
3882
|
+
const paintedCommand = coloured !== void 0 && sameVisibleWidths(coloured, commandLines) ? coloured : commandLines;
|
|
3883
|
+
const indentLines = draft.indent.split("\n");
|
|
3884
|
+
return [
|
|
3885
|
+
...indentLines.slice(0, -1),
|
|
3886
|
+
`${indentLines[indentLines.length - 1]}${paint.warning(draft.bang)}${paintedCommand[0]}`,
|
|
3887
|
+
...paintedCommand.slice(1)
|
|
3888
|
+
];
|
|
3889
|
+
}
|
|
3890
|
+
/**
|
|
3891
|
+
* Whether two row lists have the same length and the same visible width on
|
|
3892
|
+
* each row, so a highlighter result can replace the source without shifting
|
|
3893
|
+
* columns.
|
|
3894
|
+
* @param coloured - the highlighter's rows.
|
|
3895
|
+
* @param plain - the source rows.
|
|
3896
|
+
* @returns true when every row can stand in for its source.
|
|
3897
|
+
*/
|
|
3898
|
+
function sameVisibleWidths(coloured, plain) {
|
|
3899
|
+
return coloured.length === plain.length && coloured.every((line, index) => visibleWidth(line) === visibleWidth(plain[index]));
|
|
3900
|
+
}
|
|
3901
|
+
/**
|
|
3902
|
+
* Wrap each logical line the way the editor does, and slice the painted
|
|
3903
|
+
* twin by the same source indices.
|
|
3904
|
+
* @param text - the unwrapped editor text.
|
|
3905
|
+
* @param paintedLogical - one styled line per source line.
|
|
3906
|
+
* @param layoutWidth - the width the editor wrapped at.
|
|
3907
|
+
* @returns the visible chunks, in order, including those currently scrolled away.
|
|
3908
|
+
*/
|
|
3909
|
+
function visualChunks(text, paintedLogical, layoutWidth) {
|
|
3910
|
+
const logical = text.split("\n");
|
|
3911
|
+
const visual = [];
|
|
3912
|
+
for (const [index, plainLine] of logical.entries()) {
|
|
3913
|
+
const paintedLine = paintedLogical[index];
|
|
3914
|
+
for (const chunk of wrapEditorLine(plainLine, layoutWidth)) {
|
|
3915
|
+
const painted = `${slicePaintedBySource(paintedLine, chunk.startIndex, chunk.endIndex)}${RESET_PAINT}`;
|
|
3916
|
+
visual.push({
|
|
3917
|
+
plain: chunk.text,
|
|
3918
|
+
painted: visibleWidth(painted) === visibleWidth(chunk.text) ? painted : chunk.text
|
|
3919
|
+
});
|
|
3920
|
+
}
|
|
3921
|
+
}
|
|
3922
|
+
return visual;
|
|
3923
|
+
}
|
|
3924
|
+
/**
|
|
3925
|
+
* Overlay the next matching visual chunk onto one rendered content line.
|
|
3926
|
+
* @param line - one rendered line, padding included.
|
|
3927
|
+
* @param pad - the left padding string.
|
|
3928
|
+
* @param visual - the wrapped chunks in source order.
|
|
3929
|
+
* @param next - the first chunk that may still appear.
|
|
3930
|
+
* @returns the painted line and the next search index, or undefined when no
|
|
3931
|
+
* remaining chunk matches.
|
|
3932
|
+
*/
|
|
3933
|
+
function overlayEditorLine(line, pad, visual, next) {
|
|
3934
|
+
if (pad.length > 0 && !line.startsWith(pad)) return void 0;
|
|
3935
|
+
const rest = line.slice(pad.length);
|
|
3936
|
+
const markerAt = rest.indexOf(CURSOR_MARKER);
|
|
3937
|
+
const withoutMarker = markerAt === -1 ? rest : rest.slice(0, markerAt) + rest.slice(markerAt + CURSOR_MARKER.length);
|
|
3938
|
+
for (const [offset, chunk] of visual.slice(next).entries()) {
|
|
3939
|
+
if (!innerMatches(withoutMarker, chunk.plain)) continue;
|
|
3940
|
+
return {
|
|
3941
|
+
line: `${pad}${markerAt === -1 ? chunk.painted : insertCursorMarker(chunk.painted, markerAt)}${withoutMarker.slice(chunk.plain.length)}`,
|
|
3942
|
+
next: next + offset + 1
|
|
3943
|
+
};
|
|
3944
|
+
}
|
|
3945
|
+
}
|
|
3946
|
+
/**
|
|
3947
|
+
* Split one logical line into the visual chunks the editor wraps at
|
|
3948
|
+
* `maxWidth`. Word boundaries win; a run longer than the width breaks on a
|
|
3949
|
+
* grapheme. Paste markers are not treated as atomic, so a chunk that cannot
|
|
3950
|
+
* be matched after a wrap is left plain.
|
|
3951
|
+
* @param line - one source line, without its newline.
|
|
3952
|
+
* @param maxWidth - the width {@link editorLayoutWidth} computed.
|
|
3953
|
+
* @returns the chunks in source order, with their source indices.
|
|
3954
|
+
*/
|
|
3955
|
+
function wrapEditorLine(line, maxWidth) {
|
|
3956
|
+
if (line === "") return [{
|
|
3957
|
+
text: "",
|
|
3958
|
+
startIndex: 0,
|
|
3959
|
+
endIndex: 0
|
|
3960
|
+
}];
|
|
3961
|
+
if (visibleWidth(line) <= maxWidth) return [{
|
|
3962
|
+
text: line,
|
|
3963
|
+
startIndex: 0,
|
|
3964
|
+
endIndex: line.length
|
|
3965
|
+
}];
|
|
3966
|
+
const chunks = [];
|
|
3967
|
+
const segments = [...GRAPHEMES.segment(line)];
|
|
3968
|
+
let currentWidth = 0;
|
|
3969
|
+
let chunkStart = 0;
|
|
3970
|
+
let wrapOppIndex = -1;
|
|
3971
|
+
let wrapOppWidth = 0;
|
|
3972
|
+
for (const [index, seg] of segments.entries()) {
|
|
3973
|
+
const grapheme = seg.segment;
|
|
3974
|
+
const gWidth = visibleWidth(grapheme);
|
|
3975
|
+
const charIndex = seg.index;
|
|
3976
|
+
const isWs = /\s/u.test(grapheme);
|
|
3977
|
+
if (currentWidth + gWidth > maxWidth) {
|
|
3978
|
+
if (wrapOppIndex >= 0) {
|
|
3979
|
+
chunks.push({
|
|
3980
|
+
text: line.slice(chunkStart, wrapOppIndex),
|
|
3981
|
+
startIndex: chunkStart,
|
|
3982
|
+
endIndex: wrapOppIndex
|
|
3983
|
+
});
|
|
3984
|
+
chunkStart = wrapOppIndex;
|
|
3985
|
+
currentWidth -= wrapOppWidth;
|
|
3986
|
+
} else if (chunkStart < charIndex) {
|
|
3987
|
+
chunks.push({
|
|
3988
|
+
text: line.slice(chunkStart, charIndex),
|
|
3989
|
+
startIndex: chunkStart,
|
|
3990
|
+
endIndex: charIndex
|
|
3991
|
+
});
|
|
3992
|
+
chunkStart = charIndex;
|
|
3993
|
+
currentWidth = 0;
|
|
3994
|
+
}
|
|
3995
|
+
wrapOppIndex = -1;
|
|
3996
|
+
}
|
|
3997
|
+
currentWidth += gWidth;
|
|
3998
|
+
const next = segments[index + 1];
|
|
3999
|
+
if (isWs && next !== void 0) {
|
|
4000
|
+
if (!/\s/u.test(next.segment)) {
|
|
4001
|
+
wrapOppIndex = next.index;
|
|
4002
|
+
wrapOppWidth = currentWidth;
|
|
4003
|
+
}
|
|
4004
|
+
}
|
|
4005
|
+
}
|
|
4006
|
+
chunks.push({
|
|
4007
|
+
text: line.slice(chunkStart),
|
|
4008
|
+
startIndex: chunkStart,
|
|
4009
|
+
endIndex: line.length
|
|
4010
|
+
});
|
|
4011
|
+
return chunks;
|
|
4012
|
+
}
|
|
4013
|
+
/**
|
|
4014
|
+
* Whether a rendered inner line is one wrapped chunk plus trailing pad.
|
|
4015
|
+
* @param inner - the line after left padding, with the caret marker removed.
|
|
4016
|
+
* @param plain - one wrapped chunk of the source.
|
|
4017
|
+
* @returns true when `inner` is that chunk followed only by spaces.
|
|
4018
|
+
*/
|
|
4019
|
+
function innerMatches(inner, plain) {
|
|
4020
|
+
if (plain === "") return inner.trim() === "";
|
|
4021
|
+
return inner.startsWith(plain) && inner.slice(plain.length).trim() === "";
|
|
4022
|
+
}
|
|
4023
|
+
/**
|
|
4024
|
+
* Insert {@link CURSOR_MARKER} before the given source character of a painted
|
|
4025
|
+
* chunk, walking past SGR so the marker stays on the same character.
|
|
4026
|
+
* @param painted - the styled chunk.
|
|
4027
|
+
* @param sourceOffset - the source index the marker occupies in the plain chunk.
|
|
4028
|
+
* @returns the chunk with the marker inserted.
|
|
4029
|
+
*/
|
|
4030
|
+
function insertCursorMarker(painted, sourceOffset) {
|
|
4031
|
+
let source = 0;
|
|
4032
|
+
let index = 0;
|
|
4033
|
+
while (index < painted.length) {
|
|
4034
|
+
if (painted.charCodeAt(index) === 27) {
|
|
4035
|
+
const close = painted.indexOf("m", index + 1);
|
|
4036
|
+
/* v8 ignore next -- highlighter tokens close every CSI with m */
|
|
4037
|
+
if (close === -1) break;
|
|
4038
|
+
index = close + 1;
|
|
4039
|
+
continue;
|
|
4040
|
+
}
|
|
4041
|
+
if (source === sourceOffset) return `${painted.slice(0, index)}${CURSOR_MARKER}${painted.slice(index)}`;
|
|
4042
|
+
source += 1;
|
|
4043
|
+
index += 1;
|
|
4044
|
+
}
|
|
4045
|
+
return `${painted}${CURSOR_MARKER}`;
|
|
4046
|
+
}
|
|
4047
|
+
/**
|
|
4048
|
+
* Take the painted characters whose source indices fall in `[start, end)`.
|
|
4049
|
+
* SGR that opened before `start` is kept so a wrap mid-token keeps its colour.
|
|
4050
|
+
* @param painted - one styled logical line.
|
|
4051
|
+
* @param start - the first source index to keep.
|
|
4052
|
+
* @param end - the source index after the last kept character.
|
|
4053
|
+
* @returns the sliced styled text.
|
|
4054
|
+
*/
|
|
4055
|
+
function slicePaintedBySource(painted, start, end) {
|
|
4056
|
+
let source = 0;
|
|
4057
|
+
let index = 0;
|
|
4058
|
+
let prefix = "";
|
|
4059
|
+
let out = "";
|
|
4060
|
+
while (index < painted.length && source < end) {
|
|
4061
|
+
if (painted.charCodeAt(index) === 27) {
|
|
4062
|
+
const close = painted.indexOf("m", index + 1);
|
|
4063
|
+
/* v8 ignore next -- highlighter tokens close every CSI with m */
|
|
4064
|
+
if (close === -1) break;
|
|
4065
|
+
const seq = painted.slice(index, close + 1);
|
|
4066
|
+
if (source >= start) out += seq;
|
|
4067
|
+
else prefix += seq;
|
|
4068
|
+
index = close + 1;
|
|
4069
|
+
continue;
|
|
4070
|
+
}
|
|
4071
|
+
if (source >= start) out += painted[index];
|
|
4072
|
+
source += 1;
|
|
4073
|
+
index += 1;
|
|
4074
|
+
}
|
|
4075
|
+
return `${prefix}${out}`;
|
|
4076
|
+
}
|
|
4077
|
+
/**
|
|
4078
|
+
* Whether a rendered line is an editor rule: the top or bottom `─` border,
|
|
4079
|
+
* including a scroll indicator, never a padded content row.
|
|
4080
|
+
* @param line - one rendered line.
|
|
4081
|
+
* @returns true when the visible text starts with `─`.
|
|
4082
|
+
*/
|
|
4083
|
+
function isEditorRule(line) {
|
|
4084
|
+
return stripTerminalSequences(line).startsWith("─");
|
|
4085
|
+
}
|
|
4086
|
+
/**
|
|
4087
|
+
* The width the editor wraps content at, matching pi-tui's padding rule.
|
|
4088
|
+
* @param width - the total editor width.
|
|
4089
|
+
* @param paddingX - the configured horizontal padding.
|
|
4090
|
+
* @returns the wrap width.
|
|
4091
|
+
*/
|
|
4092
|
+
function editorLayoutWidth(width, paddingX) {
|
|
4093
|
+
const pad = editorPadColumns(width, paddingX);
|
|
4094
|
+
const contentWidth = Math.max(1, width - pad * 2);
|
|
4095
|
+
return Math.max(1, contentWidth - (pad > 0 ? 0 : 1));
|
|
4096
|
+
}
|
|
4097
|
+
/**
|
|
4098
|
+
* The left (and right) padding string the editor prepends to content.
|
|
4099
|
+
* @param width - the total editor width.
|
|
4100
|
+
* @param paddingX - the configured horizontal padding.
|
|
4101
|
+
* @returns that many spaces, clamped as pi-tui clamps.
|
|
4102
|
+
*/
|
|
4103
|
+
function editorPad(width, paddingX) {
|
|
4104
|
+
return " ".repeat(editorPadColumns(width, paddingX));
|
|
4105
|
+
}
|
|
4106
|
+
/**
|
|
4107
|
+
* How many padding columns the editor takes at this width.
|
|
4108
|
+
* @param width - the total editor width.
|
|
4109
|
+
* @param paddingX - the configured horizontal padding.
|
|
4110
|
+
* @returns the clamped column count.
|
|
4111
|
+
*/
|
|
4112
|
+
function editorPadColumns(width, paddingX) {
|
|
4113
|
+
const maxPadding = Math.max(0, Math.floor((width - 1) / 2));
|
|
4114
|
+
return Math.min(Math.max(0, Math.floor(paddingX)), maxPadding);
|
|
4115
|
+
}
|
|
4116
|
+
/**
|
|
3666
4117
|
* The prompt editor drawn without pi-tui's block cursor.
|
|
3667
4118
|
*
|
|
3668
4119
|
* pi-tui's `Editor` always draws the caret cell in reverse video and
|
|
@@ -3674,7 +4125,8 @@ function stripBlockCursor(line) {
|
|
|
3674
4125
|
* Shift+Left and Shift+Right the editor's existing word-backward and
|
|
3675
4126
|
* word-forward actions. Text, autocomplete, padding, borders, scrolling,
|
|
3676
4127
|
* submission, and history otherwise remain pi-tui's, and the component writes
|
|
3677
|
-
* to no terminal itself.
|
|
4128
|
+
* to no terminal itself. {@link BarCursorEditor.shellPaint} paints a `!` /
|
|
4129
|
+
* `!!` draft over the content lines after the block is gone.
|
|
3678
4130
|
*
|
|
3679
4131
|
* pi-tui emits the marker only while the editor is focused, yet it draws the
|
|
3680
4132
|
* block either way, so an unfocused editor would keep a caret while another
|
|
@@ -3684,6 +4136,12 @@ function stripBlockCursor(line) {
|
|
|
3684
4136
|
* terminal cursor stays with the region that owns the keyboard.
|
|
3685
4137
|
*/
|
|
3686
4138
|
var BarCursorEditor = class extends Editor {
|
|
4139
|
+
/**
|
|
4140
|
+
* When set, a `!` / `!!` draft is painted over the lines `render` returns.
|
|
4141
|
+
* Absent, or a draft that is not a shell line, leaves the text as pi-tui
|
|
4142
|
+
* drew it.
|
|
4143
|
+
*/
|
|
4144
|
+
shellPaint;
|
|
3687
4145
|
/**
|
|
3688
4146
|
* Handle Shift+Left and Shift+Right as pi-tui's word movements.
|
|
3689
4147
|
* @param data - the bytes the terminal sent.
|
|
@@ -3713,85 +4171,17 @@ var BarCursorEditor = class extends Editor {
|
|
|
3713
4171
|
} finally {
|
|
3714
4172
|
this.focused = focused;
|
|
3715
4173
|
}
|
|
3716
|
-
|
|
3717
|
-
const
|
|
3718
|
-
return focused ?
|
|
4174
|
+
const stripped = lines.map((line) => {
|
|
4175
|
+
const next = stripBlockCursor(line);
|
|
4176
|
+
return focused ? next : next.replaceAll(CURSOR_MARKER, "");
|
|
4177
|
+
});
|
|
4178
|
+
const paint = this.shellPaint;
|
|
4179
|
+
return paint === void 0 ? stripped : paintShellEditorLines(stripped, this.getText(), width, {
|
|
4180
|
+
...paint,
|
|
4181
|
+
paddingX: this.getPaddingX()
|
|
3719
4182
|
});
|
|
3720
4183
|
}
|
|
3721
4184
|
};
|
|
3722
|
-
//#endregion
|
|
3723
|
-
//#region lib/types/shell-line.js
|
|
3724
|
-
/**
|
|
3725
|
-
* Parse and present a user-typed `!` / `!!` shell line. The terminal runs the
|
|
3726
|
-
* command itself; `!` becomes next-step context and `!!` stays local.
|
|
3727
|
-
* @module @deepseek-ai/dsh-tui-app/shell-line
|
|
3728
|
-
*/
|
|
3729
|
-
/**
|
|
3730
|
-
* Read a submitted editor line as a user shell command.
|
|
3731
|
-
* @param text - the trimmed editor text.
|
|
3732
|
-
* @returns the command and whether it is excluded, or undefined when the line
|
|
3733
|
-
* is not a nonempty `!` / `!!` prefix.
|
|
3734
|
-
*/
|
|
3735
|
-
function parseUserShellLine(text) {
|
|
3736
|
-
const trimmed = text.trim();
|
|
3737
|
-
if (!trimmed.startsWith("!")) return void 0;
|
|
3738
|
-
const excluded = trimmed.startsWith("!!");
|
|
3739
|
-
const command = (excluded ? trimmed.slice(2) : trimmed.slice(1)).trim();
|
|
3740
|
-
return command === "" ? void 0 : {
|
|
3741
|
-
command,
|
|
3742
|
-
excluded
|
|
3743
|
-
};
|
|
3744
|
-
}
|
|
3745
|
-
/**
|
|
3746
|
-
* Shape one finished run as the text the next model request reads.
|
|
3747
|
-
* @param command - the command the user typed after `!`.
|
|
3748
|
-
* @param result - the completed foreground run.
|
|
3749
|
-
* @returns the model-facing notice body.
|
|
3750
|
-
*/
|
|
3751
|
-
function userShellContextText(command, result) {
|
|
3752
|
-
const output = combinedOutput(result);
|
|
3753
|
-
let text = `The user ran \`${command}\` in the terminal.\n`;
|
|
3754
|
-
text += output === "" ? "(no output)" : `\`\`\`\n${output}\n\`\`\``;
|
|
3755
|
-
if (result.aborted) text += "\n\n(command cancelled)";
|
|
3756
|
-
else if (result.timedOut) text += `\n\n[timed out after ${String(result.timeoutMs)}ms]`;
|
|
3757
|
-
else if (result.signal !== null) text += `\n\n[killed by signal: ${result.signal}]`;
|
|
3758
|
-
else if (result.exitCode !== null && result.exitCode !== 0) text += `\n\nCommand exited with code ${String(result.exitCode)}`;
|
|
3759
|
-
return text;
|
|
3760
|
-
}
|
|
3761
|
-
/**
|
|
3762
|
-
* Shape one finished run as the rows the transcript draws immediately.
|
|
3763
|
-
* @param command - the command the user typed after `!`.
|
|
3764
|
-
* @param result - the completed foreground run.
|
|
3765
|
-
* @returns `$ command`, any output, and a cancel or nonzero-exit marker.
|
|
3766
|
-
*/
|
|
3767
|
-
function userShellTranscriptRows(command, result) {
|
|
3768
|
-
const output = combinedOutput(result);
|
|
3769
|
-
const rows = [`$ ${command}`];
|
|
3770
|
-
if (output !== "") rows.push(output);
|
|
3771
|
-
if (result.aborted) rows.push("(command cancelled)");
|
|
3772
|
-
else if (result.exitCode !== null && result.exitCode !== 0) rows.push(`(exit ${String(result.exitCode)})`);
|
|
3773
|
-
return rows;
|
|
3774
|
-
}
|
|
3775
|
-
/**
|
|
3776
|
-
* Join stdout and a marked stderr section, dropping a single trailing newline
|
|
3777
|
-
* so a fenced body does not carry a blank last line.
|
|
3778
|
-
* @param result - the completed foreground run.
|
|
3779
|
-
* @returns the combined body, or the empty string when both streams are empty.
|
|
3780
|
-
*/
|
|
3781
|
-
function combinedOutput(result) {
|
|
3782
|
-
const out = streamText(result.stdout);
|
|
3783
|
-
const err = streamText(result.stderr);
|
|
3784
|
-
if (err === "") return out;
|
|
3785
|
-
return out === "" ? `[stderr]\n${err}` : `${out}\n[stderr]\n${err}`;
|
|
3786
|
-
}
|
|
3787
|
-
/**
|
|
3788
|
-
* Take one collected stream, appending its truncation marker when present.
|
|
3789
|
-
* @param output - one captured stream.
|
|
3790
|
-
* @returns the text without a single trailing newline.
|
|
3791
|
-
*/
|
|
3792
|
-
function streamText(output) {
|
|
3793
|
-
return (output.truncated ? `${output.text}\n[output truncated; full output: ${output.spillPath ?? "(unavailable)"}]` : output.text).replace(/\n$/u, "");
|
|
3794
|
-
}
|
|
3795
4185
|
/** What the provider-default row is called. */
|
|
3796
4186
|
const PROVIDER_DEFAULT_LABEL = "Provider default";
|
|
3797
4187
|
/** The `/effort` argument that restores the provider default. */
|
|
@@ -4541,7 +4931,7 @@ const READ_CHIP = "READ";
|
|
|
4541
4931
|
/** Columns a body row spends on the frame's left border and the space after it. */
|
|
4542
4932
|
const BODY_MARGIN = 2;
|
|
4543
4933
|
/** What separates two labels of the parts strip. */
|
|
4544
|
-
const SEPARATOR$
|
|
4934
|
+
const SEPARATOR$4 = " · ";
|
|
4545
4935
|
/** What the heading appends while the focused block lies outside the repaint window. */
|
|
4546
4936
|
const OFF_SCREEN = " · off screen";
|
|
4547
4937
|
/** Opens the numbered parts strip, so Left/Right read as a walk along this row. */
|
|
@@ -4616,7 +5006,7 @@ function partsStrip(parts, palette, width) {
|
|
|
4616
5006
|
const text = `${String(index + 1)} ${part.label}`;
|
|
4617
5007
|
return part.focused ? palette.accent(`[${text}]`) : palette.dim(text);
|
|
4618
5008
|
});
|
|
4619
|
-
const sep = palette.dim(SEPARATOR$
|
|
5009
|
+
const sep = palette.dim(SEPARATOR$4);
|
|
4620
5010
|
const indent = palette.dim(" ");
|
|
4621
5011
|
const end = palette.dim(STRIP_END);
|
|
4622
5012
|
const indentWidth = visibleWidth(" ");
|
|
@@ -4635,7 +5025,7 @@ function partsStrip(parts, palette, width) {
|
|
|
4635
5025
|
if (token === void 0) continue;
|
|
4636
5026
|
const extra = index === tokens.length - 1 ? endWidth : 0;
|
|
4637
5027
|
let leading = index === 0 || current === indent ? "" : sep;
|
|
4638
|
-
let leadingWidth = leading === "" ? 0 : visibleWidth(SEPARATOR$
|
|
5028
|
+
let leadingWidth = leading === "" ? 0 : visibleWidth(SEPARATOR$4);
|
|
4639
5029
|
const tokenWidth = visibleWidth(token);
|
|
4640
5030
|
if (used + leadingWidth + tokenWidth + extra > width && used > indentWidth) {
|
|
4641
5031
|
startLine();
|
|
@@ -4717,7 +5107,7 @@ var InspectorPane = class {
|
|
|
4717
5107
|
* @module @deepseek-ai/dsh-tui-app/navigation
|
|
4718
5108
|
*/
|
|
4719
5109
|
/** What separates two facts inside one heading. */
|
|
4720
|
-
const SEPARATOR$
|
|
5110
|
+
const SEPARATOR$3 = " · ";
|
|
4721
5111
|
/**
|
|
4722
5112
|
* Whether one transcript child is navigable.
|
|
4723
5113
|
* @param child - a child of the transcript container.
|
|
@@ -5070,7 +5460,7 @@ function subjectOf(block, part) {
|
|
|
5070
5460
|
* @returns the label, e.g. `bash git status · result`.
|
|
5071
5461
|
*/
|
|
5072
5462
|
function sectionLabel(block, part) {
|
|
5073
|
-
return subjectOf(block, part).join(SEPARATOR$
|
|
5463
|
+
return subjectOf(block, part).join(SEPARATOR$3);
|
|
5074
5464
|
}
|
|
5075
5465
|
/**
|
|
5076
5466
|
* The inspector heading of the held section: its position in the transcript,
|
|
@@ -5087,7 +5477,7 @@ function sectionHeading(cursor, blocks) {
|
|
|
5087
5477
|
`${String(cursor.block + 1)}/${String(blocks.length)}`,
|
|
5088
5478
|
`turn ${String(block.turn)}`,
|
|
5089
5479
|
sectionLabel(block, part)
|
|
5090
|
-
].join(SEPARATOR$
|
|
5480
|
+
].join(SEPARATOR$3);
|
|
5091
5481
|
}
|
|
5092
5482
|
/**
|
|
5093
5483
|
* The parts strip of the held block.
|
|
@@ -5526,7 +5916,7 @@ function plural(count, noun) {
|
|
|
5526
5916
|
/** The segment focus enters the bar on; `buildFooterSegments` always emits it first. */
|
|
5527
5917
|
const FIRST_FOOTER_SEGMENT = "model";
|
|
5528
5918
|
/** What separates two segments, and two parts inside a hint line. */
|
|
5529
|
-
const SEPARATOR$
|
|
5919
|
+
const SEPARATOR$2 = " · ";
|
|
5530
5920
|
/**
|
|
5531
5921
|
* Longest workspace label the bar draws in full. A wider path keeps its last
|
|
5532
5922
|
* two segments behind `…/` so one long project path cannot crowd out the
|
|
@@ -5677,7 +6067,7 @@ function buildFooterSegments(inputs) {
|
|
|
5677
6067
|
`turn ${String(turn.number)}`,
|
|
5678
6068
|
`started: ${formatTimestamp(turn.startedAt)}`,
|
|
5679
6069
|
`elapsed: ${turn.elapsed}`,
|
|
5680
|
-
`queued: ${String(turn.queuedNextTurn)} for the next turn${SEPARATOR$
|
|
6070
|
+
`queued: ${String(turn.queuedNextTurn)} for the next turn${SEPARATOR$2}${String(turn.queuedNextStep)} for the next step`
|
|
5681
6071
|
])
|
|
5682
6072
|
});
|
|
5683
6073
|
if (inputs.usage !== "") segments.push({
|
|
@@ -5713,7 +6103,7 @@ function buildFooterSegments(inputs) {
|
|
|
5713
6103
|
if (inputs.attachments.length > 0) segments.push({
|
|
5714
6104
|
id: "attachments",
|
|
5715
6105
|
label: `${String(inputs.attachments.length)} attached`,
|
|
5716
|
-
detail: printed([...inputs.attachments.map((attachment) => `${attachment.kind}: ${attachment.name}`), `/attach <path> adds one${SEPARATOR$
|
|
6106
|
+
detail: printed([...inputs.attachments.map((attachment) => `${attachment.kind}: ${attachment.name}`), `/attach <path> adds one${SEPARATOR$2}/attach clear drops them all`])
|
|
5717
6107
|
});
|
|
5718
6108
|
return segments;
|
|
5719
6109
|
}
|
|
@@ -5803,7 +6193,7 @@ function middleFacts(facts, hidden, room) {
|
|
|
5803
6193
|
const drawn = [];
|
|
5804
6194
|
let used = 0;
|
|
5805
6195
|
for (const label of facts) {
|
|
5806
|
-
const cost = visibleWidth(SEPARATOR$
|
|
6196
|
+
const cost = visibleWidth(SEPARATOR$2) + visibleWidth(label);
|
|
5807
6197
|
if (used + cost > room) break;
|
|
5808
6198
|
used += cost;
|
|
5809
6199
|
drawn.push(label);
|
|
@@ -5811,9 +6201,9 @@ function middleFacts(facts, hidden, room) {
|
|
|
5811
6201
|
let folded = hidden + facts.length - drawn.length;
|
|
5812
6202
|
if (folded === 0) return drawn;
|
|
5813
6203
|
const token = () => `+${String(folded)}`;
|
|
5814
|
-
const fits = () => used + visibleWidth(SEPARATOR$
|
|
6204
|
+
const fits = () => used + visibleWidth(SEPARATOR$2) + visibleWidth(token()) <= room;
|
|
5815
6205
|
while (!fits() && drawn.length > 0) {
|
|
5816
|
-
used -= visibleWidth(SEPARATOR$
|
|
6206
|
+
used -= visibleWidth(SEPARATOR$2) + visibleWidth(drawn.pop());
|
|
5817
6207
|
folded += 1;
|
|
5818
6208
|
}
|
|
5819
6209
|
if (fits()) drawn.push(token());
|
|
@@ -5835,7 +6225,7 @@ function unfocusedLine(segments, palette, width) {
|
|
|
5835
6225
|
const reserved = hint === "" ? 0 : visibleWidth(hint) + HINT_GAP;
|
|
5836
6226
|
const facts = rest.filter((segment) => KEY_SEGMENT_IDS.has(segment.id)).map((segment) => segment.label);
|
|
5837
6227
|
const drawn = middleFacts(facts, rest.length - facts.length, width - visibleWidth(model) - reserved);
|
|
5838
|
-
const left = palette.dim([model, ...drawn].filter((token) => token !== "").join(SEPARATOR$
|
|
6228
|
+
const left = palette.dim([model, ...drawn].filter((token) => token !== "").join(SEPARATOR$2));
|
|
5839
6229
|
if (hint === "") return fitLine(left, width);
|
|
5840
6230
|
return fitLine(`${left}${" ".repeat(Math.max(1, width - visibleWidth(left) - visibleWidth(hint)))}${palette.dim(hint)}`, width);
|
|
5841
6231
|
}
|
|
@@ -5862,7 +6252,7 @@ function expansionBody(segment) {
|
|
|
5862
6252
|
function expansionLine(segment, palette, width) {
|
|
5863
6253
|
const body = expansionBody(segment);
|
|
5864
6254
|
const legend = fitLegend(HINTS.bar, width);
|
|
5865
|
-
const suffix = palette.dim(body === "" ? legend : `${SEPARATOR$
|
|
6255
|
+
const suffix = palette.dim(body === "" ? legend : `${SEPARATOR$2}${legend}`);
|
|
5866
6256
|
const prefix = palette.dim(body);
|
|
5867
6257
|
const rest = width - visibleWidth(suffix);
|
|
5868
6258
|
if (rest < 1) return fitLine(`${prefix}${suffix}`, width);
|
|
@@ -5911,8 +6301,8 @@ function fitSelected(text, room) {
|
|
|
5911
6301
|
*/
|
|
5912
6302
|
function focusedWindow(rest, held, palette, room, level) {
|
|
5913
6303
|
if (rest.length === 0) return "";
|
|
5914
|
-
const sep = palette.dim(SEPARATOR$
|
|
5915
|
-
const sepWidth = visibleWidth(SEPARATOR$
|
|
6304
|
+
const sep = palette.dim(SEPARATOR$2);
|
|
6305
|
+
const sepWidth = visibleWidth(SEPARATOR$2);
|
|
5916
6306
|
const selected = Math.max(0, held);
|
|
5917
6307
|
const budget = room - sepWidth;
|
|
5918
6308
|
const cap = budget - (selected < rest.length - 1 ? WINDOW_MARK_WIDTH : 0);
|
|
@@ -6521,6 +6911,97 @@ var ModalQueue = class {
|
|
|
6521
6911
|
this.active?.withdraw();
|
|
6522
6912
|
}
|
|
6523
6913
|
};
|
|
6914
|
+
/** What separates two facts on the descendant line. */
|
|
6915
|
+
const SEPARATOR$1 = " · ";
|
|
6916
|
+
/**
|
|
6917
|
+
* Build one board draw: todos in write order cut to
|
|
6918
|
+
* {@link ACTIVITY_BOARD_MAX_TODOS}, plus the formatted descendant line.
|
|
6919
|
+
* @param inputs - the current list and the optional descendant fact.
|
|
6920
|
+
* @returns the drawn rows, the count they left out, and the descendant line.
|
|
6921
|
+
*/
|
|
6922
|
+
function activityBoardView(inputs) {
|
|
6923
|
+
const todos = inputs.todos.slice(0, 4).map(rowOf$1);
|
|
6924
|
+
return {
|
|
6925
|
+
todos,
|
|
6926
|
+
hidden: inputs.todos.length - todos.length,
|
|
6927
|
+
...inputs.subagent === void 0 ? {} : { subagent: formatActivitySubagentLine(inputs.subagent) }
|
|
6928
|
+
};
|
|
6929
|
+
}
|
|
6930
|
+
/**
|
|
6931
|
+
* One todo as a board row.
|
|
6932
|
+
* @param item - the current list item.
|
|
6933
|
+
* @returns the row.
|
|
6934
|
+
*/
|
|
6935
|
+
function rowOf$1(item) {
|
|
6936
|
+
return {
|
|
6937
|
+
content: item.content,
|
|
6938
|
+
status: item.status,
|
|
6939
|
+
text: `${TODO_GLYPH[item.status]} ${item.content}`
|
|
6940
|
+
};
|
|
6941
|
+
}
|
|
6942
|
+
/**
|
|
6943
|
+
* Join the descendant line's parts, dropping an empty summary.
|
|
6944
|
+
* @param line - the label, status word, and optional summary.
|
|
6945
|
+
* @returns `{label} · {status}` or `{label} · {status} · {summary}`.
|
|
6946
|
+
*/
|
|
6947
|
+
function formatActivitySubagentLine(line) {
|
|
6948
|
+
const parts = [line.label, line.status];
|
|
6949
|
+
if (line.summary !== void 0 && line.summary !== "") parts.push(line.summary);
|
|
6950
|
+
return parts.join(SEPARATOR$1);
|
|
6951
|
+
}
|
|
6952
|
+
/**
|
|
6953
|
+
* The status and summary one tool result draws on the descendant line.
|
|
6954
|
+
* @param firstRow - the first presented result row, when the result had one.
|
|
6955
|
+
* @param isError - whether the result is an error.
|
|
6956
|
+
* @returns `error` plus the row, the row alone, or `done` when the result had no row.
|
|
6957
|
+
*/
|
|
6958
|
+
function activityResultParts(firstRow, isError) {
|
|
6959
|
+
if (isError) return firstRow === void 0 || firstRow === "" ? { status: "error" } : {
|
|
6960
|
+
status: "error",
|
|
6961
|
+
summary: firstRow
|
|
6962
|
+
};
|
|
6963
|
+
return { status: firstRow === void 0 || firstRow === "" ? "done" : firstRow };
|
|
6964
|
+
}
|
|
6965
|
+
/**
|
|
6966
|
+
* The status word a child `turn/end` draws: the existing notice, or `done`.
|
|
6967
|
+
* @param reason - the durable turn-end reason.
|
|
6968
|
+
* @returns the notice text, or `done` for an ordinary completion.
|
|
6969
|
+
*/
|
|
6970
|
+
function activityTurnEndStatus(reason) {
|
|
6971
|
+
return turnEndNotice(reason) ?? "done";
|
|
6972
|
+
}
|
|
6973
|
+
/**
|
|
6974
|
+
* Render the board. Todo rows lead with the shared status glyphs; completed
|
|
6975
|
+
* content is dim and scratched out. A list past the cap ends on `+<n> more`.
|
|
6976
|
+
* The descendant line is last. An empty view returns the empty string so the
|
|
6977
|
+
* slot can unmount.
|
|
6978
|
+
* @param view - the rows one draw produced.
|
|
6979
|
+
* @param render - the palette and the fades still moving.
|
|
6980
|
+
* @returns the board text, or the empty string when nothing is drawn.
|
|
6981
|
+
*/
|
|
6982
|
+
function renderActivityBoard(view, render) {
|
|
6983
|
+
const { palette } = render;
|
|
6984
|
+
const lines = [];
|
|
6985
|
+
for (const row of view.todos) {
|
|
6986
|
+
const content = paintTodoContent(row.content, row.status, (text) => palette.dim(palette.strikethrough(text)));
|
|
6987
|
+
lines.push(fadedLine(`${TODO_GLYPH[row.status]} ${content}`, render.todoFades?.get(row.content)));
|
|
6988
|
+
}
|
|
6989
|
+
if (view.hidden > 0) lines.push(palette.dim(`+${String(view.hidden)} more`));
|
|
6990
|
+
if (view.subagent !== void 0) lines.push(fadedLine(palette.dim(view.subagent), render.subagentFade));
|
|
6991
|
+
return lines.join("\n");
|
|
6992
|
+
}
|
|
6993
|
+
/**
|
|
6994
|
+
* Draw one row at the mix its fade reports.
|
|
6995
|
+
* @param text - the settled row.
|
|
6996
|
+
* @param fade - the row's fade; absent for a row that never faded.
|
|
6997
|
+
* @returns the row at that mix, or `text` once the fade settled or was never attached.
|
|
6998
|
+
*/
|
|
6999
|
+
function fadedLine(text, fade) {
|
|
7000
|
+
if (fade === void 0) return text;
|
|
7001
|
+
const age = fade.age();
|
|
7002
|
+
if (age === void 0) return text;
|
|
7003
|
+
return recolorLines([text], age, fade.style(), 0).join("\n");
|
|
7004
|
+
}
|
|
6524
7005
|
//#endregion
|
|
6525
7006
|
//#region lib/types/queue-panel.js
|
|
6526
7007
|
/**
|
|
@@ -7547,23 +8028,23 @@ function paneIntent(data) {
|
|
|
7547
8028
|
//#endregion
|
|
7548
8029
|
//#region lib/types/highlight.js
|
|
7549
8030
|
/**
|
|
7550
|
-
* Syntax colour for fenced code
|
|
7551
|
-
* ask for, the theme its colours come
|
|
7552
|
-
* with.
|
|
8031
|
+
* Syntax colour for fenced code, file rows, and shell commands: the grammars
|
|
8032
|
+
* a fence or a `shellscript` draft may ask for, the theme its colours come
|
|
8033
|
+
* from, and the SGR one token is drawn with.
|
|
7553
8034
|
*
|
|
7554
8035
|
* Nothing loads at start. A grammar is a few hundred kilobytes of TextMate
|
|
7555
8036
|
* patterns and the first tokenisation of one compiles them, so a session that
|
|
7556
|
-
* never renders a fenced block pays neither. The first
|
|
7557
|
-
* draws plain, its grammar is imported and warmed off the
|
|
7558
|
-
* the application is told to draw the frame again - the same
|
|
7559
|
-
* have, correct it when it lands" the rest of this surface uses.
|
|
8037
|
+
* never renders a fenced block or a shell command pays neither. The first
|
|
8038
|
+
* block of a language draws plain, its grammar is imported and warmed off the
|
|
8039
|
+
* render path, and the application is told to draw the frame again - the same
|
|
8040
|
+
* "render what you have, correct it when it lands" the rest of this surface uses.
|
|
7560
8041
|
*
|
|
7561
8042
|
* Colours come from a shiki theme rather than the palette: a theme
|
|
7562
8043
|
* distinguishes a keyword from a type from a number, which the palette's
|
|
7563
|
-
* structural roles cannot, and the transcript
|
|
7564
|
-
* theme is chosen from the terminal's own background, so
|
|
7565
|
-
* not given dark-theme colours, and a terminal that answers
|
|
7566
|
-
* depth nor a background gets no colour at all.
|
|
8044
|
+
* structural roles cannot, and the transcript and the shell draft are where
|
|
8045
|
+
* that code is read. The theme is chosen from the terminal's own background, so
|
|
8046
|
+
* a light terminal is not given dark-theme colours, and a terminal that answers
|
|
8047
|
+
* neither a colour depth nor a background gets no colour at all.
|
|
7567
8048
|
* @module @deepseek-ai/dsh-tui-app/highlight
|
|
7568
8049
|
*/
|
|
7569
8050
|
/**
|
|
@@ -7741,8 +8222,9 @@ function parseHexColor(color) {
|
|
|
7741
8222
|
};
|
|
7742
8223
|
}
|
|
7743
8224
|
/**
|
|
7744
|
-
* The
|
|
7745
|
-
* fence resolves a grammar and grown as further
|
|
8225
|
+
* The terminal's syntax highlighter: one shiki core, built when the first
|
|
8226
|
+
* fence, file row, or shell command resolves a grammar and grown as further
|
|
8227
|
+
* languages are asked for.
|
|
7746
8228
|
*/
|
|
7747
8229
|
var SyntaxHighlighter = class {
|
|
7748
8230
|
options;
|
|
@@ -7767,12 +8249,13 @@ var SyntaxHighlighter = class {
|
|
|
7767
8249
|
this.options = options;
|
|
7768
8250
|
}
|
|
7769
8251
|
/**
|
|
7770
|
-
* Colour one fenced block.
|
|
8252
|
+
* Colour one fenced block, file row group, or shell command.
|
|
7771
8253
|
* @param code - the block's source, newline separated.
|
|
7772
|
-
* @param lang - the fence's info string,
|
|
8254
|
+
* @param lang - the fence's info string, a file extension, `shellscript`, or
|
|
8255
|
+
* undefined for a bare fence.
|
|
7773
8256
|
* @returns one styled line per source line, or undefined while the language
|
|
7774
8257
|
* has no grammar here, its grammar is still loading, or the terminal takes
|
|
7775
|
-
* no colour - all of which the
|
|
8258
|
+
* no colour - all of which the caller draws plain.
|
|
7776
8259
|
*/
|
|
7777
8260
|
lines(code, lang) {
|
|
7778
8261
|
if (this.options.depth === "none") return void 0;
|
|
@@ -8376,14 +8859,15 @@ var ToastPane = class {
|
|
|
8376
8859
|
* The interactive terminal application: it renders the durable session log
|
|
8377
8860
|
* and the live assistant stream of one Agent at a time into a pi-tui tree,
|
|
8378
8861
|
* turns keystrokes into agent input, answers the approval and user-questions
|
|
8379
|
-
* seams for that Agent, and switches between sessions through its host.
|
|
8380
|
-
* the editor it
|
|
8381
|
-
*
|
|
8382
|
-
*
|
|
8383
|
-
*
|
|
8384
|
-
*
|
|
8385
|
-
*
|
|
8386
|
-
*
|
|
8862
|
+
* seams for that Agent, and switches between sessions through its host. Above
|
|
8863
|
+
* the editor it draws an activity board of the open turn's todos and the
|
|
8864
|
+
* latest descendant line. Under the editor it keeps two docked regions the
|
|
8865
|
+
* keyboard can take over — the subagent panel and the status bar — and one
|
|
8866
|
+
* repeating tick advances their elapsed counters and re-reads a stale
|
|
8867
|
+
* subagent listing. A second tick, at its own period, brightens streamed
|
|
8868
|
+
* reply text and floats out reasoning, tool cards, and activity-board rows
|
|
8869
|
+
* that just landed, each only as far up the frame as the renderer repaints
|
|
8870
|
+
* without discarding the terminal's scrollback (`./screen.ts`).
|
|
8387
8871
|
* @module @deepseek-ai/dsh-tui-app/app
|
|
8388
8872
|
*/
|
|
8389
8873
|
/** A second Ctrl+C inside this window quits. */
|
|
@@ -8633,6 +9117,22 @@ function isSubscriptionMethod(method) {
|
|
|
8633
9117
|
const SHELL_MISSING = "! needs a shell executor in this composition";
|
|
8634
9118
|
/** Shown when a second `!` is submitted while one is still running. */
|
|
8635
9119
|
const SHELL_BUSY = "A shell command is already running. Press Esc to cancel it first.";
|
|
9120
|
+
/**
|
|
9121
|
+
* Spinner word for a streamed or executing tool.
|
|
9122
|
+
* @param name - the tool name when one is known.
|
|
9123
|
+
* @returns `calling <name>`, or `calling` when the name has not arrived.
|
|
9124
|
+
*/
|
|
9125
|
+
function callingActivity(name) {
|
|
9126
|
+
return name ? `calling ${name}` : "calling";
|
|
9127
|
+
}
|
|
9128
|
+
/**
|
|
9129
|
+
* Whether the spinner is already naming a tool call.
|
|
9130
|
+
* @param activity - the current spinner word.
|
|
9131
|
+
* @returns true for `calling` and `calling <name>`.
|
|
9132
|
+
*/
|
|
9133
|
+
function isCallingActivity(activity) {
|
|
9134
|
+
return activity === "calling" || activity.startsWith("calling ");
|
|
9135
|
+
}
|
|
8636
9136
|
/** The interactive terminal application; one instance per process. */
|
|
8637
9137
|
var TuiApp = class {
|
|
8638
9138
|
deps;
|
|
@@ -8647,8 +9147,16 @@ var TuiApp = class {
|
|
|
8647
9147
|
editor;
|
|
8648
9148
|
/** Holds {@link queue} exactly while the bound Agent's inbox has a prompt waiting. */
|
|
8649
9149
|
queueSlot = new Container();
|
|
9150
|
+
/**
|
|
9151
|
+
* Holds {@link activity} exactly while the open turn has todo rows or a
|
|
9152
|
+
* latest-descendant line, so the editor sits directly under the conversation
|
|
9153
|
+
* the rest of the time.
|
|
9154
|
+
*/
|
|
9155
|
+
activitySlot = new Container();
|
|
8650
9156
|
/** The prompts queued for the next turn or step, drawn above the editor until the loop claims them. */
|
|
8651
9157
|
queue;
|
|
9158
|
+
/** Current-turn todos and the latest descendant line, drawn above the editor. */
|
|
9159
|
+
activity;
|
|
8652
9160
|
/** Rows of the last queued-prompt draw, in claim order. */
|
|
8653
9161
|
queueView = [];
|
|
8654
9162
|
/** Pending prompt held while the queue panel owns the keyboard. */
|
|
@@ -8679,6 +9187,18 @@ var TuiApp = class {
|
|
|
8679
9187
|
disposers = [];
|
|
8680
9188
|
/** Turn facts of the bound session's todo lines, keyed by content. */
|
|
8681
9189
|
todoTurns = /* @__PURE__ */ new Map();
|
|
9190
|
+
/** Todos the activity board draws for the open turn, from the `todos` projection. */
|
|
9191
|
+
activityTodos = [];
|
|
9192
|
+
/** Status last drawn for each activity-board todo, keyed by content. */
|
|
9193
|
+
activityTodoStatus = /* @__PURE__ */ new Map();
|
|
9194
|
+
/** Fades of todo rows that are still moving, keyed by content. */
|
|
9195
|
+
activityTodoFades = /* @__PURE__ */ new Map();
|
|
9196
|
+
/** Latest descendant line the activity board draws; absent before one lands. */
|
|
9197
|
+
activitySubagent;
|
|
9198
|
+
/** Fade of the descendant line while it is still moving. */
|
|
9199
|
+
activitySubagentFade;
|
|
9200
|
+
/** The last descendant `tool/call` the board saw, for presenting its result. */
|
|
9201
|
+
activityChildCall;
|
|
8682
9202
|
/** The turn the last logged `turn/start` opened; 0 before the first one. */
|
|
8683
9203
|
turn = 0;
|
|
8684
9204
|
/** Whether a nonempty system prompt has already been drawn in this transcript. */
|
|
@@ -8780,8 +9300,10 @@ var TuiApp = class {
|
|
|
8780
9300
|
streamedChars = 0;
|
|
8781
9301
|
/** Whether {@link TuiApp.liveUsage} came from a provider `usage` chunk. */
|
|
8782
9302
|
usageExact = false;
|
|
8783
|
-
/** Spinner label without the live ↑↓ suffix (`thinking`, `calling read`, …). */
|
|
9303
|
+
/** Spinner label without the live ↑↓ suffix (`thinking`, `writing`, `calling read`, …). */
|
|
8784
9304
|
loaderActivity = "thinking";
|
|
9305
|
+
/** Tool names still streamed or executing, in first-seen order. */
|
|
9306
|
+
pendingToolNames = /* @__PURE__ */ new Map();
|
|
8785
9307
|
lastCtrlC = 0;
|
|
8786
9308
|
stopped = false;
|
|
8787
9309
|
constructor(deps) {
|
|
@@ -8817,6 +9339,11 @@ var TuiApp = class {
|
|
|
8817
9339
|
this.loader = new Loader(this.tui, palette.accent, palette.dim, "thinking");
|
|
8818
9340
|
this.loader.stop();
|
|
8819
9341
|
this.editor = new BarCursorEditor(this.tui, editorTheme(palette), { paddingX: 1 });
|
|
9342
|
+
this.editor.shellPaint = {
|
|
9343
|
+
highlight: this.codeHighlight,
|
|
9344
|
+
warning: palette.warning,
|
|
9345
|
+
paddingX: 1
|
|
9346
|
+
};
|
|
8820
9347
|
this.editor.setAutocompleteProvider(editorCompletion({
|
|
8821
9348
|
commands: () => this.completableCommands(),
|
|
8822
9349
|
references: (query, quoted, signal) => this.references(query, quoted, signal)
|
|
@@ -8828,6 +9355,7 @@ var TuiApp = class {
|
|
|
8828
9355
|
this.syncEditorBorder();
|
|
8829
9356
|
};
|
|
8830
9357
|
this.queue = new Text("", 0, 0);
|
|
9358
|
+
this.activity = new Text("", 0, 0);
|
|
8831
9359
|
this.panel = new Text("", 0, 0);
|
|
8832
9360
|
this.footer = new FooterBar(() => ({
|
|
8833
9361
|
segments: this.segments,
|
|
@@ -8851,6 +9379,7 @@ var TuiApp = class {
|
|
|
8851
9379
|
this.modalSlot,
|
|
8852
9380
|
this.inspector,
|
|
8853
9381
|
this.queueSlot,
|
|
9382
|
+
this.activitySlot,
|
|
8854
9383
|
this.editor,
|
|
8855
9384
|
this.panelSlot,
|
|
8856
9385
|
this.footer
|
|
@@ -8878,10 +9407,18 @@ var TuiApp = class {
|
|
|
8878
9407
|
return;
|
|
8879
9408
|
}
|
|
8880
9409
|
this.setWorking(status === "running");
|
|
8881
|
-
}), ctx.on("subagent/start", () => {
|
|
9410
|
+
}), ctx.on("subagent/start", (info) => {
|
|
8882
9411
|
this.markSubagentsStale();
|
|
8883
|
-
|
|
9412
|
+
if (this.isBoundDescendantId(info.id)) this.setActivitySubagent({
|
|
9413
|
+
label: this.activityLabelFor(info.id),
|
|
9414
|
+
status: "running"
|
|
9415
|
+
});
|
|
9416
|
+
}), ctx.on("subagent/end", (info) => {
|
|
8884
9417
|
this.markSubagentsStale();
|
|
9418
|
+
if (this.isBoundDescendantId(info.id)) this.setActivitySubagent({
|
|
9419
|
+
label: this.activityLabelFor(info.id),
|
|
9420
|
+
status: info.stopReason
|
|
9421
|
+
});
|
|
8885
9422
|
}), ctx.on("agent/inbox/inserted", ({ agent: subject }) => {
|
|
8886
9423
|
if (subject === this.agent) this.refreshQueue();
|
|
8887
9424
|
}), ctx.on("agent/inbox/claimed", ({ agent: subject }) => {
|
|
@@ -8981,6 +9518,7 @@ var TuiApp = class {
|
|
|
8981
9518
|
this.toolArguments.clear();
|
|
8982
9519
|
this.toolStreamArgs.clear();
|
|
8983
9520
|
this.unconfirmedTools.clear();
|
|
9521
|
+
this.pendingToolNames.clear();
|
|
8984
9522
|
this.submittedIds.clear();
|
|
8985
9523
|
this.todoTurns.clear();
|
|
8986
9524
|
this.turn = 0;
|
|
@@ -8994,6 +9532,7 @@ var TuiApp = class {
|
|
|
8994
9532
|
this.pending = [];
|
|
8995
9533
|
this.queueView = [];
|
|
8996
9534
|
this.queueSelection = void 0;
|
|
9535
|
+
this.clearActivityBoard();
|
|
8997
9536
|
this.subagentEntries = [];
|
|
8998
9537
|
this.panelSelection = void 0;
|
|
8999
9538
|
this.listingFailure = void 0;
|
|
@@ -9099,6 +9638,7 @@ var TuiApp = class {
|
|
|
9099
9638
|
} else if (this.statusSlot.children.length > 0) {
|
|
9100
9639
|
this.loader.stop();
|
|
9101
9640
|
this.statusSlot.removeChild(this.loader);
|
|
9641
|
+
this.pendingToolNames.clear();
|
|
9102
9642
|
this.loaderActivity = "thinking";
|
|
9103
9643
|
this.clearLiveUsage();
|
|
9104
9644
|
this.loader.setMessage("thinking");
|
|
@@ -9165,6 +9705,153 @@ var TuiApp = class {
|
|
|
9165
9705
|
this.tui.requestRender();
|
|
9166
9706
|
}
|
|
9167
9707
|
/**
|
|
9708
|
+
* Redraw the activity board above the editor from the open turn's todos and
|
|
9709
|
+
* the latest descendant line. The slot is mounted exactly while a row
|
|
9710
|
+
* draws, so the editor sits directly under follow-ups or the conversation
|
|
9711
|
+
* the rest of the time.
|
|
9712
|
+
*/
|
|
9713
|
+
refreshActivityBoard() {
|
|
9714
|
+
const text = renderActivityBoard(activityBoardView({
|
|
9715
|
+
todos: this.activityTodos,
|
|
9716
|
+
...this.activitySubagent === void 0 ? {} : { subagent: this.activitySubagent }
|
|
9717
|
+
}), {
|
|
9718
|
+
palette: this.deps.palette,
|
|
9719
|
+
todoFades: this.activityTodoFades,
|
|
9720
|
+
...this.activitySubagentFade === void 0 ? {} : { subagentFade: this.activitySubagentFade }
|
|
9721
|
+
});
|
|
9722
|
+
const mounted = this.activitySlot.children.length > 0;
|
|
9723
|
+
if (text === "") {
|
|
9724
|
+
if (mounted) this.activitySlot.removeChild(this.activity);
|
|
9725
|
+
} else {
|
|
9726
|
+
if (!mounted) this.activitySlot.addChild(this.activity);
|
|
9727
|
+
this.activity.setText(text);
|
|
9728
|
+
}
|
|
9729
|
+
this.tui.requestRender();
|
|
9730
|
+
}
|
|
9731
|
+
/**
|
|
9732
|
+
* Replace the board's todos from the same `todos` projection `/todos` reads
|
|
9733
|
+
* and fade rows that are new or that changed status.
|
|
9734
|
+
*/
|
|
9735
|
+
syncActivityTodos() {
|
|
9736
|
+
const items = this.statusFacts().todos?.items ?? [];
|
|
9737
|
+
const fades = /* @__PURE__ */ new Map();
|
|
9738
|
+
const statuses = /* @__PURE__ */ new Map();
|
|
9739
|
+
for (const item of items) {
|
|
9740
|
+
const previous = this.activityTodoStatus.get(item.content);
|
|
9741
|
+
if (previous === void 0 || previous !== item.status) this.fadeBlock((fade) => {
|
|
9742
|
+
fades.set(item.content, fade);
|
|
9743
|
+
});
|
|
9744
|
+
else {
|
|
9745
|
+
const existing = this.activityTodoFades.get(item.content);
|
|
9746
|
+
if (existing !== void 0) fades.set(item.content, existing);
|
|
9747
|
+
}
|
|
9748
|
+
statuses.set(item.content, item.status);
|
|
9749
|
+
}
|
|
9750
|
+
this.activityTodos = items;
|
|
9751
|
+
this.activityTodoFades = fades;
|
|
9752
|
+
this.activityTodoStatus = statuses;
|
|
9753
|
+
this.refreshActivityBoard();
|
|
9754
|
+
}
|
|
9755
|
+
/**
|
|
9756
|
+
* Replace the one descendant line, fading it when the text changed.
|
|
9757
|
+
* @param line - the label, status word, and optional summary.
|
|
9758
|
+
*/
|
|
9759
|
+
setActivitySubagent(line) {
|
|
9760
|
+
const next = formatActivitySubagentLine(line);
|
|
9761
|
+
const previous = this.activitySubagent === void 0 ? void 0 : formatActivitySubagentLine(this.activitySubagent);
|
|
9762
|
+
this.activitySubagent = line;
|
|
9763
|
+
if (next !== previous) {
|
|
9764
|
+
this.activitySubagentFade = void 0;
|
|
9765
|
+
this.fadeBlock((fade) => {
|
|
9766
|
+
this.activitySubagentFade = fade;
|
|
9767
|
+
});
|
|
9768
|
+
}
|
|
9769
|
+
this.refreshActivityBoard();
|
|
9770
|
+
}
|
|
9771
|
+
/** Drop the open-turn board so bind and turn edges leave no stale rows. */
|
|
9772
|
+
clearActivityBoard() {
|
|
9773
|
+
this.activityTodos = [];
|
|
9774
|
+
this.activityTodoStatus = /* @__PURE__ */ new Map();
|
|
9775
|
+
this.activityTodoFades = /* @__PURE__ */ new Map();
|
|
9776
|
+
this.activitySubagent = void 0;
|
|
9777
|
+
this.activitySubagentFade = void 0;
|
|
9778
|
+
this.activityChildCall = void 0;
|
|
9779
|
+
this.refreshActivityBoard();
|
|
9780
|
+
}
|
|
9781
|
+
/**
|
|
9782
|
+
* Whether `id` belongs under the bound session: a listing entry, or a
|
|
9783
|
+
* live child whose header parent is the bound session.
|
|
9784
|
+
* @param id - the session id a lifecycle event named.
|
|
9785
|
+
* @returns true when the activity board may show that child's status word.
|
|
9786
|
+
*/
|
|
9787
|
+
isBoundDescendantId(id) {
|
|
9788
|
+
if (this.subagentEntries.some((entry) => entry.id === id)) return true;
|
|
9789
|
+
const child = this.deps.ctx.get("agents")?.get(id);
|
|
9790
|
+
return child !== void 0 && child.session.header.parentSession === this.agent.session.id;
|
|
9791
|
+
}
|
|
9792
|
+
/**
|
|
9793
|
+
* Whether `session` is a descendant of the bound session: a listing entry,
|
|
9794
|
+
* or a header whose parent is the bound session.
|
|
9795
|
+
* @param session - the session that just logged an event.
|
|
9796
|
+
* @returns true when the activity board may show that session's latest line.
|
|
9797
|
+
*/
|
|
9798
|
+
isBoundDescendant(session) {
|
|
9799
|
+
return this.isBoundDescendantId(session.id) || session.header.parentSession === this.agent.session.id;
|
|
9800
|
+
}
|
|
9801
|
+
/**
|
|
9802
|
+
* The listing label for a descendant, or its session id when the listing
|
|
9803
|
+
* has not named it.
|
|
9804
|
+
* @param id - the descendant session id.
|
|
9805
|
+
* @returns the board's label for that child.
|
|
9806
|
+
*/
|
|
9807
|
+
activityLabelFor(id) {
|
|
9808
|
+
const entry = this.subagentEntries.find((candidate) => candidate.id === id);
|
|
9809
|
+
return entry?.kind === "child" && entry.label !== void 0 ? entry.label : id;
|
|
9810
|
+
}
|
|
9811
|
+
/**
|
|
9812
|
+
* Replace the descendant line from a child session event. Assistant prose
|
|
9813
|
+
* is ignored; only tool calls, tool results, and turn ends update the line.
|
|
9814
|
+
* @param session - the descendant that logged `event`.
|
|
9815
|
+
* @param event - the durable event.
|
|
9816
|
+
*/
|
|
9817
|
+
onDescendantActivity(session, event) {
|
|
9818
|
+
switch (event.type) {
|
|
9819
|
+
case "tool/call": {
|
|
9820
|
+
const { name, arguments: argumentsJson } = event.data;
|
|
9821
|
+
const args = parseArguments(argumentsJson);
|
|
9822
|
+
this.activityChildCall = {
|
|
9823
|
+
name,
|
|
9824
|
+
args
|
|
9825
|
+
};
|
|
9826
|
+
const title = args === void 0 ? void 0 : this.presentCall(name, args)?.title;
|
|
9827
|
+
this.setActivitySubagent({
|
|
9828
|
+
label: this.activityLabelFor(session.id),
|
|
9829
|
+
status: callingActivity(name),
|
|
9830
|
+
...title === void 0 ? {} : { summary: title }
|
|
9831
|
+
});
|
|
9832
|
+
return;
|
|
9833
|
+
}
|
|
9834
|
+
case "tool/result": {
|
|
9835
|
+
const result = event.data.message;
|
|
9836
|
+
const call = this.activityChildCall;
|
|
9837
|
+
this.activityChildCall = void 0;
|
|
9838
|
+
const view = this.presentResult(call?.name ?? "", call?.args, result.content, result.isError === true, event.data.meta);
|
|
9839
|
+
this.setActivitySubagent({
|
|
9840
|
+
label: this.activityLabelFor(session.id),
|
|
9841
|
+
...activityResultParts(toolResultBody(view, result.content).lines[0], result.isError === true)
|
|
9842
|
+
});
|
|
9843
|
+
return;
|
|
9844
|
+
}
|
|
9845
|
+
case "turn/end":
|
|
9846
|
+
this.setActivitySubagent({
|
|
9847
|
+
label: this.activityLabelFor(session.id),
|
|
9848
|
+
status: activityTurnEndStatus(event.data.reason)
|
|
9849
|
+
});
|
|
9850
|
+
return;
|
|
9851
|
+
default: return;
|
|
9852
|
+
}
|
|
9853
|
+
}
|
|
9854
|
+
/**
|
|
9168
9855
|
* Locate the held pending prompt after inbox insertions and claims.
|
|
9169
9856
|
* @param rows - current queue rows.
|
|
9170
9857
|
* @returns the selected index, or 0 when the prior row left.
|
|
@@ -10384,7 +11071,7 @@ var TuiApp = class {
|
|
|
10384
11071
|
const controller = new AbortController();
|
|
10385
11072
|
this.shellAbort = controller;
|
|
10386
11073
|
try {
|
|
10387
|
-
const result = await shell.
|
|
11074
|
+
const result = await (await shell.execute(shell.resolve({
|
|
10388
11075
|
command,
|
|
10389
11076
|
workdir,
|
|
10390
11077
|
signal: controller.signal,
|
|
@@ -10393,7 +11080,7 @@ var TuiApp = class {
|
|
|
10393
11080
|
workspaceRoot: workdir,
|
|
10394
11081
|
sessionId: this.agent.session.id
|
|
10395
11082
|
}
|
|
10396
|
-
}));
|
|
11083
|
+
}))).result();
|
|
10397
11084
|
if (!this.userShellCurrent(controller)) return;
|
|
10398
11085
|
this.showUserShell(command, result, excluded);
|
|
10399
11086
|
} catch (error) {
|
|
@@ -10429,7 +11116,8 @@ var TuiApp = class {
|
|
|
10429
11116
|
* @param excluded - true when the line used `!!`.
|
|
10430
11117
|
*/
|
|
10431
11118
|
showUserShell(command, result, excluded) {
|
|
10432
|
-
this.
|
|
11119
|
+
this.chat.addChild(new UserShellBlock(this.theme, command, userShellTranscriptRows(command, result)));
|
|
11120
|
+
this.tui.requestRender();
|
|
10433
11121
|
if (excluded) return;
|
|
10434
11122
|
const message = createUserMessage({
|
|
10435
11123
|
content: [{
|
|
@@ -10437,8 +11125,7 @@ var TuiApp = class {
|
|
|
10437
11125
|
text: userShellContextText(command, result)
|
|
10438
11126
|
}],
|
|
10439
11127
|
source: {
|
|
10440
|
-
kind: "
|
|
10441
|
-
plugin: "tui-app",
|
|
11128
|
+
kind: "tui-app",
|
|
10442
11129
|
form: "notice",
|
|
10443
11130
|
summary: boundContextSummary(`! ${command}`)
|
|
10444
11131
|
}
|
|
@@ -11427,6 +12114,7 @@ var TuiApp = class {
|
|
|
11427
12114
|
this.blockFades.tick();
|
|
11428
12115
|
if (this.toast?.clock.expired() === true) this.hideToast();
|
|
11429
12116
|
if (this.panelLift !== this.panelLiftNow()) this.refreshSubagentPanel();
|
|
12117
|
+
if (this.activitySlot.children.length > 0) this.refreshActivityBoard();
|
|
11430
12118
|
this.motions.tick();
|
|
11431
12119
|
this.tui.requestRender();
|
|
11432
12120
|
this.updateFadeTicker();
|
|
@@ -11446,12 +12134,14 @@ var TuiApp = class {
|
|
|
11446
12134
|
if (chunk.text !== "") {
|
|
11447
12135
|
this.appendStreamedText(chunk.text);
|
|
11448
12136
|
this.noteStreamedChars(chunk.text.length);
|
|
12137
|
+
this.setStreamActivity("writing");
|
|
11449
12138
|
}
|
|
11450
12139
|
break;
|
|
11451
12140
|
case "reasoning-delta":
|
|
11452
12141
|
if (chunk.text !== "") {
|
|
11453
12142
|
this.appendStreamedReasoning(chunk.text);
|
|
11454
12143
|
this.noteStreamedChars(chunk.text.length);
|
|
12144
|
+
this.setStreamActivity("thinking");
|
|
11455
12145
|
}
|
|
11456
12146
|
break;
|
|
11457
12147
|
case "tool-call-delta":
|
|
@@ -11483,17 +12173,20 @@ var TuiApp = class {
|
|
|
11483
12173
|
onSessionEvent(session, event) {
|
|
11484
12174
|
if (session !== this.agent.session) {
|
|
11485
12175
|
this.markSubagentsStale();
|
|
12176
|
+
if (this.isBoundDescendant(session)) this.onDescendantActivity(session, event);
|
|
11486
12177
|
return;
|
|
11487
12178
|
}
|
|
11488
12179
|
switch (event.type) {
|
|
11489
12180
|
case "turn/start":
|
|
11490
12181
|
this.turn = event.data.turn;
|
|
11491
12182
|
this.turnStartedAt = event.time;
|
|
12183
|
+
this.clearActivityBoard();
|
|
11492
12184
|
this.updateTicker();
|
|
11493
12185
|
this.refreshFooter();
|
|
11494
12186
|
break;
|
|
11495
12187
|
case "todo/write":
|
|
11496
12188
|
this.trackTodoTurns(event.data.todos);
|
|
12189
|
+
this.syncActivityTodos();
|
|
11497
12190
|
break;
|
|
11498
12191
|
case "user/message":
|
|
11499
12192
|
this.onUserMessage(event.data);
|
|
@@ -11516,11 +12209,13 @@ var TuiApp = class {
|
|
|
11516
12209
|
case "tool/call": {
|
|
11517
12210
|
const { callId, name, arguments: argumentsJson } = event.data;
|
|
11518
12211
|
this.toolStreamArgs.delete(callId);
|
|
12212
|
+
this.pendingToolNames.set(callId, name);
|
|
12213
|
+
this.setLoaderActivity(callingActivity(name));
|
|
11519
12214
|
this.upsertToolCard(callId, name, argumentsJson, "log");
|
|
11520
12215
|
break;
|
|
11521
12216
|
}
|
|
11522
12217
|
case "tool/result": {
|
|
11523
|
-
const
|
|
12218
|
+
const result = event.data.message;
|
|
11524
12219
|
const block = this.toolBlocks.get(result.toolCallId);
|
|
11525
12220
|
if (block === void 0) break;
|
|
11526
12221
|
const isError = result.isError === true;
|
|
@@ -11529,7 +12224,8 @@ var TuiApp = class {
|
|
|
11529
12224
|
this.fadeBlock((fade) => {
|
|
11530
12225
|
block.setResultFade(fade);
|
|
11531
12226
|
});
|
|
11532
|
-
this.
|
|
12227
|
+
this.pendingToolNames.delete(result.toolCallId);
|
|
12228
|
+
this.syncLoaderFromPendingTools();
|
|
11533
12229
|
break;
|
|
11534
12230
|
}
|
|
11535
12231
|
case "turn/end": {
|
|
@@ -11537,6 +12233,7 @@ var TuiApp = class {
|
|
|
11537
12233
|
this.updateTicker();
|
|
11538
12234
|
this.endFade();
|
|
11539
12235
|
this.clearLiveUsage();
|
|
12236
|
+
this.clearActivityBoard();
|
|
11540
12237
|
this.refreshFooter();
|
|
11541
12238
|
const notice = turnEndNotice(event.data.reason);
|
|
11542
12239
|
if (notice !== void 0) this.notice(notice, event.data.reason.kind === "error" ? "error" : "dim");
|
|
@@ -11626,13 +12323,32 @@ var TuiApp = class {
|
|
|
11626
12323
|
}
|
|
11627
12324
|
/**
|
|
11628
12325
|
* Replace the spinner's activity word and redraw its live ↑↓ suffix.
|
|
11629
|
-
* @param activity - `thinking`, `calling <name>`, or a retry notice.
|
|
12326
|
+
* @param activity - `thinking`, `writing`, `calling` / `calling <name>`, or a retry notice.
|
|
11630
12327
|
*/
|
|
11631
12328
|
setLoaderActivity(activity) {
|
|
11632
12329
|
this.loaderActivity = activity;
|
|
11633
12330
|
this.refreshLoader();
|
|
11634
12331
|
}
|
|
11635
12332
|
/**
|
|
12333
|
+
* Label a streamed reasoning or visible-text chunk unless a tool call is
|
|
12334
|
+
* already the current activity: calling stays until the last in-flight
|
|
12335
|
+
* tool settles or a new model call begins.
|
|
12336
|
+
* @param activity - `thinking` for reasoning, `writing` for visible text.
|
|
12337
|
+
*/
|
|
12338
|
+
setStreamActivity(activity) {
|
|
12339
|
+
if (isCallingActivity(this.loaderActivity)) return;
|
|
12340
|
+
this.setLoaderActivity(activity);
|
|
12341
|
+
}
|
|
12342
|
+
/**
|
|
12343
|
+
* Draw `calling <name>` for the most recently remembered in-flight tool,
|
|
12344
|
+
* or `thinking` when none remain.
|
|
12345
|
+
*/
|
|
12346
|
+
syncLoaderFromPendingTools() {
|
|
12347
|
+
let name;
|
|
12348
|
+
for (const candidate of this.pendingToolNames.values()) name = candidate;
|
|
12349
|
+
this.setLoaderActivity(name === void 0 ? "thinking" : callingActivity(name));
|
|
12350
|
+
}
|
|
12351
|
+
/**
|
|
11636
12352
|
* Start a new model call's live counters: seed send from the projected
|
|
11637
12353
|
* next-request size or the last committed prompt, and zero receive.
|
|
11638
12354
|
*/
|
|
@@ -11643,7 +12359,8 @@ var TuiApp = class {
|
|
|
11643
12359
|
inputTokens: this.seedLiveSend(),
|
|
11644
12360
|
outputTokens: 0
|
|
11645
12361
|
};
|
|
11646
|
-
this.loaderActivity = "thinking";
|
|
12362
|
+
if (this.pendingToolNames.size === 0) this.loaderActivity = "thinking";
|
|
12363
|
+
else this.syncLoaderFromPendingTools();
|
|
11647
12364
|
this.refreshLiveUsage();
|
|
11648
12365
|
}
|
|
11649
12366
|
/**
|
|
@@ -11704,11 +12421,14 @@ var TuiApp = class {
|
|
|
11704
12421
|
* @param chunk - one `tool-call-delta` of the live assistant stream.
|
|
11705
12422
|
*/
|
|
11706
12423
|
onToolCallDelta(chunk) {
|
|
11707
|
-
|
|
12424
|
+
const name = chunk.name === "" ? void 0 : chunk.name ?? this.toolBlocks.get(chunk.id)?.name;
|
|
12425
|
+
if (name !== void 0) {
|
|
12426
|
+
if (chunk.id !== "") this.pendingToolNames.set(chunk.id, name);
|
|
12427
|
+
this.setLoaderActivity(callingActivity(name));
|
|
12428
|
+
} else if (!isCallingActivity(this.loaderActivity)) this.setLoaderActivity(callingActivity(void 0));
|
|
11708
12429
|
if (chunk.id === "") return;
|
|
11709
12430
|
const argumentsJson = (this.toolStreamArgs.get(chunk.id) ?? "") + chunk.argumentsDelta;
|
|
11710
12431
|
this.toolStreamArgs.set(chunk.id, argumentsJson);
|
|
11711
|
-
const name = chunk.name === "" ? void 0 : chunk.name ?? this.toolBlocks.get(chunk.id)?.name;
|
|
11712
12432
|
if (name === void 0) return;
|
|
11713
12433
|
this.upsertToolCard(chunk.id, name, argumentsJson, "stream");
|
|
11714
12434
|
}
|
|
@@ -11754,8 +12474,10 @@ var TuiApp = class {
|
|
|
11754
12474
|
this.toolBlocks.delete(callId);
|
|
11755
12475
|
this.toolArguments.delete(callId);
|
|
11756
12476
|
this.toolStreamArgs.delete(callId);
|
|
12477
|
+
this.pendingToolNames.delete(callId);
|
|
11757
12478
|
}
|
|
11758
12479
|
this.unconfirmedTools.clear();
|
|
12480
|
+
this.syncLoaderFromPendingTools();
|
|
11759
12481
|
return true;
|
|
11760
12482
|
}
|
|
11761
12483
|
presentCall(name, args) {
|
|
@@ -11772,7 +12494,7 @@ var TuiApp = class {
|
|
|
11772
12494
|
if (definition?.presentResult === void 0) return void 0;
|
|
11773
12495
|
try {
|
|
11774
12496
|
return definition.presentResult(args, {
|
|
11775
|
-
content,
|
|
12497
|
+
content: [...content],
|
|
11776
12498
|
isError,
|
|
11777
12499
|
...meta === void 0 ? {} : { meta }
|
|
11778
12500
|
});
|