@songtonyli/dsh-cli 0.1.31 → 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 +10 -10
- package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +10 -10
- package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +510 -113
- 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
|
@@ -2,11 +2,12 @@ import { randomUUID } from "node:crypto";
|
|
|
2
2
|
import { existsSync, readFileSync } from "node:fs";
|
|
3
3
|
import { mkdir, mkdtemp, open, readFile, rm } from "node:fs/promises";
|
|
4
4
|
import { isAbsolute, join, resolve } from "node:path";
|
|
5
|
+
import { pathToFileURL } from "node:url";
|
|
5
6
|
import { withFileLock, writeFileAtomic } from "@deepseek-ai/dsh-atomic-write";
|
|
6
7
|
import z from "@deepseek-ai/schemastery";
|
|
7
8
|
import { Remote, TypertRemoteService } from "@deepseek-ai/dsh-typert-protocol";
|
|
8
9
|
import { pluginEntryId, readPluginInventory } from "@deepseek-ai/dsh-host-plugin-inventory";
|
|
9
|
-
import { OPTIONAL_BUNDLES, composeEntries, loadOptionalPatches, loadOverlayPatches, readProfileManifest, readProfilePatches, reconcileProfilePatches, resolveBundleDir, resolveProfileDir } from "@deepseek-ai/dsh-app-boot";
|
|
10
|
+
import { OPTIONAL_BUNDLES, bundlePatchPaths, composeEntries, loadOptionalPatches, loadOverlayPatches, readPluginMeta, readProfileManifest, readProfilePatches, reconcileProfilePatches, resolveBundleDir, resolveProfileDir } from "@deepseek-ai/dsh-app-boot";
|
|
10
11
|
import { execa } from "execa";
|
|
11
12
|
import { scrubbedParentEnv } from "@deepseek-ai/dsh-subprocess";
|
|
12
13
|
import { isAlias, isMap, isNode, isScalar, isSeq, parseDocument, visit } from "yaml";
|
|
@@ -55,7 +56,7 @@ async function reconcile(before, dir, anchor, options) {
|
|
|
55
56
|
options.onOutput?.(`dsh: warning: ${name} declares no dsh.bundle — installed as a plain dependency, not a profile layer\n`, "stderr");
|
|
56
57
|
continue;
|
|
57
58
|
}
|
|
58
|
-
|
|
59
|
+
for (const file of bundlePatchPaths(resolveBundleDir("dsh", name, anchor, dir), metadata.dsh.bundle)) loadOverlayPatches("dsh", file);
|
|
59
60
|
if (!bundles.includes(name)) bundles.push(name);
|
|
60
61
|
}
|
|
61
62
|
if (JSON.stringify(previous) === JSON.stringify(bundles)) return;
|
|
@@ -151,11 +152,49 @@ async function runProfilePnpm(context, args, options) {
|
|
|
151
152
|
};
|
|
152
153
|
}
|
|
153
154
|
/**
|
|
155
|
+
* Read the registry pnpm's own configuration names in the profile: its `.npmrc` chain and workspace settings,
|
|
156
|
+
* as `pnpm config get registry` resolves them.
|
|
157
|
+
* @param dir Profile directory.
|
|
158
|
+
* @param options The pnpm executable and the time bound.
|
|
159
|
+
* @returns The registry URL as pnpm printed it, or null when pnpm did not answer with one.
|
|
160
|
+
*/
|
|
161
|
+
async function readProfileRegistry(dir, options) {
|
|
162
|
+
const result = await execa(options.command ?? "pnpm", [
|
|
163
|
+
...options.args ?? [],
|
|
164
|
+
"config",
|
|
165
|
+
"get",
|
|
166
|
+
"registry"
|
|
167
|
+
], {
|
|
168
|
+
cwd: dir,
|
|
169
|
+
env: {
|
|
170
|
+
...scrubbedParentEnv(),
|
|
171
|
+
...options.env
|
|
172
|
+
},
|
|
173
|
+
extendEnv: false,
|
|
174
|
+
reject: false,
|
|
175
|
+
stdin: "ignore",
|
|
176
|
+
timeout: options.timeoutMs
|
|
177
|
+
});
|
|
178
|
+
const answer = result.exitCode === 0 ? result.stdout.trim().replace(/^[\s\S]*\n/, "").trim() : "";
|
|
179
|
+
return /^https?:\/\/\S+$/.test(answer) ? answer : null;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* The argument that sends one pnpm command to a registry.
|
|
183
|
+
* @param registry - the registry, or null for the one pnpm's own configuration names.
|
|
184
|
+
* @returns `--registry=<url>` for a URL; nothing for null.
|
|
185
|
+
*/
|
|
186
|
+
function registryArguments(registry) {
|
|
187
|
+
return registry === null ? [] : [`--registry=${registry}`];
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
154
190
|
* Ask the registry what a spec names through `pnpm view`, run in the profile
|
|
155
|
-
* directory so the registry, proxy, and authentication settings of an install
|
|
191
|
+
* directory so the registry, proxy, and authentication settings of an install
|
|
192
|
+
* apply. The lookup makes one request without pnpm's own retries: a registry
|
|
193
|
+
* that does not answer is reported within `timeoutMs`, and the registries
|
|
194
|
+
* configured after it are the retry.
|
|
156
195
|
* @param dir Profile directory.
|
|
157
196
|
* @param spec One registry spec: a package name with an optional range.
|
|
158
|
-
* @param options
|
|
197
|
+
* @param options The registry, cancellation, and the time bound.
|
|
159
198
|
* @returns pnpm's exit, output, and how the lookup ended.
|
|
160
199
|
*/
|
|
161
200
|
async function viewProfilePackage(dir, spec, options) {
|
|
@@ -167,7 +206,9 @@ async function viewProfilePackage(dir, spec, options) {
|
|
|
167
206
|
"version",
|
|
168
207
|
"description",
|
|
169
208
|
"dsh",
|
|
170
|
-
"--json"
|
|
209
|
+
"--json",
|
|
210
|
+
...registryArguments(options.registry ?? null),
|
|
211
|
+
"--config.fetch-retries=0"
|
|
171
212
|
], {
|
|
172
213
|
cwd: dir,
|
|
173
214
|
env: {
|
|
@@ -205,7 +246,7 @@ const LOG_KINDS = [
|
|
|
205
246
|
["disk-full", /\bENOSPC\b|no space left on device/i],
|
|
206
247
|
["permission", /\bEACCES\b|\bEPERM\b|permission denied/i],
|
|
207
248
|
["integrity", /ERR_PNPM_TARBALL_INTEGRITY|ERR_PNPM_BAD_TARBALL_SIZE|\bEINTEGRITY\b/],
|
|
208
|
-
["network", /\bENOTFOUND\b|\bECONNRESET\b|\bETIMEDOUT\b|\bECONNREFUSED\b|\bEAI_AGAIN\b|ERR_PNPM_META_FETCH_FAIL|ERR_PNPM_FETCH_5\d\d|ERR_PNPM_FETCH_TIMEOUT|socket hang up|Could not resolve host|unable to access/]
|
|
249
|
+
["network", /\bENOTFOUND\b|\bECONNRESET\b|\bETIMEDOUT\b|\bECONNREFUSED\b|\bEAI_AGAIN\b|ERR_PNPM_META_FETCH_FAIL|ERR_PNPM_FETCH_5\d\d|ERR_PNPM_FETCH_TIMEOUT|\bFETCH_ERROR\b|socket hang up|Could not resolve host|unable to access/]
|
|
209
250
|
];
|
|
210
251
|
/**
|
|
211
252
|
* Classify a failed run.
|
|
@@ -229,6 +270,13 @@ function classifyInstallFailure(facts) {
|
|
|
229
270
|
const GIT_SHORTHAND = /^(?:github|gitlab|bitbucket|gist):/i;
|
|
230
271
|
const GIT_URL = /^git(?:\+[a-z]+)?:\/\/|^git@[^:]+:/i;
|
|
231
272
|
const HOSTED_REPOSITORY_URL = /^https?:\/\/[^/]+\/[^/]+\/[^/#]+(?:\.git)?(?:#.*)?$/i;
|
|
273
|
+
/** The hosts pnpm's shorthands stand for. */
|
|
274
|
+
const GIT_SHORTHAND_HOSTS = {
|
|
275
|
+
github: "github.com",
|
|
276
|
+
gitlab: "gitlab.com",
|
|
277
|
+
bitbucket: "bitbucket.org",
|
|
278
|
+
gist: "gist.github.com"
|
|
279
|
+
};
|
|
232
280
|
/** A tarball, on disk or over HTTP. */
|
|
233
281
|
const TARBALL_SPEC = /\.(?:tgz|tar\.gz)(?:#.*)?$/i;
|
|
234
282
|
/** An npm package name: lowercase URL-safe segments, an optional scope, no leading dot or underscore. */
|
|
@@ -252,6 +300,14 @@ var InvalidInstallSpecError = class extends Error {
|
|
|
252
300
|
function invalid(spec, reason) {
|
|
253
301
|
return new InvalidInstallSpecError(spec, reason);
|
|
254
302
|
}
|
|
303
|
+
/** The host a git spec is cloned from: the shorthand's host, the scp-like user@host, or the URL's host with its port. */
|
|
304
|
+
function gitHost(spec) {
|
|
305
|
+
const shorthand = /^([a-z]+):/i.exec(spec)?.[1]?.toLowerCase();
|
|
306
|
+
if (shorthand !== void 0 && Object.hasOwn(GIT_SHORTHAND_HOSTS, shorthand)) return GIT_SHORTHAND_HOSTS[shorthand];
|
|
307
|
+
const scp = /^git@([^:]+):/i.exec(spec)?.[1];
|
|
308
|
+
if (scp !== void 0) return scp.toLowerCase();
|
|
309
|
+
return new URL(spec.replace(/^git\+/i, "")).host;
|
|
310
|
+
}
|
|
255
311
|
/**
|
|
256
312
|
* Read a spec into its form. A path must be absolute: the Host's working
|
|
257
313
|
* directory means nothing to the person typing into a browser, and a
|
|
@@ -280,12 +336,14 @@ function parseInstallSpec(raw) {
|
|
|
280
336
|
if (/^\.{1,2}(?:[\\/]|$)/.test(spec)) throw invalid(spec, "a local path must be absolute");
|
|
281
337
|
if ((GIT_SHORTHAND.test(spec) || GIT_URL.test(spec) || HOSTED_REPOSITORY_URL.test(spec)) && !TARBALL_SPEC.test(spec)) return {
|
|
282
338
|
kind: "git",
|
|
283
|
-
spec
|
|
339
|
+
spec,
|
|
340
|
+
host: gitHost(spec)
|
|
284
341
|
};
|
|
285
342
|
if (/^https?:\/\//i.test(spec)) {
|
|
286
343
|
if (TARBALL_SPEC.test(spec)) return {
|
|
287
344
|
kind: "tarball",
|
|
288
|
-
spec
|
|
345
|
+
spec,
|
|
346
|
+
host: new URL(spec).host
|
|
289
347
|
};
|
|
290
348
|
throw invalid(spec, "a URL must point at a git repository or a tarball");
|
|
291
349
|
}
|
|
@@ -305,6 +363,80 @@ function parseInstallSpec(raw) {
|
|
|
305
363
|
range
|
|
306
364
|
};
|
|
307
365
|
}
|
|
366
|
+
/**
|
|
367
|
+
* Parse a registry URL into the form pnpm compares registries in: lower-case host, trailing slash.
|
|
368
|
+
* @param url - the registry as configured or requested.
|
|
369
|
+
* @returns the normalized URL.
|
|
370
|
+
* @throws {Error} for anything but an http(s) URL.
|
|
371
|
+
*/
|
|
372
|
+
function normalizeRegistry(url) {
|
|
373
|
+
let parsed;
|
|
374
|
+
try {
|
|
375
|
+
parsed = new URL(url);
|
|
376
|
+
} catch {}
|
|
377
|
+
if (parsed === void 0 || parsed.protocol !== "http:" && parsed.protocol !== "https:") throw new Error(`a registry must be an http(s) URL: ${url}`);
|
|
378
|
+
if (!parsed.pathname.endsWith("/")) parsed.pathname += "/";
|
|
379
|
+
return parsed.href;
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* The registries one operation asks, first to last.
|
|
383
|
+
*
|
|
384
|
+
* The configured set is the configured first registry and the fallbacks; a
|
|
385
|
+
* requested registry is asked first when it is one of them, alone otherwise,
|
|
386
|
+
* so a private registry never falls through to a public one. pnpm's own
|
|
387
|
+
* registry (`null`) belongs to the set only when what it names is known to
|
|
388
|
+
* be public: npm's own registry or one of the configured fallbacks. While it
|
|
389
|
+
* names anything else, or is unknown, it is asked alone, and a public
|
|
390
|
+
* registry asked instead never falls back into it. A registry pnpm's own
|
|
391
|
+
* configuration already names is asked once.
|
|
392
|
+
* @param requested - the caller's registry; undefined defers to the configured first one.
|
|
393
|
+
* @param configured - the configured first registry, the fallbacks after it, and what pnpm's own configuration names.
|
|
394
|
+
* @returns the registries to ask, in order; never empty.
|
|
395
|
+
*/
|
|
396
|
+
function registryPlan(requested, configured) {
|
|
397
|
+
const own = configured.resolved === null ? null : normalizeRegistry(configured.resolved);
|
|
398
|
+
const fallbacks = configured.fallbackRegistries.map(normalizeRegistry);
|
|
399
|
+
const ownIsPublic = own !== null && (own === "https://registry.npmjs.org/" || fallbacks.includes(own));
|
|
400
|
+
const keyOf = (registry) => registry === null ? own : normalizeRegistry(registry);
|
|
401
|
+
const known = [];
|
|
402
|
+
const keys = [];
|
|
403
|
+
for (const registry of [configured.registry, ...configured.fallbackRegistries]) {
|
|
404
|
+
if (registry === null && !ownIsPublic) continue;
|
|
405
|
+
const key = keyOf(registry);
|
|
406
|
+
if (keys.includes(key)) continue;
|
|
407
|
+
known.push(registry === null ? null : normalizeRegistry(registry));
|
|
408
|
+
keys.push(key);
|
|
409
|
+
}
|
|
410
|
+
const first = requested === void 0 ? configured.registry : requested;
|
|
411
|
+
const firstKey = keyOf(first);
|
|
412
|
+
const normalizedFirst = first === null ? null : normalizeRegistry(first);
|
|
413
|
+
if ((first === null || firstKey === own) && !ownIsPublic) return [normalizedFirst];
|
|
414
|
+
if (!keys.includes(firstKey)) return [normalizedFirst];
|
|
415
|
+
return [normalizedFirst, ...known.filter((_registry, index) => keys[index] !== firstKey)];
|
|
416
|
+
}
|
|
417
|
+
/** The failures after which another registry can answer differently: this one was unreachable, or its copy may be stale. */
|
|
418
|
+
const NEXT_REGISTRY_KINDS = new Set([
|
|
419
|
+
"network",
|
|
420
|
+
"timeout",
|
|
421
|
+
"not-found",
|
|
422
|
+
"no-matching-version"
|
|
423
|
+
]);
|
|
424
|
+
/** A line of pnpm or git output that reports a failure, as opposed to a warning or progress line. */
|
|
425
|
+
const ERROR_LINE = /ERR_|ERROR|\berror\b|fatal:|Could not resolve|unable to access|ssh:|\bE[A-Z]{4,}\b/;
|
|
426
|
+
/**
|
|
427
|
+
* What a failed attempt could not reach or get an answer from.
|
|
428
|
+
* @param kind - how the attempt failed.
|
|
429
|
+
* @param log - what the attempt printed.
|
|
430
|
+
* @param spec - the spec the attempt installed.
|
|
431
|
+
* @returns `registry` for a failure another registry can change; `spec-host` when an error line names the host a git
|
|
432
|
+
* or tarball spec is fetched from, which no registry stands in for; `other` for a failure neither explains.
|
|
433
|
+
*/
|
|
434
|
+
function attributeFailure(kind, log, spec) {
|
|
435
|
+
if (!NEXT_REGISTRY_KINDS.has(kind)) return "other";
|
|
436
|
+
const host = spec.kind === "git" || spec.kind === "tarball" ? spec.host?.toLowerCase() : void 0;
|
|
437
|
+
if (host === void 0) return "registry";
|
|
438
|
+
return log.split("\n").some((line) => ERROR_LINE.test(line) && line.toLowerCase().includes(host)) ? "spec-host" : "registry";
|
|
439
|
+
}
|
|
308
440
|
//#endregion
|
|
309
441
|
//#region lib/types/patch.js
|
|
310
442
|
/** Comment-preserving profile plugin enablement edits. */
|
|
@@ -443,6 +575,8 @@ var __esDecorate = function(ctor, descriptorIn, decorators, contextIn, initializ
|
|
|
443
575
|
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
444
576
|
done = true;
|
|
445
577
|
};
|
|
578
|
+
/** An http(s) URL, as pnpm's `--registry` takes it. */
|
|
579
|
+
const REGISTRY_URL = /^https?:\/\/\S+$/;
|
|
446
580
|
const protectedModules = new Set([
|
|
447
581
|
"@deepseek-ai/dsh-plugin-manager",
|
|
448
582
|
"@deepseek-ai/cordis-plugin-loader",
|
|
@@ -493,7 +627,7 @@ function stringField(manifest, field) {
|
|
|
493
627
|
return typeof value === "string" ? value : void 0;
|
|
494
628
|
}
|
|
495
629
|
/** What a package manifest says about the package: identity, one-liner, and whether it is a bundle. */
|
|
496
|
-
function inspectionOf(kind, manifest) {
|
|
630
|
+
function inspectionOf(kind, manifest, registry) {
|
|
497
631
|
const dsh = manifest.dsh;
|
|
498
632
|
const declared = typeof dsh === "object" && dsh !== null ? dsh : void 0;
|
|
499
633
|
const bundle = declared !== void 0 && typeof declared.bundle === "object" && declared.bundle !== null;
|
|
@@ -504,6 +638,7 @@ function inspectionOf(kind, manifest) {
|
|
|
504
638
|
status: "accepted",
|
|
505
639
|
kind,
|
|
506
640
|
bundle,
|
|
641
|
+
registry,
|
|
507
642
|
...name === void 0 ? {} : { name },
|
|
508
643
|
...version === void 0 ? {} : { version },
|
|
509
644
|
...description === void 0 || description === "" ? {} : { description }
|
|
@@ -516,16 +651,45 @@ function refused(problem, reason) {
|
|
|
516
651
|
reason
|
|
517
652
|
};
|
|
518
653
|
}
|
|
654
|
+
/** The refusal `pnpm view --json` prints on stdout, `{ error: { code, message } }`, as one log line; empty for anything else. */
|
|
655
|
+
function printedError(printed) {
|
|
656
|
+
let parsed;
|
|
657
|
+
try {
|
|
658
|
+
parsed = JSON.parse(printed || "null");
|
|
659
|
+
} catch {
|
|
660
|
+
return "";
|
|
661
|
+
}
|
|
662
|
+
const error = typeof parsed === "object" && parsed !== null ? parsed.error : void 0;
|
|
663
|
+
if (typeof error !== "object" || error === null) return "";
|
|
664
|
+
const { code, message } = error;
|
|
665
|
+
return [code, message].filter((part) => typeof part === "string").join(" ");
|
|
666
|
+
}
|
|
667
|
+
/** The spec's form, for deciding whether a failed attempt was the registry's; a form the parser refuses has no host of its own. */
|
|
668
|
+
function parsedForRegistry(spec) {
|
|
669
|
+
try {
|
|
670
|
+
return parseInstallSpec(spec);
|
|
671
|
+
} catch (error) {
|
|
672
|
+
/* v8 ignore next -- parseInstallSpec throws nothing but its own refusal */
|
|
673
|
+
if (!(error instanceof InvalidInstallSpecError)) throw error;
|
|
674
|
+
return {
|
|
675
|
+
kind: "registry",
|
|
676
|
+
spec,
|
|
677
|
+
name: spec
|
|
678
|
+
};
|
|
679
|
+
}
|
|
680
|
+
}
|
|
519
681
|
/** Manage profile files and apply their declared reload lifecycle. */
|
|
520
682
|
let PluginManager = (() => {
|
|
521
683
|
let _classSuper = TypertRemoteService;
|
|
522
684
|
let _instanceExtraInitializers = [];
|
|
523
685
|
let _listPlugins_decorators;
|
|
524
686
|
let _listBundles_decorators;
|
|
687
|
+
let _registries_decorators;
|
|
525
688
|
let _inspect_decorators;
|
|
526
689
|
let _setPluginEnabled_decorators;
|
|
527
690
|
let _setBundleEnabled_decorators;
|
|
528
691
|
let _installBundle_decorators;
|
|
692
|
+
let _waitForInstall_decorators;
|
|
529
693
|
let _cancelInstall_decorators;
|
|
530
694
|
let _removeBundle_decorators;
|
|
531
695
|
return class PluginManager extends _classSuper {
|
|
@@ -533,10 +697,12 @@ let PluginManager = (() => {
|
|
|
533
697
|
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
534
698
|
_listPlugins_decorators = [Remote];
|
|
535
699
|
_listBundles_decorators = [Remote];
|
|
700
|
+
_registries_decorators = [Remote];
|
|
536
701
|
_inspect_decorators = [Remote];
|
|
537
702
|
_setPluginEnabled_decorators = [Remote];
|
|
538
703
|
_setBundleEnabled_decorators = [Remote];
|
|
539
704
|
_installBundle_decorators = [Remote];
|
|
705
|
+
_waitForInstall_decorators = [Remote];
|
|
540
706
|
_cancelInstall_decorators = [Remote];
|
|
541
707
|
_removeBundle_decorators = [Remote];
|
|
542
708
|
__esDecorate(this, null, _listPlugins_decorators, {
|
|
@@ -561,6 +727,17 @@ let PluginManager = (() => {
|
|
|
561
727
|
},
|
|
562
728
|
metadata: _metadata
|
|
563
729
|
}, null, _instanceExtraInitializers);
|
|
730
|
+
__esDecorate(this, null, _registries_decorators, {
|
|
731
|
+
kind: "method",
|
|
732
|
+
name: "registries",
|
|
733
|
+
static: false,
|
|
734
|
+
private: false,
|
|
735
|
+
access: {
|
|
736
|
+
has: (obj) => "registries" in obj,
|
|
737
|
+
get: (obj) => obj.registries
|
|
738
|
+
},
|
|
739
|
+
metadata: _metadata
|
|
740
|
+
}, null, _instanceExtraInitializers);
|
|
564
741
|
__esDecorate(this, null, _inspect_decorators, {
|
|
565
742
|
kind: "method",
|
|
566
743
|
name: "inspect",
|
|
@@ -605,6 +782,17 @@ let PluginManager = (() => {
|
|
|
605
782
|
},
|
|
606
783
|
metadata: _metadata
|
|
607
784
|
}, null, _instanceExtraInitializers);
|
|
785
|
+
__esDecorate(this, null, _waitForInstall_decorators, {
|
|
786
|
+
kind: "method",
|
|
787
|
+
name: "waitForInstall",
|
|
788
|
+
static: false,
|
|
789
|
+
private: false,
|
|
790
|
+
access: {
|
|
791
|
+
has: (obj) => "waitForInstall" in obj,
|
|
792
|
+
get: (obj) => obj.waitForInstall
|
|
793
|
+
},
|
|
794
|
+
metadata: _metadata
|
|
795
|
+
}, null, _instanceExtraInitializers);
|
|
608
796
|
__esDecorate(this, null, _cancelInstall_decorators, {
|
|
609
797
|
kind: "method",
|
|
610
798
|
name: "cancelInstall",
|
|
@@ -639,15 +827,20 @@ let PluginManager = (() => {
|
|
|
639
827
|
pnpmCommand: z.string().default("pnpm"),
|
|
640
828
|
outputBytes: z.number().step(1).min(1).default(16384),
|
|
641
829
|
lockWaitMs: z.number().step(1).min(0).default(12e4),
|
|
642
|
-
inspectTimeoutMs: z.number().step(1).min(1e3).default(2e4)
|
|
830
|
+
inspectTimeoutMs: z.number().step(1).min(1e3).default(2e4),
|
|
831
|
+
registry: z.string().pattern(REGISTRY_URL),
|
|
832
|
+
fallbackRegistries: z.array(z.string().pattern(REGISTRY_URL)).default(["https://registry.npmmirror.com/"])
|
|
643
833
|
});
|
|
644
|
-
|
|
834
|
+
/** Management bundles remain protected if their files become unreadable. */
|
|
835
|
+
managementBundles = (__runInitializers(this, _instanceExtraInitializers), /* @__PURE__ */ new Set());
|
|
836
|
+
ownerEntryId;
|
|
645
837
|
packageOperations = /* @__PURE__ */ new Set();
|
|
646
838
|
profile;
|
|
647
839
|
outputBytes;
|
|
648
840
|
lockWaitMs;
|
|
649
841
|
inspectTimeoutMs;
|
|
650
842
|
pnpmCommand;
|
|
843
|
+
configuredRegistries;
|
|
651
844
|
ownerContext;
|
|
652
845
|
abort = new AbortController();
|
|
653
846
|
/** Installations by request id, from their call until it settles. */
|
|
@@ -657,10 +850,15 @@ let PluginManager = (() => {
|
|
|
657
850
|
this.ownerEntryId = ctx.fiber.entry?.id;
|
|
658
851
|
this.ownerContext = ctx;
|
|
659
852
|
this.profile = ctx.profileContext;
|
|
853
|
+
for (const name of this.profile.startedBundles) this.protectsManager(name);
|
|
660
854
|
this.outputBytes = config.outputBytes;
|
|
661
855
|
this.lockWaitMs = config.lockWaitMs;
|
|
662
856
|
this.inspectTimeoutMs = config.inspectTimeoutMs;
|
|
663
857
|
this.pnpmCommand = config.pnpmCommand;
|
|
858
|
+
this.configuredRegistries = {
|
|
859
|
+
registry: config.registry === void 0 ? null : normalizeRegistry(config.registry),
|
|
860
|
+
fallbackRegistries: config.fallbackRegistries.map(normalizeRegistry)
|
|
861
|
+
};
|
|
664
862
|
ctx.effect(() => async () => {
|
|
665
863
|
this.abort.abort();
|
|
666
864
|
await Promise.allSettled([...this.packageOperations]);
|
|
@@ -691,8 +889,8 @@ let PluginManager = (() => {
|
|
|
691
889
|
}
|
|
692
890
|
/** Read the profile's installed bundles, the bundles this dsh installation supplies, and the selected names that are not bundles.
|
|
693
891
|
* A dependency without a bundle patch is listed, as a `not-bundle` problem, only while it is selected.
|
|
694
|
-
* @returns Package versions,
|
|
695
|
-
* bundle, and removal availability.
|
|
892
|
+
* @returns Package versions, manifest descriptions, rows, optional display metadata, activation selections,
|
|
893
|
+
* whether the installation offers the bundle, and removal availability.
|
|
696
894
|
*/
|
|
697
895
|
listBundles() {
|
|
698
896
|
const manifest = readProfileManifest("dsh", this.profile.dir);
|
|
@@ -710,6 +908,7 @@ let PluginManager = (() => {
|
|
|
710
908
|
const optional = OPTIONAL_BUNDLES.includes(name);
|
|
711
909
|
const removable = installed && !Object.hasOwn(installation.dependencies ?? {}, name);
|
|
712
910
|
const enabled = selected.includes(name);
|
|
911
|
+
const readOnlyReason = this.protectsManager(name) ? "management-required" : void 0;
|
|
713
912
|
try {
|
|
714
913
|
const info = bundleManifest(name, this.profile.dir, this.profile.installAnchor);
|
|
715
914
|
if (info === void 0) {
|
|
@@ -718,18 +917,21 @@ let PluginManager = (() => {
|
|
|
718
917
|
enabled,
|
|
719
918
|
installed,
|
|
720
919
|
optional,
|
|
721
|
-
removable,
|
|
920
|
+
removable: removable && readOnlyReason === void 0,
|
|
921
|
+
...readOnlyReason === void 0 ? {} : { readOnlyReason },
|
|
722
922
|
error: { code: "not-bundle" },
|
|
723
923
|
rows: [],
|
|
724
924
|
overrides: []
|
|
725
925
|
});
|
|
726
926
|
continue;
|
|
727
927
|
}
|
|
728
|
-
const
|
|
928
|
+
const dir = resolveBundleDir("dsh", name, this.profile.installAnchor, this.profile.dir);
|
|
929
|
+
const meta = readPluginMeta(info.name ?? name, pathToFileURL(join(dir, "package.json")).href);
|
|
729
930
|
bundles.push({
|
|
730
931
|
name,
|
|
731
932
|
...info.version === void 0 ? {} : { version: info.version },
|
|
732
933
|
...info.description === void 0 || info.description === "" ? {} : { description: info.description },
|
|
934
|
+
...meta === void 0 ? {} : { meta },
|
|
733
935
|
enabled,
|
|
734
936
|
installed,
|
|
735
937
|
optional,
|
|
@@ -743,7 +945,8 @@ let PluginManager = (() => {
|
|
|
743
945
|
enabled,
|
|
744
946
|
installed,
|
|
745
947
|
optional,
|
|
746
|
-
removable,
|
|
948
|
+
removable: removable && readOnlyReason === void 0,
|
|
949
|
+
...readOnlyReason === void 0 ? {} : { readOnlyReason },
|
|
747
950
|
error: managementError(error),
|
|
748
951
|
rows: [],
|
|
749
952
|
overrides: []
|
|
@@ -752,12 +955,26 @@ let PluginManager = (() => {
|
|
|
752
955
|
}
|
|
753
956
|
return Promise.resolve(bundles);
|
|
754
957
|
}
|
|
958
|
+
/** Read the registries this manager asks: the configured first one, its fallbacks in order, and what pnpm's own configuration names.
|
|
959
|
+
* @returns The registries in pnpm's comparison form; null is the one pnpm's own configuration names, `resolved` as pnpm reads it now.
|
|
960
|
+
*/
|
|
961
|
+
async registries() {
|
|
962
|
+
return {
|
|
963
|
+
...this.configuredRegistries,
|
|
964
|
+
fallbackRegistries: [...this.configuredRegistries.fallbackRegistries],
|
|
965
|
+
resolved: await readProfileRegistry(this.profile.dir, {
|
|
966
|
+
...this.profile.packageManager ?? { command: this.pnpmCommand },
|
|
967
|
+
timeoutMs: this.inspectTimeoutMs
|
|
968
|
+
})
|
|
969
|
+
};
|
|
970
|
+
}
|
|
755
971
|
/** Read what a spec names before installing it.
|
|
756
972
|
* @param spec One package spec: a registry name, an absolute path, a git address, or a tarball.
|
|
973
|
+
* @param options The registry asked first.
|
|
757
974
|
* @param signal Ends a registry lookup early.
|
|
758
975
|
* @returns The package the spec names, or why it is refused.
|
|
759
976
|
*/
|
|
760
|
-
async inspect(spec, signal) {
|
|
977
|
+
async inspect(spec, options, signal) {
|
|
761
978
|
let parsed;
|
|
762
979
|
try {
|
|
763
980
|
parsed = parseInstallSpec(spec);
|
|
@@ -773,18 +990,24 @@ let PluginManager = (() => {
|
|
|
773
990
|
...Object.keys(manifest.dependencies ?? {}),
|
|
774
991
|
...Object.keys(installation.dependencies ?? {})
|
|
775
992
|
]);
|
|
993
|
+
const plan = registryPlan(options?.registry, await this.registries());
|
|
994
|
+
const registry = plan[0];
|
|
776
995
|
switch (parsed.kind) {
|
|
777
996
|
case "git": return {
|
|
778
997
|
status: "accepted",
|
|
779
998
|
kind: "git",
|
|
780
|
-
bundle: null
|
|
999
|
+
bundle: null,
|
|
1000
|
+
registry,
|
|
1001
|
+
host: parsed.host
|
|
781
1002
|
};
|
|
782
1003
|
case "tarball":
|
|
783
1004
|
if (parsed.path !== void 0 && !existsSync(parsed.path)) return refused("not-a-package", "the tarball does not exist");
|
|
784
1005
|
return {
|
|
785
1006
|
status: "accepted",
|
|
786
1007
|
kind: "tarball",
|
|
787
|
-
bundle: null
|
|
1008
|
+
bundle: null,
|
|
1009
|
+
registry,
|
|
1010
|
+
...parsed.host === void 0 ? {} : { host: parsed.host }
|
|
788
1011
|
};
|
|
789
1012
|
case "path": {
|
|
790
1013
|
if (!existsSync(parsed.path)) return refused("not-a-package", "the path does not exist");
|
|
@@ -794,7 +1017,7 @@ let PluginManager = (() => {
|
|
|
794
1017
|
} catch (error) {
|
|
795
1018
|
return refused("not-a-package", `no readable package.json at the path: ${messageOf(error)}`);
|
|
796
1019
|
}
|
|
797
|
-
const inspection = inspectionOf("path", read);
|
|
1020
|
+
const inspection = inspectionOf("path", read, registry);
|
|
798
1021
|
if (inspection.name === void 0) return refused("not-a-package", "the package.json names no package");
|
|
799
1022
|
if (known.has(inspection.name)) return refused("already-installed", `${inspection.name} is already installed`);
|
|
800
1023
|
if (!inspection.bundle) return refused("not-a-bundle", `${inspection.name} declares no dsh.bundle`);
|
|
@@ -802,38 +1025,57 @@ let PluginManager = (() => {
|
|
|
802
1025
|
}
|
|
803
1026
|
case "registry": {
|
|
804
1027
|
if (known.has(parsed.name)) return refused("already-installed", `${parsed.name} is already installed`);
|
|
805
|
-
const
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
1028
|
+
const registries = [];
|
|
1029
|
+
const refusedBy = (problem, reason) => ({
|
|
1030
|
+
status: "refused",
|
|
1031
|
+
problem,
|
|
1032
|
+
reason,
|
|
1033
|
+
registries
|
|
809
1034
|
});
|
|
810
|
-
const
|
|
811
|
-
|
|
812
|
-
const
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
...
|
|
1035
|
+
for (const current of plan) {
|
|
1036
|
+
registries.push(current);
|
|
1037
|
+
const view = await viewProfilePackage(this.profile.dir, spec.trim(), {
|
|
1038
|
+
...this.profile.packageManager ?? { command: this.pnpmCommand },
|
|
1039
|
+
timeoutMs: this.inspectTimeoutMs,
|
|
1040
|
+
...signal === void 0 ? {} : { signal },
|
|
1041
|
+
registry: current
|
|
816
1042
|
});
|
|
817
|
-
const
|
|
818
|
-
if (
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
1043
|
+
const printed = view.stdout.replace(ANSI_SEQUENCE, "").trim();
|
|
1044
|
+
if (view.exitCode !== 0 || view.cause !== void 0 || view.timedOut) {
|
|
1045
|
+
const log = [
|
|
1046
|
+
view.stderr.trim(),
|
|
1047
|
+
printedError(printed),
|
|
1048
|
+
view.cause === void 0 ? "" : messageOf(view.cause)
|
|
1049
|
+
].filter(Boolean).join("\n");
|
|
1050
|
+
const kind = classifyInstallFailure({
|
|
1051
|
+
log,
|
|
1052
|
+
timedOut: view.timedOut,
|
|
1053
|
+
...view.cause === void 0 ? {} : { cause: view.cause }
|
|
1054
|
+
});
|
|
1055
|
+
if (registries.length < plan.length && signal?.aborted !== true && attributeFailure(kind, log, parsed) === "registry") continue;
|
|
1056
|
+
const reason = view.timedOut ? `pnpm view timed out after ${String(this.inspectTimeoutMs)}ms` : log || printed || `pnpm view exited with ${String(view.exitCode)}`;
|
|
1057
|
+
if (kind === "not-found" || kind === "no-matching-version") return refusedBy("not-found", reason);
|
|
1058
|
+
if (kind === "network" || kind === "timeout") return refusedBy("network", reason);
|
|
1059
|
+
return refusedBy("unknown", reason);
|
|
1060
|
+
}
|
|
1061
|
+
let answer;
|
|
1062
|
+
try {
|
|
1063
|
+
answer = JSON.parse(printed || "null");
|
|
1064
|
+
} catch (error) {
|
|
1065
|
+
return refusedBy("unknown", `unreadable pnpm view output: ${messageOf(error)}`);
|
|
1066
|
+
}
|
|
1067
|
+
const latest = Array.isArray(answer) ? answer.at(-1) : answer;
|
|
1068
|
+
if (typeof latest !== "object" || latest === null) return refusedBy("unknown", "pnpm view answered no package");
|
|
1069
|
+
const inspection = inspectionOf("registry", latest, current);
|
|
1070
|
+
const named = inspection.name === void 0 ? {
|
|
1071
|
+
...inspection,
|
|
1072
|
+
name: parsed.name
|
|
1073
|
+
} : inspection;
|
|
1074
|
+
if (!named.bundle) return refusedBy("not-a-bundle", `${named.name} declares no dsh.bundle`);
|
|
1075
|
+
return named;
|
|
827
1076
|
}
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
const inspection = inspectionOf("registry", latest);
|
|
831
|
-
const named = inspection.name === void 0 ? {
|
|
832
|
-
...inspection,
|
|
833
|
-
name: parsed.name
|
|
834
|
-
} : inspection;
|
|
835
|
-
if (!named.bundle) return refused("not-a-bundle", `${named.name} declares no dsh.bundle`);
|
|
836
|
-
return named;
|
|
1077
|
+
/* v8 ignore next -- the plan is never empty: every attempt returns or continues to the next */
|
|
1078
|
+
throw new Error("no registry was asked");
|
|
837
1079
|
}
|
|
838
1080
|
}
|
|
839
1081
|
}
|
|
@@ -876,23 +1118,24 @@ let PluginManager = (() => {
|
|
|
876
1118
|
* that fails, is cancelled, or adds a package without a bundle patch restores
|
|
877
1119
|
* `package.json` and `pnpm-lock.yaml` as they were; downloaded files can stay.
|
|
878
1120
|
* @param spec One package spec, including local paths relative to the invocation directory.
|
|
879
|
-
* @param options Whether to activate the installed bundle (defaults to true), the request id a cancellation names,
|
|
880
|
-
* the pending build scripts to allow for this profile before pnpm runs.
|
|
881
|
-
* @returns Package-manager diagnostics and observed activation outcome.
|
|
1121
|
+
* @param options Whether to activate the installed bundle (defaults to true), the request id a cancellation names,
|
|
1122
|
+
* the pending build scripts to allow for this profile before pnpm runs, and the registry asked first.
|
|
1123
|
+
* @returns Package-manager diagnostics, the registries asked, and the observed activation outcome.
|
|
882
1124
|
*/
|
|
883
1125
|
installBundle(spec, options) {
|
|
884
1126
|
const requestId = options?.requestId;
|
|
885
1127
|
const control = {
|
|
886
1128
|
abort: new AbortController(),
|
|
887
1129
|
phase: "installing",
|
|
888
|
-
|
|
1130
|
+
result: Promise.resolve(null)
|
|
889
1131
|
};
|
|
890
1132
|
const stopped = () => control.abort.signal.aborted;
|
|
891
1133
|
if (requestId !== void 0) this.installs.set(requestId, control);
|
|
892
|
-
const announce = (phase) => {
|
|
1134
|
+
const announce = (phase, attempt) => {
|
|
893
1135
|
if (requestId !== void 0) this.ownerContext.emit("plugin-manager/install-state", {
|
|
894
1136
|
requestId,
|
|
895
|
-
phase
|
|
1137
|
+
phase,
|
|
1138
|
+
...attempt === void 0 ? {} : { attempt }
|
|
896
1139
|
});
|
|
897
1140
|
};
|
|
898
1141
|
const result = this.change(async (result) => {
|
|
@@ -904,18 +1147,44 @@ let PluginManager = (() => {
|
|
|
904
1147
|
}
|
|
905
1148
|
const files = await this.readRestoredFiles();
|
|
906
1149
|
const before = readProfileManifest("dsh", this.profile.dir).dependencies ?? {};
|
|
907
|
-
|
|
1150
|
+
const plan = registryPlan(options?.registry, await this.registries());
|
|
908
1151
|
let name;
|
|
909
1152
|
try {
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
1153
|
+
let run;
|
|
1154
|
+
result.registries = [];
|
|
1155
|
+
for (const [index, registry] of plan.entries()) {
|
|
1156
|
+
if (index > 0) await this.restoreFiles(files);
|
|
1157
|
+
if (stopped()) throw new InstallCancelledError();
|
|
1158
|
+
result.registries.push(registry);
|
|
1159
|
+
announce("installing", {
|
|
1160
|
+
registry,
|
|
1161
|
+
index: index + 1,
|
|
1162
|
+
total: plan.length
|
|
1163
|
+
});
|
|
1164
|
+
run = await this.runPnpm([
|
|
1165
|
+
"add",
|
|
1166
|
+
spec,
|
|
1167
|
+
...registryArguments(registry)
|
|
1168
|
+
], control.abort.signal, requestId);
|
|
1169
|
+
result.packageResult = run;
|
|
1170
|
+
if (stopped()) throw new InstallCancelledError();
|
|
1171
|
+
/* v8 ignore next 2 -- runPnpm classifies every failed run, so kind is never absent here */
|
|
1172
|
+
if (run.exitCode === 0 || run.kind === void 0) break;
|
|
1173
|
+
const failedAt = attributeFailure(run.kind, run.output, parsedForRegistry(spec));
|
|
1174
|
+
delete result.failedAt;
|
|
1175
|
+
if (failedAt !== "other") result.failedAt = failedAt;
|
|
1176
|
+
if (failedAt !== "registry" || index === plan.length - 1) break;
|
|
1177
|
+
}
|
|
1178
|
+
/* v8 ignore next -- the plan is never empty, so a run always settled */
|
|
1179
|
+
if (run === void 0) throw new Error("no registry was asked");
|
|
1180
|
+
if (run.exitCode === 0) delete result.failedAt;
|
|
1181
|
+
if (run.exitCode !== 0) {
|
|
913
1182
|
try {
|
|
914
1183
|
result.pendingBuilds = await readPendingBuilds(this.profile.dir);
|
|
915
1184
|
} catch (error) {
|
|
916
1185
|
this.ownerContext.logger.warn("Could not read pending build approvals after pnpm failed", error);
|
|
917
1186
|
}
|
|
918
|
-
throw new Error(
|
|
1187
|
+
throw new Error(run.output);
|
|
919
1188
|
}
|
|
920
1189
|
const after = readProfileManifest("dsh", this.profile.dir).dependencies ?? {};
|
|
921
1190
|
const installed = Object.keys(after).filter((name) => before[name] !== after[name]);
|
|
@@ -925,8 +1194,8 @@ let PluginManager = (() => {
|
|
|
925
1194
|
name = target;
|
|
926
1195
|
const dir = resolveBundleDir("dsh", name, this.profile.installAnchor, this.profile.dir);
|
|
927
1196
|
const manifest = bundleManifest(name, this.profile.dir, this.profile.installAnchor);
|
|
928
|
-
if (manifest?.dsh?.bundle
|
|
929
|
-
|
|
1197
|
+
if (manifest?.dsh?.bundle === void 0) throw new ManagementFailure("not-bundle");
|
|
1198
|
+
for (const file of bundlePatchPaths(dir, manifest.dsh.bundle)) loadOverlayPatches("dsh", file);
|
|
930
1199
|
} catch (error) {
|
|
931
1200
|
await this.restoreFiles(files);
|
|
932
1201
|
throw error;
|
|
@@ -946,12 +1215,19 @@ let PluginManager = (() => {
|
|
|
946
1215
|
target: spec,
|
|
947
1216
|
enabled: options?.enabled !== false
|
|
948
1217
|
}, "install");
|
|
949
|
-
|
|
950
|
-
control.settled = result.then(() => void 0, () => void 0);
|
|
1218
|
+
control.result = result;
|
|
951
1219
|
return result.finally(() => {
|
|
952
1220
|
if (requestId !== void 0) this.installs.delete(requestId);
|
|
953
1221
|
});
|
|
954
1222
|
}
|
|
1223
|
+
/** Recover the result of an active installation without cancelling it.
|
|
1224
|
+
* @param requestId The id supplied when installation started.
|
|
1225
|
+
* @returns The installation's outcome after it settles, or null if no active request has that id.
|
|
1226
|
+
* Completed results are not retained; null establishes neither success nor cancellation.
|
|
1227
|
+
*/
|
|
1228
|
+
async waitForInstall(requestId) {
|
|
1229
|
+
return this.installs.get(requestId)?.result ?? null;
|
|
1230
|
+
}
|
|
955
1231
|
/** Stop an installation this manager owns and wait until its files are back.
|
|
956
1232
|
* @param requestId The id the installation was started with.
|
|
957
1233
|
* @returns `cancelled` once pnpm exited and the files are restored, `too-late` once the bundle is being
|
|
@@ -966,7 +1242,8 @@ let PluginManager = (() => {
|
|
|
966
1242
|
phase: "cancelling"
|
|
967
1243
|
});
|
|
968
1244
|
control.abort.abort();
|
|
969
|
-
|
|
1245
|
+
/* v8 ignore next -- change() folds every failure into its result; only a lock or disposal error rejects */
|
|
1246
|
+
await control.result.then(() => void 0, () => void 0);
|
|
970
1247
|
return { status: "cancelled" };
|
|
971
1248
|
}
|
|
972
1249
|
/** Unload and remove a profile-owned bundle dependency through dsh plugin's pnpm path.
|
|
@@ -978,7 +1255,7 @@ let PluginManager = (() => {
|
|
|
978
1255
|
await this.configure(async () => {
|
|
979
1256
|
const bundle = (await this.listBundles()).find((item) => item.name === name);
|
|
980
1257
|
if (bundle === void 0 || !bundle.removable) throw new ManagementFailure("not-removable");
|
|
981
|
-
if (this.ownerContext.get("hmr") === void 0 && (this.profile.startedBundles.includes(name) || this.bundleRows(name).some((row) => [...this.ctx.loader.entries()].some((entry) => entry.options.id === row.id && entry.fiber !== void 0)))) throw new ManagementFailure("stop-profile");
|
|
1258
|
+
if (this.ownerContext.get("hmr") === void 0 && (this.profile.startedBundles.includes(name) || bundle.error === void 0 && this.bundleRows(name).some((row) => [...this.ctx.loader.entries()].some((entry) => entry.options.id === row.id && entry.fiber !== void 0)))) throw new ManagementFailure("stop-profile");
|
|
982
1259
|
const contributions = bundle.error === void 0 ? this.bundleRows(name) : [];
|
|
983
1260
|
if (bundle.enabled) {
|
|
984
1261
|
await this.selectBundle(name, false);
|
|
@@ -995,25 +1272,34 @@ let PluginManager = (() => {
|
|
|
995
1272
|
}
|
|
996
1273
|
/** The rows a bundle's patch inserts and the existing rows it changes; an unreadable patch throws. */
|
|
997
1274
|
declaredRows(name, info) {
|
|
998
|
-
const
|
|
1275
|
+
const bundle = info.dsh?.bundle;
|
|
999
1276
|
/* v8 ignore next -- bundleManifest answers only manifests that declare a patch */
|
|
1000
|
-
if (
|
|
1277
|
+
if (bundle === void 0) return {
|
|
1001
1278
|
rows: [],
|
|
1002
1279
|
overrides: []
|
|
1003
1280
|
};
|
|
1004
|
-
const
|
|
1281
|
+
const dir = resolveBundleDir("dsh", name, this.profile.installAnchor, this.profile.dir);
|
|
1282
|
+
const patches = bundlePatchPaths(dir, bundle).flatMap((file) => loadOverlayPatches("dsh", file));
|
|
1005
1283
|
const live = /* @__PURE__ */ new Map();
|
|
1006
1284
|
for (const entry of this.ctx.loader.entries())
|
|
1007
1285
|
/* v8 ignore next -- the Loader gives every entry an id before it is listed */
|
|
1008
|
-
if (typeof entry.options.id === "string") live.set(entry.options.id,
|
|
1286
|
+
if (typeof entry.options.id === "string") live.set(entry.options.id, {
|
|
1287
|
+
entryId: pluginEntryId(entry.id),
|
|
1288
|
+
baseUrl: entry.parent.tree.ctx.baseUrl
|
|
1289
|
+
});
|
|
1009
1290
|
const rows = [];
|
|
1291
|
+
const packages = this.ctx.get("pluginPackages");
|
|
1010
1292
|
for (const row of flatten(composeEntries([patches.filter((item) => item.insert !== void 0)]))) {
|
|
1011
1293
|
if (typeof row.id !== "string" || typeof row.name !== "string") continue;
|
|
1012
|
-
const
|
|
1294
|
+
const active = live.get(row.id);
|
|
1295
|
+
const entryId = active?.entryId;
|
|
1296
|
+
const base = active?.baseUrl ?? pathToFileURL(join(dir, "package.json")).href;
|
|
1297
|
+
const meta = packages?.metaOf(row.name, base);
|
|
1013
1298
|
rows.push({
|
|
1014
1299
|
rowId: row.id,
|
|
1015
1300
|
moduleName: row.name,
|
|
1016
|
-
...entryId === void 0 ? {} : { entryId }
|
|
1301
|
+
...entryId === void 0 ? {} : { entryId },
|
|
1302
|
+
...meta === void 0 ? {} : { meta }
|
|
1017
1303
|
});
|
|
1018
1304
|
}
|
|
1019
1305
|
const declared = new Set(rows.map((row) => row.rowId));
|
|
@@ -1097,6 +1383,7 @@ let PluginManager = (() => {
|
|
|
1097
1383
|
const manifest = readProfileManifest("dsh", this.profile.dir);
|
|
1098
1384
|
const previous = manifest.dsh?.profile?.bundles ?? [];
|
|
1099
1385
|
if ((enabled || !previous.includes(name)) && bundleManifest(name, this.profile.dir, this.profile.installAnchor) === void 0) throw new ManagementFailure("not-bundle");
|
|
1386
|
+
if (enabled) this.bundleRows(name);
|
|
1100
1387
|
if (!enabled && previous.includes(name)) {
|
|
1101
1388
|
if (this.protectsManager(name)) throw new ManagementFailure("management-required");
|
|
1102
1389
|
}
|
|
@@ -1110,14 +1397,24 @@ let PluginManager = (() => {
|
|
|
1110
1397
|
}
|
|
1111
1398
|
};
|
|
1112
1399
|
await saveManifest(this.profile.dir, manifest);
|
|
1400
|
+
if (enabled) this.protectsManager(name);
|
|
1113
1401
|
}
|
|
1114
1402
|
bundleRows(name) {
|
|
1115
1403
|
const info = bundleManifest(name, this.profile.dir, this.profile.installAnchor);
|
|
1116
1404
|
if (info?.dsh?.bundle === void 0) return [];
|
|
1117
|
-
return flatten(composeEntries([
|
|
1405
|
+
return flatten(composeEntries([bundlePatchPaths(resolveBundleDir("dsh", name, this.profile.installAnchor, this.profile.dir), info.dsh.bundle).flatMap((file) => loadOverlayPatches("dsh", file))]));
|
|
1118
1406
|
}
|
|
1119
1407
|
protectsManager(name) {
|
|
1120
|
-
|
|
1408
|
+
if (this.managementBundles.has(name)) return true;
|
|
1409
|
+
let rows;
|
|
1410
|
+
try {
|
|
1411
|
+
rows = this.bundleRows(name);
|
|
1412
|
+
} catch (_error) {
|
|
1413
|
+
return false;
|
|
1414
|
+
}
|
|
1415
|
+
const protectedBundle = rows.some((row) => protectedModules.has(row.name) || `include:${row.id}` === this.ownerEntryId);
|
|
1416
|
+
if (protectedBundle) this.managementBundles.add(name);
|
|
1417
|
+
return protectedBundle;
|
|
1121
1418
|
}
|
|
1122
1419
|
configure(operation) {
|
|
1123
1420
|
const hmr = this.ownerContext.get("hmr");
|